LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-15-2007, 09:45 PM   #1
lakosked
LQ Newbie
 
Registered: Nov 2005
Location: Chicago
Distribution: Debian 3.1r0a
Posts: 5

Rep: Reputation: 0
How do I reinstall netgear NIC? I get modprobe errors galore.


Hello, I have searched the forums but have had no luck finding an answer.

Question. How do I reinstall a network card driver?

Situation. I have a debian sarge build with a netgear PCI NIC. All was working fine until my house had a power failure. The computer rebooted and everything works except the card. To quickly test the card I booted using a live CD and everything works fine, even the NIC. So I know it is not a hardware issue. When I go back to the hard drive and boot, I get a lot of modprobe errors. "Invalid line 77 in etc/modprobe.conf ALSA" I tried modprobe LNE100TX but only got the "line 77" error.

PCI info shows the NIC. But ifconfig shows only the loopback.

Rebuilding is easy but I would like to save the install and learn how to fix this without reinstalling the OS.

Thanks for any assistance.
 
Old 01-15-2007, 09:57 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Invalid line 77 in etc/modprobe.conf ALSA

... so what does line 77 say?

BTW: have you done a filesystem check on that hard-drive?
 
Old 01-15-2007, 11:04 PM   #3
lakosked
LQ Newbie
 
Registered: Nov 2005
Location: Chicago
Distribution: Debian 3.1r0a
Posts: 5

Original Poster
Rep: Reputation: 0
Simon- Line 77 reads ALSA portion

76 ### update-modules: start processing etc/modutils/alsa
77 ALSA portion
78 alias char-major-116 snd

Since the power failure, I've noticed that there are about a dozen or so "invalid line 77" errors during boot.
My old SB sound card never worked with any linux distro, while it would be nice if it did work, it is not high on the priorities. The NIC is the priority.

The system during the last reboot did a fsck on the root. But I do not know if that does the whole drive.
I did try the command fsck while in a root terminal but got the warning that "running e2fsck on a mounted system may cause severe file system damage do you want to continue?" so I chose no.

Thanks for the expended brain cells.
 
Old 01-15-2007, 11:30 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You have to unmount any partition you check.
You can also force a filesystem check on boot.

"ALSA portion" looks like a heading not a modprobe.conf instruction ... try commenting it out. If it dosn't work, you can always remove the #.

Goodness knows why a bad reboot would cause this though.
 
Old 01-16-2007, 12:37 AM   #5
lakosked
LQ Newbie
 
Registered: Nov 2005
Location: Chicago
Distribution: Debian 3.1r0a
Posts: 5

Original Poster
Rep: Reputation: 0
SUCCESS

Well Heck, Go figure it would be something so simple.
Commenting out line 77 has restored the NIC to operational status and has also removed all of the errors during boot. I was cautious about doing this only because the beginning of the file states that it should not be manually edited and that the end of the world will come if it is manually edited. OK so Im embellishing just a bit.

The only thing I have noticed that relates to changing the file is that a comment during shut down comes up on screen saying that modules.conf file is newer than the modules file.
 
Old 01-16-2007, 12:56 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Glad to hear it.

You could get rid of that comment by touch(1)ing the modules file.
 
  


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
What modprobe module should I load for my netgear nic card? abefroman Linux - Hardware 1 11-25-2005 01:07 PM
VNC Errors Galore Corporal Linux - Networking 3 10-10-2005 12:42 PM
MUST reinstall nic driver EVERY login curtdodds Solaris / OpenSolaris 1 05-27-2005 09:04 PM
modprobe emu10k1 = getting errors Duukkis Linux - Software 7 07-10-2003 06:18 AM
Gnome errors galore !!! Axo Linux - Newbie 3 05-13-2003 05:25 AM

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

All times are GMT -5. The time now is 03:43 AM.

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