Subject: NetBSD-1.5.2 crash
To: None <tech-kern@netbsd.org>
From: Tad Hunt <tad@entrisphere.com>
List: tech-kern
Date: 08/21/2002 17:00:29
I just got the following panic on our NetBSD 1.5.2 i386 box.  I've attached
the dmesg and hand-copied panic message and stack trace.

Any idea what caused this, and/or how to avoid it in the future?

-Tad

-------------------------------------------------------------------------------
panic: mapent_alloc: out of static map entries, check MAX_KMAPENT

Stopped in reaper at cpu_Debugger:0x4:	leave
db> trace
cpu_Debugger
panic
uvm_map_clip_end
uvm_unmap_remove
uvm_unmap
uvm_km_free
uvm_exit
reaper
start_reaper
db>

-------------------------------------------------------------------------------
NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
    he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel (null) (686-class), 2188.18 MHz
total memory = 2047 MB
avail memory = 1894 MB
using 11424 buffers containing 102 MB of memory
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Pequr Technology CMIC_HE Host (rev. 0x22)
pchb1 at pci0 dev 0 function 1
pchb1: Pequr Technology CMIC_HE Host (rev. 0x00)
pci1 at pchb1 bus 1
pci1: no spaces enabled!
pchb2 at pci0 dev 0 function 2
pchb2: Pequr Technology CMIC_HE Host (rev. 0x00)
pci2 at pchb2 bus 8
pci2: no spaces enabled!
pchb3 at pci0 dev 0 function 3
pchb3: Pequr Technology CMIC_HE Host (rev. 0x00)
pci3 at pchb3 bus 255
pci3: no spaces enabled!
fxp0 at pci0 dev 4 function 0: Intel i82557 Ethernet, rev 8
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:06:5b:88:b0:1e, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc1 at pci0 dev 6 function 0
ahc1: interrupting at irq 10
ahc1: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1 channel 0: 16 targets, 8 luns per target
vga1 at pci0 dev 14 function 0: ATI Technologies product 0x4752 (rev. 0x27)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pchb4 at pci0 dev 15 function 0
pchb4: Pequr Technology product 0x0201 (rev. 0x93)
pci4 at pchb4 bus 1
pci4: i/o space, memory space enabled
unknown vendor 0x14e4 product 0x1644 (ethernet network, revision 0x14) at pci4 dev 6 function 0 not configured
ppb0 at pci4 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci5 at ppb0 bus 2
pci5: i/o space, memory space enabled
ahc2 at pci5 dev 6 function 0
OptionMode = 3
ahc2: interrupting at irq 11
ahc2: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc2 channel 0: 16 targets, 8 luns per target
ahc3 at pci5 dev 6 function 1
OptionMode = 3
ahc3: interrupting at irq 10
ahc3: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus2 at ahc3 channel 0: 16 targets, 8 luns per target
pciide0 at pci0 dev 15 function 1: Pequr Technology product 0x0212 (rev. 0x93)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , N102> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
pcib0 at pci0 dev 15 function 3
pcib0: Pequr Technology product 0x0225 (rev. 0x00)
pchb5 at pci0 dev 16 function 0
pchb5: Pequr Technology CIOB30 (rev. 0x03)
pci6 at pchb5 bus 1
pci6: memory space enabled
unknown vendor 0x14e4 product 0x1644 (ethernet network, revision 0x14) at pci6 dev 6 function 0 not configured
ppb1 at pci6 dev 8 function 0: Intel product 0x0309 (rev. 0x01)
pci7 at ppb1 bus 2
pci7: memory space enabled
ahc4 at pci7 dev 6 function 0: unable to map registers
ahc5 at pci7 dev 6 function 1: unable to map registers
pchb6 at pci0 dev 16 function 2
pchb6: Pequr Technology CIOB30 (rev. 0x03)
pci8 at pchb6 bus 3
pci8: memory space enabled
pchb7 at pci0 dev 17 function 0
pchb7: Pequr Technology CIOB30 (rev. 0x03)
pci9 at pchb7 bus 8
pci9: memory space enabled
ppb2 at pci9 dev 6 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x03)
pci10 at ppb2 bus 9
pci10: memory space enabled
fxp1 at pci10 dev 4 function 0: Intel i82557 Ethernet, rev 5
fxp1: interrupting at irq 5
fxp1: Ethernet address 00:02:b3:ac:8e:4a, 10/100 Mb/s
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2 at pci10 dev 5 function 0: Intel i82557 Ethernet, rev 5
fxp2: interrupting at irq 11
fxp2: Ethernet address 00:02:b3:ac:8e:4b, 10/100 Mb/s
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pchb8 at pci0 dev 17 function 2
pchb8: Pequr Technology CIOB30 (rev. 0x03)
pci11 at pchb8 bus 14
pci11: memory space enabled
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask ef45 netmask ef65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
ahc2: target 0 using 16bit transfers
ahc2: target 0 synchronous at 40.0MHz, offset = 0x3f
ahc2: target 0 using tagged queuing
sd0 at scsibus1 target 0 lun 0: <SEAGATE, ST373405LC, 2203> SCSI3 0/direct fixed
sd0: 70007 MB, 29550 cyl, 8 head, 606 sec, 512 bytes/sect x 143374650 sectors
ahc2: target 6 using 8bit transfers
ahc2: target 6 using asynchronous transfers
ses0 at scsibus1 target 6 lun 0: <PE/PV, 1x8 SCSI BP, 0.25> SCSI2 3/processor fixed
ses0: SAF-TE Compliant Device
scsibus2: waiting 2 seconds for devices to settle...
boot device: sd0
root on sd0a dumps on sd0b
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)
wsmux1: connecting to wsdisplay0