From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,58620d5d0c7a4f5 X-Google-Attributes: gid111c93,public From: rth@dot.cygnus.com (Richard Henderson) Subject: Re: Debugging unaligned trap Date: 1998/03/06 Message-ID: <6doeoo$oep$1@dot.cygnus.com>#1/1 X-Deja-AN: 331362249 References: Organization: Cygnus Solutions Newsgroups: comp.os.linux.alpha In article , Kenneth A Graves 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~