Date: Tue, 25 Nov 2003 14:51:32 +0100 From: Pawel Jakub Dawidek <nick@garage.freebsd.pl> To: Christian Laursen <xi@borderworlds.dk> Cc: freebsd-current@freebsd.org Subject: Re: panic: sleeping without a mutex (acd related) Message-ID: <20031125135132.GA76130@garage.freebsd.pl> In-Reply-To: <86ptfgvje8.fsf@borg.borderworlds.dk> References: <86ptfgvje8.fsf@borg.borderworlds.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Tue, Nov 25, 2003 at 11:21:03AM +0100, Christian Laursen wrote:
+> I have been experiencing some random lockups after upgrading from
+> 5.1-RELEASE to 5.2-BETA.
+>
+> I then wen on and enabled all the debug options in my kernel config
+> hoping to be able to find the cause.
+>
+> But now I cannot boot at all. In the end of the boot process when
+> detecting ATA drives, I get this:
+>
+> ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA100
+> acd0-5: CDROM with 6 CD changer <CD-C68E> at ata1-master PIO4
+> acd6: DVDROM <CREATIVEDVD5240E-1> at ata1-slave PIO4
+> panic: sleeping without a mutex
+> Debugger("panic")
+> Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0
+> db>
+> db> trace
+> Debugger(c06e3744,c07549a0,c06e3ec9,d861ab60,100) at Debugger+0x54
+> panic(c06e3ec9,0,c06e3eb8,c06d6584,10) at panic+0xd5
+> msleep(c45173d8,0,4c,c06d6584,0) at msleep+0x505
+> acd_geom_access(c452de00,1,0,0,0) at acd_geom_access+0x115
Yeah. There are two calls of tsleep(9) without timeout set
(in line 499, 509), so this KASSERT is reached:
KASSERT(timo != 0 || mtx_owned(&Giant) || mtx != NULL,
("sleeping without a mutex"));
--
Pawel Jakub Dawidek pawel@dawidek.net
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iQCVAwUBP8NeZD/PhmMH/Mf1AQFg3AQAkpuebVl8VEJuMVTIVoPCLr6LdkPv/eEn
5cofj18/OWBf7BMKEDoBlBmisypmrRhvO2tyarYs/vCT+tA7xclidheQU3hExIc3
oWoPnD+wkIdMFTkfDkDciwCPmdcBb3p+RspEy/Mzv60MDP2MUeiYmp8w5ZNDAL3M
sj0nl7O1A8s=
=NwqH
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031125135132.GA76130>
