Date: Tue, 05 Jun 2001 09:15:40 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Tony Fleisher <takhus@takhus.mind.net> Cc: current@FreeBSD.org Subject: RE: Problems booting recent -current Message-ID: <XFMail.010605091540.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.21.0106041955530.571-100000@takhus.dyn.mind.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05-Jun-01 Tony Fleisher wrote: > On Mon, 4 Jun 2001, John Baldwin wrote: > >> >> On 03-Jun-01 Tony Fleisher wrote: >> > I just tried to boot a -current kernel cvsupped >> > at Sat Jun 2 14:11:35 PDT 2001, and was thrown >> > the following error trying to boot to single-user >> > (transcribed by hand): >> > >> > src/sys/kern/kern_sync.c:385 sleeping with "eventhandler" >> > locked from src/sys/kern/subr_eventhandler:159 >> >> It would be helpful to know what eventhandler was being fired perhaps.. >> > Any suggestions on how I may be able to determine this? Printf's perhaps. :) In the eventhandler code you might be able to output the hex address of the eventhandler list you are parsing. When it blows up, write down the address, then do a 'nm' on the kernel to find the symbol name associated with that address. That will let you know what eventlist was the problematic one. You can also print out the address of each handler as it is called and then look up those addresses in the kernel as well. sys/kern/subr_eventhandler.c is where you would want to do this. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010605091540.jhb>