* Debugging unaligned trap
@ 1998-03-04 5:00 Kenneth A Graves
1998-03-06 5:00 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth A Graves @ 1998-03-04 5:00 UTC (permalink / raw)
Could someone point me to a FAQ about chasing down unaligned traps
in the kernel. (That is, how do I take output like
kernel: unaligned trap at fffffc0000385d00: fffffc00022ca036 28 2
kernel: unaligned trap at fffffc0000385db8: fffffc00022ca036 28 2
kernel: unaligned trap at fffffc0000385df4: fffffc00022ca036 28 3
kernel: unaligned trap at fffffc0000385e54: fffffc00022ca042 28 20
kernel: unaligned trap at fffffc0000385d00: fffffc00024da036 28 2
kernel: unaligned trap at fffffc0000385db8: fffffc00024da036 28 2
kernel: unaligned trap at fffffc0000385df4: fffffc00024da036 28 3
kernel: unaligned trap at fffffc0000385e54: fffffc00024da042 28 20
and determine where the problem is in the kernel source.)
--kag
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Debugging unaligned trap
1998-03-04 5:00 Debugging unaligned trap Kenneth A Graves
@ 1998-03-06 5:00 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-03-06 5:00 UTC (permalink / raw)
In article <slrn6fp792.oh.kag@kag.citysource.com>,
Kenneth A Graves <kag@kag.citysource.com> wrote:
>Could someone point me to a FAQ about chasing down unaligned traps
>in the kernel. (That is, how do I take output like ...
>and determine where the problem is in the kernel source.)
>kernel: unaligned trap at fffffc0000385d00: fffffc00022ca036 28 2
The first number is the address of the kernel instruction that
faulted, the second is the unaligned address that was referenced
during the fault.
Easiest is to compile the kernel with -g, then use gdb's `l *addr'
command.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-03-06 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-04 5:00 Debugging unaligned trap Kenneth A Graves
1998-03-06 5:00 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox