Current-Users archive

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

Re: gdb core dump when analysing kernel core dump



On Wed, Dec 17, 2014 at 06:21:07PM +0000, Christos Zoulas wrote:
> In article <20141217164515.GI1188%danbala.tuwien.ac.at@localhost>,
> Thomas Klausner  <tk%giga.or.at@localhost> wrote:
> >Hi!
> >
> >Recently I had a kernel panic, and got a core dump. Since I also had a
> >netbsd.gdb for that kernel, I thought I'd take a look.
> 
> The abort has already been deleted:
> 
> date: 2014-12-02 05:34:27 -0500;  author: aymeric;  state: Exp;  lines: +3 -4;  commitid: wZlenZ7qJaXi9s0y;
> . do not abort() if we read a zero cs or rip, or if we can't read them
> . end the backtrace when encountering a soft interrupt, since they live in
>   their own lwp

Thanks. A gdb from today indeed works:

(gdb) bt
#0  0xffffffff80675e85 in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /archive/foreign/src/sys/arch/amd64/amd64/machdep.c:671
#1  0xffffffff808ca514 in vpanic (fmt=fmt@entry=0xffffffff80dd8a2d "trap", ap=ap@entry=0xfffffe813a43cd10) at /archive/foreign/src/sys/kern/subr_prf.c:340
#2  0xffffffff808ca5cf in panic (fmt=fmt@entry=0xffffffff80dd8a2d "trap") at /archive/foreign/src/sys/kern/subr_prf.c:256
#3  0xffffffff80919747 in trap (frame=0xfffffe813a43ce30) at /archive/foreign/src/sys/arch/amd64/amd64/trap.c:298
#4  0xffffffff8010108e in alltraps ()
#5  0xffffffff802eb4c2 in ehci_check_qh_intr (ex=0xfffffe813bcef5c8, sc=0xfffffe813ba45008) at /archive/foreign/src/sys/dev/usb/ehci.c:855
#6  ehci_check_intr (ex=0xfffffe813bcef5c8, sc=0xfffffe813ba45008) at /archive/foreign/src/sys/dev/usb/ehci.c:812
#7  ehci_softintr (v=<optimized out>) at /archive/foreign/src/sys/dev/usb/ehci.c:782
#8  0xffffffff809a5bce in usb_soft_intr (arg=0xfffffe813ba45048) at /archive/foreign/src/sys/dev/usb/usb.c:1023
#9  0xffffffff8060c6a8 in softint_execute (l=<optimized out>, s=4, si=0xffff80023a50e230) at /archive/foreign/src/sys/kern/kern_softint.c:589
#10 softint_dispatch (pinned=<optimized out>, s=4) at /archive/foreign/src/sys/kern/kern_softint.c:871
#11 0xffffffff801141df in Xsoftintr ()

 Thomas


Home | Main Index | Thread Index | Old Index