In general, although debugging drivers is supposedly the responsibility of the driver writer, bugs can sneak past even the most dedicated tester. Unless you wrote the code yourself or have access to the author, most of your debugging will be limited to trying to verify that the driver is causing the problem. There are some basic steps you can perform that will help.
Especially when working with new drivers, getting several core dumps may be a necessity. Having more than one crash to look at will help to identify common features or characteristics. And last but not least, since drivers deal so closely with hardware, what appears to be a driver problem may just be an indication that the device itself is having trouble. Cabling, line termination, and even power supply problems can have drastic and very misleading effects. |