Re: 2.4.23 hard lock, 100% reproducible.

From: William Lee Irwin III
Date: Sun Dec 07 2003 - 04:08:57 EST


At some point in the past, I wrote:
>> Compile your kernel with debug symbols and use addr2line on that EIP.

On Sun, Dec 07, 2003 at 01:04:41AM -0800, Mark Symonds wrote:
> I'm not a kernel developer, but here goes:
> puggy:/usr/src/linux/2.4.23# addr2line c02363dd -e vmlinux
> ??:0
> puggy:/usr/src/linux/2.4.23#
> That doesn't look right. I compiled with kernel debugging
> enabled only; none of the other options. Should I enable
> others/all of them?

For 2.4 you have to add -g to the compile options by hand in the kernel
makefile.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/