Permanently unloading the usb-storage kernel module under FC3
Hi Everyone, I have a 160G NTFS partitioned USB external disk drive that I would like to use in my VMware instance. I tried to get VMware to recognize the drive but it failed to do so because the Linux USB driver had it locked. Removing and re-attaching the drive did not release the driver lock. What resolved the problem was to unload the usb-storage kernel module using the command: /sbin/rmmod usb-storage This works great but the module reappears the next time I boot the beast. Does anyone know of a way to make this permanently go away? Any help you can provide on this would be greatly appreciated. Thank you, Andy
Short of rebuilding the kernel without the usb-storage support... Isn't there a script that runs vmware? Can't you just put the rmmod command in there? Or just write a new script that runs during rc1 or rc0 to run rmmod? -J On Wed, 30 Mar 2005 11:23:44 -0500, Andrew Robert <arobert@townisp.com> wrote:
Hi Everyone,
I have a 160G NTFS partitioned USB external disk drive that I would like to use in my VMware instance.
I tried to get VMware to recognize the drive but it failed to do so because the Linux USB driver had it locked.
Removing and re-attaching the drive did not release the driver lock.
What resolved the problem was to unload the usb-storage kernel module using the command:
/sbin/rmmod usb-storage
This works great but the module reappears the next time I boot the beast.
Does anyone know of a way to make this permanently go away?
Any help you can provide on this would be greatly appreciated.
Thank you, Andy _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Jared Greenwald wrote:
Short of rebuilding the kernel without the usb-storage support...
Isn't there a script that runs vmware? Can't you just put the rmmod command in there? Or just write a new script that runs during rc1 or rc0 to run rmmod?
-J
On Wed, 30 Mar 2005 11:23:44 -0500, Andrew Robert <arobert@townisp.com> wrote:
Hi Everyone,
I have a 160G NTFS partitioned USB external disk drive that I would like to use in my VMware instance.
I tried to get VMware to recognize the drive but it failed to do so because the Linux USB driver had it locked.
Removing and re-attaching the drive did not release the driver lock.
What resolved the problem was to unload the usb-storage kernel module using the command:
/sbin/rmmod usb-storage
This works great but the module reappears the next time I boot the beast.
Does anyone know of a way to make this permanently go away?
Any help you can provide on this would be greatly appreciated.
Thank you, Andy _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Good Idea.. I guess I was looking at the problem too closely.
On Wed, Mar 30, 2005 at 11:23:44AM -0500, Andrew Robert wrote:
/sbin/rmmod usb-storage This works great but the module reappears the next time I boot the beast. Does anyone know of a way to make this permanently go away?
/etc/modprobe.conf: install usb-storage /bin/true
Chuck R. Anderson wrote:
On Wed, Mar 30, 2005 at 11:23:44AM -0500, Andrew Robert wrote:
/sbin/rmmod usb-storage This works great but the module reappears the next time I boot the beast. Does anyone know of a way to make this permanently go away?
/etc/modprobe.conf: install usb-storage /bin/true
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Hmm .. I could be wrong on this but wouldn't it be install usb-storage /bin/false Or am I misunderstanding the value of /bin/true?
just comment it out from /etc/modules.autoload.2/kernel-2.x (4 or 6, whichever you happen to be using) On Wed, 30 Mar 2005 12:35:39 -0500, Andrew Robert <arobert@townisp.com> wrote:
Chuck R. Anderson wrote:
On Wed, Mar 30, 2005 at 11:23:44AM -0500, Andrew Robert wrote:
/sbin/rmmod usb-storage This works great but the module reappears the next time I boot the beast. Does anyone know of a way to make this permanently go away?
/etc/modprobe.conf: install usb-storage /bin/true
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Hmm ..
I could be wrong on this but wouldn't it be
install usb-storage /bin/false
Or am I misunderstanding the value of /bin/true? _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (4)
-
Andrew Robert
-
Chuck R. Anderson
-
Eric Martin
-
Jared Greenwald