LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-07-2008, 11:58 PM   #1
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Rep: Reputation: 15
"dead" Realtek ethernet PCI express adapter RTL8168B/8111 - no network


I can't cofigure the network adapter to working properly and I have no network. Everything under WinXP is fine. Any ideas?
 
Old 02-08-2008, 12:16 AM   #2
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
More hardware information:
Mainboard - http://global.msi.com.tw/index.php?f...0&maincat_no=1

Network adapter: Realtek RTL8168B/8111 PCI Express fast ethernet adapter (I think it's PCI Express x 1)

I think it's good idea to mention from the beginning that I have a bt878 TV card in another PCI slot (that was the another theory in my mind - irq 17 conflict between the cards)

BIOS: American Megatrends Inc. v02.57 (another theory that I tried- PnP/PCI Configurations settings)

What kind of information do You like to see and from where should we begin?
 
Old 02-08-2008, 12:22 AM   #3
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
I forgot to mention that Slackware loading the driver r8169 (the card is 8168B!).

I have the ethtool, but when I try to configure the eth0 device (the problem card) there is no change in its settings at all! The green indicator of the card back on the PC is not turning on.

I have DHCP router, which should be give to me IP (so it is in Windows XP and works).
 
Old 02-08-2008, 01:22 AM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 129Reputation: 129
I can't really think of a reason why it wouldn't work. I have one of those and it works with everything from windows over Unix to Linux. It sounds to me as if your machine is incorrectly configured.

As for it loading 8169, that isn't necessarily an error, there are other distributions that work just fine if they use 8169 instead of r1000.
 
Old 02-08-2008, 03:02 AM   #5
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
I can't really think of a reason why it wouldn't work. I have one of those and it works with everything from windows over Unix to Linux. It sounds to me as if your machine is incorrectly configured.

As for it loading 8169, that isn't necessarily an error, there are other distributions that work just fine if they use 8169 instead of r1000.
OK.
When I start the PC in Linux, the green indicator of the network adapter not light on. What this means; Where and what should I look and check first? (under WindozXP everything is fine - the indicator is on and there is Internet without any settings from me!)
 
Old 02-08-2008, 05:31 AM   #6
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 129Reputation: 129
Have you run netconfig?
 
Old 02-08-2008, 05:47 AM   #7
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
try this...

unplug the tv card, boot the computer and run netconfig...
once the eth0 is up, shutdown and install tv card, then bootup again and check settings...
if you have a card conflicting with another, it pays to boot with only one card and set this up then install the other and boot up and then check, and install if everything was working...sometimes you have to place the cards in the otherway around, as in the tv card first then eth0...
 
Old 02-08-2008, 06:50 AM   #8
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
Yes ... I run netconfig so many times ... but there is no connection to my DHCP router, because the card not work now, i think.

The problem is that my PC is new and has warranty. If I remove the box, warranty voids ... Please give another solutons - can't touch the cards for the moment. If there is nothing else to do, I will remove the TV card at least - I will have no choice, but for now I won't to do that ...

Is there any way to take a look that there is conflict between the cards?
For example in WindozXP I see that they sharing one IRQ (IRQ 17) in the section System Information --> Sharing and conflict. But they working perfect. How can I check this in Slackware 12.0?

And is there an option to shut down at all that TV card temporarly with some kind of software method and reboot to see how the system will find the eth0?
 
Old 02-08-2008, 07:41 AM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,375
Blog Entries: 3

Rep: Reputation: 169Reputation: 169
On CMOS ( bios ) setup please set to none windows or non plug n play O/S so the system can load it on the correct IRQ. open a terminal and type dmesg and look for your card failure message.
 
Old 02-08-2008, 10:18 AM   #10
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Drakeo View Post
On CMOS ( bios ) setup please set to none windows or non plug n play O/S so the system can load it on the correct IRQ. open a terminal and type dmesg and look for your card failure message.
I can't see this option in my CMOS Setup Utility.
Uf, I made a picture "CMOS Setup Utility.JPG", but I don't know how to paste it here ...

In PnP/PCI Congurations there is:
Primary Graphic's Adapter [PCI-E]
PCI latency Timer [64]
PCI Slot 1 IRQ [Auto]
PCI Slot 2 IRQ [Auto]
> IRQ Resourse Setyp [Press enter] ---> where are IRQ3, 4, 5, 7, 9, 10, 11,14, and IRQ15 [Available].

In Power Management Setup there is:
ACPI Function [Enabled]
ACPI Standby State [S3]
Re-call VGA BIOS from S3 [disabled]
(...)
> Wakeup Event Setup [Press enter] --> where are
(...)
Resume by PCI Device (PME#) [disabled]
Resume by PCIE Device [disabled]
(...)

I'm now not sure what to do here. Could You be more specific?

Last edited by Fleshless; 02-09-2008 at 06:52 AM. Reason: mistakes in the writting
 
Old 02-08-2008, 10:41 AM   #11
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
Hi,

I "had" a similar problem with a Realtek chip (sorry, not at home now, so I'm not sure it is the exact same chip). I would play in Windows, then hibernate, boot to Linux, and had no network (driver loaded, but no activity... same symptoms as yours).

I found out that the problem was with hibernation: There is "something" Windows does that prevents Linux from activating the network card if the computer hibernates. The card will work fine (on Linux) if I reboot but without using hibernation. Could that be your situation also?

Unfortunately I haven't found a solution for this (I just do not hibernate after playing with Windows).

HTH!
 
Old 02-08-2008, 10:42 AM   #12
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Have you looked at ifconfig and iwconfig output to see if the configuration settings are correct?

And lsmod and lspci to see what modules are being loaded?
 
Old 02-08-2008, 10:46 AM   #13
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
Here are some commands without touching the CMOS (BIOS) yet:

root@automat:~# dmesg | grep eth0

eth0: RTL8168b/8111b at 0xf8cd4000, 00:19:db:8e:df:ad, IRQ 17
r8169: eth0: link down
r8169: eth0: link down
r8169: eth0: link down

root@automat:~# dmesg | grep r8169

r8169 Gigabit Ethernet driver 2.2LK loaded
r8169: eth0: link down
r8169: eth0: link down
r8169: eth0: link down

root@automat:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: Unknown! (0)
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: no
 
Old 02-09-2008, 12:49 AM   #14
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by enemorales View Post
Hi,

I "had" a similar problem with a Realtek chip (sorry, not at home now, so I'm not sure it is the exact same chip). I would play in Windows, then hibernate, boot to Linux, and had no network (driver loaded, but no activity... same symptoms as yours).

I found out that the problem was with hibernation: There is "something" Windows does that prevents Linux from activating the network card if the computer hibernates. The card will work fine (on Linux) if I reboot but without using hibernation. Could that be your situation also?

Unfortunately I haven't found a solution for this (I just do not hibernate after playing with Windows).

HTH!
I looked - I have no check in "Enable Hybernation" in WindozXP - I work on it without hybernation. But thanks for the idea; I was never heard something like this. Only theories, that I must not allow the Windoz to turn off the adapter to safe power. This is already done in my PC - nothing changed - still no network adapter.

Last edited by Fleshless; 02-09-2008 at 06:54 AM.
 
Old 02-09-2008, 12:58 AM   #15
Fleshless
LQ Newbie
 
Registered: Feb 2008
Location: Rousse, Bulgaria
Distribution: Slackware 12.0
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pentode View Post
Have you looked at ifconfig and iwconfig output to see if the configuration settings are correct?

And lsmod and lspci to see what modules are being loaded?
root@automat:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19B:8EF:AD
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

root@automat:~# lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
03:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)

root@automat:~# lsmod
Module Size Used by
snd_seq_dummy 6788 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10508 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42784 0
snd_mixer_oss 18048 1 snd_pcm_oss
ipv6 254496 18
bt878 12728 0
pcmcia 34988 0
pcmcia_core 36500 1 pcmcia
capability 7304 0
commoncap 9344 1 capability
lp 13736 0
parport_pc 27812 1
parport 34760 2 lp,parport_pc
pcspkr 6528 0
psmouse 39048 0
serio_raw 9220 0
bttv 173620 1 bt878
video_buf 24068 1 bttv
ir_common 33796 1 bttv
compat_ioctl32 5248 1 bttv
btcx_risc 8072 1 bttv
tveeprom 17552 1 bttv
videodev 29184 1 bttv
v4l2_common 18688 2 bttv,videodev
v4l1_compat 17668 2 bttv,videodev
snd_hda_intel 20248 0
snd_hda_codec 209152 1 snd_hda_intel
snd_pcm 72068 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 22532 2 snd_seq,snd_pcm
snd 47204 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd _timer
soundcore 9824 1 snd
r8169 29832 0
sg 30364 0
snd_page_alloc 11528 2 snd_hda_intel,snd_pcm
evdev 11904 1
shpchp 33172 0
iTCO_wdt 12964 0
iTCO_vendor_support 7172 1 iTCO_wdt
i2c_i801 11408 0
ata_generic 9220 0
intel_agp 25116 1
agpgart 31432 2 intel_agp
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with "Asus WL-138g V2 Wireless PCI Adapter" maiden2 Ubuntu 2 02-26-2008 01:49 AM
how to activate my Asus "WL-138g V2" Wi-fi PCI Adapter in fedora 8? maiden2 Fedora 2 12-10-2007 01:45 AM
Boot problem: "GRUB Loading stage2read Error" after installing PCI Ethernet card nsyng Fedora - Installation 1 06-06-2005 06:53 AM
Failed detection of "Realtek Semiconductor Co., Ltd. RTL-8139" network card scuffell Linux - Networking 5 06-15-2004 05:34 AM
Define "dead ethernet card" please. wuck Linux - Networking 10 10-26-2003 09:58 PM


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