LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-01-2006, 10:55 AM   #1
mymarkers
LQ Newbie
 
Registered: Nov 2006
Distribution: SuSE 9.1, Debian 3.1
Posts: 3

Rep: Reputation: 1
Network Card Works, but only after error


Everytime I boot my computer, when it brings up the network interface, it displays this message:

Waiting for mandatory devices: eth-id-00:00:5a:9c:a5:20
20 19 18 17 16 15 modprobe: FATAL: Error inserting hw_random (/lib/modules/2.6.5-7.276-smp/kernel/drivers/char/hw_random.ko): No such device
eth1 device: Syskonnect (Schneider & Koch) SK-98xx Gigabit Ethernet Server Adapter (rev 10)
eth1 configuration: eth-id-00:00:5a:9c:a5:20
eth1 IP address: 138.236.224.156/21

I have two ethernet cards, one of which will not work, and this one that does work. At first, I assumed it tried to configure the wrong ethernet card, gave up, and moved on to the next one. Then I noticed that it's the same hardware address when it fails and when it works. So, I gathered that it's trying to use the wrong module first. I ran lsmod and discovered that the module for the other network card was in there. So, I ran rmmod to remove it, rebooted, and it looked like I had finally solved my problem. But then I rebooted again, and it was back to the same. I ran lsmod, and the tg3 module that I had removed returned. I ran dmesg and noticed this:

hw_random: RNG not detected
tg3.c:v3.37 (August 25, 2005)
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
eth0: Tigon3 [partno(BCM95751) rev 4001 PHY(5750)] (PCIX:100MHz:32-bit) 10/100/1000BaseT Ethernet 00:11:11:30:5b:7d
eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000]

Could this be something with automatic hardware detection that insists on trying to configure all of the hardware in my computer? Is there anyway to prevent this? I'd like a more elegant solution than running a script to rmmod tg3 everytime I boot. I experimented with manually specifying the mandatory devices in /etc/sysconfig/network/config and that didn't help. Although, I have not tried combining that with the rmmod.

I have SuSE 9.2 and my kernel is version 2.6.5. This problem is really just a nuisance, but it's really getting on my nerves to see that message taunting me every time I boot. Even if permanently removing the tg3 module doesn't solve it, I'd like to be able to do that. I've made it this far on my own, so if you can even point me towards the problem, I might be able to handle it. Thanks.
 
Old 12-02-2006, 09:24 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
The problem stems from hw_random, which is probably completely useless to you (and to anyone who doesn't have a newer VIA processor with "Padlock" or a short-shelflife, rarely-found intel chipset). This seems to be an issue that lies with your distro's method of hardware dependency tree generation. One thing you might try is to move (as root) the module ("/lib/blah/hw_random.ko") to somewhere else, and then run depmod. Either one of three things (up to isomorphism) will happen:
  1. Your problem will be solved (i.e., your system will no longer attempt to load a useless module).
  2. You will see no practical change (perhaps the error message might say "No such file" instead of "No such device").
  3. Your system will explode (or become otherwise unusable).
In the case of 2 or 3, I recommend moving the module back to its original place (with the assistance of a rescue CD if possible) and hand-editing one of various files in /etc (e.g., modprobe.conf, modprobe.autoload, modules.d/*, modules.conf, modules.*), depending on your distro.
 
Old 12-03-2006, 10:01 AM   #3
mymarkers
LQ Newbie
 
Registered: Nov 2006
Distribution: SuSE 9.1, Debian 3.1
Posts: 3

Original Poster
Rep: Reputation: 1
Thanks for the suggestion. I tried it, and it looks like it's "isomorphic" to #2. It still takes as long to configure the interface, but it doesn't display the error message. I've undone the changes, and I think I'll just be content to live with it. A minor nuisance is not sufficient justification for the risk to my system. I have learned an awful lot about problem-solving in Linux in my attempts, and I'm convinced I can now try bigger projects with confidence. Actually, I should probably investigate if a working module for the other interface has been developed in the meantime.
 
  


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
FC5 - Need a PCI network card that is EASY to setup/works. Suggestions Please! Damien295x Fedora 1 09-23-2006 08:17 AM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM
my network card works well in mandriva 2006 but not in windows 2000 server jnesta78 Linux - Hardware 4 11-08-2005 02:23 AM
LAN card works fine during network install but not after that? lothario Linux - Hardware 0 05-28-2004 01:25 AM
Network card install trouble, but I *know* this module works! numlock Linux - Networking 1 05-31-2003 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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