LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-11-2009, 10:42 AM   #1
Goombas
LQ Newbie
 
Registered: Apr 2009
Distribution: openSUSE 11.1
Posts: 2

Rep: Reputation: 0
No network running with RTL8139 on openSUSE 11.1


Hello,

I recently installed openSUSE without any big issue except that I have no network running despite a working hardware. I first got the error during the installation, then no way to fix the problem. Note that the system log confirms a timeout on eth1.

For information I have no network problem on Windows and I previously installed openSUSE 11.0 with the VirtualBox (under WinXP) without facing such problem on the same machine.

Here are some data which maybe could help to find some hints. Any help is greatly appreciated!

Boot Log File
Setting up (localfs) network interfaces:
lo
lo IP address: 127.0.0.1/8
IP address: 127.0.0.2/8
done eth1 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
eth1 Starting DHCP4 client. . . . <notice>checkproc: /usr/bin/kdm 2228
. . . .
eth1 DHCP4 continues in background
waiting
Waiting for mandatory devices: eth1 __NSC__
11 10 8 7 6 4 3 2 0
eth1 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
eth1 DHCP4 client (dhcpcd) is running
eth1 . . . but is still waiting for data
waiting
eth1 interface could not be set up until now
failedSetting up service (localfs) network . . . . . . . . . .failed

# dmesg
vendor=8086 device=2448
tifm_7xx1 0000:06:06.3: PCI INT A -> GSI 22 (level, low) -> IRQ 22
8139cp 0000:06:07.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp 0000:06:07.0: Try the "8139too" driver instead.
sdhci-pci 0000:06:06.4: SDHCI controller found [104c:8034] (rev 0)
vendor=8086 device=2448
sdhci-pci 0000:06:06.4: PCI INT A -> GSI 22 (level, low) -> IRQ 22
mmc0: SDHCI controller on PCI [0000:06:06.4] using PIO
mmc1: SDHCI controller on PCI [0000:06:06.4] using PIO
mmc2: SDHCI controller on PCI [0000:06:06.4] using PIO
8139too Fast Ethernet driver 0.9.28
vendor=8086 device=2448
8139too 0000:06:07.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
eth1: RealTek RTL8139 at 0xf8a5a400, 00:0a:e4:dd:29:bf, IRQ 20
eth1: Identified 8139 chip type 'RTL-8100B/8139D'

# ifconfig -a
eth1 Link encap:Ethernet HWaddr 00:0A:E4:DD:29:BF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45 errors:0 dropped:0 overruns:0 frame:0
TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4990 (4.8 Kb) TX bytes:53010 (51.7 Kb)
Interrupt:20 Base address:0xa400

# /sbin/lspci
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Last edited by Goombas; 04-11-2009 at 11:23 AM.
 
Old 04-12-2009, 10:58 AM   #2
Saptech
Member
 
Registered: Nov 2000
Location: Third Stone from the Sun
Distribution: Mageia 7, Devuan & Void Linux
Posts: 172

Rep: Reputation: 40
Under Windows, which eth port is it using, eth0 or eth1? Under linux have you tried making it use eth0 instead of 1?
Does 'lsmod' show the driver loaded?

Just some thoughts!

Last edited by Saptech; 04-12-2009 at 10:59 AM.
 
Old 04-12-2009, 11:42 AM   #3
wrban
LQ Newbie
 
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
Don't know if this helps, but I stumbled across a similar problem some time ago with my ISP dhcp implementation:
It seemed that only Windows and some Slackware variants were able to receive an IP address through dhcp. RedHat/Centos variants, Debian/Ubuntu/Knoppix even BSDs all would fail retrieving an IP address.
However, in my case the IP address had a high lease time (possibly forever) so I worked around this issue by using the IP data from a working Windows machine (or Slackware) and setting it up as a fixed IP address. Don't know if this was actually an ISP dhcp implementation issue, but all OSes would work retrieving an IP address from a eg. router so I assumed it to be ISP related.
Also, note that at the time I was also using a Realtek RTL-8139 adapter
 
Old 04-12-2009, 12:57 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If you disconnect the ethernet cable and assign a static IP, does the interface come up? If yes, then you can focus your diagnosis on the DHCP aspect. If no, then it would seem to be a driver issue. There is more than one Realtek driver. The line that says
Code:
8139cp 0000:06:07.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
would suggest that you are using the wrong one.
--- rod.

Last edited by theNbomr; 04-12-2009 at 01:01 PM.
 
Old 04-13-2009, 09:49 AM   #5
Goombas
LQ Newbie
 
Registered: Apr 2009
Distribution: openSUSE 11.1
Posts: 2

Original Poster
Rep: Reputation: 0
Here is what I did recently:

1/ I activated the Wake-On-LAN on Windows to avoid it to deactivate my card.

2/ I blacklisted 8139cp and restarted. # dmesg do not show any 8139cp information anymore. BUT everything else is the same: timeout on eth1.

3/ # hwinfo --netcard

28: PCI 607.0: 0200 Ethernet controller
[Created at pci.318]
UDI: /org/freedesktop/Hal/devices/pci_10ec_8139
Unique ID: JNkJ.kz11N1t7muE
Parent ID: 6NW+.pbi2aV6ikBD
SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:06:07.0
SysFS BusID: 0000:06:07.0
Hardware Class: network
Model: "Realtek RTL-8139/8139C/8139C+"
Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
Device: pci 0x8139 "RTL-8139/8139C/8139C+"
SubVendor: pci 0x103c "Hewlett-Packard Company"
SubDevice: pci 0x309e
Revision: 0x10
Driver: "8139too"
Driver Modules: "8139too"
Device File: eth1
I/O Ports: 0x4000-0x4fff (rw)
Memory Range: 0xc8209400-0xc82094ff (rw,non-prefetchable)
IRQ: 20 (125 events)
HW Address: 00:0a:e4:dd:29:bf
Link detected: yes
Module Alias: "pci:v000010ECd00008139sv0000103Csd0000309Ebc02sc0 0i00"
Driver Info #0:
Driver Status: 8139too is active
Driver Activation Cmd: "modprobe 8139too"
Driver Info #1:
Driver Status: 8139cp is not active
Driver Activation Cmd: "modprobe 8139cp"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #16 (PCI bridge)


=> The 8139too driver is the only one loaded but the problem remains.
I really don't know what to try next...

Last edited by Goombas; 04-13-2009 at 09:52 AM.
 
Old 04-13-2009, 10:56 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Well, one thing that seems odd is that the driver is loading as eth1 and not eth0. Also, there seems to be some remnant of the 8139cp driver, as evidenced by:
Code:
Driver Info #1:
Driver Status: 8139cp is not active
Driver Activation Cmd: "modprobe 8139cp"
What are the relevant lines in your modprobe.conf? I'm not sure how Suse does ethernet configuration, but if there is something like ifcfg.eth1 or ifcfg.eth0, what is in those? In network startup scripts that I am familiar with, the numeric subscript is an iterator in setting up the devices. I'm not sure how it copes with a 'missing' device number.
Also, what happens if you try to assign a static IP (ifcfg.eth0/1)? Does the device become active?
--- rod.
 
  


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
cannot save iptables configuration on opensuse 10.3 I have a server running opensuse lorry Linux - Newbie 2 09-26-2008 11:58 AM
Network problem CK804 and RTL8139 andrew higgs Slackware - Installation 1 03-31-2008 01:18 AM
RTL8139 not showing in Network C-Sniper Linux - Networking 2 07-17-2007 10:36 PM
the vanishing rtl8139 network interface dombrowsky Linux - Networking 7 01-24-2006 12:44 PM
RTL8139 Network Card Won't Initialise Bob Hesketh Linux - Hardware 4 05-19-2004 06:15 PM

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

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