LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-09-2005, 06:41 PM   #1
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Rep: Reputation: 15
Intel iANS module error


Hi,

I have built the ians module for teaming my Intel Corporation 82541GI/PI Gigabit Ethernet Controller via...

make
make install

However when i try to install it I get the following error:

# insmod ians
Using /lib/modules/2.4.29/kernel/drivers/net/ians.o
/lib/modules/2.4.29/kernel/drivers/net/ians.o: The module you are trying to load (/lib/modules/2.4.29/kernel/drivers/net/ians.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work

I checked via...

# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)

As you can see I have gcc version 3.3.5

The make test indicates gcc is being used as the compiler.

# make test
SMP=1
MODVERSIONS=1
ARCH=ia32
DEBUG=0
KSRC=/lib/modules/2.4.29/build
CC=gcc
KVER=2.4.29
INSTALL_ROOT=
MOD_DIR=/lib/modules/2.4.29/kernel/drivers/net
MAN_DIR=/usr/share/man
BIN_DIR=/usr/sbin
DEFINES=-DLINUX -D__KERNEL__ -DMODULE -pipe -D__SMP__ -DCONFIG_SMP -DMODVERSIONS -include /lib/modules/2.4.29/build/include/l
INCLUDES=-I/lib/modules/2.4.29/build/include -I.
OPTIMIZE_FLAGS=-O3 -fomit-frame-pointer
WARNING_FLAGS=-Wstrict-prototypes
CFLAGS=-DLINUX -D__KERNEL__ -DMODULE -pipe -D__SMP__ -DCONFIG_SMP -DMODVERSIONS -include /lib/modules/2.4.29/build/include/li/2.4.29/build/include -I. -O3 -fomit-frame-pointer -Wstrict-prototypes

Can anybody enlighten me here?

Thanks!
 
Old 06-09-2005, 10:38 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
if i remember correctly copiling modules with 2.4 series kernel involved setting a CC variable to the right gcc version.

like
export CC=gcc-3.0
or in the Makefile
CC := gcc-3.0

this was way different from the version magic way of doing it now
 
Old 06-11-2005, 01:14 AM   #3
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Original Poster
Rep: Reputation: 15
Many thanks foo_bar_foo.

I got excited for a moment and I tried editing my MakeFile by inserting 'CC =: gcc-3.3'. However, i still get the version 2 error. Very strange!

Also, I tried export CC=gcc-3.3, same thing. Hmmm...

The README file lists the following...
Quote:
August 6, 2002


Contents
========

- Overview
- Installing and Configuring ANS
- Available Commands
- Structure of the ANS Build Tree
- Example Setup
- Troubleshooting
- Support


Overview
========

This file describes the Intel(R) Advanced Network Services (ANS) package,
version 1.7.65, for Linux* systems. Intel ANS provides both teaming
(including Multi-Vendor Teaming), and IEEE VLAN capabilities. For ANS
support, this package version must be used with the Linux base driver version
2.1.x through 2.1.15 for PRO/100 adapters and/or driver version 4.3.x through
4.3.15 for PRO/1000 adapters.

This package is intended for 2.2.x and 2.4.x kernels; it was tested primarily
on the Red Hat* 7.3 Linux 2.4.18 kernel on SMP Intel processor-based systems.
This package includes support for Itanium(TM)-based systems.

NOTE: This driver version contains the final development set for 2.2.x
kernels through 2.2.20. Development will continue for 2.4.x kernels and
future production kernels.
This is kinda old source (don't believe I saw anything newer at Intel's site though.) I am using Debian and a 2.4 kernel to boot (no pun intended.)

Any ideas?
 
Old 06-11-2005, 01:20 AM   #4
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Original Poster
Rep: Reputation: 15
Okay, I did find a MUCH newer driver Version iANS-3.4.3a. I'll give that a whirl
 
Old 06-13-2005, 03:14 PM   #5
bretticus
Member
 
Registered: Nov 2003
Distribution: Debian 3.1
Posts: 36

Original Poster
Rep: Reputation: 15
OK, the newer source did the trick (surprise!) Thanks again foo_bar_foo.

Brett
 
  


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
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
snd-emu2k1 module missing after installing Intel sound driver snd-azx comatosebuddha Linux - Software 15 01-25-2006 12:39 AM
Intel Pro 1000 ethernet module buldir Libranet 1 01-18-2005 09:12 PM
Intel Corp. PRO/Wireless 2200BG (rev 05) -- ipw2200 module trouble visaris Linux - Hardware 7 12-09-2004 05:18 PM
Loading the Intel ata_piix Raid module during SuSe 9.0 installtion dpierre Linux - Software 0 01-20-2004 08:07 PM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
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