I am currently creating a usb device driver consisting of mostly read and write commands. It can successfully read/write using the bulk endpoints, however reading from the interrupt endpoint causes a system crash.

As the crash happens whilst writing to kern.log, the file doesn't get a chance to close, therefore done of my debug printk calls are saved. Also, I get know response from using the magic sysrq key.

Does anyone have an ideas on how I can get any system information about what's causing the crash, or possible causes of the crash. (Using a usb sniffer running on another pc, I can see that the packet is coming in from the interrupt endpoint).

Thanks in advance