NetBSD-Bugs archive

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

Re: kern/49102 (wm detach panic on shutdown or reboot)



The following reply was made to PR kern/49102; it has been noted by GNATS.

From: Masanobu SAITOH <msaitoh%execsw.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, msaitoh%NetBSD.org@localhost, 
gnats-admin%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost, jdbaker%mylinuxisp.com@localhost
Cc: msaitoh%execsw.org@localhost
Subject: Re: kern/49102 (wm detach panic on shutdown or reboot)
Date: Thu, 21 Aug 2014 12:45:47 +0900

 Hi, John.
 
 On 2014/08/21 12:20, John D. Baker wrote:
 > The following reply was made to PR kern/49102; it has been noted by GNATS.
 > 
 > From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: kern/49102 (wm detach panic on shutdown or reboot)
 > Date: Wed, 20 Aug 2014 22:16:51 -0500 (CDT)
 > 
 >   I had console access to the problem machine today.  With the latest
 >   current:
 >   
 >   NetBSD brenowin.reltuk.net 7.99.1 NetBSD 7.99.1 (GENERIC) #1: Tue Aug 19 
 > 19:02:53 CDT 2014  
 > sysop%kepler.clamp.net@localhost:/d0/nbsd/current/obj/i386/sys/arch/i386/compile/GENERIC
 >  i386
 >   
 >   
 >   GENERIC with ACPI,SMP enabled:
 >   > boot netbsd-GENERIC -vxs
 >   booting hd0a:netbsd-GENERIC (howto 0xa0002)
 >   13918672+559804+463004 [641648+640223]=0xf7b0f4
 >   Loading /stand/i386/7.99.1/modules/pciverbose/pciverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/usbverbose/usbverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/miiverbose/miiverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/acpiverbose/acpiverbose.kmod
 >   BIOS CFG: Model-SubM-Rev: fc-01-00, 0x0x74<EBDA,KBDINT,RTC,IC2>
 >   rbus: rbus_min_start set to 0x80000000
 >   Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 >       2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
 >       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 7.99.1 (GENERIC) #1: Tue Aug 19 19:02:53 CDT 2014
 >      
 > sysop%kepler.clamp.net@localhost:/d0/nbsd/current/obj/i386/sys/arch/i386/compile/GENERIC
 >   total memory = 2047 MB
 >   avail memory = 1998 MB
 >   Prep module path=pciverbose len=95714 pa=107c000
 >   Prep module path=usbverbose len=77974 pa=1094000
 >   Prep module path=miiverbose len=9853 pa=10a8000
 >   Prep module path=acpiverbose len=31157 pa=10ab000
 >   kern.module.path=/stand/i386/7.99.1/modules
 >   timecounter: Timecounters tick every 10.000 msec
 >   timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 >   BIOS32 rev. 0 found at 0xffe90
 >   SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
 >   Dell Computer Corporation PowerEdge 1650
 >   mainbus0 (root)
 >   ACPI: RSDP 0xfdc40 000014 (v00 DELL  )
 >   ACPI: RSDT 0xfdc54 000030 (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: FACP 0xfdc84 000074 (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: DSDT 0x7ffe0000 00282A (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: FACS 0x7ffefc00 000040
 >   ACPI: APIC 0xfdcf8 00006A (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: SPCR 0xfdd62 000050 (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: All ACPI Tables successfully acquired
 >   cpu0 at mainbus0 apid 0cpu0: 2 page colors
 >   [machine hangs]
 >   
 >   
 >   GENERIC w/SMP disabled, ACPI enabled:
 >   > boot netbsd-GENERIC -vx1s
 >   booting hd0a:netbsd-GENERIC (howto 0x100a0002)
 >   13918672+559804+463004 [641648+640223]=0xf7b0f4
 >   Loading /stand/i386/7.99.1/modules/pciverbose/pciverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/usbverbose/usbverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/miiverbose/miiverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/acpiverbose/acpiverbose.kmod
 >   BIOS CFG: Model-SubM-Rev: fc-01-00, 0x0x74<EBDA,KBDINT,RTC,IC2>
 >   rbus: rbus_min_start set to 0x80000000
 >   Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 >       2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
 >       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 7.99.1 (GENERIC) #1: Tue Aug 19 19:02:53 CDT 2014
 >      
 > sysop%kepler.clamp.net@localhost:/d0/nbsd/current/obj/i386/sys/arch/i386/compile/GENERIC
 >   total memory = 2047 MB
 >   avail memory = 1998 MB
 >   Prep module path=pciverbose len=95714 pa=107c000
 >   Prep module path=usbverbose len=77974 pa=1094000
 >   Prep module path=miiverbose len=9853 pa=10a8000
 >   Prep module path=acpiverbose len=31157 pa=10ab000
 >   kern.module.path=/stand/i386/7.99.1/modules
 >   timecounter: Timecounters tick every 10.000 msec
 >   timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 >   BIOS32 rev. 0 found at 0xffe90
 >   SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
 >   Dell Computer Corporation PowerEdge 1650
 >   mainbus0 (root)
 >   ACPI: RSDP 0xfdc40 000014 (v00 DELL  )
 >   ACPI: RSDT 0xfdc54 000030 (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: FACP 0xfdc84 000074 (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: DSDT 0x7ffe0000 00282A (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: FACS 0x7ffefc00 000040
 >   ACPI: APIC 0xfdcf8 00006A (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: SPCR 0xfdd62 000050 (v01 DELL   PE1650   00000001 MSFT 0100000A)
 >   ACPI: All ACPI Tables successfully acquired
 >   cpu0 at mainbus0 apid 0: multiprocessor boot disabled
 >   cpu1 at mainbus0 apid 1cpu1: 16 page colors
 >   cpu1: calibrating local timer
 >   cpu1: apic clock running at 133 MHz
 >   timecounter: Timecounter "lapic" frequency 133055293 Hz quality -100
 >   : Intel(R) Pentium(R) III CPU - S         1400MHz, id 0x6b4
 >   cpu1: PAT enabled
 >   ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x11, 16 pins
 >   ioapic0: misconfigured as apic 0
 >   ioapic0: remapped to apic 2
 >   ioapic1 at mainbus0 apid 3: pa 0xfec01000, version 0x11, 16 pins
 >   ioapic1: misconfigured as apic 0
 >   ioapic1: remapped to apic 3
 >   acpi0 at mainbus0: Intel ACPICA 20131218
 >   acpi0: X/RSDT: OemId <DELL  ,PE1650  ,00000001>, AslId <MSFT,0100000a>
 >   [...]
 >   attimer1: attached to pcppi1
 >   ipmi0 at mainbus0
 >   ipmi0: WARNING: power management not supported
 >   pci0 at mainbus0 bus 0: configuration mode 1
 >   pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 >   pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
 >   pci1 at pchb0 bus 1
 >   pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 >   wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 
 > 0x02)
 >   wm0: interrupting at ioapic1 pin 1
 >   wm0: 64-bit 66MHz PCI bus
 >   wm0: 64 word (6 address bits) MicroWire EEPROM
 >   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: 64-bit 66MHz PCI bus
 >   wm1: 64 word (6 address bits) MicroWire EEPROM
 >   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
 >   pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 >   pci_mem_find: void region
 >   aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
 >   aac0: interrupting at ioapic1 pin 2
 >   aac0: GETCOMMPREF appears untrustworthy.  Ignoring.
 >   aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
 >   aac0: Kernel 2.8-1 [Build 6098], Monitor 2.8-1 [Build 6098], S/N 3041D3
 >   aac0: Controller supports: 
 > 0x235c<WCACHE,DATA64,HOSTTIME,WINDOW4GB,SOFTERR,NORECOND>
 >   ld0 at aac0 unit 0: RAID 5
 >   ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 
 > sectors
 >   aac0: WARNING: power management not supported
 >   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
 >   pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 >   wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 
 > 0x02)
 >   wm2: unable to map device registers
 >   wm2: WARNING: power management not supported
 >   wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 
 > 0x02)
 >   wm3: unable to map device registers
 >   wm3: WARNING: power management not supported
 
 The scenario is:
 
        0) call wm_attach()
 
        1) pci_mapreg_map() failed
 
        2) wm_attach() failed
 
        ( 3) configure() don't detect whether an attach function successfully
        finished or not because the return value of attach function is void)
 
        4) When shutdown, wm_detach() is called even though the device wasn't
        attached correctly.
 
        5) wm_detach() doesn't check whether the device was successfully
        attached or not.
 
 The panic can be avoided by fixing wm_detach(). The problem of failing
 pci_mapreg_map() is not related to if_wm.c but ... perhaps related to
 BIOS bug or something else.
 
  I think adding extra check into detach function is not a smart solution.
 If the return value of the attach function is not void, the caller function
 can detect it and detach sequence in shutdown won't call the detach function.
 
  Anyway, I'll write a patch to fix above 5). Please wait a few days.
 
  Thanks.
 
 
 >   [...]
 >   # reboot
 >   reboot: rebooted by root
 >   syncing disks... done
 >   cd0: detached
 >   pci4: detached
 >   pci2: detached
 >   atapibus0: detached
 >   ppb1: detached
 >   uvm_fault(0xc3ae3d40, 0x1000, 1) -> 0xe
 >   fatal page fault in supervisor mode
 >   trap type 6 code 0 eip c04cd7d5 cs 8 eflags 10292 cr2 1150 ilevel 6 esp 
 > ffffffff
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   kernel: supervisor trap page fault, code=0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dcc64
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dcab8
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dc90c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dc760
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dc5b4
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dc408
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dc25c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dc0b0
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dbf04
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dbd58
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dbbac
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dba00
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38db854
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38db6a8
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38db4fc
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38db350
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38db1a4
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38daff8
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38dae4c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38daca0
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38daaf4
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38da948
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38da79c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38da5f0
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38da444
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 1150 ilevel 8 esp 
 > e38da298
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   fatal double fault in supervisor mode
 >   trap type 13 code 80000000 eip c0843fe7 cs 8 eflags 10297 cr2 e38d9ffc 
 > ilevel 8 esp e38da000
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   kernel: supervisor trap double fault, code=0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 4046 cr2 e38d9ffc ilevel 8 esp 
 > dab54e3c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab54c90
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab54ae4
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab54938
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab5478c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab545e0
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab54434
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab54288
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab540dc
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53f30
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53d84
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53bd8
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53a2c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53880
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab536d4
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53528
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab5337c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab531d0
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab53024
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab52e78
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab52ccc
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab52b20
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab52974
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab527c8
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab5261c
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab52470
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   Skipping crash dump on recursive panic
 >   panic: i82489_icr_wait: busy
 >   fatal breakpoint trap in supervisor mode
 >   trap type 1 code 0 eip c027d8c4 cs 8 eflags 246 cr2 e38d9ffc ilevel 8 esp 
 > dab522c4
 >   curlwp 0xc3c37800 pid 7 lid 1 lowest kstack 0xe38da2c0
 >   [machine hangs]
 >   
 >   
 >   
 >   GENERIC w/SMP enabled, ACPI disabled:
 >   > boot netbsd-GENERIC -vx2s
 >   booting hd0a:netbsd-GENERIC (howto 0x200a0002)
 >   13918672+559804+463004 [641648+640223]=0xf7b0f4
 >   Loading /stand/i386/7.99.1/modules/pciverbose/pciverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/usbverbose/usbverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/miiverbose/miiverbose.kmod
 >   Loading /stand/i386/7.99.1/modules/acpiverbose/acpiverbose.kmod
 >   BIOS CFG: Model-SubM-Rev: fc-01-00, 0x0x74<EBDA,KBDINT,RTC,IC2>
 >   rbus: rbus_min_start set to 0x80000000
 >   Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 >       2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
 >       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 7.99.1 (GENERIC) #1: Tue Aug 19 19:02:53 CDT 2014
 >      
 > sysop%kepler.clamp.net@localhost:/d0/nbsd/current/obj/i386/sys/arch/i386/compile/GENERIC
 >   total memory = 2047 MB
 >   avail memory = 1998 MB
 >   Prep module path=pciverbose len=95714 pa=107c000
 >   Prep module path=usbverbose len=77974 pa=1094000
 >   Prep module path=miiverbose len=9853 pa=10a8000
 >   Prep module path=acpiverbose len=31157 pa=10ab000
 >   kern.module.path=/stand/i386/7.99.1/modules
 >   timecounter: Timecounters tick every 10.000 msec
 >   timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 >   BIOS32 rev. 0 found at 0xffe90
 >   SMBIOS rev. 2.3 @ 0xfb1e0 (47 entries)
 >   Dell Computer Corporation PowerEdge 1650
 >   mainbus0 (root)
 >   mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 011B     )
 >   cpu0 at mainbus0 apid 1cpu0: 16 page colors
 >   cpu0: calibrating local timer
 >   cpu0: apic clock running at 133 MHz
 >   timecounter: Timecounter "lapic" frequency 133054893 Hz quality -100
 >   : Intel(R) Pentium(R) III CPU - S         1400MHz, id 0x6b4
 >   cpu0: PAT enabled
 >   cpu1 at mainbus0 apid 0cpu1: 2 page colors
 >   x86_ipi_init: ESR 00000040
 >   : Intel(R) Pentium(R) III CPU - S         1400MHz, id 0x6b4
 >   cpu1: PAT enabled
 >   mpbios: bus 0 is type PCI
 >   mpbios: bus 1 is type PCI
 >   mpbios: bus 2 is type PCI
 >   mpbios: bus 3 is type PCI
 >   mpbios: bus 4 is type ISA
 >   ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x11, 16 pins
 >   ioapic0: misconfigured as apic 0
 >   ioapic0: remapped to apic 2
 >   ioapic1 at mainbus0 apid 3: pa 0xfec01000, version 0x11, 16 pins
 >   ioapic1: misconfigured as apic 0
 >   ioapic1: remapped to apic 3
 >   ipmi0 at mainbus0
 >   ipmi0: WARNING: power management not supported
 >   pci0 at mainbus0 bus 0: configuration mode 1
 >   pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 >   pchb0 at pci0 dev 0 function 0: ServerWorks CNB20-HE PCI Bridge (rev. 0x23)
 >   pci1 at pchb0 bus 1
 >   pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 >   wm0 at pci1 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 
 > 0x02)
 >   wm0: interrupting at ioapic1 pin 1
 >   wm0: 64-bit 66MHz PCI bus
 >   wm0: 64 word (6 address bits) MicroWire EEPROM
 >   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: 64-bit 66MHz PCI bus
 >   wm1: 64 word (6 address bits) MicroWire EEPROM
 >   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
 >   pci2: i/o space, memory space enabled, rd/line, wr/inv ok
 >   pci_mem_find: void region
 >   aac0 at pci1 dev 8 function 1: Dell PERC 3/Di
 >   aac0: interrupting at ioapic1 pin 2
 >   aac0: GETCOMMPREF appears untrustworthy.  Ignoring.
 >   aac0: i960RX at 100MHz, 128MB mem (118MB cache), optional battery present
 >   aac0: Kernel 2.8-1 [Build 6098], Monitor 2.8-1 [Build 6098], S/N 3041D3
 >   aac0: Controller supports: 
 > 0x235c<WCACHE,DATA64,HOSTTIME,WINDOW4GB,SOFTERR,NORECOND>
 >   ld0 at aac0 unit 0: RAID 5
 >   ld0: 34729 MB, 8820 cyl, 128 head, 63 sec, 512 bytes/sect x 71125760 
 > sectors
 >   aac0: WARNING: power management not supported
 >   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
 >   pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 >   wm2 at pci3 dev 2 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 
 > 0x02)
 >   wm2: unable to map device registers
 >   wm2: WARNING: power management not supported
 >   wm3 at pci3 dev 4 function 0: Intel i82544EI 1000BASE-T Ethernet (rev. 
 > 0x02)
 >   wm3: unable to map device registers
 >   wm3: WARNING: power management not supported
 >   [...]
 >   # reboot
 >   reboot: rebooted by root
 >   syncing disks... done
 >   cd0: detached
 >   sysbeep0: detached
 >   midi0: detached
 >   pci4: detached
 >   pci2: detached
 >   atapibus0: detached
 >   pcppi0: detached
 >   ppb1: detached
 >   uvm_fault(0xc3b4dd40, 0x1000, 1) -> 0xe
 >   fatal page fault in supervisor mode
 >   trap type 6 code 0 eip c04cd7d5 cs 8 eflags 10292 cr2 1150 ilevel 6 esp 
 > ffffffff
 >   curlwp 0xc3b2faa0 pid 8 lid 1 lowest kstack 0xe38b92c0
 >   kernel: supervisor trap page fault, code=0
 >   Stopped in pid 8.1 (reboot) at  netbsd:wm_stop+0x11:    movl    
 > 1150(%ebx),%eax
 >   db{0}> bt
 >   
 > wm_stop(c38a4028,1,c0e613d8,c3a9b808,4,c0e51b60,e38bbe54,c083488b,c3a9b808,4)
 >  at
 >    netbsd:wm_stop+0x11
 >   
 > wm_detach(c3a9b808,4,c0f360c0,e38bbe3c,c08360b3,c3a9b688,e38bbe54,c0836112,c3a9b
 >   808,c3a9b808) at netbsd:wm_detach+0x37
 >   config_detach(c3a9b808,4,0,0,e38bbe8c,c063bad0,0,0,0,e38bbf68) at 
 > netbsd:config_
 >   detach+0xe2
 >   config_detach_all(0,0,0,e38bbf68,0,d0,e38bbf3c,c05df6a9,0,0) at 
 > netbsd:config_de
 >   tach_all+0x78
 >   cpu_reboot(0,0,0,0,0,0,c3b4ee10,e38bbef0,c071c2b4,c9) at 
 > netbsd:cpu_reboot+0x1aa
 >                                                                              
 >     
 >   
 > sys_reboot(c3b2faa0,e38bbf68,e38bbf60,bbaf1000,c0e60a80,c0eb8e20,e38bbf68,0,0,0)
 >    at netbsd:sys_reboot+0x95
 >   syscall() at netbsd:syscall+0x83
 >   --- syscall (number 208) ---
 >   bba83d37:
 >   db{0}>
 >   
 >   
 >   
 >   I am in the process of tweaking this machine's custom kernel to enumerate
 >   only wm[01] to see if that will work around the issue.
 >   
 >   --
 >   |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 >   |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 >   | X  No HTML/proprietary data in email.   BSD just sits there and works!
 >   |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 >   
 > 
 
 
 -- 
 -----------------------------------------------
                 SAITOH Masanobu (msaitoh%execsw.org@localhost
                                  msaitoh%netbsd.org@localhost)
 


Home | Main Index | Thread Index | Old Index