Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: celtel on November 28, 2006, 11:38:20 AM

Title: Installing a provided NIC driver
Post by: celtel on November 28, 2006, 11:38:20 AM
I have an Asus barebones which has an onboard Agere ET1310 nic which SME7 doesn't have a driver for. I have a CD provided with it which has a Linux driver on it - compatible with Red Hat 9.0 (kernel version 2.4.20) it states that it may work with other versions.
Following the instructions it says to Make the driver but I get the following message:

#@make -C /lib/modules/2.6.9-34.ELsmp/build M=/home/e-smith/files/ibays/Primary/files/LinuxDrivers/LAN/linux v0.2.1/et131x_20050629_v0-2-1_rh9/et131x_20050629_v0-2-1/et131x/linux/driver modules
make: *** /lib/modules/2.6.9-34.ELsmp/build: No such file or directory.  Stop.
make: *** [modules] Error 2

Now does this mean I'm stuffed and it won't work? There is no spare PCI slot to install a *proper* nic.
Title: Re: Installing a provided NIC driver
Post by: cactus on November 28, 2006, 04:40:03 PM
Quote from: "celtel"
I have an Asus barebones which has an onboard Agere ET1310 nic which SME7 doesn't have a driver for. I have a CD provided with it which has a Linux driver on it - compatible with Red Hat 9.0 (kernel version 2.4.20) it states that it may work with other versions.
Following the instructions it says to Make the driver but I get the following message:

#@make -C /lib/modules/2.6.9-34.ELsmp/build M=/home/e-smith/files/ibays/Primary/files/LinuxDrivers/LAN/linux v0.2.1/et131x_20050629_v0-2-1_rh9/et131x_20050629_v0-2-1/et131x/linux/driver modules
make: *** /lib/modules/2.6.9-34.ELsmp/build: No such file or directory.  Stop.
make: *** [modules] Error 2

Now does this mean I'm stuffed and it won't work? There is no spare PCI slot to install a *proper* nic.

For safety reason you should not build your drivers on a SME Server system (especially not on one which you use for production). Best way is to compile on a CentOS machine (I know not everyone has another spare machine available, but that is the vision of the development team).

The problem with make van be many and have many origins as well, numerical error codes don't mean much.

But to me it seems that a file can not be found... to me it seems that make is looking for the '/lib/modules/2.6.9-34.ELsmp/build' file which it can not find.

Did you check if it is there? Maybe you can boot into the CentOS kernel instead of into the SME kernel (at boot there is a screen at which you can select the kernel) and try to build it in there?
Title: Re: Installing a provided NIC driver
Post by: CharlieBrady on November 28, 2006, 07:43:03 PM
Quote from: "cactus"

But to me it seems that a file can not be found... to me it seems that make is looking for the '/lib/modules/2.6.9-34.ELsmp/build' file which it can not find.

Did you check if it is there?


It would be there if the 'kernel-devel" rpm was installed.