Date: Wed, 23 Oct 2013 09:59:36 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: [CAM] panic / general protection fault while in kernel mode on head r256931 Message-ID: <526773D8.7030002@FreeBSD.org> In-Reply-To: <5267178D.1090608@FreeBSD.org> References: <5267178D.1090608@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. Unfortunately I have never seen that, but I'll try to look harder. Could you please tell a bit about your controllers/devices? What triggered the issue? If you still have the full dumps, could you check values of ccb_h, ccb_h->cbfcnp, ccb_h->path and ccb_h->path->periph for the "deadcode" somewhere or something? On 23.10.2013 03:25, Bryan Drewery wrote: > Encountered twice: > >> Fatal trap 9: general protection fault while in kernel mode >> cpuid = 0; apic id = 00 >> instruction pointer = 0x20:0xffffffff802e612a >> stack pointer = 0x28:0xfffffe118af62b20 >> frame pointer = 0x28:0xfffffe118af62b60 >> 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 = 2 (doneq0) >> trap number = 9 >> panic: general protection fault >> cpuid = 0 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe118af62690 >> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe118af62740 >> vpanic() at vpanic+0x126/frame 0xfffffe118af62780 >> panic() at panic+0x43/frame 0xfffffe118af627e0 >> trap_fatal() at trap_fatal+0x3a2/frame 0xfffffe118af62840 >> trap() at trap+0x863/frame 0xfffffe118af62a60 >> calltrap() at calltrap+0x8/frame 0xfffffe118af62a60 >> --- trap 0x9, rip = 0xffffffff802e612a, rsp = 0xfffffe118af62b20, rbp = 0xfffffe118af62b60 --- >> xpt_done_process() at xpt_done_process+0x36a/frame 0xfffffe118af62b60 >> xpt_done_td() at xpt_done_td+0x13d/frame 0xfffffe118af62bb0 >> fork_exit() at fork_exit+0x84/frame 0xfffffe118af62bf0 >> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe118af62bf0 >> --- trap 0, rip = 0, rsp = 0xfffffe118af62cb0, rbp = 0 --- > > 2nd: > >> Fatal trap 9: general protection fault while in kernel mode >> cpuid = 5; apic id = 05 >> instruction pointer = 0x20:0xffffffff802e612a >> stack pointer = 0x28:0xfffffe118af62b20 >> frame pointer = 0x28:0xfffffe118af62b60 >> 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 = 2 (doneq0) >> trap number = 9 >> panic: general protection fault >> cpuid = 5 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe118af62690 >> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe118af62740 >> vpanic() at vpanic+0x126/frame 0xfffffe118af62780 >> panic() at panic+0x43/frame 0xfffffe118af627e0 >> trap_fatal() at trap_fatal+0x3a2/frame 0xfffffe118af62840 >> trap() at trap+0x863/frame 0xfffffe118af62a60 >> calltrap() at calltrap+0x8/frame 0xfffffe118af62a60 >> --- trap 0x9, rip = 0xffffffff802e612a, rsp = 0xfffffe118af62b20, rbp = 0xfffffe118af62b60 --- >> xpt_done_process() at xpt_done_process+0x36a/frame 0xfffffe118af62b60 >> xpt_done_td() at xpt_done_td+0x13d/frame 0xfffffe118af62bb0 >> fork_exit() at fork_exit+0x84/frame 0xfffffe118af62bf0 >> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe118af62bf0 >> --- trap 0, rip = 0, rsp = 0xfffffe118af62cb0, rbp = 0 --- > >> (kgdb) #0 doadump (textdump=1) at pcpu.h:219 >> #1 0xffffffff808bbb27 in kern_reboot (howto=260) >> at /usr/src/sys/kern/kern_shutdown.c:447 >> #2 0xffffffff808bc035 in vpanic (fmt=<value optimized out>, >> ap=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:754 >> #3 0xffffffff808bc083 in panic (fmt=<value optimized out>) >> at /usr/src/sys/kern/kern_shutdown.c:683 >> #4 0xffffffff80cb62d2 in trap_fatal (frame=<value optimized out>, >> eva=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:882 >> #5 0xffffffff80cb5f13 in trap (frame=<value optimized out>) >> at /usr/src/sys/amd64/amd64/trap.c:224 >> #6 0xffffffff80c9b3a2 in calltrap () >> at /usr/src/sys/amd64/amd64/exception.S:232 >> #7 0xffffffff802e612a in xpt_done_process (ccb_h=0xfffff80145911800) >> at /usr/src/sys/cam/cam_xpt.c:5242 >> #8 0xffffffff802e905d in xpt_done_td (arg=0xffffffff8144db80) >> at /usr/src/sys/cam/cam_xpt.c:5274 >> #9 0xffffffff8088b064 in fork_exit ( >> callout=0xffffffff802e8f20 <xpt_done_td>, arg=0xffffffff8144db80, >> frame=0xfffffe118af62c00) at /usr/src/sys/kern/kern_fork.c:995 >> #10 0xffffffff80c9b8de in fork_trampoline () >> at /usr/src/sys/amd64/amd64/exception.S:606 >> #11 0x0000000000000000 in ?? () >> Current language: auto; currently minimal >> (kgdb) -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526773D8.7030002>