NetBSD Problem Report #41107

From yamt@mwd.biglobe.ne.jp  Tue Mar 31 07:47:40 2009
Return-Path: <yamt@mwd.biglobe.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7337963B8C8
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 31 Mar 2009 07:47:40 +0000 (UTC)
Message-Id: <20090331074338.5A56F97EED@kaeru.lan>
Date: Tue, 31 Mar 2009 16:43:38 +0900 (JST)
From: yamt@mwd.biglobe.ne.jp
Reply-To: yamt@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: panic: config_attach: duplicate uhub1
X-Send-Pr-Version: 3.95

>Number:         41107
>Category:       kern
>Synopsis:       panic: config_attach: duplicate uhub1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 31 07:50:00 +0000 2009
>Closed-Date:    Thu May 25 04:55:12 +0000 2017
>Last-Modified:  Thu May 25 04:55:12 +0000 2017
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 5.99.9
>Organization:

>Environment:


System: NetBSD kaeru 5.99.9
Architecture: i386
Machine: i386
>Description:
	my machine sometimes panics during boot as the following.

>> NetBSD/x86 PXE Boot, Revision 1.1
>> (takashi@nfskuro, Tue Jan 29 04:44:59 JST 2008)
>> Memory: 540/4061120 k
Press return to boot now, any other key for boot menu
Starting in 0
PXE BIOS Version 2.1
Using PCI device at bus 3 device 2 function 0
Ethernet address 00:30:48:27:be:82
4812972+78420+473832 [278816+280298]=0x5a8874
kernel text is mapped with 1 large pages and 409 normal pages
Loaded initial symtab at 0xc061fd3c, strtab at 0xc0664188, # entries 17410
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.9 (b.nfskuro.d) #15: Tue Mar 31 14:57:12 JST 2009
        takashi@nfskuro:/home/takashi/work/kernel/b.nfskuro.d
total memory = 0 EB
avail memory = 0 EB
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2399MHz, id 0xf27
cpu1 at mainbus0 apid 6: Intel 686-class, 2399MHz, id 0xf27
cpu2 at mainbus0 apid 1: Intel 686-class, 2399MHz, id 0xf27
cpu3 at mainbus0 apid 7: Intel 686-class, 2399MHz, id 0xf27
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
ioapic2 at mainbus0 apid 4
ioapic3 at mainbus0 apid 5
ioapic4 at mainbus0 apid 8
acpi0 at mainbus0: Intel ACPICA 20080321
npx0 at acpi0 (MATH, PNP0C04): io 0xf0-0xfe irq 13
pcppi0 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
attimer0 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
KBC0 (PNP0303) [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
MSE0 (PNP0F13) [PS/2 Port for PS/2-style Mice] at acpi0 not configured
FWH (INT0800) [Intel FWH Random Number Generator] at acpi0 not configured
com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
com: ns16550a, working fifo
com0: console
com1 at acpi0 (COM2, PNP0501-2): io 0x2f8-0x2ff irq 3
com1: ns16550a, working fifo
fdc0 at acpi0 (FDC, PNP0700-1): io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
PRT (PNP0401) [ECP printer port] at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
attimer0: attached to pcppi0
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel E7501 MCH Host (rev. 0x01)
Intel E7500 MCH DRAM Controller (undefined subclass 0x00, revision 0x01) at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0: Intel E7500 MCH HI_B vppb 1 (rev. 0x01)
pci1 at ppb0 bus 1
p64h2apic0 at pci1 dev 28 function 0
p64h2apic0: Intel 82870P2 P64H2 IOxAPIC (rev. 0x04)
ppb1 at pci1 dev 29 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x04)
pci2 at ppb1 bus 2
p64h2apic1 at pci1 dev 30 function 0
p64h2apic1: Intel 82870P2 P64H2 IOxAPIC (rev. 0x04)
ppb2 at pci1 dev 31 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x04)
pci3 at ppb2 bus 3
wm0 at pci3 dev 2 function 0: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm0: interrupting at ioapic1 pin 4
wm0: Ethernet address 00:30:48:27:be:82
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
wm1 at pci3 dev 2 function 1: Intel i82546EB 1000BASE-T Ethernet, rev. 1
wm1: interrupting at ioapic1 pin 5
wm1: Ethernet address 00:30:48:27:be:83
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb3 at pci0 dev 3 function 0: Intel E7500 MCH HI_C vppb 1 (rev. 0x01)
pci4 at ppb3 bus 4
p64h2apic2 at pci4 dev 28 function 0
p64h2apic2: Intel 82870P2 P64H2 IOxAPIC (rev. 0x04)
ppb4 at pci4 dev 29 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x04)
pci5 at ppb4 bus 5
p64h2apic3 at pci4 dev 30 function 0
p64h2apic3: Intel 82870P2 P64H2 IOxAPIC (rev. 0x04)
ppb5 at pci4 dev 31 function 0: Intel 82870P2 P64H2 PCI-PCI Bridge (rev. 0x04)
pci6 at ppb5 bus 6
ahd0 at pci6 dev 2 function 0
ahd0: interrupting at ioapic3 pin 4
ahd0: aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133 MHz, 512 SCBs
scsibus0 at ahd0: 16 targets, 8 luns per target
ahd1 at pci6 dev 2 function 1
ahd1: interrupting at ioapic3 pin 5
ahd1: aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133 MHz, 512 SCBs
scsibus1 at ahd1: 16 targets, 8 luns per target
uhci0 at pci0 dev 29 function 0: Intel 82801CA USB Controller (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: Intel 82801CA USB Controller (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: Intel 82801CA USB Controller (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
ppb6 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x42)
pci7 at ppb6 bus 7
vga0 at pci7 dev 1 function 0: ATI Technologies Rage XL (rev. 0x27)
wsdisplay0 at vga0
drm at vga0 not configured
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801CA LPC Interface (rev. 0x02)
ichlpcib0: 24-bit timer
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801CA IDE Controller (ICH3) (rev. 0x02)
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: Intel 82801CA SMBus Controller (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 17
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: density unknown
uhub0 at usb0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
panic: config_attach: duplicate uhub1
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c017af84 cs 8 eflags 246 cr2 0 ilevel 0
Stopped in pid 0.39 (system) at netbsd:breakpoint+0x4:  popl    %ebp
db{1}> t
breakpoint(c057973a,d74ebbb8,d7246040,c03dd5b7,d73e1e60,c0577d34,1,c03dc3b4,c053
a228,d7d36c0c) at netbsd:breakpoint+0x4
panic(c0577c58,d7d36c28,d74ebbce,0,d7d36c0c,c059b4e0,31000a,c059bb70,c4da5a80,0)
 at netbsd:panic+0x1c9
config_init(0,d748be90,c053a228,0,d74ebc50,29,d7d36c0c,c4da5a80,c4da5a80,0) at n
etbsd:config_init
config_attach_loc(d748be90,c059bb70,0,d74ebc50,0,0,d74ebc7c,c0467215,d748be90,c0
53a228) at netbsd:config_attach_loc+0x47
config_found_ia(d748be90,c053a228,d74ebc50,0,c4dab000,1,0,0,8086,0) at netbsd:co
nfig_found_ia+0x32
usbd_attach_roothub(d748be90,c4da5a80,c4da5aa4,ffffffff,c4da5a84,f,d72f1000,c4da
5a84,c4da5aa4,c4da5ab8) at netbsd:usbd_attach_roothub+0x85
usbd_new_device(d748be90,d748b008,0,2,0,d711ee94,0,d74ebd08,0,0) at netbsd:usbd_
new_device+0x3c6
usb_doattach(d748be90,0,d73e2ac0,c03dde40,d73e2ac0,d73e2ac0,0,c01002e1,d73e2ac0,
0) at netbsd:usb_doattach+0xc8
config_interrupts_thread(d73e2ac0,0,c01002cd,0,c01002cd,0,0,0,0,0) at netbsd:con
fig_interrupts_thread+0x27
db{1}> 

>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Mon, 23 May 2016 06:37:05 +0000
State-Changed-Why:
I assume this is fixed. OK to close?


State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 26 Jun 2016 04:42:13 +0000
State-Changed-Why:
fix submitter address...


State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 26 Jun 2016 04:42:32 +0000
State-Changed-Why:
...and try again:
 > I assume this is fixed. OK to close?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 25 May 2017 04:55:12 +0000
State-Changed-Why:
feedback timeout; 4.0-era usb problem -> assume fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.