Install mcs7830.ko for CentOS 5

Issues related to hardware problems
Post Reply
User avatar
loopx
Posts: 22
Joined: 2010/04/13 13:30:39
Contact:

Install mcs7830.ko for CentOS 5

Post by loopx » 2014/04/13 14:21:25

Hi,


Since I'm running CentOS 5, I just understood that I am running an old 2.6 kernel (with 3.x, driver seems to be available).

I have to make an USB NIC working on my new install CentOS 5.
I'm using CentOS 5 because of Intel Pentium M (centrino) lack of PEA support ... Can't run CentOS 6 (hell!).


So, I downloaded driver from Web Site of the constructor, compile it (worked) and install it (doesn't worked because the "install" script specified into Makefile is simply NOT present : thanks to the constructor ...).

So, I have a KO file that I added here : /lib/modules/2.6.18-371.6.1.el5/kernel/drivers/net/usb/mcs7830.ko

Please note that I manually created the folder and copied the ko file ...


Ok, if I use "modprobe", it doesn't work ... but using "insmod" work ... but the card is still not present (eth1) ...


What must I do now ?
I am totaly lost ...


EDIT: here is kernel log :

Code: Select all

usbnet_init
usbcore: registered new driver MOSCHIP usb-ethernet driver
usb 1-1: USB disconnect, address 2
usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
EDIT2: question : how can other drivers be found and not driver that I manually added ? (modprobe).
I probably forget something because the install script was not present ...

EDIT3: ok, found the "depmod" which permet now the "modprobe" to load the driver :)

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Install mcs7830.ko for CentOS 5

Post by TrevorH » 2014/04/13 17:37:57

You'd need to run some form of depmod after copying the ko file to the right place. Modprobe uses the files created by depmod, insmod doesn't.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply