From owner-freebsd-usb@FreeBSD.ORG Mon Apr 4 02:43:10 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE0691065672 for ; Mon, 4 Apr 2011 02:43:09 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 7D8668FC0A for ; Mon, 4 Apr 2011 02:43:09 +0000 (UTC) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p341NfKJ018484 for ; Mon, 4 Apr 2011 11:23:41 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p341Nbx0001519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 4 Apr 2011 11:23:38 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p341Na1S062762 for ; Mon, 4 Apr 2011 11:23:36 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p341NZwj062761 for freebsd-usb@freebsd.org; Mon, 4 Apr 2011 11:23:35 +1000 (EST) (envelope-from peter) Date: Mon, 4 Apr 2011 11:23:35 +1000 From: Peter Jeremy To: freebsd-usb@freebsd.org Message-ID: <20110404012335.GA62606@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Subject: panic: blockable sleep lock (sleep mutex) ehci0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 02:43:10 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My work desktop has suddenly suddenly started reporting the above panic. I'm running 8.2-stable/amd64 from end of February. It was "hung" when I came in this morning and "hung" again soon after (I was in X on both occasions and so couldn't investigate further but now suspect it was in DDB). I've since kept in in VTY mode and it's paniced twice more as above. In both cases, the relevant part of the backtrace is: #10 0xffffffff8034d8bb in witness_checkorder (lock=3D0xffffff800030af50,=20 flags=3D9, file=3D0xffffffff805df848 "/usr/src/sys/kern/kern_mutex.c",= =20 line=3D147, interlock=3DVariable "interlock" is not available. ) at /usr/src/sys/kern/subr_witness.c:1064 #11 0xffffffff80301622 in _mtx_lock_flags (m=3D0xffffff800030af50, opts=3D0= ,=20 file=3D0xffffffff805df848 "/usr/src/sys/kern/kern_mutex.c", line=3D147) at /usr/src/sys/kern/kern_mutex.c:200 #12 0xffffffff802d3e2c in _cv_wait (cvp=3DVariable "cvp" is not available. ) at /usr/src/sys/kern/kern_condvar.c:147 #13 0xffffffff802a34e2 in usb_process (arg=3DVariable "arg" is not availabl= e. ) at /usr/src/sys/dev/usb/usb_process.c:183 #14 0xffffffff802e9d02 in fork_exit ( callout=3D0xffffffff802a3380 , arg=3D0xffffff800030adb0,= =20 frame=3D0xffffff8000123c40) at /usr/src/sys/kern/kern_fork.c:859 #15 0xffffffff804f979e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:565 The latest time, the system was idle other than a ZFS scrub - I was working on another box. There were no USB2 peripherals attached (the keyboard and mouse are USB1.1) Any suggestions on how to fix this? Relevant bits of dmesg: uhci0: port 0xff80-0xff9f irq 21= at device 29.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup =3D 0x3000 usbus0: on uhci0 uhci1: port 0xff60-0xff7f irq 22= at device 29.1 on pci0 uhci1: [ITHREAD] usbus1: on uhci1 uhci2: port 0xff40-0xff5f irq 18= at device 29.2 on pci0 uhci2: [ITHREAD] usbus2: on uhci2 uhci3: port 0xff20-0xff3f irq 23= at device 29.3 on pci0 uhci3: [ITHREAD] usbus3: on uhci3 ehci0: mem 0xffa80800-0xffa80bf= f irq 21 at device 29.7 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: on ehci0 =2E.. usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 =2E.. ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 =2E.. Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered Root mount waiting for: usbus4 ugen4.2: at usbus4 uhub5: on usbus4 ugen0.2: at usbus0 uhub6: on usbus0 Root mount waiting for: usbus4 uhub5: 4 ports with 4 removable, self powered Trying to mount root from zfs:zroot uhub6: 3 ports with 2 removable, bus powered ugen0.3: at usbus0 ukbd0: on usbus0 kbd1 at ukbd0 ugen0.4: at usbus0 ums0: on u= sbus0 ums0: 3 buttons and [XYZ] coordinates ID=3D0 --=20 Peter Jeremy --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2ZHZcACgkQ/opHv/APuIe0bQCffr0D0lAhB0rr0HGDd6A9f+gR /u8AoL+nvEZ3PdWZTGP2Lii84oCu/dAa =Cvi6 -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--