Bob Copeland wrote:
Here's the long awaited dmesg... if needed I can also recompile with the acm debugging on -- some of that may be useful in the probe stage if this doesn't narrow it down.
Please do, as the logging does not show what I thought it would. I'm going to make another printk patch that gives more coverage to the exact path causing the oops. We need to know which sysfs_remove_link call is oopsing.
acm_probe call tty_register_device if=ceff8a78 dev=ceff8a8c ref=7
...
usb 1-2: USB disconnect, address 2 usb release_interface if=ceff8454 dev=ceff8468 ref=0 usb release_interface if=cefe8554 dev=cefe8568 ref=0 usb release_interface if=ceff886c dev=ceff8880 ref=0 usb release_interface if=cefe8760 dev=cefe8774 ref=0 usb release_interface if=ceff8c84 dev=ceff8c98 ref=0 usb release_interface if=cea054d4 dev=cea054e8 ref=0 usb release_interface if=cea050bc dev=cea050d0 ref=0 usb release_interface if=cea058ec dev=cea05900 ref=0 usb release_interface if=cea056e0 dev=cea056f4 ref=0 usb release_interface if=cefe986c dev=cefe9880 ref=0 acm_tty_unregister if=ceff8a78 dev=ceff8a8c ref=2 Unable to handle kernel paging request at virtual address 6b6b6bfb
Damn, acm->control->dev has the exact refcount it should (2). (one from cdc-acm and one from sysfs) I guess that eliminates that as a problem. Now I'm stumped, and I don't understand the 10 released interfaces on disconnect, none of which match the one used for tty_register_device. Anyone with USB experience have any ideas? Gah! Wrong 3 times in a row, I'm on a roll. -- Paul ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel