[Bug 665706] [NEW] RTL8139 NIC does not work (conflict 8139cp<->8139too and warm boot issue)
Jack Bauer
665706 at bugs.launchpad.net
Sat Oct 23 21:09:46 UTC 2010
Public bug reported:
I have two (possibly distinct) problems with my RTL8139 based network card in Ubuntu 10.04
(currently running Linux ubuntu 2.6.32-25):
1. Linux loads both the 8139cp and 8139too modules for the same NIC, when it should possibly
only load the 8139too driver. There are many reports of that problem on the web, so I won't
repeat that; it can be worked around that with blacklisting the 8139cp, but most users will have
huge trouble with that... That should not be necessary.
2. The 8139too driver seems not to initialize its NIC properly, especially after the system reboots
from Windows into Linux. It seems to me that this could be Bug #123358 or very similar.
The symtoms are as follows:
The driver is loaded and seems ok, but the NIC has no link (no light on either the NIC
or the switch). Re-inserting the cable or rmmod/modprobe the driver does not change anything,
nor does any ifdown/ifup/ifconfig etc.
But after a "very cold" boot (i.e. unplug the machine from mains plug - ordinary cold boot does
not suffice) the NIC works just fine if the machine boots directly into Ubuntu. So the driver should
generally work, if only the card is "in a proper state", as I suppose.
There is no difference between x86 and x64 (as far as I can tell) or generic and preemt kernels.
Another NIC with a RTL8111 chip on the same machine handled by the r8169 driver does not
have that problem either. There is no problem at all with the both cards in Windows (-> hardware
is ok).
cat /proc/version_signature:
----8<----
Ubuntu 2.6.32-25.45-preempt 2.6.32.21+drm33.7
----8<----
uname -a:
----8<----
Linux ubuntu 2.6.32-25-preempt #45-Ubuntu SMP PREEMPT Sat Oct 16 20:21:33 UTC 2010 x86_64 GNU/Linux
----8<----
lspci -vnvn (taken after cold boot when the card worked):
----8<----
06:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at 9e00 [size=256]
Region 1: Memory at fd8ff000 (32-bit, non-prefetchable) [size=256]
[virtual] Expansion ROM at fd700000 [disabled] [size=64K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: 8139too
Kernel modules: 8139too, 8139cp
----8<----
dmesg (taken from /var/log/dmesg.0 from a time when the problem existed):
----8<----
[ 1.287590] 8139too Fast Ethernet driver 0.9.28
[ 1.289160] alloc irq_desc for 20 on node 0
[ 1.289163] alloc kstat_irqs on node 0
[ 1.289173] 8139too 0000:06:06.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 1.290581] eth1: RealTek RTL8139 at 0x9e00, 00:e0:4c:59:f4:05, IRQ 20
[...] and strangely later in the log -> link indicators where dark:
[ 44.504991] eth1: link up, 100Mbps, full-duplex, lpa 0x41E1
----8<----
Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-25-preempt 2.6.32-25.45
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-25.45-preempt 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-preempt x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC1: me 2078 F.... pulseaudio
/dev/snd/controlC0: me 2078 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'CMI8738'/'C-Media CMI8738 (model 55) at 0x9c00, irq 21'
Mixer name : 'CMedia PCI'
Components : ''
Controls : 41
Simple ctrls : 22
Card1.Amixer.info:
Card hw:1 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
Mixer name : 'Realtek ALC889A'
Components : 'HDA:10ec0885,1458a102,00100101'
Controls : 40
Simple ctrls : 22
Card2.Amixer.info:
Card hw:2 'HDMI'/'HDA ATI HDMI at 0xfdafc000 irq 19'
Mixer name : 'ATI RS690/780 HDMI'
Components : 'HDA:1002791a,00791a00,00100000'
Controls : 4
Simple ctrls : 1
Card2.Amixer.values:
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Date: Sat Oct 23 22:15:27 2010
HibernationDevice: RESUME=UUID=61ad7f2d-30d7-4a7c-bdc7-e812c0d6e9a6
InstallationMedia: Ubuntu-Studio 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. GA-MA790GP-DS4H
ProcCmdLine: auto BOOT_IMAGE=Ubuntu_Studio ro root=813
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
RfKill:
SourcePackage: linux
dmi.bios.date: 06/01/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F5
dmi.board.name: GA-MA790GP-DS4H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF5:bd06/01/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA790GP-DS4H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA790GP-DS4H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA790GP-DS4H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid needs-upstream-testing networking
--
RTL8139 NIC does not work (conflict 8139cp<->8139too and warm boot issue)
https://bugs.launchpad.net/bugs/665706
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list