Mailinglist Archive: opensuse-kernel (22 mails)

< Previous Next >
[opensuse-kernel] driver load question
  • From: Dave Plater <dave.plater@xxxxxxxxxxx>
  • Date: Tue, 22 Jul 2008 11:06:43 +0200
  • Message-id: <4885A323.1070401@xxxxxxxxxxx>
Hi, I've asked this question on the opensuse list but was met with silence.
I have had an intermittent network connection problem since new with my msi 945GCM7 ICH7 motherboard with RTL8111C giglan. This problem has spanned factory alpha to present 11.0 retail with 2.6.25.9-0.2 kernel.
After boot although everything reports as working, my network won't connect. Sometimes restarting the network will make it work but most times not. If it is not working ethtool reports a speed of 1000Mb/s, if it is working a speed of 100Mb/s (router speed) is reported. I found in the beginning, starting with the NIC off in the bios and then rebooting with it on made it work but not always. I have changed cables etc.
I compiled the r8169 driver into the kernel and this has solved the problem 99.9% but I have to recompile after every kernel update and still have to reboot when 0.1% of the time.
The problem occured yesterday so I decided to check good and bad boot logs and found the revision number was 0xFF when the nic doesn't work and 0x02 when it does.
The relevant lines from log:-

done eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller (rev ff)
eth0 IP address: 10.0.0.54/24
doneSetting up service network . . . . . . . . . . . . . . .
.done

done eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller (rev 02)
eth0 IP address: 10.0.0.54/24
doneSetting up service network . . . . . . . . . . . . . . .
.done

What can I check for next? I enabled KDB on last compile but I have no experience using it, how would I setup a breakpoint when the incorrect version number is loaded?

Output from hwinfo.
08: PCI 300.0: 0200 Ethernet controller
[Created at pci.310]
UDI: /org/freedesktop/Hal/devices/pci_10ec_8168
Unique ID: rBUF.tMmV8WnWhuE
Parent ID: qTvu.4chw4Z9dkyF
SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0
SysFS BusID: 0000:03:00.0
Hardware Class: network
Model: "Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller"
Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller"
SubVendor: pci 0x1462 "Micro-Star International Co., Ltd."
SubDevice: pci 0x507c
Revision: 0x02 This shows 0xff when nic fails
Driver: "r8169"
Driver Modules: "r8169"
Device File: eth0
I/O Ports: 0xd800-0xd8ff (rw)
Memory Range: 0xefeff000-0xefefffff (rw,prefetchable)
Memory Range: 0xefee0000-0xefeeffff (rw,prefetchable)
Memory Range: 0xcfcf0000-0xcfcfffff (ro,prefetchable,disabled)
IRQ: 220 (4545328 events)
HW Address: 00:1d:92:82:05:c1
Link detected: yes
Module Alias: "pci:v000010ECd00008168sv00001462sd0000507Cbc02sc00i00"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #19 (PCI bridge)

Regards
Dave P

--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups