Date: Mon, 08 Apr 2002 12:33:40 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: David Wolfskill <david@catwhisker.org> Cc: current@freebsd.org, joe@freebsd.org Subject: RE: panic "sleeping without a mutex" in usb_task_thread Message-ID: <XFMail.20020408123340.jhb@FreeBSD.org> In-Reply-To: <200204081558.g38FwmFg049414@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08-Apr-2002 David Wolfskill wrote: > On my laptop (but not the build machine; the latter may not have any USB > devices) I get the following panic after builing, installing, & trying > to boot -CURRENT from today. (CVSup log below panic trace.) > > an0: Ethernet address 00:40:96:32:19:a9 > bpf: an0 attached > panic: sleeping without a mutex > Debugger("panic") > Stopped at Debugger+0x40: xorl %eax,%eax > db> trace > Debugger(c03d647c) at Debugger+0x40 > panic(c03d6cac,c021ffec,c8e4e000,c8e4e100,c8e4e000) at panic+0x70 > msleep(c0442d98,0,5c,c03c7784,0) at msleep+0x23 > usb_task_thread(0,c8e6ad48,c8e4e100,c021ffec,0) at usb_task_thread+0x23 > fork_exit(c021ffec,0,c8e6ad48) at fork_exit+0x8c > fork_trampoline() at fork_trampoline+0x37 > db>show locks > db>show witness [scrolls off screen] > db> > > [Above was hand-transcribed; I don't have a serial console on my laptop, > and I'm not running VMware.] > > Recent CVSup history: > freebeast(4.5-S)[1] tail /var/log/cvsup-history.log > CVSup begin from cvsup14.freebsd.org at Thu Apr 4 03:47:06 PST 2002 > CVSup ended from cvsup14.freebsd.org at Thu Apr 4 03:53:56 PST 2002 > CVSup begin from cvsup14.freebsd.org at Fri Apr 5 03:47:02 PST 2002 > CVSup ended from cvsup14.freebsd.org at Fri Apr 5 03:54:13 PST 2002 > CVSup begin from cvsup14.freebsd.org at Sat Apr 6 03:47:02 PST 2002 > CVSup ended from cvsup14.freebsd.org at Sat Apr 6 03:54:32 PST 2002 > CVSup begin from cvsup14.freebsd.org at Sun Apr 7 03:47:03 PDT 2002 > CVSup ended from cvsup14.freebsd.org at Sun Apr 7 03:53:32 PDT 2002 > CVSup begin from cvsup14.freebsd.org at Mon Apr 8 03:47:02 PDT 2002 > CVSup ended from cvsup14.freebsd.org at Mon Apr 8 03:53:43 PDT 2002 > freebeast(4.5-S)[2] > > I can leave it in this condition for a while, if it would be helpful to > poke around at all. show witness isn't useful to most people so I would avoid it unless someone explicitly asks for it. The problem here is likely due to the usb_task_thread() not locking Giant when it starts up. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "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.20020408123340.jhb>