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

Re: Howto install a debugging kernel in debian?

On Tue, 05 Jul 2011 12:07:07 +0200, Hans-J. Ullrich wrote:

> I got the problem, that I need to install a kernel which creates
> debugger informations in dmesg.
> I already built a kernel with activated debug, when I discovered, that
> debian already offers a package with built in debug:
> linux-image-2.6.39-2-amd64-dbg!
> But when I installed this, there was only the no-debugging kernel below
> /boot.

Mmm, that package seems to contain kernel debug symbols not a specially 
pre-built kernel you can boot for debugging purposes.

> Is there a non destructive and easy way to start the debugging kernel
> (which I found below /usr/lib/debug/ ), without to change my whole
> system? I just need to start this kernel only once, so I can send the
> kernel developer the needed dmesg file. After that I want to revert back
> to the running kernel.
> You might understand, that I do not want to change (and possible kill)
> my system or working for hours and hours for only creating a simple
> dmesg message.

Hum... maybe that kernel package is used to send crash reports on non-
live systems (i.e., for forensic diagnostic, to dump crashes to a file 
that you can then send to be analyzed). 

> For those, who are interested in the kernel bug, take a look here:
> https://bugzilla.kernel.org/show_bug.cgi?id=22052

But wait... devel is requesting you to recomplie your current kernel with 
"CONFIG_USB_DEBUG" enabled and your kernel is not crashing, so do you 
think debug symbols are necessary in this case :-?



Reply to: