Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Hide and Seek - usb_storage adventures
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sen~
n00b
n00b


Joined: 23 Dec 2004
Posts: 50
Location: Germany

PostPosted: Sun Aug 21, 2005 3:00 pm    Post subject: [SOLVED] Hide and Seek - usb_storage adventures Reply with quote

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! :twisted:


Last edited by sen~ on Mon Aug 22, 2005 12:08 am; edited 1 time in total
Back to top
View user's profile Send private message
boneyfrog
Apprentice
Apprentice


Joined: 26 Apr 2005
Posts: 152

PostPosted: Sun Aug 21, 2005 3:09 pm    Post subject: Reply with quote

umm have you tried
Code:
 rmmod usb-storage

instead of
Code:
 rmmod usb_storage

?
Back to top
View user's profile Send private message
sen~
n00b
n00b


Joined: 23 Dec 2004
Posts: 50
Location: Germany

PostPosted: Sun Aug 21, 2005 4:13 pm    Post subject: Reply with quote

thx but that doesn't work...
Code:
# rmmod usb-storage
ERROR: Module usb_storage does not exist in /proc/modules
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sun Aug 21, 2005 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
sen~
n00b
n00b


Joined: 23 Dec 2004
Posts: 50
Location: Germany

PostPosted: Mon Aug 22, 2005 12:08 am    Post subject: Reply with quote

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 :roll: )... sry to have bothered you! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum