Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 13:20:32 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        alpha@freebsd.org
Subject:   Re: Testers Needed!!
Message-ID:  <200403151320.32852.jhb@FreeBSD.org>
In-Reply-To: <20040312230721.GA6072@freebie.xs4all.nl>
References:  <200403121543.03123.jhb@FreeBSD.org> <20040312225626.GA5976@freebie.xs4all.nl> <20040312230721.GA6072@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 12 March 2004 06:07 pm, Wilko Bulte wrote:
> On Fri, Mar 12, 2004 at 11:56:26PM +0100, Wilko Bulte wrote:
> > On Fri, Mar 12, 2004 at 05:15:52PM -0500, John Baldwin wrote:
> > > On Friday 12 March 2004 04:28 pm, Wilko Bulte wrote:
> > > > On Fri, Mar 12, 2004 at 03:43:03PM -0500, John Baldwin wrote:
> > > > > Ok, two patches that I need someone to test.  First off, I have
> > > > > some fixes to allow ptrace() to be marked MP safe again w/o
> > > > > generating a lock order reversal.  This patch is at
> > > > > http://www.FreeBSD.org/~jhb/patches/alpha.ptrace.patch
> > > > >
> > > > > Note that you will have to do a 'make init_sysent.c' in sys/kern
> > > > > after patching to get the updated ptrace flag before building a new
> > > > > kernel.
> > > >
> > > > Anything special to be done for testing this one?
> > >
> > > Ah, yes, forgot to mention.  Test out gdb and make sure simple things
> > > like attaching to a process and then detaching from it, breakpoints,
> > > etc. work ok w/o generating a LOR warning (which means you have to have
> > > WITNESS on for this test).  Thanks for testing these.
> >
> > I'm by no standard a gdb specialist but I played with it with a WITNESS
> > equipped kernel and it did not complain about LOR. On a UP DS10 btw.
> >
> > Gonna try the other patch next.
>
> Hmm..
>
> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
> -I@/../include -I/usr/src/sys/alpha/compile/GENERIC
> /usr/src/sys/modules/xl/../../pci/if_xl.c
> cc -c -O -pipe -mcpu=ev6 -mieee -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../..
> -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
> -I../../../contrib/pf -I../../../contrib/dev/ath
> -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL
> -include opt_global.h -fno-common -finline-limit=15000  -mno-fp-regs
> -ffixed-8 -Wa,-mev6 -ffreestanding -Werror 
> ../../../alpha/alpha/interrupt.c ../../../alpha/alpha/interrupt.c: In
> function `alpha_dispatch_intr': ../../../alpha/alpha/interrupt.c:456:
> warning: implicit declaration of function `sched_pin'
> ../../../alpha/alpha/interrupt.c:459: warning: implicit declaration of
> function `sched_unpin'
> *** Error code 1
>
> Stop in /usr/src/sys/alpha/compile/GENERIC.
> ds10#

bah, you'll need to add a '<sys/sched.h>' include to interrupt.c.  I'll fix it 
in my tree here and commit the ptrace patch.  Thanks!

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403151320.32852.jhb>