LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-22-2002, 12:58 PM   #1
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Rep: Reputation: 15
Nic :: Netgear FA311 :: Trouble with the driver


Hallo!
I've just joined this community =)
Now to the problem...
As slackware 8.1 doesn't have any built-in drivers for one of my nic's, Netgear FA311, I wen't out to google and searched. And thx to a mate I got a driver from http://www.scyld.com/network/ethercard.html and followed the instructions for installation. But either the natsemi.c or pci-scan.* made any natsemi.o or pci-scan.o that I could use for insmod .
I did a new search and found that some people had had some trouble with these drivers before and I also found a answer for the problem here, but unfortunately it din't become any better... =(

All I can see when I'm using the "gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c natsemi.c" is that there is some parse errors, but as I don't know if it possible to log the outcome from the installation I don't know what is getting these parse errors.

Thx in advance!
 
Old 10-22-2002, 01:07 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
The National Semiconductor driver should compile fine if your kernel is recent, and your'e using at least gcc 2.96 I think.

The Netgear FA311 comes with a linux driver disk too! Ask the shop or download the driver (which they say is fine for redhat 6.0). Sometimes going to the manufacturer's site will yield a driver when using Linux.

Bert.
 
Old 10-22-2002, 01:13 PM   #3
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
But since I'm using Slackware (without rpm-support) and Netgear has only published the drivers for RH in rpm-files, I can't use them... =(
 
Old 10-22-2002, 01:28 PM   #4
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
They are zipped source files.
 
Old 10-22-2002, 01:43 PM   #5
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Hmm.. ok.. Then I got to have missed that driver.... =D *checking*
 
Old 10-22-2002, 03:08 PM   #6
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
As I thought it became little error.... RH 7.1 has kernel 2.4.2-2 and slackware 8.1 has kernel 2.4.18...... And it wasn't that popular when I tried a insmod..... Then I got told that it was compiled for kernel 2.4.2-2 ... =(
 
Old 10-22-2002, 03:39 PM   #7
manaskb
Member
 
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
Smile Re: Nic :: Netgear FA311 :: Trouble with the driver

Quote:
Originally posted by Lok3

All I can see when I'm using the "gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c natsemi.c" is that there is some parse errors, but as I don't know if it possible to log the outcome from the installation I don't know what is getting these parse errors.
Hey Lok3,
I have general comment. I can see you are using -O6 in the compilation. Just be careful when usign gcc optimizations with level > 2, here 6 is very high and in some situations can cause unpredictable results. I can tell this from my personal experience in the past.
Thanks,
Manas
 
Old 10-22-2002, 03:46 PM   #8
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Re: Re: Nic :: Netgear FA311 :: Trouble with the driver

Quote:
Originally posted by manaskb
Hey Lok3,
I have general comment. I can see you are using -O6 in the compilation. Just be careful when usign gcc optimizations with level > 2, here 6 is very high and in some situations can cause unpredictable results. I can tell this from my personal experience in the past.
Thanks,
Manas
Hmm.. OK! Thx! I just used it because it stood that I should use it....
 
  


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
netgear fa311 nic card zexter Linux - Hardware 1 11-01-2003 03:05 PM
Installing netgear fa311 and onboard nic in RH9 sph90457 Linux - Networking 18 10-21-2003 08:41 PM
Red Hat 9.0 NetGear FA311 Nic Problem! Midnight Rain Linux - Networking 1 05-16-2003 10:10 PM
Red Hat 8.0 & Netgear NIC FA311 Confusid Linux - Networking 11 01-08-2003 06:20 PM
Netgear FA311 NIC oryan_dunn Linux - Networking 6 09-23-2002 01:42 AM


All times are GMT -5. The time now is 11:26 AM.

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