amd64/178017: Kernel panic: general protection fault in tcp_do_segment

Nate Denning nate-freebsd at ooz.net
Sun Apr 21 05:40:01 UTC 2013


>Number:         178017
>Category:       amd64
>Synopsis:       Kernel panic: general protection fault in tcp_do_segment
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 21 05:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nate Denning
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD xxx 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #4 r249710: Sat Apr 20 15:08:36 MDT 2013     nate at xxx:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I'm getting the below panic at random intervals ranging from about an hour to a day.

core.txt:

Fatal trap 9: general protection fault while in kernel mode
cpuid = 4; apic id = 32
instruction pointer     = 0x20:0xffffffff8094b595
stack pointer           = 0x28:0xffffff834291c6d0
frame pointer           = 0x28:0xffffff834291c6f0
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         = 0 (em0 que)
trap number             = 9
panic: general protection fault
cpuid = 4
KDB: stack backtrace:
#0 0xffffffff809208a6 at kdb_backtrace+0x66
#1 0xffffffff808ea8be at panic+0x1ce
#2 0xffffffff80bd8240 at trap_fatal+0x290
#3 0xffffffff80bd88d5 at trap+0x105
#4 0xffffffff80bc315f at calltrap+0x8
#5 0xffffffff80a72141 at tcp_do_segment+0x2991
#6 0xffffffff80a73313 at tcp_input+0xa63
#7 0xffffffff80a043dc at ip_input+0xac
#8 0xffffffff809adafb at netisr_dispatch_src+0x20b
#9 0xffffffff809a35cd at ether_demux+0x14d
#10 0xffffffff809a38a4 at ether_nh_input+0x1f4
#11 0xffffffff809adafb at netisr_dispatch_src+0x20b
#12 0xffffffff804ad8ca at em_rxeof+0x1ca
#13 0xffffffff804add48 at em_handle_que+0x48
#14 0xffffffff8092cf55 at taskqueue_run_locked+0x85
#15 0xffffffff8092ded6 at taskqueue_thread_loop+0x46
#16 0xffffffff808bb9ef at fork_exit+0x11f
#17 0xffffffff80bc368e at fork_trampoline+0xe
Uptime: 6h19m5s

Dumping 2649 out of 8160 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/ipl.ko...Reading symbols from /boot/kernel/ipl.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ipl.ko
Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from /boot/kernel/accf_data.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_data.ko
#0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
224     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=Variable "textdump" is not available.
) at pcpu.h:224
#1  0xffffffff808ea3a1 in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:448
#2  0xffffffff808ea897 in panic (fmt=0x1 <Address 0x1 out of bounds>)
    at /usr/src/sys/kern/kern_shutdown.c:636
#3  0xffffffff80bd8240 in trap_fatal (frame=0x9, eva=Variable "eva" is not available.
)
    at /usr/src/sys/amd64/amd64/trap.c:857
#4  0xffffffff80bd88d5 in trap (frame=0xffffff834291c620)
    at /usr/src/sys/amd64/amd64/trap.c:599
#5  0xffffffff80bc315f in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:228
#6  0xffffffff8094b595 in m_freem (mb=0xcfa96cc23cf42256)
    at /usr/src/sys/kern/uipc_mbuf.c:160
#7  0xffffffff80a72141 in tcp_do_segment (m=0xfffffe001fb67900,
    th=0xfffffe001fb55022, so=0xfffffe01a66c92a8, tp=0xfffffe01437993d0,
    drop_hdrlen=52, tlen=0, iptos=0 '\0', ti_locked=1)
    at /usr/src/sys/netinet/tcp_input.c:1697
#8  0xffffffff80a73313 in tcp_input (m=0xfffffe001fb67900, off0=Variable "off0" is not available.
)
    at /usr/src/sys/netinet/tcp_input.c:1387
#9  0xffffffff80a043dc in ip_input (m=0xfffffe001fb67900)
    at /usr/src/sys/netinet/ip_input.c:760
#10 0xffffffff809adafb in netisr_dispatch_src (proto=1, source=Variable "source" is not available.
)
    at /usr/src/sys/net/netisr.c:1013
#11 0xffffffff809a35cd in ether_demux (ifp=0xfffffe0006109000,
    m=0xfffffe001fb67900) at /usr/src/sys/net/if_ethersubr.c:940
#12 0xffffffff809a38a4 in ether_nh_input (m=Variable "m" is not available.
)
    at /usr/src/sys/net/if_ethersubr.c:759
#13 0xffffffff809adafb in netisr_dispatch_src (proto=9, source=Variable "source" is not available.
)
    at /usr/src/sys/net/netisr.c:1013
#14 0xffffffff804ad8ca in em_rxeof (rxr=0xfffffe0006111400, count=99,
    done=0x0) at /usr/src/sys/dev/e1000/if_em.c:4502
#15 0xffffffff804add48 in em_handle_que (context=Variable "context" is not available.
)
    at /usr/src/sys/dev/e1000/if_em.c:1509
#16 0xffffffff8092cf55 in taskqueue_run_locked (queue=0xfffffe0006115880)
    at /usr/src/sys/kern/subr_taskqueue.c:308
#17 0xffffffff8092ded6 in taskqueue_thread_loop (arg=Variable "arg" is not available.
)
    at /usr/src/sys/kern/subr_taskqueue.c:497
#18 0xffffffff808bb9ef in fork_exit (
    callout=0xffffffff8092de90 <taskqueue_thread_loop>,
    arg=0xffffff8000ac9740, frame=0xffffff834291cc40)
    at /usr/src/sys/kern/kern_fork.c:992
#19 0xffffffff80bc368e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:602
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000000000 in ?? ()
#36 0x0000000000000000 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x0000000000000000 in ?? ()
#39 0x0000000000000000 in ?? ()
#40 0x0000000000000000 in ?? ()
#41 0x0000000000000000 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000000000 in ?? ()
#44 0x0000000000000004 in ?? ()
#45 0xffffffff81242c00 in tdq_cpu ()
#46 0xfffffe0003c4f000 in ?? ()
#47 0x0000000000000000 in ?? ()
#48 0xffffff834291caf0 in ?? ()
#49 0xffffff834291ca98 in ?? ()
#50 0xfffffe0003a7b000 in ?? ()
#51 0xffffffff8091352e in sched_switch (td=0x0, newtd=0xffffff8000ac9740,
    flags=Variable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1921
Previous frame inner to this frame (corrupt stack?)
(kgdb)
>How-To-Repeat:
Unknown. This system is typically under a moderate load of web, mail, and DNS traffic.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list