PDA

View Full Version : problems with accessing USB mass storage



KnoppIXuser
03-12-2003, 08:46 AM
Hi all,

I remastered 12-12-2002 Knoppix ISO to include vmware.
The guest OS in my case is windows 98 sitting on Transcend JetFlash (USB storage). And it is correctly recognised and mounted during boot-up. But when I try to boot-up the Virtual machine, it takes really long to start reading from the USB flash. I have inclded the kernel log for that, seems like something is timing out. How can I fix this problem.

Here is the output of
cat /proc/kmsg

<7>/dev/vmnet: open called by PID 453 (vmnet-bridge)
<7>/dev/vmnet: hub 0 does not exist, allocating memory.
<7>/dev/vmnet: port on hub 0 successfully opened
<7>bridge-eth0: up
<7>bridge-eth0: attached
<7>/dev/vmnet: open called by PID 476 (vmnet-natd)
<7>/dev/vmnet: hub 8 does not exist, allocating memory.
<7>/dev/vmnet: port on hub 8 successfully opened
<6>[drm] AGP 0.99 on Intel i845 @ 0xe0000000 64MB
<6>[drm] Initialized radeon 1.1.1 20010405 on minor 0
<7>/dev/vmnet: open called by PID 815 (vmnet-netifup)
<7>/dev/vmnet: port on hub 8 successfully opened
<7>/dev/vmnet: open called by PID 816 (vmnet-netifup)
<7>/dev/vmnet: hub 1 does not exist, allocating memory.
<7>/dev/vmnet: port on hub 1 successfully opened
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<7>usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 4 ret -110
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<7>/dev/vmnet: open called by PID 1040 (vmware)
<5>bridge-eth0: set IFF_PROMISC
<7>/dev/vmnet: port on hub 0 successfully opened
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout

And from the vmware.log file: the following lines show whats
happennig during the two minute of inactivity.

Mar 12 10:23:46: VMX|USB: Initializing UHCI host controller
Mar 12 10:23:46: VMX|USB: Initializing USB Generic backend
Mar 12 10:25:50: VMX|USBGL: CONTROL failed -1:110:Connection timed out


Thanks in advance
Arvind

David Douthitt
03-12-2003, 02:54 PM
Hi all,

I remastered 12-12-2002 Knoppix ISO to include vmware.
The guest OS in my case is windows 98 sitting on Transcend JetFlash (USB storage). And it is correctly recognised and mounted during boot-up. But when I try to boot-up the Virtual machine, it takes really long to start reading from the USB flash. I have inclded the kernel log for that, seems like something is timing out. How can I fix this problem.

Here is the output of
cat /proc/kmsg


<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout
<4>usb_control/bulk_msg: timeout

I get these too, during bootup. I have a ruby script that runs and starts up a number of processes, initializes the home directories, does configuration - and runs from USB.

I get these errors (11 of them?) during the running of /etc/init.d/cupsys start.

Don't know why. Is it because we're running things from USB instead of just accessing USB?

KnoppIXuser
03-13-2003, 06:41 AM
Hi all,

Just tried to boot the guest OS sitting on USB flash, on Redhat 8.0 host. There it boots without any problems. Could it be because of some kernal partch implemented by Redhat, thats taking care of the USb timeout problem. Is there is similar patch for the kernal version used by knoppix ?