View previous topic :: View next topic |
Author |
Message |
sen~ n00b
Joined: 23 Dec 2004 Posts: 50 Location: Germany
|
Posted: Sun Aug 21, 2005 3:00 pm Post subject: [SOLVED] Hide and Seek - usb_storage adventures |
|
|
Hi,
currently I'm trying to load my mp3-player (Philips HDD 100B) on an virtual windows xp. I use that mp3-player as data storage under linux for a while now but to integrate mp3s in the database of the player you need the software which comes with it (win32 only). However, when try to load it in VMware I get this error:
Quote: | The specified device appears to be claimed by another driver (usb-storage) on the host operating system which means that the device may be in use. VMware Workstation cannot safely take control of the device until the host driver is unloaded. |
...so I took the following steps:
-> recompiled the kernel with usb_storage as modul
-> added usb_storage to the blacklist (/etc/hotplug/blacklist)
-> unload it (modprobe -r usb_storage)
The weird thing is that I still get the same error in VMware. It seems that the usb_storage modul is still loaded but even an 'lsmod' doesn't show it.
Then I tried to remove the modul with 'rmmod'...
Code: | # rmmod usb_storage
ERROR: Module usb_storage does not exist in /proc/modules |
ehm...
I can still mount the mp3-player under linux so the usb_storage modul must be active but... where is it and how can I kill it?
some infos:
-> /etc/fstab
Code: | /dev/sda1 /mnt/usb auto noauto,user,rw 0 0 |
-> lsusb
Code: | Bus 001 Device 008: ID 0471:014a Philips |
-> dmesg
Code: | usb 1-2: new high speed USB device using ehci_hcd and address 9
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
Vendor: Philips Model: HDD 100B Rev: '
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 29297520 512-byte hdwr sectors (15000 MB)
sda: assuming drive cache: write through
SCSI device sda: 29297520 512-byte hdwr sectors (15000 MB)
sda: assuming drive cache: write through
sda: sda1
Attached scsi disk sda at scsi5, channel 0, id 0, lun 0
usb-storage: device scan complete |
Let's hunt and kill it!
Last edited by sen~ on Mon Aug 22, 2005 12:08 am; edited 1 time in total |
|
Back to top |
|
|
boneyfrog Apprentice
Joined: 26 Apr 2005 Posts: 152
|
Posted: Sun Aug 21, 2005 3:09 pm Post subject: |
|
|
umm have you tried
instead of
? |
|
Back to top |
|
|
sen~ n00b
Joined: 23 Dec 2004 Posts: 50 Location: Germany
|
Posted: Sun Aug 21, 2005 4:13 pm Post subject: |
|
|
thx but that doesn't work...
Code: | # rmmod usb-storage
ERROR: Module usb_storage does not exist in /proc/modules |
|
|
Back to top |
|
|
widan Veteran
Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sun Aug 21, 2005 10:34 pm Post subject: |
|
|
If it's not a module, but it still works, then it's likely built-in. When you rebuilt the kernel to build usb-storage as a module, are you sure you copied the new kernel image correctly (and with a mounted /boot...) ? That command will tell you the status of usb-storage option in the running kernel (ie compiled as module or built-in or disabled):
Code: | zcat /proc/config.gz | grep USB_STORAGE |
|
|
Back to top |
|
|
sen~ n00b
Joined: 23 Dec 2004 Posts: 50 Location: Germany
|
Posted: Mon Aug 22, 2005 12:08 am Post subject: |
|
|
That's it, thx widan!
Code: | CONFIG_USB_STORAGE=y |
I copied the new kernel image correctly but I don't know that I have to reboot the kernel (I seriously thought running 'modules-update' would be enough )... sry to have bothered you! |
|
Back to top |
|
|
|