LinuxQuestions.org
Review your favorite Linux distribution.
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 12-07-2010, 03:58 PM   #1
Mr_Nuke
LQ Newbie
 
Registered: Feb 2009
Posts: 13

Rep: Reputation: 3
EPIC Fail - eth0 dissappeared: via-rhine: probe of blablabla failed with error -5


I apologize in advance for the brief explanation. I am too surprised to be able to react.
Running Fedora 14 x86_64.
I did a BIOS upgrade, rebooted, the next thing I know, eth0 was gone. For good:

Code:
[root@nukeserv2 mrnuke]# ifconfig eth0 up
eth0: unknown interface: No such device
However, when I run lspci, it's there:

Code:
[root@nukeserv2 mrnuke]# lspci |grep Ether
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
looking in the kernel log yields
Code:
[root@nukeserv2 mrnuke]# dmesg |grep rhine
[   11.891169] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[   12.111662] via-rhine 0000:00:12.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[   12.111840] via-rhine: probe of 0000:00:12.0 failed with error -5
checking /var/log/messages, I see the "error -5" first appeared around the time I started having the problem. I tried going back to the initial BIOS with no avail (the issue persists)

Removing /etc/udev/rules.d/70***net***, udev recreated it with rules for eth1 and eth2 (two Realtek NICs), but not eth0.


Does anyone have any idea what on earth may be going on?

Last edited by Mr_Nuke; 12-07-2010 at 03:59 PM.
 
Old 12-08-2010, 02:21 AM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Negative error numbers, as far as I know, generally indicate a hardware failure relating to memory. It sounds like your card may be fried.

Try re-seating the card in its slot.

If that doesn't change anything, try booting a live CD or installation CD and see what the dmesg looks like there. At least if you get the same probe error, you've ruled out a software problem.

As a last result, you could always see if there's an EEPROM flash of some kind available for your NIC and try that.

I have to say that, if the card is registering on the PCI bus, but failing to initialize with an error like that, the outlook is not good. I wish I had better news.

Last edited by foodown; 12-08-2010 at 02:26 AM.
 
Old 12-08-2010, 12:14 PM   #3
Mr_Nuke
LQ Newbie
 
Registered: Feb 2009
Posts: 13

Original Poster
Rep: Reputation: 3
The card is on-board, so I can't re-seat it. About the liveusb, I tried both Fedora14 and CentOS 5.5 liveusb's and they all return the same error.

I don't see how the card may be fried, as the light blinks when I plug in a cable, just as it should.

There is something I overlooked in /var/log/messages:

Code:
Dec  8 18:21:35 nukeserv2 kernel: [   12.302642] via-rhine 0000:00:12.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Dec  8 18:21:35 nukeserv2 kernel: [   12.302714] Invalid MAC address
Dec  8 18:21:35 nukeserv2 kernel: [   12.302756] via-rhine: probe of 0000:00:12.0 failed with error -5
Could that "Invalid MAC" be fixable in any way?

Last edited by Mr_Nuke; 12-08-2010 at 12:26 PM.
 
Old 12-08-2010, 12:44 PM   #4
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by Mr_Nuke View Post
I don't see how the card may be fried, as the light blinks when I plug in a cable, just as it should.
Its interface to the bus and to the south bridge is what may be fried. The rest of the chip could be doing everything in can to tell the CPU about traffic it gets, and the CPU can't hear it.


Quote:
Originally Posted by Mr_Nuke View Post
There is something I overlooked in /var/log/messages:

Code:
Dec  8 18:21:35 nukeserv2 kernel: [   12.302642] via-rhine 0000:00:12.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
Dec  8 18:21:35 nukeserv2 kernel: [   12.302714] Invalid MAC address
Dec  8 18:21:35 nukeserv2 kernel: [   12.302756] via-rhine: probe of 0000:00:12.0 failed with error -5
Could that "Invalid MAC" be fixable in any way?
It could be the cause of the problem, or related to it.

Just a thought, have you tried to do a configuration reset, or restore to factory default, in BIOS?
 
Old 12-08-2010, 12:57 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Did you load the BIOS defaults after the upgrade? I have seen many weird errors if that is not done after an BIOS-upgrade.
 
Old 12-08-2010, 01:23 PM   #6
Mr_Nuke
LQ Newbie
 
Registered: Feb 2009
Posts: 13

Original Poster
Rep: Reputation: 3
Yes, I did load the defaults afterward. I'll try to use the reset jumper and see it that works.

EDIT: I just reset the BIOS using the jumper method, booted with the defaults, and the error is still there.

@Skaperen: You said that the interface between the NIC and the SB may be fried. Wouldn't that mean that the card should be undetectable?

EDIT2: I've looked at via-rhine.c. It does stop initialisation once an invalid MAC is found. I'll try to comment that out and rebuild the driver to see if it the NIC works this way.

Last edited by Mr_Nuke; 12-08-2010 at 04:03 PM.
 
Old 12-09-2010, 01:17 PM   #7
Mr_Nuke
LQ Newbie
 
Registered: Feb 2009
Posts: 13

Original Poster
Rep: Reputation: 3
If I remove the MAC chech, rebuild and reload the module, the adapter initializes, but other parts of the kernel prevent it from being used because of the invalid MAC; however, with

Code:
# ifconfig eth0 hw ether <valid MAC>
I can then use the NIC normally. I have contacted the driver maintainer to see if it might be worth "spoofing" the MAC if an invalid one is found. For now, I've put the modified module and set up a script that automatically gives the NIC a valid MAC, and it works.
 
Old 01-24-2017, 04:11 PM   #8
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Rep: Reputation: 0
I'm not sure what file you have there in your distro but Ubuntu has this:
vi /etc/udev/rules.d/70-persistent-net.rules

What you end up doing is removing the added lines and rebooting and the correct items get automatically re-added.
Here's a URL on it:
https://www.serenux.com/2009/11/howt...ox-to-another/
Similar it may help you.

George
 
Old 01-24-2017, 06:55 PM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
Please be careful not to resurrect seven-year-old threads ...
 
  


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
xcompmgr + ati = epic fail naquad Linux - Desktop 4 02-27-2010 04:54 AM
nvidia co-processor probe failed with error -1 potuz Linux - Hardware 2 02-20-2010 11:07 PM
Error while installing RHEL 4 -IRQ probe failed.............. anuj1 Linux - Software 0 04-10-2008 11:05 PM
probe of 0000:02:04.0 failed with error -5 shogun1234 Linux - Wireless Networking 2 10-06-2007 01:03 AM
kernel: vesafb: probe of vesafb0 failed with error -6 Toadman Mandriva 0 05-28-2005 09:13 PM

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

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