LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-25-2008, 02:53 PM   #1
SoonerDave
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
Network card module problems following power supply change on old Linux setup


Greetings all, and let me thank you in advance for this forum and allowing me to tap in to your collective expertise.

I have an odd problem with what has been a trusty old Linux box I built quite literally from spare parts several years ago. How old, you ask? Well, its built off a Cyrix 333Mhz CPU....and its been running almost 24x7 since. This machine has two nics, and serves as my firewall/gateway between my home network and my cable modem. It has served that role perfectly. (Slackware distro, Linux 2.2.13 kernel...I told you it was old...but its worked so well, I had no need to bother it). (VA-503+ mobo, PCI video card, 2xPCI network adapters, one via-rhine based card, one rtl8139 based card. Pretty barebones system.)

Anyway, the other night, I noticed the local network interface repeatedly going on/offline on the switch port...all lights on, all lights off...about three or four seconds at a time. Internet transfers were impossible. Changed port, changed switches (just to be sure), no difference.

After doing some tinkering, I began to suspect that the system's power supply was failing - particularly after the thing spontaneously shut down after rebooting a couple of times. I plopped in a new power supply, and that ended the spontaneous reboots and shutdowns. The netcard problem remained, however, so I pulled it out of the box.

Now, the module for the remaining card will not load. In fact, NO modules will load for ANY network card I've tried (regardless of slot) - the universal response to modprobe is "Device or resource is busy." Brand-new Tulip-based card: same thing. Other cards pulled from working systems...different modules, same thing.

Trying to start simply, I opted to get *one* card to work. Plugged it back in, and lspci -vvx shows cards on the bus, but always indicates it to be "Unknown Vendor/Unknown Device." /proc/interrupts does *not* see any network devices. I extracted the modprobe card test routine out of netconfig to see if *any* modules would load - no dice. Nothing detected.

Now, this may be a red herring, but...when I changed the power supply, I had to go from an AT to ATX style, and I wondered if that would change any of the power management characteristics of the board as Linux saw it. I thought I had dutifully disabled everything related to power management from the BIOS eons ago, but I wondered if any remnant thereof might have been "turned on" by virtue of the different power supply. I haven't yet had a chance to try "noacpi" or "acpi=off" from LILO.

Anyway, I really need to get this monster running again if at all possible. I've put a regular cable router in its place for now, but that doesn't give me my Samba emulation. The drives are in good shape, and given its fresh power supply should give me some more service. I hate to just toss it when in all likelihood I'm just missing something fundamental - unless something on the PCI bus is actually fried, which seems unlikely given that video, drives, etc all working.

In summation, right now, I'm stumped. At this point, I just don't know how to get past "Device or resource busy," so any suggestions or ideas would be most appreciated.

-David
 
Old 01-26-2008, 02:24 PM   #2
SoonerDave
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I have solved at least part of my problem on this situation, and while I realize there probably aren't many other 2.2.x kernels out there anymore, I thought I would share my experience.

I sorted out all the NICs I had available, and started to try them - one at a time - to see if I could get any of them to work. I started out with a DLink DFE-503TX+, which according to most of the sites I've been able to research is supposed to be a Realtek 8139C-based card. However, the realtek driver refused to touch the card, and the realtek diagnostic routine gave me information that *really* didn't make any sense.

I ran lspci -vvx, and took a look at the vendor and device ID. As they were reported as unrecognzed, I took a look at a current pci.ids file and discovered that the ID being reported was . I took a look at a new version of pci.ids, and discovered that the device ID actually mapped to a RHINE-III chip, which was contrary to what I'd read about the card.

Upon inspecting the card, I discovered that it is a DFE-503TX+ **Rev F2**, and Revision F2 is, in fact, a RHINE-III-based NIC. The version of the via-rhine module on my box wouldn't support this newer revision.

I then took a look on the net for a RHINE-III driver for Linux, and to be honest I didn't think I'd find one for the 2.2.x kernel - but I did. The driver was available for kernels up to 2.6.18 and specifically listed support for kernels back to 2.2.x. I burned the tarball on to a CD, mounted it on the linux box, opened it up, and the driver compiled perfectly the first time. This new driver replaced the "via-rhine" driver with "rhinefet", and modprobe loaded the driver instantly. I was able to configure the interface and get it back on the network.

I still have some other configuration tasks to accomplish, but at least this box is talking to the world again...

Thanks,
David
 
  


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
Power supply question - not related to linux username17 Linux - Hardware 5 04-09-2007 11:58 PM
Linux-friendly Uninterruptible Power Supply Simdude90015 Linux - Hardware 6 05-04-2006 03:18 PM
New power supply, now I can't start Linux Ken Wright Linux - Hardware 2 04-11-2006 04:24 PM
Power Supply binny959 General 1 09-07-2004 05:07 AM
Power Supply tarballedtux General 3 10-31-2001 12:07 PM

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

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