[plug] Kernel hacking advice needed

Sheldon Gill sheldon at westnet.net.au
Mon Apr 22 01:55:21 UTC 2013


Hi,

On 19/04/2013, at 07:13 , Owain wrote:
> On 19 Apr 2013 01:39, "Andrew Cooks" <acooks at gmail.com> wrote:
> >
> > Hi Owain
> >
> > How's the kernel hacking going?
> 
> > [snip]
> 
> Thanks for the support. Getting the debug messages were the key :). Find a book - Kernel device drivers, third edition, published by o'reilly helped massively also.
> 

A few pointers that might help

* 2.6 has BUG_ON().  Be assert()ive ;)

* kdb will let you go digging

* JTAG adaptors aren't that expensive anymore and are really useful, especially for hardware & initialisation

* It's common to add an ioctl() command which returns lots of debugging info. Sure it requires you make a userland tool but its often easier and better than /proc

Good luck with it all.


Regards,
Sheldon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20130422/0b7e513d/attachment.html>


More information about the plug mailing list