Page 1 of 1

why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 11:52:59
by vandermonde
I have a pc with gigabyte GA-B150-HD3 motherboard, I installed Centos 7 on its SSD and every thing worked fine. But for some reason I have to install Centos 5 on it and I installed Centos 5.11 on it. during the installation process my mouse wasn't working and after installation non of usb drives work and only my ps2 keyboard is working(even my ps2 mouse is not working). Following suggestions on this thread usb drive not working I enabled "xHCI handoff" (I don't have iommu option in bios!!) on bios and tried iommu=on , iommu=soft and iommu=pt kernel options, none worked.

lsusb command shows nothing. and this is output of lsmod command before and after loading usb_storage:
1.jpg
1.jpg (145.03 KiB) Viewed 2573 times
this is output for dmesg: enter image description here
2.jpg
2.jpg (51.12 KiB) Viewed 2573 times
This is my kernel options in grub.conf file:
kernel /vmlinuz-2.6.18-398.el5 ro root=/dev/VolGroup/LogVol00 noapic acpi=off rhgb

any help on how to fix the problem would be appreciated?

Re: why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 12:25:33
by avij
If you have some sort of a "Legacy USB" option in your BIOS, try enabling that.

You could also install CentOS 7, and run CentOS 5 in a virtual machine.

Re: why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 13:00:43
by vandermonde
legacy usb supoort is enabled.
I have to install centos 5 on the physical machine ...

Re: why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 13:27:03
by TrevorH
You really don't want to be installing CentOS 5 on anything. It went EOL just over 3 weeks ago and there will be no more security updates for it. It's been on life support for the last 3 years and already has more unfixed non-critical security vulnerabilities present than I'd care to have on any of my machines. I think you should question the reasons why you think you need it.

Re: why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 13:57:09
by vandermonde
My company uses an old software that only runs on Centos 5, so I have no other option than Centos 5 :(

Re: why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 14:42:22
by owl102
CentOS 5 was released 2007 and the main board you have chosen was released November 2015.

So if it really has to be CentOS 5 and it really has to be installed bare metal (why?), at least try to use an older hardware for this. You simply cannot expect CentOS 5 running flawlessly on a end-2015 machine.

Re: why usb is not working with Centos 5 while it is working with other OSs

Posted: 2017/04/26 16:28:34
by TrevorH
Install CentOS 7 on the bare metal, run CentOS 5 as a VM.

Also, make sure that you are using USB2 sockets as el5 has never had and never will have support for USB 3.