[Crash-utility] crash doesnt give complete backtrace

Adhiraj Joshi adhiraj at linsyssoft.com
Fri Sep 7 07:07:28 UTC 2007


Thanks Bryn, Dave, Piet for your quick replies.
Yes I could get the complete trace with the log command.

Thanks again,
Adhiraj Joshi.


On 9/5/07, Dave Anderson <anderson at redhat.com> wrote:
>
> Adhiraj Joshi wrote:
> > Hi All,
> >
> > I get a kernel panic on my system and I see a long backtrace on the
> > console before the system freezes. I have kdump setup and analyse the
> > generated vmcore using crash. But the backtrace from crash is too short
> > and it doesnt give any relevant information. I wanted backtrace that
> > appeared on the console before freezing.
> >
> > Any ideas on this?
> >
> > Regards,
> > Adhiraj.
>
> When you say the system "freezes", but also that you get
> a "kernel panic",  I'm not sure how the system entered the
> kdump process, i.e., was panic() or BUG() called inside
> the kernel, or did you enter sysrq-c?
>
> Anyway, enter "log" to get the console log, where the final
> trace should still exist.
>
> In any case, depending upon how the system entered kdump,
> the current context that was running may not be of
> any interest.  Do a "bt -a" to see what's happening on the
> other cpus at the time of the shutdown, or a "foreach bt"
> to get the traces of all tasks.  If the current task *is*
> the one you're interested in, but it still doesn't seem
> "right", enter "bt -t" or "bt -T" to get a dump of all
> text return addresses on the stack.
>
> Dave
>
>
>
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20070907/51198e12/attachment.htm>


More information about the Crash-utility mailing list