kern/144869: [ipfw] [panic] Instant kernel panic when adding
NAT rules using ipfw on em interfaces
Ildar Hizbulin
hizel at vyborg.ru
Tue Aug 17 10:40:03 UTC 2010
The following reply was made to PR kern/144869; it has been noted by GNATS.
From: Ildar Hizbulin <hizel at vyborg.ru>
To: bug-followup at FreeBSD.org, freebsd-ipfw at FreeBSD.org
Cc:
Subject: Re: kern/144869: [ipfw] [panic] Instant kernel panic when adding
NAT rules using ipfw on em interfaces
Date: Tue, 17 Aug 2010 14:31:12 +0400
i reproduce this bug in virtualbox ose 3.2.8 with Intel PRO/1000 MT
Desktop (Bridged adapter, eth1) emulation in the gentoo linux host system
and ifconfig em0 -rxcsum solves the problem
the part of core.txt.0:
Tue Aug 17 14:12:55 MSD 2010
FreeBSD olo.vyborg.ru 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
panic: page fault
Reading symbols from /boot/kernel/ipfw.ko...Reading symbols from /boot/kernel/ipfw.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ipfw.ko
Reading symbols from /boot/kernel/libalias.ko...Reading symbols from /boot/kernel/libalias.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/libalias.ko
#0 doadump () at pcpu.h:246
246 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0 doadump () at pcpu.h:246
#1 0xc089e9b7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2 0xc089ec19 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:590
#3 0xc0bd3adc in trap_fatal (frame=0xcd1c660c, eva=12) at /usr/src/sys/i386/i386/trap.c:938
#4 0xc0bd3d60 in trap_pfault (frame=0xcd1c660c, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:851
#5 0xc0bd46a5 in trap (frame=0xcd1c660c) at /usr/src/sys/i386/i386/trap.c:533
#6 0xc0bb67bb in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7 0xc0628691 in lem_start_locked (ifp=0xc2621c00) at /usr/src/sys/dev/e1000/if_lem.c:2964
#8 0xc0628d56 in lem_start (ifp=0xc2621c00) at /usr/src/sys/dev/e1000/if_lem.c:867
#9 0xc09430d2 in if_start (ifp=0xc2621c00) at /usr/src/sys/net/if.c:3345
#10 0xc094707b in if_transmit (ifp=0xc2621c00, m=0xc26f7500) at /usr/src/sys/net/if.c:3357
#11 0xc094bda0 in ether_output_frame (ifp=0xc2621c00, m=0xc26f7500) at /usr/src/sys/net/if_ethersubr.c:452
#12 0xc094c7be in ether_output (ifp=0xc2621c00, m=0xc26f7500, dst=0xcd1c6a18, ro=0xcd1c6a10) at /usr/src/sys/net/if_ethersubr.c:423
#13 0xc09ac53e in ip_output (m=0xc29ffc00, opt=0x0, ro=0xcd1c6a10, flags=Variable "flags" is not available.
) at /usr/src/sys/netinet/ip_output.c:634
#14 0xc0a14f3f in tcp_output (tp=0xc2bdc278) at /usr/src/sys/netinet/tcp_output.c:1190
#15 0xc0a20fda in tcp_usr_send (so=0xc29eeb44, flags=0, m=0xc26f7400, nam=0x0, control=0x0, td=0xc2cc0a00) at tcp_offload.h:282
#16 0xc08ffed5 in sosend_generic (so=0xc29eeb44, addr=0x0, uio=0xcd1c6c58, top=0xc26f7400, control=0x0, flags=0, td=0xc2cc0a00) at /usr/src/sys/kern/uipc_socket.c:1260
#17 0xc08fbfdf in sosend (so=0xc29eeb44, addr=0x0, uio=0xcd1c6c58, top=0x0, control=0x0, flags=0, td=0xc2cc0a00) at /usr/src/sys/kern/uipc_socket.c:1304
#18 0xc08e31e3 in soo_write (fp=0xc29936c8, uio=0xcd1c6c58, active_cred=0xc297b000, flags=0, td=0xc2cc0a00) at /usr/src/sys/kern/sys_socket.c:102
#19 0xc08dc3c7 in dofilewrite (td=0xc2cc0a00, fd=3, fp=0xc29936c8, auio=0xcd1c6c58, offset=-1, flags=0) at file.h:239
#20 0xc08dc6b8 in kern_writev (td=0xc2cc0a00, fd=3, auio=0xcd1c6c58) at /usr/src/sys/kern/sys_generic.c:446
#21 0xc08dc73f in write (td=0xc2cc0a00, uap=0xcd1c6cf8) at /usr/src/sys/kern/sys_generic.c:362
#22 0xc0bd4053 in syscall (frame=0xcd1c6d38) at /usr/src/sys/i386/i386/trap.c:1111
#23 0xc0bb6820 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:261
#24 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)
---
e-mail: hizel at vyborg.ru
jid: hizel at vyborg.ru, hizel at jabber.ru
More information about the freebsd-ipfw
mailing list