LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-01-2003, 04:10 PM   #1
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 83

Rep: Reputation: 15
Gigabit NIC Driver problem


Hi,

I have a SMC9462TX

RedHat 8.0 does not support it by default, so I downloaded the driver from the site.

I did the following:
"insmod smc94x2.o" (file included in downloaded ZIP)
Message:
Quote:
smc94x2.o was compiled for kernel version 2.4.2-2 while this kernel version is 2.4.18-14smp.
So I tried to make a new driver, for my kernel:

Quote:
root@Jupiter 2_4]# make all
cc -D__KERNEL__ -DSMC_SMC94X2TX -DMODULE -DCLONE -D__NO_VERSION__ -D_DUMP -DSINGLE_PACKET -D_DP83820_ -DINTR_HOLDOFF -DMEMMAPPED_IO -D_DBG -DPHY_INTR -DFAILURE_MESSAGES -DSTATISTICS -DASSERTION -DCHECKSUM -DERRDEBUG -O -Wall -I/usr/src/linux-2.4.2/include/ -g -w -c -o sp.o sp.c
make: cc: Command not found
make: *** [sp.o] Error 127
As you see, I get more errors

What should I do to solve my problem? Could anyone (with the same kernel) compile the driver for me? Or just explain me what he problem is and what I should do?

Thanks
 
Old 10-01-2003, 04:16 PM   #2
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
copy your linux kernel source to /usr/src/linux

ex:
your kernel src is
/usr/src/linux-2.4.18-14smp

so

cp -R /usr/src/linux2-4.18-14smp /usr/src/linux

then try Make all
 
Old 10-03-2003, 10:01 AM   #3
BlackRabbit
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by hakcenter
copy your linux kernel source to /usr/src/linux

ex:
your kernel src is
/usr/src/linux-2.4.18-14smp

so

cp -R /usr/src/linux2-4.18-14smp /usr/src/linux

then try Make all
Ok thanks, I tried it but didn't work..

Anyway, I installed Slackware 9.1 now, and still have a problem (though it's another one :-) )

This time I was able to do "make all", but when I tried an "insmod smc94x2.o" I get the message:
Quote:
"Warning: loading smc94x2.o will taint the kernel: no license
See [ url ] for information about tainted modules"
And SlackWare crashed (can't type anything anymore, reacts on nothing)

After rebooting (hardware reboot, CTRL-ALT-DEL didn't work), "insmod smc94x2.o" gives an error: not a valid ELP file (or something)

What did I do wrong?

Also: how can I enable SMP here? (I searched for a smp kernel at bootup but didn't find it..)

Thanks
 
  


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
Marvell/Syskonnect Gigabit Ethernet, Linux 2.6.9 and 7.09 driver problem Dmitry Antipov Linux - Hardware 3 01-29-2006 10:08 AM
Linksys Gigabit NIC Problem Under Hoary Linux31 Ubuntu 2 07-03-2005 05:14 AM
troubles getting Gigabit NIC to work in slack 10 (HGA32T NIC) TheLinuxDuck Slackware 10 03-10-2005 04:37 PM
rtl8169 gigabit ethernet NIC problem on ipcop icga Linux - Networking 6 12-03-2004 03:26 AM
Gigabit NIC Driver problem BlackRabbit Slackware 0 10-03-2003 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration