general protection fault in in_ifadown
Gleb Kozyrev
gkozyrev at gmail.com
Wed Jan 30 06:18:58 PST 2008
Hi
Fatal trap 9: general protection fault while in kernel mode
instruction pointer = 0x8:0xffffffff8056679f
stack pointer = 0x10:0xffffffffb4c2a950
frame pointer = 0x10:0xffffffffb4c2a9a0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 11612 (ifconfig)
trap number = 9
panic: general protection fault
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
panic() at panic+0x17e
trap_fatal() at trap_fatal+0x26f
trap() at trap+0x21a
calltrap() at calltrap+0x8
--- trap 0x9, rip = 0xffffffff8056679f, rsp = 0xffffffffb4c2a950, rbp
= 0xffffffffb4c2a9a0 ---
in_ifadown() at in_ifadown+0x1f
in_control() at in_control+0x7f0
ifioctl() at ifioctl+0xea
kern_ioctl() at kern_ioctl+0xa3
ioctl() at ioctl+0xf9
syscall() at syscall+0x1ce
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (54, FreeBSD ELF64, ioctl), rip = 0x6a2fac, rsp =
0x7fffffffe348, rbp = 0x7fffffffedc1 ---
FreeBSD 7.0-PRERELEASE #0: Mon Jan 7 19:20:49 EET 2008
Could this be fixed since then?
Happened when playing with dhclient, maybe there were more instances
of it than there should be :) Just before the crash it said:
Corrupt lease file - possible data loss!
kgdb:
(kgdb) bt
#0 doadump () at pcpu.h:194
#1 0xffffffff8048b220 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:409
#2 0xffffffff8048b5f1 in panic (fmt=0x1 <Address 0x1 out of bounds>)
at /usr/src/sys/kern/kern_shutdown.c:563
#3 0xffffffff807878af in trap_fatal (frame=0x9, eva=Variable "eva" is
not available.
) at /usr/src/sys/amd64/amd64/trap.c:724
#4 0xffffffff807884da in trap (frame=0xffffffffb4c2a8a0) at
/usr/src/sys/amd64/amd64/trap.c:526
#5 0xffffffff80770ffe in calltrap () at
/usr/src/sys/amd64/amd64/exception.S:169
#6 0xffffffff8056679f in in_ifadown (ifa=0xffffff003bf5a600,
delete=1) at /usr/src/sys/netinet/in_rmx.c:389
#7 0xffffffff805604f0 in in_control (so=Variable "so" is not available.
) at /usr/src/sys/netinet/in.c:474
#8 0xffffffff8051db2a in ifioctl (so=0xffffff002b085000,
cmd=2149607705, data=0xffffff000142b800 "volia",
td=0xffffff000d6149f0)
at /usr/src/sys/net/if.c:1888
#9 0xffffffff804c48b3 in kern_ioctl (td=0xffffff000d6149f0, fd=3,
com=2149607705, data=0xffffff000142b800 "volia") at file.h:266
#10 0xffffffff804c4b19 in ioctl (td=0xffffff000d6149f0,
uap=0xffffffffb4c2abe0) at /usr/src/sys/kern/sys_generic.c:570
#11 0xffffffff80787e0e in syscall (frame=0xffffffffb4c2ac70) at
/usr/src/sys/amd64/amd64/trap.c:852
#12 0xffffffff8077120b in Xfast_syscall () at
/usr/src/sys/amd64/amd64/exception.S:290
#13 0x00000000006a2fac in ?? ()
Previous frame inner to this frame (corrupt stack?)
kernconf:
include GENERIC
options INCLUDE_CONFIG_FILE # Include this file in kernel
nooption SMP # Symmetric MultiProcessor Kernel
nocpu I486_CPU
nocpu I586_CPU
nooption SCHED_4BSD
options SCHED_ULE
device crypto # core crypto support
options IPSEC # New IPsec (cannot define w/ IPSEC)
options LIBALIAS # Libalias library, performing NAT
options IPFIREWALL # ipfw
options IPFIREWALL_VERBOSE # enable logging to syslogd(8)
options IPFIREWALL_FORWARD # Packet destination changes
options IPFIREWALL_NAT # ipfw kernel NAT support
options GEOM_JOURNAL # Journaling
options KDB # Compile with kernel debugger
related code.
options DDB # Enable the ddb debugger backend.
options KDB_TRACE # Print a stack trace of the
current thread on the console for a panic.
options ALT_BREAK_TO_DEBUGGER # Break via "CR ~ ^b"
options INVARIANTS # Enable calls of extra sanity checking
options INVARIANT_SUPPORT # Extra sanity checks of
internal structures, required by INVARIANTS
options WITNESS # Enable checks to detect
deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on
spinlocks for speed
nodevice umass # Disks/Mass storage -
Requires scbus and da
device ucom # USB serial support
device uplcom # USB support for Prolific
PL-2303 serial adapters
--
With best regards, Gleb Kozyrev.
More information about the freebsd-current
mailing list