LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-04-2003, 11:23 PM   #1
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Rep: Reputation: 15
trouble installing ethernet drivers


ok i had this post in the red hat forum as well but i figured i might get a better response here since im very new to linux. my problem is that i need to install drivers for my onboard ethernet card. here is part of the readme just to give you an idea of what it tells me to do:

3Com Gigabit NIC (3C2000) Driver Readme Version A02
Copyright (c) 2003 3Com Corporation

This file describes the 3Com Gigabit NIC (3C2000) driver for Linux.

Loading the driver
------------------

1) Make sure that the kernel source is installed in /usr/src/linux
or /usr/src/linux-2.4.

2) Copy the file /Linux/3c2000.tar.gz from the 3Com driver CD to
your hard drive.

3) Change to the directory containing 3c2000.tar.gz

4) Type 'tar zxvf 3c2000.tar.gz'

5) Type 'cd 3c2000'

Note: on SuSE systems since 7.1, you will have to execute the
following commands before running make:

cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h
cp /boot/vmlinuz.autoconf.h /usr/src/linux/include/linux/autoconf.h

For more details se

6) Type 'make load' to load the driver.

Alternatively, you may type the following to load the driver:

insmod 3c2000.o

Something like the following will be added to /var/log/messages:

Jan 22 19:31:19 localhost kernel: 3C2000: 3Com Gigabit NIC Driver Version A08
Jan 22 19:31:19 localhost kernel: Copyright (C) 2003 3Com Corporation.
Jan 22 19:31:19 localhost kernel: Copyright (C) 2003 Marvell.
Jan 22 19:31:19 localhost kernel: eth0: 3Com Gigabit NIC (3C2000)

Depending on your configuration, the OS may then automatically bring the
interface up and request an address from a DHCP server. If it does not,
bring the interface up with the command:

ifconfig eth0 up

You may have to substitue 'eth0' for your actual interface if you have
more than one ethernet NIC installed.

If your system is not configured for DHCP, you can assign an IP address
with the command:

ifconfig eth0 a.b.c.d

Where a.b.c.d is the IP address that you wish to use. Again, eth0 may
be different depending on your system configuration.
______________________________________________

ok now my problem is that i do everything it says and when i get to the point where it tells me to type "make file" it gives a huge list of error type messages and finally ends with the line "make: ***[skge.o] Error 1"
the motherboard is an asus p4c800 deluxe with an onboard 3com ethernet. im using red hat 9.0. can someone please help me??
 
Old 11-04-2003, 11:29 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
can you post the errors you are getting right before that last line? those should tell what the specific problem/s are, what dependencies you need to satisfy, etc.
 
Old 11-05-2003, 08:38 AM   #3
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Original Poster
Rep: Reputation: 15
i would if i could, but the fact is i cant read them all theres so many. it seems to have an error message of some sort for each line of that file, which is about 2400!! ill post some of them later on when im back from class. i was also wondering what steps 1 and 2 meant on that readme. i dont have a folder called /usr/src/linux
 
Old 11-05-2003, 11:53 AM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
d'oh, you don't have the kernel source code installed. that would account for all the error messages. it's just really weird, because i thought redhat for sure would install it by default. but there's probably an rpm -- do a search for how to install the kernel sources for red hat, you should find the info easily.
 
Old 11-05-2003, 11:53 AM   #5
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Original Poster
Rep: Reputation: 15
ok heres some of the error messages that im getting...most of them are the same thing which is:

"skge.c: xxxx: Dereferencing pointer to incomplete type"

xxx is the line number im assuming and the vast majority is this type of error. i cant see to the beginning of the errors because that previous error just takes so much splace on the terminal.

heres the last few lines though:

skge.c: In function 'skErrorLog':
skge.c: 4615: 'Kern_INFO' undeclared (first use in this function)
skge.c: 4615: parse error before string constant
skge.c: At top level:
h/skdrv2nd.h:531: storage size of 'TxPort' isn't known
h/skdrv2nd.h:532: storage size of 'RxPort' isn't known
/usr/include/linux/proc_fs.h: 193: warning: 'create_proc_read_entry' declard 'static' but never defined
make: ***[skge.o] Error1
 
Old 11-05-2003, 11:54 AM   #6
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Original Poster
Rep: Reputation: 15
hmm can i get a little more information on where i can find the kernel sources? i did a few google searches and im not quite sure which one to go to. thanks for that info though

Last edited by sbcdivision63; 11-05-2003 at 12:01 PM.
 
Old 11-05-2003, 12:24 PM   #7
sbcdivision63
Member
 
Registered: Oct 2003
Posts: 61

Original Poster
Rep: Reputation: 15
ah ok i think i know what the problem is....leave it to my brother to buy the dumb red hat linux for dummies book which comes with red hat PUBLISHERS EDITION. after reading the readme file on the cd i realized that they conveniently left out a few dozen rpms including a few that have kernel in the name. so i think thats the problem, i still dont know wher ei can find the kernel sources though...
 
Old 11-05-2003, 01:13 PM   #8
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
sbcdivision63

If you are using RH 9 look on the install CD's under Kernel Development

Pete
 
Old 11-05-2003, 02:56 PM   #9
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
if you don't have it on the CD, you can build it from a tar.gz here:
http://www.kernel.org/ (follow the http or ftp links)

or it looks like you can get an rpm here:
http://rpmfind.net/linux/RPM/freshrp...20.9.i386.html

you probably want to install the source to the same kernel you built your system with, e.g., 2.4.20, etc. maybe that's not necessary, i'm just saying i don't know if it is or not, so to be safe stick with the kernel version of your working system unless someone chimes in to say it's okay not to.
 
  


Reply



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
installing ethernet drivers for knoppix slzckboy Linux - Networking 4 10-28-2005 12:56 PM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
Installing drivers into the kernel for a Via Gigabit Ethernet card duhasst0 Linux - Networking 0 08-24-2004 03:53 PM
Having trouble installing nvidia drivers hbbtstar Linux - Software 3 08-29-2003 12:20 PM
Having trouble installing NVIDIA drivers. funkenbooty Linux - Newbie 6 07-27-2003 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 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