Koozali.org: home of the SME Server

Installing a provided NIC driver

celtel

Installing a provided NIC driver
« 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Installing a provided NIC driver
« Reply #1 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?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Installing a provided NIC driver
« Reply #2 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.