Description of problem: I have an O2 Xda Mini S running Windows Mobile 5. I often use the USB port of my laptop to charge up the phone, but I don't want RNDIS to attach it and attempt to connect to it (RNDIS also breaks my ability to connect to it through VMware). In my rc.local, I have the following: /sbin/modprobe -r -v rndis_host ipaq cdc_ether usbserial usbnet This supposedly unloads the rndis support so that the driver won't be loaded when I attach my device. However, this seems to be being ignored because after a few times of connecting the device, it appears that rndis_host crashes and causes USB support to completely die until I reboot (see the attached excerpt from /var/log/messages). Version-Release number of selected component (if applicable): Kernel 2.6.24.3-34.fc8 How reproducible: Always happens after connecting and disconnecting the device a few times Steps to Reproduce: 1. Connect and disconnect the WM5 device a few times 2. Check /var/log/messages for bug trace Actual results: USB stops working, and the kernel throws a bug trace from rndis_host Expected results: The device should not be connected using RNDIS, and USB support should continue to work Additional info: None that I can think of
Created attachment 298856 [details] Excerpt from "messages" showing rndis_host bug trace
After doing a bit of searching, it appears this bug was fixed in kernel 2.6.20 (see attached reference) albeit for Nokia devices. However, it is still occurring under Fedora. Is it possible this patch has been missed out?
If you want to prevent drivers from loading, blacklist them by adding them to /etc/modprobe.d/blacklist
Thanks Chuck. After some modifications to modprobe.conf (since I didn't know about the blacklist), I've managed to stop ipaq and rndis_host loading, which has stopped the crashing. However, that is only a workaround - presumably other users are experiencing this issue so it probably needs fixing in the kernel.
*** This bug has been marked as a duplicate of 442253 ***