NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49102: wm detach panic on shutdown or reboot



>Number:         49102
>Category:       kern
>Synopsis:       wm detach panic on shutdown or reboot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 12 13:05:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-6.1_STABLE, NetBSD/i386-7.99.1
>Organization:
>Environment:
NetBSD brenowin.reltuk.net 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #2: Mon Jul 
29 16:45:39 CDT 2013  
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/GENERIC
 i386

NetBSD brenowin.reltuk.net 7.99.1 NetBSD 7.99.1 (RELTUK) #16: Mon Aug 11 
21:44:48 CDT 2014  
sysop%kepler.clamp.net@localhost:/d0/nbsd/current/obj/i386/sys/arch/i386/compile/RELTUK
 i386

>Description:
Dell PowerEdge 1650 (IIRC) rackmount system panics on shutdown/reboot.
DDB backtrace indicates problem related to detaching onboard "wm"
ethernet devices.

The machine has a quirk where booting hangs if both ACPI and SMP are
enabled.  As long as either one or both are disabled, it will finish
booting.

Relevant "dmesg" snippets and DDB output (from 6.1_STABLE as that's
all I was able to capture and only recently regained access to):

I just noticed that the dmesg snippets complain about not being able to
map registers on "wm2" and "wm3".  Perhaps that's the source of the
panic?  But then why cant it map them?

(I will have console access to the machine again next week and I will
try to capture similar logs from -current, 7.99.1.  The log-replay
messages in 'dmesg' indicate that it's still panicking on reboot.)

ACPI disabled:
> boot /netbsd-GENERIC -2s
11259000+564156+464544 [600192+589644]=0xcdc158
Loading /stand/i386/6.1/modules/pciverbose/pciverbose.kmod  
Loading /stand/i386/6.1/modules/usbverbose/usbverbose.kmod  
Loading /stand/i386/6.1/modules/miiverbose/miiverbose.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012                             
    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 6.1_STABLE (GENERIC) #2: Mon Jul 29 16:45:39 CDT 2013
        
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/GENERIC
total memory = 2047 MB
avail memory = 2000 MB
mainbus0 (root)       
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 011B     )
cpu0 at mainbus0 apid 1: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
cpu1 at mainbus0 apid 0: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
ipmi0 at mainbus0         
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
pci1 at pchb0 bus 1                                                        
wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm0: interrupting at ioapic1 pin 1                                          
wm0: Ethernet address 00:0f:1f:9d:41:38
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci1 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm1: interrupting at ioapic1 pin 0                                          
wm1: Ethernet address 00:0f:1f:9d:41:39
makphy1 at wm1 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb0 at pci1 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci2 at ppb0 bus 2                                             
aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
aac0: interrupting at ioapic1 pin 2          
aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
ld0 at aac0 unit 0: RAID 5                                               
ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 sectors
pchb1 at pci0 dev 0 function 1: ServerWorks CNB20-HE PCI Bridge (rev. 0x01) 
pchb2 at pci0 dev 0 function 2: ServerWorks CNB30-LE PCI Bridge (rev. 0x01)
pci3 at pchb2 bus 1                                                        
wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm2: unable to map device registers                                         
wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm3: unable to map device registers                                         
[...]
# reboot
reboot: rebooted by root
syncing disks... done
cd0: detached        
sysbeep0: detached
midi0: detached   
pci4: detached 
pci2: detached
atapibus0: detached
npx0: detached     
pcppi0: detached
ppb1: detached  
uvm_fault(0xc3867ca8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0555b6c cs 8 eflags 10282 cr2 300 ilevel 6
kernel: supervisor trap page fault, code=0                        
Stopped in pid 7.1 (reboot) at  netbsd:callout_stop+0xc:        movl    10(%ebx)
,%edi                                                                          
db{1}> bt
callout_stop(2f0,c078fa68,0,e361eba4,c07911c0,c0b94b9a,c3640000,c3640028,c380998
0,e361ebb4) at netbsd:callout_stop+0xc                                         
wm_stop(c3640028,1,c0bc7ce8,0,c0bc2580,c3809980,c0c2e280,e361ebe8,c077f07f,c3809
980) at netbsd:wm_stop+0x1f                                                    
wm_detach(c3809980,4,e361ebd0,c07805e1,c3809800,e361ebe8,c3809980,1,c3809980,1) 
a
t netbsd:wm_detach+0x38
config_detach(c3809980,4,0,0,e361ec1c,c05a25dc,0,0,0,0) at netbsd:config_detach+
0x71                                                                           
config_detach_all(0,0,0,0,e361ed00,e361eccc,c0559688,0,0,0) at netbsd:config_det
ach_all+0x7a                                                                   
cpu_reboot(0,0,0,0,0,0,c30b7bc8,c312af00,0,c38d3d20) at netbsd:cpu_reboot+0x166
sys_reboot(c38d3d20,e361ed00,e361ed28,d0,c3868e10,c38d3d20,e361ed00,c3862a38,2,b
bad9ba7) at netbsd:sys_reboot+0x94                                             
syscall(e361ed48,b3,ab,bfbf001f,806001f,0,2,bfbfee08,0,ffffffff) at netbsd:sysca
ll+0xaa                                                                        
db{1}> 


SMP disabled:
> boot /netbsd-GENERIC -1s
11259000+564156+464544 [600192+589644]=0xcdc158
Loading /stand/i386/6.1/modules/pciverbose/pciverbose.kmod  
Loading /stand/i386/6.1/modules/usbverbose/usbverbose.kmod  
Loading /stand/i386/6.1/modules/miiverbose/miiverbose.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012                             
    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 6.1_STABLE (GENERIC) #2: Mon Jul 29 16:45:39 CDT 2013
        
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/GENERIC
total memory = 2047 MB
avail memory = 2000 MB
mainbus0 (root)       
cpu0 at mainbus0 apid 0: multiprocessor boot disabled
cpu1 at mainbus0 apid 1: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
acpi0 at mainbus0: Intel ACPICA 20110623
npx1 at acpi0 (FPU, PNP0C04): io 0xf0-0xff irq 13
pcppi1 at acpi0 (SPK, PNP0800): io 0x61          
midi0 at pcppi1: PC speaker            
sysbeep0 at pcppi1         
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
FDC (PNP0700) at acpi0 not configured               
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
COMA (PNP0501) at acpi0 not configured                       
MBIO (PNP0C01) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured 
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1             
pckbd0 at pckbc1 (kbd slot) 
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1          
ipmi0 at mainbus0     
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
pci1 at pchb0 bus 1                                                        
wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm0: interrupting at ioapic1 pin 1                                          
wm0: Ethernet address 00:0f:1f:9d:41:38
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci1 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm1: interrupting at ioapic1 pin 0                                          
wm1: Ethernet address 00:0f:1f:9d:41:39
makphy1 at wm1 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb0 at pci1 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci2 at ppb0 bus 2                                             
aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
aac0: interrupting at ioapic1 pin 2          
aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
ld0 at aac0 unit 0: RAID 5                                               
ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 sectors
pchb1 at pci0 dev 0 function 1: ServerWorks CNB20-HE PCI Bridge (rev. 0x01) 
pchb2 at pci0 dev 0 function 2: ServerWorks CNB30-LE PCI Bridge (rev. 0x01)
pci3 at pchb2 bus 1                                                        
wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm2: unable to map device registers                                         
wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm3: unable to map device registers                                         
[...]
# reboot
reboot: rebooted by root
syncing disks... done
cd0: detached        
pci4: detached
pci2: detached
atapibus0: detached
ppb1: detached     
uvm_fault(0xc38a8ca8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0555b6c cs 8 eflags 10282 cr2 300 ilevel 6
kernel: supervisor trap page fault, code=0                        
Stopped in pid 7.1 (reboot) at  netbsd:callout_stop+0xc:        movl    10(%ebx)
,%edi                                                                          
db{0}> bt
callout_stop(2f0,c078fa68,0,e35feba4,c07911c0,c0b94b9a,c3658000,c3658028,c38206c
0,e35febb4) at netbsd:callout_stop+0xc                                         
wm_stop(c3658028,1,c0bc7ce8,0,c0bc2580,c38206c0,c0c2e280,e35febe8,c077f07f,c3820
6c0) at netbsd:wm_stop+0x1f                                                    
wm_detach(c38206c0,4,e35febd0,c07805e1,c3820540,e35febe8,c38206c0,1,c38206c0,1) 
a
t netbsd:wm_detach+0x38
config_detach(c38206c0,4,0,0,e35fec1c,c05a25dc,0,0,0,0) at netbsd:config_detach+
0x71                                                                           
config_detach_all(0,0,0,0,e35fed00,e35feccc,c0559688,0,0,0) at netbsd:config_det
ach_all+0x7a                                                                   
cpu_reboot(0,0,0,0,0,0,c30b7c48,c312af00,0,c38ce800) at netbsd:cpu_reboot+0x166
sys_reboot(c38ce800,e35fed00,e35fed28,d0,c38a8ca8,bbb38000,e35fed00,c38a3a38,2,b
bad9ba7) at netbsd:sys_reboot+0x94                                             
syscall(e35fed48,b3,ab,bfbf001f,806001f,0,2,bfbfee08,0,ffffffff) at netbsd:sysca
ll+0xaa                                                                        
db{0}> 


Normal, single-user boot:
> boot /netbsd-GENERIC -s
11259000+564156+464544 [600192+589644]=0xcdc158
Loading /stand/i386/6.1/modules/pciverbose/pciverbose.kmod  
Loading /stand/i386/6.1/modules/usbverbose/usbverbose.kmod  
Loading /stand/i386/6.1/modules/miiverbose/miiverbose.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012                             
    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 6.1_STABLE (GENERIC) #2: Mon Jul 29 16:45:39 CDT 2013
        
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/GENERIC
total memory = 2047 MB
avail memory = 2000 MB
mainbus0 (root)       
cpu0 at mainbus0 apid 0
[hung]


Custom kernel w/o ACPI:
> boot -s
3793164+90108+278944 [272784+264588]=0x47db34
Loading /stand/i386/6.1/modules/pciverbose/pciverbose.kmod  
Loading /stand/i386/6.1/modules/usbverbose/usbverbose.kmod  
Loading /stand/i386/6.1/modules/miiverbose/miiverbose.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012                             
    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 6.1_STABLE (RELTUK) #2: Mon Jul 29 16:53:32 CDT 2013
        
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/RELTUK
total memory = 2047 MB
avail memory = 2008 MB
mainbus0 (root)       
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 011B     )
cpu0 at mainbus0 apid 1: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
cpu1 at mainbus0 apid 0: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
ipmi0 at mainbus0         
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
pci1 at pchb0 bus 1                                                        
wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm0: interrupting at ioapic1 pin 1                                          
wm0: Ethernet address 00:0f:1f:9d:41:38
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci1 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm1: interrupting at ioapic1 pin 0                                          
wm1: Ethernet address 00:0f:1f:9d:41:39
makphy1 at wm1 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb0 at pci1 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci2 at ppb0 bus 2                                             
aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
aac0: interrupting at ioapic1 pin 2          
aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
ld0 at aac0 unit 0: RAID 5                                               
ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 sectors
pchb1 at pci0 dev 0 function 1: ServerWorks CNB20-HE PCI Bridge (rev. 0x01) 
pchb2 at pci0 dev 0 function 2: ServerWorks CNB30-LE PCI Bridge (rev. 0x01)
pci3 at pchb2 bus 1                                                        
wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm2: unable to map device registers                                         
wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm3: unable to map device registers                                         
[...]
# reboot
reboot: rebooted by root
syncing disks... done
cd0: detached        
sysbeep0: detached
pci4: detached    
pci2: detached
atapibus0: detached
npx0: detached     
pcppi0: detached
ppb1: detached  
uvm_fault(0xc2fc1ca8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c024d9cc cs 8 eflags 10282 cr2 300 ilevel 6
kernel: supervisor trap page fault, code=0                        
Stopped in pid 7.1 (reboot) at  netbsd:callout_stop+0xc:        movl    10(%ebx)
,%edi                                                                          
db{1}> bt
callout_stop(2f0,c03514f8,0,e2bdeba4,c0352c50,c04924d2,c2d82000,c2d82028,c2f4298
0,e2bdebb4) at netbsd:callout_stop+0xc                                         
wm_stop(c2d82028,1,c04a3828,0,c04a2c80,c2f42980,c04a81a0,e2bdebe8,c034174f,c2f42
980) at netbsd:wm_stop+0x1f                                                    
wm_detach(c2f42980,4,e2bdebd0,c0342cb1,c2f42800,e2bdebe8,c2f42980,1,c2f42980,1) 
a
t netbsd:wm_detach+0x38
config_detach(c2f42980,4,0,0,e2bdec1c,c028e587,0,0,0,0) at netbsd:config_detach+
0x71                                                                           
config_detach_all(0,0,0,0,e2bded00,e2bdeccc,c02514e8,0,0,0) at netbsd:config_det
ach_all+0x7a                                                                   
cpu_reboot(0,0,0,0,0,0,c2879bc8,c2963f00,0,c2ff6a80) at netbsd:cpu_reboot+0x141
sys_reboot(c2ff6a80,e2bded00,e2bded28,d0,c2fc2e88,c2fc2e10,e2bded00,c2fbca38,2,b
bad9ba7) at netbsd:sys_reboot+0x94                                             
syscall(e2bded48,b3,ab,bfbf001f,806001f,0,2,bfbfee08,0,ffffffff) at netbsd:sysca
ll+0xaa                                                                        
db{1}> 


GENERIC, SMP disabled, "makphy" disabled to force "ukphy":
> boot netbsd-GENERIC -1cs
11259000+564156+464544 [600192+589644]=0xcdc158
Loading /stand/i386/6.1/modules/pciverbose/pciverbose.kmod  
Loading /stand/i386/6.1/modules/usbverbose/usbverbose.kmod  
Loading /stand/i386/6.1/modules/miiverbose/miiverbose.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012                             
    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 6.1_STABLE (GENERIC) #2: Mon Jul 29 16:45:39 CDT 2013
        
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/GENERIC
total memory = 2047 MB
avail memory = 2000 MB
userconf: configure system autoconfiguration:
uc> disable makphy                           
[ 49] makphy* disabled
uc> exit              
Continuing...
mainbus0 (root)
cpu0 at mainbus0 apid 0: multiprocessor boot disabled
cpu1 at mainbus0 apid 1: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
acpi0 at mainbus0: Intel ACPICA 20110623
npx1 at acpi0 (FPU, PNP0C04): io 0xf0-0xff irq 13
pcppi1 at acpi0 (SPK, PNP0800): io 0x61          
midi0 at pcppi1: PC speaker            
sysbeep0 at pcppi1         
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x5f irq 0
FDC (PNP0700) at acpi0 not configured               
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
COMA (PNP0501) at acpi0 not configured                       
MBIO (PNP0C01) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured 
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1             
pckbd0 at pckbc1 (kbd slot) 
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1          
ipmi0 at mainbus0     
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
pci1 at pchb0 bus 1                                                        
wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm0: interrupting at ioapic1 pin 1                                          
wm0: Ethernet address 00:0f:1f:9d:41:38
ukphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY (OUI 0x000ac2, model 0x0003), 
rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci1 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm1: interrupting at ioapic1 pin 0                                          
wm1: Ethernet address 00:0f:1f:9d:41:39
ukphy1 at wm1 phy 1: Marvell 88E1000 Gigabit PHY (OUI 0x000ac2, model 0x0003), 
rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb0 at pci1 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci2 at ppb0 bus 2                                             
aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
aac0: interrupting at ioapic1 pin 2          
aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
ld0 at aac0 unit 0: RAID 5                                               
ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 sectors
pchb1 at pci0 dev 0 function 1: ServerWorks CNB20-HE PCI Bridge (rev. 0x01) 
pchb2 at pci0 dev 0 function 2: ServerWorks CNB30-LE PCI Bridge (rev. 0x01)
pci3 at pchb2 bus 1                                                        
wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm2: unable to map device registers                                         
wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm3: unable to map device registers                                         
[...]
# reboot
reboot: rebooted by root
syncing disks... done
cd0: detached        
pci4: detached
pci2: detached
ukphy1: detached
ukphy0: detached
atapibus0: detached
ppb1: detached     
uvm_fault(0xc38a8ca8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0555b6c cs 8 eflags 10282 cr2 300 ilevel 6
kernel: supervisor trap page fault, code=0                        
Stopped in pid 15.1 (reboot) at netbsd:callout_stop+0xc:        movl    10(%ebx)
,%edi                                                                          
db{0}> bt
callout_stop(2f0,c078fa68,0,e35feba4,c07911c0,c0b94b9a,c3658000,c3658028,c38206c
0,e35febb4) at netbsd:callout_stop+0xc                                         
wm_stop(c3658028,1,c0bc7ce8,0,c0bc2580,c38206c0,c0c2e280,e35febe8,c077f07f,c3820
6c0) at netbsd:wm_stop+0x1f                                                    
wm_detach(c38206c0,4,e35febd0,c07805e1,c3820540,e35febe8,c38206c0,1,c38206c0,1) 
a
t netbsd:wm_detach+0x38
config_detach(c38206c0,4,0,0,e35fec1c,c05a25dc,0,0,0,0) at netbsd:config_detach+
0x71                                                                           
config_detach_all(0,0,0,0,e35fed00,e35feccc,c0559688,0,0,0) at netbsd:config_det
ach_all+0x7a                                                                   
cpu_reboot(0,0,0,0,0,0,e35fec94,c312af00,0,c38cf800) at netbsd:cpu_reboot+0x166
sys_reboot(c38cf800,e35fed00,e35fed28,d0,c38a8ca8,bbb38000,e35fed00,c38a3a38,2,b
bad9ba7) at netbsd:sys_reboot+0x94                                             
syscall(e35fed48,b3,ab,bfbf001f,806001f,0,2,bfbfee08,0,ffffffff) at netbsd:sysca
ll+0xaa                                                                        
db{0}> 


GENERIC, ACPI disabled, "makphy" disabled to force "ukphy"
> boot netbsd-GENERIC -2cs
11259000+564156+464544 [600192+589644]=0xcdc158
Loading /stand/i386/6.1/modules/pciverbose/pciverbose.kmod  
Loading /stand/i386/6.1/modules/usbverbose/usbverbose.kmod  
Loading /stand/i386/6.1/modules/miiverbose/miiverbose.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012                             
    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 6.1_STABLE (GENERIC) #2: Mon Jul 29 16:45:39 CDT 2013
        
sysop%tesla.clamp.net@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/GENERIC
total memory = 2047 MB
avail memory = 2000 MB
userconf: configure system autoconfiguration:
uc> disable makphy                           
[ 49] makphy* disabled
uc> exit              
Continuing...
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 011B     )
cpu0 at mainbus0 apid 1: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
cpu1 at mainbus0 apid 0: Intel(R) Pentium(R) III CPU - S         1400MHz, id 
0x6b4
ioapic0 at mainbus0 apid 2
ioapic1 at mainbus0 apid 3
ipmi0 at mainbus0         
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
pci1 at pchb0 bus 1                                                        
wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm0: interrupting at ioapic1 pin 1                                          
wm0: Ethernet address 00:0f:1f:9d:41:38
ukphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY (OUI 0x000ac2, model 0x0003), 
rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
wm1 at pci1 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm1: interrupting at ioapic1 pin 0                                          
wm1: Ethernet address 00:0f:1f:9d:41:39
ukphy1 at wm1 phy 1: Marvell 88E1000 Gigabit PHY (OUI 0x000ac2, model 0x0003), 
rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb0 at pci1 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci2 at ppb0 bus 2                                             
aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
aac0: interrupting at ioapic1 pin 2          
aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
ld0 at aac0 unit 0: RAID 5                                               
ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 sectors
pchb1 at pci0 dev 0 function 1: ServerWorks CNB20-HE PCI Bridge (rev. 0x01) 
pchb2 at pci0 dev 0 function 2: ServerWorks CNB30-LE PCI Bridge (rev. 0x01)
pci3 at pchb2 bus 1                                                        
wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm2: unable to map device registers                                         
wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 0x02)
wm3: unable to map device registers                                         
[...]
# reboot
reboot: rebooted by root
syncing disks... done
cd0: detached        
sysbeep0: detached
midi0: detached   
pci4: detached 
pci2: detached
ukphy1: detached
ukphy0: detached
atapibus0: detached
npx0: detached     
pcppi0: detached
ppb1: detached  
uvm_fault(0xc3867ca8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0555b6c cs 8 eflags 10282 cr2 300 ilevel 6
kernel: supervisor trap page fault, code=0                        
Stopped in pid 7.1 (reboot) at  netbsd:callout_stop+0xc:        movl    10(%ebx)
,%edi                                                                          
db{1}> bt
callout_stop(2f0,c078fa68,0,e361eba4,c07911c0,c0b94b9a,c3640000,c3640028,c380998
0,e361ebb4) at netbsd:callout_stop+0xc                                         
wm_stop(c3640028,1,c0bc7ce8,0,c0bc2580,c3809980,c0c2e280,e361ebe8,c077f07f,c3809
980) at netbsd:wm_stop+0x1f                                                    
wm_detach(c3809980,4,e361ebd0,c07805e1,c3809800,e361ebe8,c3809980,1,c3809980,1) 
a
t netbsd:wm_detach+0x38
config_detach(c3809980,4,0,0,e361ec1c,c05a25dc,0,0,0,0) at netbsd:config_detach+
0x71                                                                           
config_detach_all(0,0,0,0,e361ed00,e361eccc,c0559688,0,0,0) at netbsd:config_det
ach_all+0x7a                                                                   
cpu_reboot(0,0,0,0,0,0,c30b7bc8,c312af00,0,c38d5d20) at netbsd:cpu_reboot+0x166
sys_reboot(c38d5d20,e361ed00,e361ed28,d0,c3868e10,c38d5d20,e361ed00,c3862a38,2,b
bad9ba7) at netbsd:sys_reboot+0x94                                             
syscall(e361ed48,b3,ab,bfbf001f,806001f,0,2,bfbfee08,0,ffffffff) at netbsd:sysca
ll+0xaa                                                                        
db{1}> 

>How-To-Repeat:
Don't know.  Only seen on this one machine and there are no others like
it available to test.
>Fix:



Home | Main Index | Thread Index | Old Index