Subject: kern/21805: panic due to remrunqueue on -current of 20030531
To: None <gnats-bugs@gnats.netbsd.org>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: netbsd-bugs
Date: 06/05/2003 11:21:53
>Number:         21805
>Category:       kern
>Synopsis:       panic due to remrunqueue on -current of 20030531
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 05 18:27:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Brian de Alwis
>Release:        NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD slab 1.6T NetBSD 1.6T (GENERIC_LAPTOP) #0: Sun Jun 1 06:29:53 UTC 2003 autobuild@tgm.daemon.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
    My laptop just panicked; it was taken from releng.netbsd.org snapshot
    of 2003/05/31.  Trace in syslog is:

    Jun  5 11:01:46 slab dhclient: dhclient-enter-hooks: ex0: FAIL
    Jun  5 11:01:46 slab dhclient: dhclient-exit-hooks: ex0: FAIL
    Jun  5 11:06:34 slab syslogd: restart
    Jun  5 11:06:34 slab /netbsd: uvm_fault(0xd3d02544, 0, 0, 2) -> 0xe
    Jun  5 11:06:34 slab /netbsd: fatal page fault in supervisor mode
    Jun  5 11:06:34 slab /netbsd: trap type 6 code 2 eip c02b54f3 cs 8 eflags 10202 cr2 0 ilevel c
    Jun  5 11:06:34 slab /netbsd: panic: trap
    Jun  5 11:06:34 slab /netbsd: Begin traceback...
    Jun  5 11:06:34 slab /netbsd: trap() at netbsd:trap+0x21a
    Jun  5 11:06:34 slab /netbsd: --- trap (number 6) ---
    Jun  5 11:06:34 slab /netbsd: remrunqueue(d3ff5c08,0,d405fd60,c02b5271,d3ff5c08) at netbsd:remrunqueue+0x1b
    Jun  5 11:06:34 slab /netbsd: mi_switch(d3ff5a08,d3ff5c08,d405fdb0,c02c64d0,d3ff5a08) at netbsd:mi_switch+0x148
    Jun  5 11:06:34 slab /netbsd: sa_switch(d3ff5a08,2,d405fdf0,c02c5406,0) at netbsd:sa_switch+0x1b1
    Jun  5 11:06:34 slab /netbsd: ltsleep(c056d5c8,118,c046aa00,0,0) at netbsd:ltsleep+0x1fa
    Jun  5 11:06:34 slab /netbsd: sys_poll(d3ff5a08,d405ff80,d405ff78,d3ff5a08,483bb224) at netbsd:sys_poll+0x254
    Jun  5 11:06:34 slab /netbsd: syscall_plain(2b,2b,2b,2b,ffffffff) at netbsd:syscall_plain+0xab
    Jun  5 11:06:34 slab /netbsd: End traceback...
    Jun  5 11:06:35 slab /netbsd: syncing disks... 3 done
    Jun  5 11:06:35 slab /netbsd: 
    Jun  5 11:06:35 slab /netbsd: dump to dev 0,1 not possible
    Jun  5 11:06:35 slab /netbsd: rebooting...

dmesg output:

    NetBSD 1.6T (GENERIC_LAPTOP) #0: Sun Jun  1 06:29:53 UTC 2003
	    autobuild@tgm.daemon.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC_LAPTOP
    total memory = 255 MB
    avail memory = 231 MB
    using 3296 buffers containing 13184 KB of memory
    BIOS32 rev. 0 found at 0xfd7a0
    PCI BIOS rev. 2.1 found at 0xfd9c5
    pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
    PCI IRQ Routing Table rev. 1.0 found at 0xfdf40, size 160 bytes (8 entries)
    PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
    ------------------------------------------
      device vendor product pin PIRQ IRQ stage
    ------------------------------------------
    000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
    000:08:0 0x1013 0x6005   A  0x01  10  0    already assigned
    000:10:0 0x104c 0xac50   A  0x00  10  0    already assigned
    000:13:0 0x10b7 0x9200   A  0x00  10  0    already assigned
    000:16:0 0x11c1 0x0448   A  0x02   3  0    already assigned
    001:00:0 0x1002 0x4c4d   A  0x00  10  0    already assigned
    ------------------------------------------
    PCI fixup examining 8086:7190
    PCI fixup examining 8086:7191
    PCI fixup examining 1002:4c4d
    PCI bridge 0: primary 0, secondary 1, subordinate 1
    PCI fixup examining 8086:7110
    PCI fixup examining 8086:7111
    PCI fixup examining 8086:7112
    PCI fixup examining 8086:7113
    PCI fixup examining 1013:6005
    PCI fixup examining 104c:ac50
    PCI bridge 1: primary 0, secondary 2, subordinate 2
    PCI fixup examining 10b7:9200
    PCI fixup examining 11c1:448
    PCI bus #2 is the last bus
    [System BIOS Setting]-----------------------
      device vendor product
      register space address    size
    --------------------------------------------
    000:00:0 0x8086 0x7190 
	    10h mem  0xf8000000 0x04000000
		    [OK]
    000:01:0 0x8086 0x7191 
		    [OK]
    000:07:0 0x8086 0x7110 
		    [OK]
    000:07:1 0x8086 0x7111 
	    20h port 0x0000fcd0 0x00000010
		    [OK]
    000:07:2 0x8086 0x7112 
	    20h port 0x0000fce0 0x00000020
		    [OK]
    000:07:3 0x8086 0x7113 
		    [OK]
    000:08:0 0x1013 0x6005 
	    10h mem  0xfedef000 0x00001000
	    14h mem  0xfedf0000 0x00010000
		    [OK]
    000:10:0 0x104c 0xac50 
	    10h mem  0x00000000 0x00001000
		    [NG]
    000:13:0 0x10b7 0x9200 
	    10h port 0x0000fc00 0x00000080
	    14h mem  0xfededc00 0x00000080
		    [OK]
    000:16:0 0x11c1 0x0448 
	    10h mem  0xfeded800 0x00000100
	    14h port 0x0000fcc8 0x00000008
	    18h port 0x0000f800 0x00000100
		    [OK]
    001:00:0 0x1002 0x4c4d 
	    10h mem  0xfd000000 0x01000000
	    14h port 0x0000e800 0x00000100
	    18h mem  0xfecfe000 0x00001000
		    [OK]
    --------------------------[  1 devices bogus]
    WARNING: can't reserve area for I/O APIC.
     Physical memory end: 0x0ffec000
     PCI memory mapped I/O space start: 0x10000000
    [PCIBIOS fixup stage]-----------------------
      device vendor product
      register space address    size
    --------------------------------------------
    000:00:0 0x8086 0x7190 
	    10h mem  0xf8000000 0x04000000
		    [OK]
    000:01:0 0x8086 0x7191 
		    [OK]
    000:07:0 0x8086 0x7110 
		    [OK]
    000:07:1 0x8086 0x7111 
	    20h port 0x0000fcd0 0x00000010
		    [OK]
    000:07:2 0x8086 0x7112 
	    20h port 0x0000fce0 0x00000020
		    [OK]
    000:07:3 0x8086 0x7113 
		    [OK]
    000:08:0 0x1013 0x6005 
	    10h mem  0xfedef000 0x00001000
	    14h mem  0xfedf0000 0x00010000
		    [OK]
    000:10:0 0x104c 0xac50 
	    10h mem  0x10000000 0x00001000
		    [OK]
    000:13:0 0x10b7 0x9200 
	    10h port 0x0000fc00 0x00000080
	    14h mem  0xfededc00 0x00000080
		    [OK]
    000:16:0 0x11c1 0x0448 
	    10h mem  0xfeded800 0x00000100
	    14h port 0x0000fcc8 0x00000008
	    18h port 0x0000f800 0x00000100
		    [OK]
    001:00:0 0x1002 0x4c4d 
	    10h mem  0xfd000000 0x01000000
	    14h port 0x0000e800 0x00000100
	    18h mem  0xfecfe000 0x00001000
		    [OK]
    --------------------------[  0 devices bogus]
    mainbus0 (root)
    cpu0 at mainbus0: (uniprocessor)
    cpu0: Intel Pentium III (686-class), 697.01 MHz, id 0x686
    cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
    cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
    cpu0: features 383f9ff<FXSR,SSE>
    cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
    cpu0: L2 cache 256 KB 32b/line 8-way
    cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
    cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
    cpu0: 8 page colors
    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
    pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
    agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
    ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
    pci1 at ppb0 bus 1
    pci1: i/o space, memory space enabled
    vga1 at pci1 dev 0 function 0: ATI Technologies Rage Mobility (rev. 0x64)
    wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
    wsmux1: connecting to wsdisplay0
    pcib0 at pci0 dev 7 function 0
    pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
    pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
    pciide0: bus-master DMA support present
    pciide0: primary channel wired to compatibility mode
    wd0 at pciide0 channel 0 drive 0: <IBM-DJSA-210>
    wd0: drive supports 16-sector PIO transfers, LBA addressing
    wd0: 9590 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19640880 sectors
    wd0: 32-bit data port
    wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
    pciide0: primary channel interrupting at irq 14
    wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
    pciide0: secondary channel wired to compatibility mode
    pciide0: disabling secondary channel (no drives)
    uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
    uhci0: interrupting at irq 11
    usb0 at uhci0: USB revision 1.0
    uhub0 at usb0
    uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
    uhub0: 2 ports with 2 removable, self powered
    Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
    clct0 at pci0 dev 8 function 0: Cirrus Logic CS4281 CrystalClear Audio Interface (rev. 0x01)
    clct0: interrupting at irq 10
    clct0: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
    audio0 at clct0: full duplex, independent
    cbb0 at pci0 dev 10 function 0: Texas Instruments PCI1410 PCI-CardBus Bridge (rev. 0x01)
    ex0 at pci0 dev 13 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x78)
    ex0: interrupting at irq 10
    ex0: MAC address 00:b0:d0:bf:00:12
    ukphy0 at ex0 phy 24: Generic IEEE 802.3u media interface
    ukphy0: Broadcom 3c905C internal PHY (OUI 0x000818, model 0x0017), rev. 7
    ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    Lucent Technologies LTMODEM (miscellaneous communications, revision 0x01) at pci0 dev 16 function 0 not configured
    isa0 at pcib0
    com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
    pckbc0 at isa0 port 0x60-0x64
    pckbd0 at pckbc0 (kbd slot)
    pckbc0: using irq 1 for kbd slot
    wskbd0 at pckbd0: console keyboard, using wsdisplay0
    pms0 at pckbc0 (aux slot)
    pckbc0: using irq 12 for aux slot
    wsmouse0 at pms0 mux 0
    lpt0 at isa0 port 0x378-0x37b irq 7
    pcppi0 at isa0 port 0x61
    midi0 at pcppi0: PC speaker
    sysbeep0 at pcppi0
    isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
    npx0 at isa0 port 0xf0-0xff: using exception 16
    fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
    isapnp0: no ISA Plug 'n Play devices found
    cbb0: interrupting at irq 10
    cardslot0 at cbb0 slot 0 flags 0
    cardbus0 at cardslot0: bus 2 device 0
    pcmcia0 at cardslot0
    apm0 at mainbus0: Power Management spec V1.2
    Kernelized RAIDframe activated
    wi0 at pcmcia0 function 0: Lucent Technologies, WaveLAN/IEEE, Version 01.01
    wi0: 802.11 address 00:02:2d:52:28:4d
    wi0: using Lucent Technologies, WaveLAN/IEEE
    wi0: Lucent Firmware: Station (7.28.1)
    wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
    boot device: wd0
    root on wd0a dumps on wd0b
    root file system type: ffs
    wsdisplay0: screen 1 added (80x25, vt100 emulation)
    wsdisplay0: screen 2 added (80x25, vt100 emulation)
    wsdisplay0: screen 3 added (80x25, vt100 emulation)
    wsdisplay0: screen 4 added (80x25, vt100 emulation)


>How-To-Repeat:
    The machine may have been low on physical memory: I had Eclipse
    (a fairly memory-intensive Java IDE) and Galeon running, and had
    just started another Galeon from the command line.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: