LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 01-29-2005, 04:11 PM   #1
vmproxy
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
Question Vmware ESX 2.5 + USB\IEEE1394 Support


Hi all,

I am a total beginner to Linux so please bare with me.

I own a Dell Poweredge 1750 1U server, Bios rev A10 running VMWare ESX 2.5 (RH 7.1.? + Kernel 2.4.9). I have recently added a zonet usb2.0+firewire PCI combo card (model # ZUC2400) (sever has two USB 1.1 ports). Attached to the zonet pci card is my ultra HD IDE 3.5'' Enclosure which supports both USB and Firewire *******link to product***** .ultraproducts.com/product_info.php?cPath=33&products_id=249[/url])
and inside the HD enclosure I have a WD 200GB HD.

Zonet informs me that Via.com.tw make there usb card chipsets so I went to the download area at
viaarena.com/default.aspx?PageID=2.[/url]
I downloaded a PDF file showing me step by step instructions on how to upgrade my Kernel (Remember I know ZERO about linux let alone rebuilding kernels). After reviewing what seemed like a clear step by step I quikly noticed that the command "make config" would take me on a totally unfriendly ride of answering each question of the build...so I scrapped that idea.

Now, all I want to do is make my usb port work. Dell has informed me their ports do not support anything but keyboards at low power consumption, and that kernel 2.4 does not support USB? True or not I do not know. They say go to 2.6 but I am not sure that my ESX server will work after that.

I have tried the following commands:

1) modprobe usb-storage
2) modprobe usb-uhci
3) modprobe usb-ohci

but I have read I need to add CONFIG_USB_EHCI_HCD=y and
CONFIG_USB_OHCI=y to the .config file. Sounds good but I have no idea where this file is and what will happen if I just add these lines in. I mean doesn't it still need the module files to install after?

After the modprobe steps I ran the command dmesg..this is what I get (in brief):

megaraid: being unloaded...ok.
scsi singledevice 0 0 0 0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usb-ohci.c: USB OHCI at membase 0xcd00a000, IRQ 11
usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
usb-uhci.c: $Revision$ time 15:32:29 Nov 29 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xcce0, IRQ 24
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xccc0, IRQ 25
usb-uhci.c: Detected 2 ports
hub.c: USB new device connect on bus2/2, assigned device number 2
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
scsi1 : SCSI emulation for USB Mass Storage devices
usb-uhci.c: interrupt, status 3, frame# 321
Vendor: Maxtor 6 Model: Y200P0 Rev: YAR4
Type: Direct-Access ANSI SCSI revision: 02
usb-uhci.c: interrupt, status 2, frame# 338
usb-uhci.c: interrupt, status 2, frame# 352
usb-uhci.c: interrupt, status 2, frame# 366
VMWARE: Device that would have been attached as scsi disk sdb at scsi1, channel 0, id 0, lun 0
Has not been attached because this path could not complete a READ command eventhough a TUR worked.
result = 0x8000002 key = 0x5, asc = 0x20, ascq = 0x0
VMWARE: Device that would have been attached as scsi disk sdb at scsi1, channel 0, id 0, lun 0
Has not been attached because it is a duplicate path or on a passive path
scsi_register_host starting finish
scsi_register_host done with finish
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
hub.c: USB new device connect on bus3/1, assigned device number 2
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: USB new device connect on bus3/1/1, assigned device number 3
usb.c: USB device 3 (vend/prod 0x46d/0xc512) is not claimed by any active driver.

What is happening? What is missing? Is it the drivers for the usb card? or the Enclosure? I must admit I have not contacted Ultra to see if there was a linux driver but I also have a USB keyboard plugged in the PCI card and that is not working either....remember I am using the USB port on the enclosure not the Firewire port. I would like to try the IEEE1394 port but probably will need the module for it.

Anyway I hope I supplied anyone that can help me, with enough info that can help me just get my card detected and working. I am sure there is a way to just add support for usb and firewire in my situation. Just remember to give me step by step as I am a newbie!

Thank you,

VMProxy
 
Old 01-29-2005, 04:42 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Dell is wrong because kernel version 2.4.x supports USB. USB ports can only provide 500 mA of current which is sufficient to provide power to 2.5 inch hard drive, NIC, sound, fans, leds. You can also charge batteries through USB ports, so I do not why DELL said you can not power any devices except for keyboards and mouse.

You need to load sd_mod, usb-storage, and scsi modules in Linux for the USB storage to work. As root or su type modprobe sd_mod usb-storage. This will get something going. Then type fdisk -l /dev/sda.
 
Old 01-29-2005, 10:30 PM   #3
vmproxy
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply. I wasn't sure if Dell was right or not, I guess I just came across someone who was not to sure.

I tried the command you specified..with no further results until I type modprobe sd_mod usb-uhci .....yet unfortuantely nothing has changed. I still get:

scsi singledevice 0 0 0 0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usb-ohci.c: USB OHCI at membase 0xcd00a000, IRQ 11
usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
usb-uhci.c: $Revision$ time 15:32:29 Nov 29 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xcce0, IRQ 24
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xccc0, IRQ 25
usb-uhci.c: Detected 2 ports
hub.c: USB new device connect on bus2/2, assigned device number 2
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
scsi1 : SCSI emulation for USB Mass Storage devices
usb-uhci.c: interrupt, status 3, frame# 321
Vendor: Maxtor 6 Model: Y200P0 Rev: YAR4
Type: Direct-Access ANSI SCSI revision: 02
usb-uhci.c: interrupt, status 2, frame# 338
usb-uhci.c: interrupt, status 2, frame# 352
usb-uhci.c: interrupt, status 2, frame# 366
VMWARE: Device that would have been attached as scsi disk sdb at scsi1, channel 0, id 0, lun 0
Has not been attached because this path could not complete a READ command eventhough a TUR worked.
result = 0x8000002 key = 0x5, asc = 0x20, ascq = 0x0
VMWARE: Device that would have been attached as scsi disk sdb at scsi1, channel 0, id 0, lun 0
Has not been attached because it is a duplicate path or on a passive path
scsi_register_host starting finish
scsi_register_host done with finish
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
hub.c: USB new device connect on bus3/1, assigned device number 2
hub.c: USB hub found
hub.c: 4 ports detected
hub.c: USB new device connect on bus3/1/1, assigned device number 3
usb.c: USB device 3 (vend/prod 0x46d/0xc512) is not claimed by any active driver.

I have been using the PCI card all along during these tests...I gave up on the internal usb ports long time ago.
What else should we do? What about usb-ehci? Don't have the modules though.

In the maufacturers document of the PCI card suggests we go to 2.4.23 kernel at least.

If so how do I do this?

Last edited by vmproxy; 01-29-2005 at 10:36 PM.
 
Old 01-30-2005, 02:19 AM   #4
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Type /sbin/lsmod after you connect the drive.

You may have to make a node device in /dev to force to use the usb storage. Sometimes devfsd glitches.

Kernel version 2.4.9 is very old to use USB, I suggest getting the latest 2.4.x kernel.
 
Old 01-30-2005, 11:30 AM   #5
vmproxy
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Okay...how about we do that then...meaning upgrade the Kernel to 2.4.29.

How do I do that exactly. I just downloaded
patch-2.4.29.bz2 and patch-2.4.29-bk6.bz2. (What is the diff)

Could you give me step by step instructions on what to do along with post steps...such as modprobe xxxx (whatever)

Thanks,

VMProxy
 
Old 01-30-2005, 02:40 PM   #6
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
If you have the bandwidth just download the full version. With patches you have to start with 2.4.10 and incremently go to 2.4.29.

Read http://www.justlinux.com/nhf/Compili...mpilation.html. It will help you on the steps to configure and compile the kernel.
 
Old 02-01-2005, 12:59 PM   #7
vmproxy
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Well my pci card (with usb+firewire ports) worked after all without having to update the kernel. All I needed to do was issue 2 more commands modprobe hid and modprobe keybdev to get my usb keyboard working. This at least confirms the card is being recognized. But still no success on the mass storage device I am connecting to it...however I feel looking over the dmesg it must be a tweek somewhere.

Can anybody shed some light on this message...this is where the problem lies.

Device that would have been attached as scsi disk sdb at scsi1, channel 0, id 0, lun 0
Has not been attached because this path could not complete a READ command eventhough a TUR worked.
result = 0x8000002 key = 0x5, asc = 0x20, ascq = 0x0
VMWARE: Device that would have been attached as scsi disk sdb at scsi1, channel 0, id 0, lun 0
Has not been attached because it is a duplicate path or on a passive path
scsi_register_host starting finish
scsi_register_host done with finish
WARNING: USB Mass Storage data integrity not assured


It obviously communicating with the device but seems to fail when it assigns it to SDB....why? Is there a conflict with another device?

Any ideas?

Last edited by vmproxy; 02-01-2005 at 01:15 PM.
 
Old 02-01-2005, 06:01 PM   #8
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The disk is sdb but from the dmesg log it seems its on sda. Try doing "fdisk -l /dev/sd[a-z]" as root or su.

I suggest compiling the new latest stable 2.4.x kernel because it has more support for USB mass storage devices. Make sure usb input devices are not as modules, but hardcoded in the kernel. This will make them easier to use. I suggest using PS/2 instead of USB for keyboard and mouse because they are more reliable than USB models.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which vmware version support RedHat 9.0 sudeendra Linux - Newbie 3 06-06-2005 11:12 AM
Fedora 3.0 + VMWare Workstation + USB support dadelcas Fedora 0 01-28-2005 10:26 AM
want to exchange my vmware esx 3.1 against a vmware gsx 3.1 neton Linux - Software 1 08-06-2004 09:23 AM
ieee1394 (firewire) target mode support tmmort Linux - General 0 01-07-2004 01:40 PM
USB Support, UHCI (Intel PIIX4, VIA, ...) Support qingjuan Linux - General 0 03-30-2002 12:46 PM


All times are GMT -5. The time now is 09:38 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration