NetBSD Problem Report #30331
From www@netbsd.org Wed May 25 08:09:02 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id B40FB63B104; Wed, 25 May 2005 08:09:02 +0000 (UTC)
Message-Id: <20050525080902.B40FB63B104@narn.netbsd.org>
Date: Wed, 25 May 2005 08:09:02 +0000 (UTC)
From: karl@utopiafoundation.org
Reply-To: karl@utopiafoundation.org
To: gnats-bugs@netbsd.org
Subject: kernel panic somethimes with USB printer
X-Send-Pr-Version: www-1.0
>Number: 30331
>Category: kern
>Synopsis: kernel panic somethimes with USB printer
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 25 08:10:00 +0000 2005
>Closed-Date: Tue Sep 18 02:16:22 +0000 2018
>Last-Modified: Tue Sep 18 02:16:22 +0000 2018
>Originator: Karl Janmar
>Release: 3.0_BETA
>Organization:
utopiafoundation
>Environment:
NetBSD ngong.utopiafoundation.org 3.0_BETA NetBSD 3.0_BETA (NGONG) #2: Thu May 12 18:37:46 CEST 2005 karl@ngong.utopiafoundation.org:/usr/src/sys/arch/i386/compile/NGONG i386
>Description:
The system crash when the system is under load and I printing stuff with my USB printer. The problem seems to be a general problem with ohci_timeout_task() that isn't specific to USB printers.
Here I provide some crash information. I got a 2GB kernelcoredump and a netbsd kernel with debugsymbols for it. So I can do some more digging if I get some hints on where to look.
backtrace:
(gdb) bt
#0 0xc0b68000 in ?? ()
#1 0xc0578ef3 in cpu_reboot (howto=256, bootstr=0x0)
at ../../../../arch/i386/i386/machdep.c:751
#2 0xc04affc3 in panic (fmt=0xc084bafe "trap")
at ../../../../kern/subr_prf.c:242
#3 0xc0589344 in trap (frame=0xcd6a7e84)
at ../../../../arch/i386/i386/trap.c:296
#4 0xc0102d07 in calltrap ()
#5 0xc034be05 in ohci_abort_xfer (xfer=0xc2af8580, status=USBD_TIMEOUT)
at ../../../../dev/usb/ohci.c:2235
#6 0xc034b831 in ohci_timeout_task (addr=0xc2af8580)
at ../../../../dev/usb/ohci.c:1888
#7 0xc076ee5f in usb_task_thread (arg=0xccd6b18c)
at ../../../../dev/usb/usb.c:366
console at crash (from msgbuf in gdb):
uhidev1: Logitech HID compliant keyboard, rev 1.10/1.80, addr 3, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhidev2 at uhub3 port 3 configuration 1 interface 0
uhidev2: Logitech USB Mouse, rev 1.10/6.20, addr 4, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
<4>set{u,g}id pid 988 (netstat) was invoked by uid 1000 ppid 603 (firefox-bin) w
ith fd 0 closed
ulpt0: at uhub0 port 1 (addr 2) disconnected
ulpt0 detached
ulpt0 at uhub0 port 3 configuration 1 interface 0
ulpt0: Brother Industries product 0x001a, rev 1.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
<5>ulpt0: offline
<5>ulpt0: offline
uvm_fault(0xc0a25920, 0, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0770a5c cs 8 eflags 10286 cr2 48 ilevel 5
panic: trap
syncing disks... 11 11 11 11 11 11 11 11 11 10 9 9 9 9 9 9 9 9 9 9 9 9 giving up
dumping to dev 0,6 offset 4067333
dump 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002 2001 2000
>How-To-Repeat:
Insert a USB printer on a i386 netbsd 3.0_BETA system and print a lot of stuff, at the same time give the system some load (I don't know if this is really necessery).
>Fix:
don't know
>Release-Note:
>Audit-Trail:
From: Lennart Augustsson <lennart@augustsson.net>
To: gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: kern/30331: kernel panic somethimes with USB printer
Date: Wed, 25 May 2005 15:08:27 +0200
Exactly what version of 3.0_BETA is this?
I'm especially curious about what versions of the various
USB files. I thought this bug had been fixed, and that
the fix was pulled up to 3.0, but maybe you're running
an older 3.0.
-- Lennart
From: Karl Janmar <karl@utopiafoundation.org>
To: Lennart Augustsson <lennart@augustsson.net>
Cc: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: kern/30331: kernel panic somethimes with USB printer
Date: Wed, 25 May 2005 22:52:20 +0200
Ok.
I use anoncvs from around 12 of May with tag netbsd-3
All my files except uhci.c (which was updated 05/22) seems to be in sync
with the netbsd-3 tag, when I do (because this is the way to check it?):
cvs diff -rnetbsd-3
diff -u -r1.185.2.1 -r1.185
--- uhci.c 22 May 2005 18:44:24 -0000 1.185.2.1
+++ uhci.c 2 Mar 2005 11:37:27 -0000 1.185
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.185.2.1 2005/05/22 18:44:24 snj Exp $ */
+/* $NetBSD: uhci.c,v 1.185 2005/03/02 11:37:27 mycroft Exp $ */
This is all the versions from the sourcetree where the kernel is built.
In in sys/dev/usb I do following:
cat * | awk '/\$NetBSD/{ match($0,"\\\$NetBSD[:].*Exp[ ]\\\$"); print
substr($0,RSTART+9,RLENGTH-15); } '
Makefile,v 1.5.24.1 2005/04/17 10:34:07 tron
Makefile.usbdevs,v 1.4 2002/04/12 17:56:14 heinz
devlist2h.awk,v 1.13 2005/03/04 05:03:19 mycroft
Makefile.usbdevs,v 1.4 2002/04/12 17:56:14 heinz
devlist2h.awk,v 1.13 2005/03/04 05:03:19 mycroft
ehci.c,v 1.91.2.7 2005/05/07 11:42:23 tron
ehci.c,v 1.91.2.7 2005/05/07 11:42:23 tron
ehcireg.h,v 1.20.2.1 2005/05/01 21:53:20 tron
ehcivar.h,v 1.17.8.1 2005/05/01 16:40:44 tron
ezload.c,v 1.8 2003/10/29 03:54:17 mycroft
ezload.c,v 1.8 2003/10/29 03:54:17 mycroft
ezload.h,v 1.2 2001/01/18 20:28:23 jdolecek
files.usb,v 1.58.6.2 2005/04/17 10:34:15 tron
hid.c,v 1.23 2002/07/11 21:14:25 augustss
hid.c,v 1.23 2002/07/11 21:14:25 augustss
hid.h,v 1.8 2002/07/11 21:14:25 augustss
if_atu.c,v 1.10 2005/03/03 09:23:24 itojun
if_atu.c,v 1.10 2005/03/03 09:23:24 itojun
if_atureg.h,v 1.2 2005/02/27 00:27:51 perry
if_aue.c,v 1.89 2004/11/03 22:59:31 rjs
if_aue.c,v 1.89 2004/11/03 22:59:31 rjs
if_auereg.h,v 1.16 2001/10/10 02:14:17 augustss
if_axe.c,v 1.7 2005/02/27 00:27:51 perry
if_axe.c,v 1.7 2005/02/27 00:27:51 perry
if_axereg.h,v 1.2 2004/10/26 17:28:52 augustss
if_cdce.c,v 1.4 2004/10/24 12:50:54 augustss
if_cdce.c,v 1.4 2004/10/24 12:50:54 augustss
if_cdcereg.h,v 1.1 2004/10/22 13:08:23 augustss
if_cue.c,v 1.42 2005/01/08 03:16:51 yamt
if_cue.c,v 1.42 2005/01/08 03:16:51 yamt
if_cuereg.h,v 1.14 2001/01/21 22:09:24 augustss
if_kue.c,v 1.52 2004/10/22 09:41:01 augustss
if_kue.c,v 1.52 2004/10/22 09:41:01 augustss
if_kuereg.h,v 1.11 2001/01/21 02:35:31 augustss
if_udav.c,v 1.5 2005/02/27 00:27:51 perry
if_udav.c,v 1.5 2005/02/27 00:27:51 perry
if_udavreg.h,v 1.2 2003/09/04 15:17:39 tsutsui
if_upl.c,v 1.21 2004/12/06 02:59:23 christos
if_upl.c,v 1.21 2004/12/06 02:59:23 christos
if_url.c,v 1.15 2005/03/03 08:10:01 itojun
if_url.c,v 1.15 2005/03/03 08:10:01 itojun
if_urlreg.h,v 1.2 2003/09/04 15:17:39 tsutsui
kue_fw.h,v 1.3 2001/01/19 08:54:21 jdolecek
ohci.c,v 1.157 2005/03/11 19:25:22 mycroft
ohci.c,v 1.157 2005/03/11 19:25:22 mycroft
ohcireg.h,v 1.19 2002/07/11 21:14:27 augustss
ohcivar.h,v 1.36 2005/03/11 19:25:22 mycroft
uaudio.c,v 1.97 2005/02/24 08:19:38 martin
uaudio.c,v 1.97 2005/02/24 08:19:38 martin
uaudioreg.h,v 1.12 2004/11/05 19:08:29 kent
ubsa.c,v 1.11 2004/11/08 13:00:07 augustss
ubsa.c,v 1.11 2004/11/08 13:00:07 augustss
ubt.c,v 1.11 2004/04/23 17:25:25 itojun
ubt.c,v 1.11 2004/04/23 17:25:25 itojun
ubtbcmfw.c,v 1.9 2004/09/17 14:11:24 skrll
ubtbcmfw.c,v 1.9 2004/09/17 14:11:24 skrll
ubtreg.h,v 1.1 2003/01/05 05:20:20 dsainty
ucom.c,v 1.53 2004/09/13 12:55:49 drochner
ucom.c,v 1.53 2004/09/13 12:55:49 drochner
ucomvar.h,v 1.11 2004/09/13 12:55:49 drochner
udsbr.c,v 1.9 2004/10/29 12:57:26 yamt
udsbr.c,v 1.9 2004/10/29 12:57:26 yamt
uep.c,v 1.3 2005/02/27 00:27:51 perry
uep.c,v 1.3 2005/02/27 00:27:51 perry
uftdi.c,v 1.23 2004/11/05 13:53:29 scw
uftdi.c,v 1.23 2004/11/05 13:53:29 scw
uftdireg.h,v 1.6 2002/07/11 21:14:28 augustss
ugen.c,v 1.71 2005/03/02 11:37:27 mycroft
ugen.c,v 1.71 2005/03/02 11:37:27 mycroft
ugensa.c,v 1.2 2005/01/23 01:25:57 elric
ugraphire_rdesc.h,v 1.3 2004/01/04 08:35:52 jdolecek
uhci.c,v 1.185 2005/03/02 11:37:27 mycroft
uhci.c,v 1.185 2005/03/02 11:37:27 mycroft
uhcireg.h,v 1.16 2002/07/11 21:14:29 augustss
uhcivar.h,v 1.38 2005/01/11 07:45:34 imp
uhid.c,v 1.63 2005/03/02 11:37:27 mycroft
uhid.c,v 1.63 2005/03/02 11:37:27 mycroft
uhidev.c,v 1.24 2005/02/27 00:27:51 perry
uhidev.c,v 1.24 2005/02/27 00:27:51 perry
uhidev.h,v 1.4 2004/09/13 12:55:49 drochner
uhub.c,v 1.74 2005/03/02 11:37:27 mycroft
uhub.c,v 1.74 2005/03/02 11:37:27 mycroft
uirda.c,v 1.18 2004/10/23 13:28:26 augustss
uirda.c,v 1.18 2004/10/23 13:28:26 augustss
ukbd.c,v 1.85.16.1 2005/05/01 16:49:10 tron
ukbd.c,v 1.85.16.1 2005/05/01 16:49:10 tron
ukbdmap.c,v 1.13.10.1 2005/05/09 17:21:48 tron
ukbdmap.c,v 1.13.10.1 2005/05/09 17:21:48 tron
ukbdvar.h,v 1.2 2000/06/01 14:29:00 augustss
ukyopon.c,v 1.1.2.1 2005/04/17 10:35:34 tron
ukyopon.c,v 1.1.2.1 2005/04/17 10:35:34 tron
ukyopon.h,v 1.1.2.1 2005/04/17 10:35:34 tron
ulpt.c,v 1.66 2005/02/27 00:27:51 perry
ulpt.c,v 1.66 2005/02/27 00:27:51 perry
umass.c,v 1.117 2004/12/28 23:35:21 nathanw
umass.c,v 1.117 2004/12/28 23:35:21 nathanw
umass_isdata.c,v 1.13 2004/08/20 23:26:54 thorpej
umass_isdata.c,v 1.13 2004/08/20 23:26:54 thorpej
umass_isdata.h,v 1.1 2001/12/24 13:43:25 augustss
umass_quirks.c,v 1.68 2005/03/02 11:37:27 mycroft
umass_quirks.c,v 1.68 2005/03/02 11:37:27 mycroft
umass_quirks.h,v 1.3 2001/12/29 13:46:23 augustss
umass_scsipi.c,v 1.24 2005/02/21 00:29:08 thorpej
umass_scsipi.c,v 1.24 2005/02/21 00:29:08 thorpej
umass_scsipi.h,v 1.1 2001/12/24 13:25:53 augustss
umassvar.h,v 1.23 2004/03/22 14:55:42 tls
umct.c,v 1.15 2004/09/13 12:55:49 drochner
umct.c,v 1.15 2004/09/13 12:55:49 drochner
umct.h,v 1.1 2001/03/28 18:42:13 ichiro
umidi.c,v 1.22 2004/10/29 12:57:26 yamt
umidi.c,v 1.22 2004/10/29 12:57:26 yamt
umidi_quirks.c,v 1.6 2003/12/04 13:57:31 keihan
umidi_quirks.c,v 1.6 2003/12/04 13:57:31 keihan
umidi_quirks.h,v 1.3 2003/12/04 13:57:31 keihan
umidireg.h,v 1.3 2003/12/04 13:57:31 keihan
umidivar.h,v 1.7 2003/12/05 06:05:53 gson
umodem.c,v 1.49.10.3 2005/04/17 10:29:57 tron
umodem.c,v 1.49.10.3 2005/04/17 10:29:57 tron
umodem_common.c,v 1.3.2.3 2005/04/17 10:30:40 tron
umodem_common.c,v 1.3.2.3 2005/04/17 10:30:40 tron
umodemvar.h,v 1.2.2.2 2005/04/17 10:29:49 tron
ums.c,v 1.60 2003/03/11 16:44:00 augustss
ums.c,v 1.60 2003/03/11 16:44:00 augustss
uplcom.c,v 1.41 2004/10/23 14:20:50 augustss
uplcom.c,v 1.41 2004/10/23 14:20:50 augustss
urio.c,v 1.19 2004/04/23 17:25:26 itojun
urio.c,v 1.19 2004/04/23 17:25:26 itojun
urio.h,v 1.2 2000/04/27 15:26:49 augustss
usb.c,v 1.81 2005/01/24 01:30:38 joff
usb.c,v 1.81 2005/01/24 01:30:38 joff
usb.h,v 1.71 2004/06/23 06:27:54 mycroft
usb_mem.c,v 1.28 2004/12/21 16:41:24 fvdl
usb_mem.c,v 1.28 2004/12/21 16:41:24 fvdl
usb_mem.h,v 1.22 2004/12/21 19:49:56 fvdl
usb_port.h,v 1.66 2005/02/21 00:29:08 thorpej
usb_quirks.c,v 1.52 2005/03/02 11:37:27 mycroft
usb_quirks.c,v 1.52 2005/03/02 11:37:27 mycroft
usb_quirks.h,v 1.20 2001/04/15 09:38:01 augustss
usb_subr.c,v 1.122 2005/03/04 05:03:19 mycroft
usb_subr.c,v 1.122 2005/03/04 05:03:19 mycroft
usbcdc.h,v 1.9 2004/10/23 13:24:24 augustss
usbdevs,v 1.398 2005/03/15 17:52:18 xtraeme
usbdevs.h,v 1.402 2005/03/15 17:54:17 xtraeme
usbdevs_data.h,v 1.403 2005/03/15 17:54:17 xtraeme
usbdi.c,v 1.106 2004/10/24 12:52:40 augustss
usbdi.c,v 1.106 2004/10/24 12:52:40 augustss
usbdi.h,v 1.64 2004/10/23 13:26:34 augustss
usbdi_util.c,v 1.42.10.1 2005/04/17 10:24:16 tron
usbdi_util.c,v 1.42.10.1 2005/04/17 10:24:16 tron
usbdi_util.h,v 1.32.2.1 2005/04/17 10:24:08 tron
usbdivar.h,v 1.73 2005/01/24 01:30:38 joff
usbhid.h,v 1.11 2001/12/28 00:20:24 augustss
uscanner.c,v 1.47 2005/02/27 00:27:51 perry
uscanner.c,v 1.47 2005/02/27 00:27:51 perry
usscanner.c,v 1.15 2005/02/21 00:29:08 thorpej
usscanner.c,v 1.15 2005/02/21 00:29:08 thorpej
ustir.c,v 1.13 2004/04/23 17:25:27 itojun
ustir.c,v 1.13 2004/04/23 17:25:27 itojun
ustirreg.h,v 1.3 2002/12/28 06:04:18 dsainty
uvisor.c,v 1.28 2005/02/27 00:27:51 perry
uvisor.c,v 1.28 2005/02/27 00:27:51 perry
uvscom.c,v 1.14 2005/02/16 07:52:47 martin
uvscom.c,v 1.14 2005/02/16 07:52:47 martin
uyap.c,v 1.7 2004/04/23 17:25:27 itojun
uyap.c,v 1.7 2004/04/23 17:25:27 itojun
uyap_firmware.h,v 1.3 2002/11/03 09:57:40 augustss
Regards,
Karl
Lennart Augustsson wrote:
> Exactly what version of 3.0_BETA is this?
> I'm especially curious about what versions of the various
> USB files. I thought this bug had been fixed, and that
> the fix was pulled up to 3.0, but maybe you're running
> an older 3.0.
>
> -- Lennart
>
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 18 Sep 2018 02:16:22 +0000
State-Changed-Why:
this is almost certainly fixed by the usb abort fixes present on all
supported branches, and was reported against a very old release.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.