04/16/2008 - Copyright © 2008 The PTR Group Inc.
Debugging Device Drivers
Statically-linked device drivers are notoriously difficult to debug
An error can cause a panic or oops before you can even get printk() to work
These will typically require a JTAG to debug them easily
Dynamically-linked drivers are marginally easier because you can get more debugging infrastructure into place before loading them
The use of read_proc()/write_proc() functions and printk() are typical
JTAGs can help here too