- Nov 29, 2000
- 2,209
- 0
- 0
I have been writing a driver in Fedora Core 2 for a custom PCI device that I have made. The original driver that I have is written by a coworker, but it was written for a 2.4 kernel. I have made all the necessary changes in order to make it compile for a 2.6 kernel. The driver seems to work occasionally...it works when I first load the driver module, but eventually locks up/reboots the system whenever I try to read from the device.
I'm not experienced at writing drivers (or linux in general), so the only debugging I've been doing is reading the kernel messages at /var/log/messages. I'm running out of ideas for how to figure out why the driver is crashing my system, because it works perfectly in 2.4. Can any gurus point me in a good direction as where to go as far as debugging a device driver?
I'm not experienced at writing drivers (or linux in general), so the only debugging I've been doing is reading the kernel messages at /var/log/messages. I'm running out of ideas for how to figure out why the driver is crashing my system, because it works perfectly in 2.4. Can any gurus point me in a good direction as where to go as far as debugging a device driver?