[plug] Kernel hacking advice needed

Andrew Cooks acooks at gmail.com
Thu Apr 18 17:39:20 UTC 2013


Hi Owain

How's the kernel hacking going?

>> Firstly I'm in embedded land and don't really have the full set of
>> tools that I'm used to. When I modprobe the module I don't get any
>> errors on my serial console, but I don't have access to dmesg - so I'm
>> not too sure where any kernel messages are being put - I know that
>> printk messages are sent to the serial console I'm monitoring.

Do you mean that 'dmesg' is not included in your userland tools, or is
it not available for a different reason?

> That should be sufficient then. Might be good to put 'debug' on the
> kernel command line so that you get all levels of printk messages.

There's a slight gotcha with the 'debug' kernel parameter : you still
won't see debug level messages during boot (but will see them using
'dmesg' iirc). To really see everything, you can use the
'ignore_loglevel' parameter, but I've found selective printing with
'dyndbg' much more useful.

Cheers,

a.


More information about the plug mailing list