Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RTL-8139 hang on load
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Mrs Kensington
n00b
n00b


Joined: 04 Jan 2003
Posts: 44

PostPosted: Sun Oct 22, 2006 10:22 am    Post subject: RTL-8139 hang on load Reply with quote

Hi Guys!

I'm having trouble with my network card on my laptop, it's a RTL-8139/8139C/8139C+ (rev 10), when ever I load the 8139too driver my machine completely hangs up and I have to hold the power button down to get it to turn off. This happens on boot up when coldplug tries to load the drver so i've currently moved the modules out of the modules tree. Luckily I've managed to get the wireless working so I can still use the laptop.

I've tried it with loading the 8139cp driver first and without. The problem is that there is no error message either to the console or to syslog so I have no idea where to start looking.

I'm running 2.6.17-gentoo-r4 and lspci gives me...

Quote:
scott ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:1b.0 Class 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 Class 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Network controller: Intel Corporation Unknown device 4222 (rev 02)
03:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
03:06.0 FireWire (IEEE 1394): O2 Micro, Inc. Unknown device 00f7 (rev 02)
03:06.2 Class 0805: O2 Micro, Inc. Unknown device 7120 (rev 01)
03:06.3 Mass storage controller: O2 Micro, Inc. Unknown device 7130 (rev 01)


One thing I have noticed is the device above the realtek listing is unknown, is this likely to affect it?

Does any one have any ideas what could be wrong or how I can get an error message so I have something to work on.

Thanks in advance for any help!

Mrs K
Back to top
View user's profile Send private message
Mrs Kensington
n00b
n00b


Joined: 04 Jan 2003
Posts: 44

PostPosted: Sat Nov 18, 2006 2:34 pm    Post subject: Reply with quote

I just tried the Latest Knoppix and Ubuntu Live CD's and both of those have the same issue. The machine just stops responding when they get to hardware detection.

I'm gonna try compiling gentoo-sources-2.6.18-r2 and if that doesn't work try the vanilla kernel just in case.

If that doesn't work I'll have to start looking at the code and try and work out where it crashes... that could take a long long time though. If anyone has any ideas what the problem is or how I can get some debug information that would be great.

Mrs K
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 931

PostPosted: Sat Nov 18, 2006 4:47 pm    Post subject: Reply with quote

I have the same controller in my laptop, and it has worked flawlessly throughout all 2.6 kernel revs in
the past two years or so, and also with FreeBSD 6.x.

# lspci -v
...
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Toshiba America Info Systems Unknown device ff00
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 3000 [size=256]
Memory at d2004800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

# lsmod|grep 813
8139too 18304 0
mii 2816 1 8139too

It looks to me like the unknown device is the wireless network device, which you say works fine.

Have you tried to compile the driver directly into the kernel, rather than using a module?
Actually, this might not be such a good idea, you might lock yourself out completely ...

You could try to enable debugging when compiling the driver (RTL8139_DEBUG) and see if anything
pops up when modprobing it.

It looks like a hardware problem to me, though, and you may want to get the motherboard replaced if
it's still under warranty. If that's not an option, you could remove the driver from your kernel config
completely ans get a PCMCIA ethernet card instead.

Sorry I cannot be of more help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum