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

OpenBSD 3.4-STABLE panic when xl under load



Hi there,
I have a machine that was tracking -current since September (waiting for
3.4-RELEASE) and was acting as a filtering/measuring bridge for a
testbed of two computers. Management decided to drop filtering and only
do traffic monitoring, so I have disabled the bridge (xl1, xl2) and xl2
get's connected to our switch's monitoring port. xl0 is connected to
another switch for remote access.

I did the re-cabeling today and now I can't ping/telnet/whatever through
xl0. ifconfig says the link is up, but it looks like it can only receive
(tcpdump shows lots of arp and other broadcast traffic). I tried several
cable and none worked.

The real problem however is the panic when xl2 is connected to the
monitoring port. I estimate a constant traffic of about 30-50MBit/s and
after about 2-4 minutes the machine will panic (backtrace attached).

I will try a FreeBSD Live CD tomorrow to see if the Hardware is at fault
(though I heavily doubt it)

Ulrich Spörlein
-- 
PGP Key ID: F0DB9F44				Get it while it's hot!
PGP Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".	-- Ken Thompson
Script started on Thu Nov 13 16:42:04 2003
poseidon# gsdb   db bsd.gdb
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.4"...
(gdb) target kcore bsd.0.core
panic: pool_get(mclpl): free list modified: magic=deaf5555; page 0xe6fbf000; item addr 0xe6fbf000
#0  0x1000 in ?? ()
(gdb) bt
#0  0x1000 in ?? ()
#1  0xd01fe100 in boot (howto=260)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../arch/i386/i386/machdep.c:2208
#2  0xd014ffeb in panic ()
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../kern/subr_prf.c:221
#3  0xd014e737 in pool_get (pp=0xd02e2b20, flags=0)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../kern/subr_pool.c:807
#4  0xd0108781 in xl_newbuf (sc=0xd0bbe800, c=0xd0bbeb64)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:1157
#5  0xd0108a8e in xl_rxeof (sc=0xd0bbe800)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:1293
#6  0xd01092fd in xl_intr (arg=0xd0bbe800)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:1566
#7  0xd01010b8 in Xresume5 ()
#8  0xd01fe0be in boot (howto=256)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../arch/i386/i386/machdep.c:2191
#9  0xd014ffeb in panic ()
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../kern/subr_prf.c:221
#10 0xd014e737 in pool_get (pp=0xd02e2b20, flags=0)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../kern/subr_pool.c:807
#11 0xd0108781 in xl_newbuf (sc=0xd0bb4800, c=0xd0bb4b54)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:1157
---Type <return> to continue, or q <return> to quit---
#12 0xd0108639 in xl_list_rx_init (sc=0xd0bb4800)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:1123
#13 0xd010a01c in xl_init (xsc=0xd0bb4800)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:2060
#14 0xd010a8ae in xl_ifmedia_upd (ifp=0xd0bb484c)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:2264
#15 0xd018e7e6 in ifmedia_ioctl (ifp=0xd0bb484c, ifr=0xe79b8ea4, 
    ifm=0xd0bb49d8, cmd=3223349557)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../net/if_media.c:281
#16 0xd010ad73 in xl_ioctl (ifp=0xd0bb484c, command=3223349557, 
    data=0xe79b8ea4 "xl0")
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../dev/ic/xl.c:2440
#17 0xd018ca8e in ifioctl (so=0xd0c80324, cmd=3223349557, 
    data=0xe79b8ea4 "xl0", p=0xe7994a08)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../net/if.c:947
#18 0xd0156229 in soo_ioctl (fp=0xe7897cf0, cmd=3223349557, 
    data=0xe79b8ea4 "xl0", p=0xe7994a08)
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../kern/sys_socket.c:134
can not access 0x0, invalid address (0)
can not access 0x0, invalid address (0)
#19 0xd01541e8 in sys_ioctl (p=0xe7994a08, v=
Cannot access memory at address 0x0.
) at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../kern/sys_generic.c:623
#20 0xd0206001 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = -809562688, 
      tf_esi = 1006634788, tf_ebp = -809562920, tf_ebx = 1, tf_edx = 4, 
---Type <return> to continue, or q <return> to quit---
      tf_ecx = 12, tf_eax = 54, tf_trapno = 3, tf_err = 2, tf_eip = 469783661, 
      tf_cs = 31, tf_eflags = 643, tf_esp = -809562964, tf_ss = 39, 
      tf_vm86_es = 0, tf_vm86_ds = 0, tf_vm86_fs = 0, tf_vm86_gs = 0})
    at /usr/src/sys/arch/i386/compile/POSEIDON/../../../../arch/i386/i386/trap.c:724
#21 0xd0100c6f in syscall1 ()
can not access 0xcfbf0cd8, invalid address (cfbf0cd8)
can not access 0xcfbf0cd8, invalid address (cfbf0cd8)
Cannot access memory at address 0xcfbf0cd8.
(gdb) q
poseidon# ^Dexit

Script done on Thu Nov 13 16:42:41 2003

Attachment: pgp2g0e5lEtJW.pgp
Description: PGP signature


Visit your host, monkey.org