hello,
I have a Soekris 5501 as my home firewall, vr0 is connected to my ISP,
vr1 is my internal lan and vr2 is connected to a wireless AP. When
copying data (example copying three directories of mp3s each directory
100MB) from a laptop connected to the AP to a server in the lan, I will get a
panic. It only seems to happen when there is a larger amount of data at
the same time, just surfing, reading e-mail or downloading from the
internet does not trigger a panic.
trace, ps, show registers and dmesg follows:
panic: pool_do_get(mcl2k): free list modified: page 0xd5c03000; item addr 0xd5c03800; offset
0xc=0x7004d58
Stopped at Debugger+0x4: popl %ebp
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d08bbfdc,d977bb98,d089ae94,d977bb98,1) at Debugger+0x4
panic(d089ae94,d09bed60,d5c03000,d5c03800,c) at panic+0x5d
pool_do_get(d0a0d320,0,1,d5bd0d00,0) at pool_do_get+0x2aa
pool_get(d0a0d320,0,87f,d5c71e00,0) at pool_get+0x54
m_clget(0,1,d1513034,800,1c) at m_clget+0x6c
vr_alloc_mbuf(d1513000,d1513398,60,d1513370,5ee) at vr_alloc_mbuf+0x41
vr_fill_rx_ring(d1513000,0,d5bcfc00,d1553f38,d977bce4) at vr_fill_rx_ring+0x51
vr_rxeof(d1513000,e300,c,3,d150cc40) at vr_rxeof+0x18e
vr_intr(d1513000) at vr_intr+0xfd
Xrecurse_legacy9() at Xrecurse_legacy9+0xb7
--- interrupt ---
m_pullup(d5c71000,44,44,1,d5bc1020) at m_pullup+0x9
ip_forward(d5c71e00,0,d977bdec,0,8) at ip_forward+0x128
ipv4_input(d5c71e00,30,d977bdf4,d0202089,d1410058) at ipv4_input+0x655
ipintr(d1410058,d0a30010,b4390010,2390010,d0a052a0) at ipintr+0x49
Bad frame pointer: 0xd977bdf4
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
32239 1 32239 0 3 0x4080 ttyin getty
23011 4509 23011 0 3 0x4080 ttyin ksh
4509 2173 4509 1000 3 0x4080 pause ksh
2173 28739 28739 1000 3 0x180 select sshd
28739 2362 28739 0 3 0x4180 netio sshd
26666 7153 26666 1000 3 0x4080 ttyin ksh
7153 20893 20893 1000 3 0x180 select sshd
20893 2362 20893 0 3 0x4180 netio sshd
31554 1 31554 0 3 0x80 select cron
17489 1 17489 71 3 0x180 kqread ftp-proxy
19509 30231 30231 95 3 0x180 kqread smtpd
20367 30231 30231 95 3 0x180 kqread smtpd
12639 30231 30231 95 3 0x180 kqread smtpd
26705 30231 30231 95 3 0x180 kqread smtpd
24219 30231 30231 95 3 0x180 kqread smtpd
18960 30231 30231 95 3 0x180 kqread smtpd
20991 30231 30231 95 3 0x180 kqread smtpd
30231 1 30231 0 3 0x80 kqread smtpd
28037 1 28037 77 3 0x180 poll dhcpd
2362 1 2362 0 3 0x80 select sshd
21149 0 0 0 3 0x100200 acct acct
9471 1 9471 0 3 0x80 poll ntpd
22197 28373 22197 83 3 0x180 poll ntpd
28373 1 28373 83 3 0x180 poll ntpd
30813 7519 7519 70 3 0x180 select named
7519 1 7519 0 3 0x180 netio named
8108 27894 27894 74 3 0x180 bpf pflogd
27894 1 27894 0 3 0x80 netio pflogd
8329 24290 24290 73 3 0x180 poll syslogd
24290 1 24290 0 3 0x88 netio syslogd
13634 1 13634 0 3 0x80 poll openvpn
11783 1 11783 77 3 0x180 poll dhclient
28175 1 6563 0 3 0x80 poll dhclient
8583 1 8583 0 3 0x80 mfsidl mount_mfs
14 0 0 0 3 0x100200 bored crypto
13 0 0 0 3 0x100200 aiodoned aiodoned
12 0 0 0 3 0x100200 syncer update
11 0 0 0 3 0x100200 cleaner cleaner
10 0 0 0 3 0x100200 reaper reaper
9 0 0 0 3 0x100200 pgdaemon pagedaemon
8 0 0 0 3 0x100200 pftm pfpurge
7 0 0 0 3 0x100200 usbevt usb1
6 0 0 0 3 0x100200 usbtsk usbtask
5 0 0 0 3 0x100200 usbevt usb0
4 0 0 0 3 0x100200 bored syswq
* 3 0 0 0 7 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x4080 wait init
0 -1 0 0 3 0x80200 scheduler swapper
ddb> show registers
ds 0x10
es 0xd0200010 kernel_text+0x10
fs 0xd0200058 kernel_text+0x58
gs 0xd9770010 end+0x8cab90c
edi 0xd089ae94 addrmask+0x22b4
esi 0x100
ebp 0xd977bb4c end+0x8cb7448
ebx 0xd977bb98 end+0x8cb7494
edx 0x1
ecx 0xd099b238 kprintf_mutex
eax 0x1
eip 0xd0562114 Debugger+0x4
cs 0x50
eflags 0x202
esp 0xd977bb4c end+0x8cb7448
ss 0xd9770010 end+0x8cab90c
Debugger+0x4: popl %ebp
ddb> next
After 1 instructions (0 loads, 0 stores),
Stopped at Debugger+0x5: ret
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d089ae94,d09bed60,d5c03000,d5c03800,c) at Debugger+0x5
pool_do_get(d0a0d320,0,1,d5bd0d00,0) at pool_do_get+0x2aa
pool_get(d0a0d320,0,87f,d5c71e00,0) at pool_get+0x54
m_clget(0,1,d1513034,800,1c) at m_clget+0x6c
vr_alloc_mbuf(d1513000,d1513398,60,d1513370,5ee) at vr_alloc_mbuf+0x41
vr_fill_rx_ring(d1513000,0,d5bcfc00,d1553f38,d977bce4) at vr_fill_rx_ring+0x51
vr_rxeof(d1513000,e300,c,3,d150cc40) at vr_rxeof+0x18e
vr_intr(d1513000) at vr_intr+0xfd
Xrecurse_legacy9() at Xrecurse_legacy9+0xb7
--- interrupt ---
m_pullup(d5c71000,44,44,1,d5bc1020) at m_pullup+0x9
ip_forward(d5c71e00,0,d977bdec,0,8) at ip_forward+0x128
ipv4_input(d5c71e00,30,d977bdf4,d0202089,d1410058) at ipv4_input+0x655
ipintr(d1410058,d0a30010,b4390010,2390010,d0a052a0) at ipintr+0x49
Bad frame pointer: 0xd977bdf4
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
32239 1 32239 0 3 0x4080 ttyin getty
23011 4509 23011 0 3 0x4080 ttyin ksh
4509 2173 4509 1000 3 0x4080 pause ksh
2173 28739 28739 1000 3 0x180 select sshd
28739 2362 28739 0 3 0x4180 netio sshd
26666 7153 26666 1000 3 0x4080 ttyin ksh
7153 20893 20893 1000 3 0x180 select sshd
20893 2362 20893 0 3 0x4180 netio sshd
31554 1 31554 0 3 0x80 select cron
17489 1 17489 71 3 0x180 kqread ftp-proxy
19509 30231 30231 95 3 0x180 kqread smtpd
20367 30231 30231 95 3 0x180 kqread smtpd
12639 30231 30231 95 3 0x180 kqread smtpd
26705 30231 30231 95 3 0x180 kqread smtpd
24219 30231 30231 95 3 0x180 kqread smtpd
18960 30231 30231 95 3 0x180 kqread smtpd
20991 30231 30231 95 3 0x180 kqread smtpd
30231 1 30231 0 3 0x80 kqread smtpd
28037 1 28037 77 3 0x180 poll dhcpd
2362 1 2362 0 3 0x80 select sshd
21149 0 0 0 3 0x100200 acct acct
9471 1 9471 0 3 0x80 poll ntpd
22197 28373 22197 83 3 0x180 poll ntpd
28373 1 28373 83 3 0x180 poll ntpd
30813 7519 7519 70 3 0x180 select named
7519 1 7519 0 3 0x180 netio named
8108 27894 27894 74 3 0x180 bpf pflogd
27894 1 27894 0 3 0x80 netio pflogd
8329 24290 24290 73 3 0x180 poll syslogd
24290 1 24290 0 3 0x88 netio syslogd
13634 1 13634 0 3 0x80 poll openvpn
11783 1 11783 77 3 0x180 poll dhclient
28175 1 6563 0 3 0x80 poll dhclient
8583 1 8583 0 3 0x80 mfsidl mount_mfs
14 0 0 0 3 0x100200 bored crypto
13 0 0 0 3 0x100200 aiodoned aiodoned
12 0 0 0 3 0x100200 syncer update
11 0 0 0 3 0x100200 cleaner cleaner
10 0 0 0 3 0x100200 reaper reaper
9 0 0 0 3 0x100200 pgdaemon pagedaemon
8 0 0 0 3 0x100200 pftm pfpurge
7 0 0 0 3 0x100200 usbevt usb1
6 0 0 0 3 0x100200 usbtsk usbtask
5 0 0 0 3 0x100200 usbevt usb0
4 0 0 0 3 0x100200 bored syswq
* 3 0 0 0 7 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x4080 wait init
0 -1 0 0 3 0x80200 scheduler swapper
ddb> boot dump
panic: mtx_enter: locking against myself
After 1 instructions (0 loads, 0 stores),
Stopped at Debugger+0x4: popl %ebp
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> next
After 1 instructions (0 loads, 0 stores),
Stopped at Debugger+0x5: ret
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> next
dumping to dev 1, offset 0
dump area improper
rebooting...
OpenBSD 4.8-current (GENERIC) #138: Fri Aug 20 23:24:58 MDT 2010
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500
MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX
real mem = 536440832 (511MB)
avail mem = 517705728 (493MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/71/05, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
io address conflict 0x6100/0x100
io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x31
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address
00:00:24:c9:58:4c
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address
00:00:24:c9:58:4d
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address
00:00:24:c9:58:4e
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address
00:00:24:c9:58:4f
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15, address
00:12:0e:61:7f:b0
ral0: MAC/BBP RT2561C, RF RT5225
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 3579545Hz timer,
watchdog, gpio
gpio0 at glxpcib0: 32 pins
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility,
channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFX-4096>
wd0: 4-sector PIO, LBA, 3908MB, 8005536 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7, version 1.0,
legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 10: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
biomask 65c5 netmask ffe5 ttymask ffff
mtrr: K6-family MTRR support (2 registers)
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
Thanks,
.jh