LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2008, 01:07 PM   #1
vin1983
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
USB Thumb Drive Mount Issue on Guest RHEL4u5 , Win2k3 Host


Hello Everyone,

I have done about 14 hours of research preceding this post so I am fairly confident that my issue is a new one or at least my details are different enough that none of the similar issues brought me a resolution. I am also not a Linux expert so some things that might be common sense to others are not that to me just yet. With that said here are the details of my situation:

I am using VM Workstation 5.0 (what my company has licenses for) and have created a RHEL4u5 image with all packages from the RHEL image installed. I have tried 3 separate USB thumb drives of varying size that I have attempted a number of commands to gather information, most of which are presented below. My problem (which you might be able to assume at this point) is that I cannot mount my USB drive inside the VMimage. I do not have any application making use of the USB ports in the host system and attach the USB drive only after the VMimage has been fully loaded and has focus. I have also reformatted my drives (via WinXp) between FAT and FAT32, & I attempted to fdisk it however it was not recognized by the guest OS.


I have started the tail before giving any other commands


tail -f /var/log/messages


Feb 13 11:24:19 localhost kernel: usb 1-1: new full speed USB device using address 2
Feb 13 11:24:24 localhost kernel: usb 1-1: control timeout on ep0in
Feb 13 11:24:39 localhost last message repeated 3 times
Feb 13 11:24:42 localhost kernel: Initializing USB Mass Storage driver...
Feb 13 11:24:42 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Feb 13 11:24:42 localhost kernel: Vendor: Flash Model: Drive SM_USB20 Rev: 1100
Feb 13 11:24:42 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 13 11:24:42 localhost kernel: SCSI device sdb: 991232 512-byte hdwr sectors (508 MB)
Feb 13 11:24:58 localhost hal.hotplug5721: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host1/target1:0:0/1:0:0:0
Feb 13 11:25:08 localhost scsi.agent5722: Attribute /sys/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host1/target1:0:0/1:0:0:0/type does not exist
Feb 13 11:25:46 localhost kernel: usb 1-1: reset full speed USB device using address 2
Feb 13 11:26:03 localhost kernel: scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
Feb 13 11:26:03 localhost kernel: sdb: Write Protect is off
Feb 13 11:26:03 localhost kernel: sdb: assuming drive cache: write through
Feb 13 11:26:03 localhost kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Feb 13 11:26:05 localhost kernel: usbcore: registered new driver usb-storage
Feb 13 11:26:05 localhost kernel: USB Mass Storage support registered.

lsusb -v

Unknown line at line 5959
Unknown line at line 5960
Unknown line at line 5961
Unknown line at line 5962
Unknown line at line 5963
Unknown line at line 5964
Unknown line at line 5965
Unknown line at line 5966
Unknown line at line 5967
Unknown line at line 5968
Unknown line at line 5969
Unknown line at line 5970
Bus 001 Device 002: ID 090c:1000 Feiya Technology Corp. Memory Bar
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x090c Feiya Technology Corp.
idProduct 0x1000 Memory Bar
bcdDevice 11.00
iManufacturer 1 SMI Corporation
iProduct 2 USB DISK
iSerial 3 AA04012700038518
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
Usage Type Data
wMaxPacketSize 0x0200 bytes 512 once
bInterval 255
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
Usage Type Data
wMaxPacketSize 0x0200 bytes 512 once
bInterval 255
Language IDs: (length=4)
0409 English(US)
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.9-55.ELsmp uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:07.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 once
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0x00
Language IDs: (length=4)
0409 English(US)

fdisk -l

Disk /dev/sda: 37.5 GB, 37580963840 bytes
255 heads, 63 sectors/track, 4568 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 77 514080 82 Linux swap
/dev/sda3 78 4568 36073957+ 83 Linux

mount /dev/sdb /media/flash

mount: /dev/sdb is not a valid block device

mount -t auto /dev/sdb /media/flash

mount: /dev/sdb is not a valid block device


Something I noticed during the boot of RHEL that might be relevant though is during the boot sequence I get the following:

PCI: Cannot allocate resource region 4 of device 0000:00:07.1

Looking at my diagnostics this seems to be close to the location that the USB drives are located. Sorry for such a long post and excessive detail, just trying to present all relevant information. Any insight or suggestions would be extremely helpful, thanks in advance for your thoughts.
 
Old 02-15-2008, 10:12 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Quote:
mount /dev/sdb /media/flash
mount -t auto /dev/sdb /media/flash
These should be more like;
mount /media/flash (if dev/sdb1 is defined someplace as this mountpoint).
mount -t auto /dev/sdb1 /media/flash

However the USB device is not available for use;
Quote:
Feb 13 11:26:03 localhost kernel: scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
The partition (sdb1)is not known! This is a known issue with VM Workstation 5.0. As a suggestion install the freely available VMWare-Player and give the virtual system a test drive;

http://www.vmware.com/download/player/
 
Old 02-15-2008, 05:40 PM   #3
vin1983
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Smile

Lenard,
I truly appreciate your response and you are completely accurate as to what the issue was. I was working with my colleague up here at the office and he told me the same thing...I guess my searching was a bit too narrow to find out about that. Either way the issue is resolved now. Again, thank you for the response.

(Got VM Workstation 6.0 now!! )
 
Old 02-15-2008, 06:02 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Your welcome, glad to help. Glad you got the newer version of VM workstation in place to resolve this issue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount USB thumb drive in Knoppix? bezdomny Linux - Newbie 3 03-31-2009 09:34 PM
Windows XP Host with Ubuntu 7.10 Guest - USB device issue Irene Chan Linux - Newbie 3 02-25-2008 11:29 AM
How to mount usb thumb drive second partition gsuresh_01 Linux - Newbie 2 12-20-2007 12:40 PM
How do you mount a usb thumb drive? stakhous Linux - Hardware 16 03-04-2006 04:41 AM
FC2: USB thumb drive issue ktambascio Linux - Hardware 0 06-13-2004 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration