Bug 290 - eth0 not working anymore (e100e vs laptop-mode-tools)
Summary: eth0 not working anymore (e100e vs laptop-mode-tools)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 09:59 CET by Marianne Lombard
Modified: 2011-06-14 12:44 CEST (History)
8 users (show)

See Also:
Source RPM: laptop-mode-utils
CVE:
Status comment:


Attachments
dmesg outup (122.32 KB, text/plain)
2011-03-16 19:34 CET, Marianne Lombard
Details
/var/log/messages extract (33.38 KB, text/plain)
2011-03-20 17:22 CET, Marianne Lombard
Details

Description Marianne Lombard 2011-03-06 09:59:04 CET
Since a few days (the 4th of march), my ethernet card is not working anymore 

My card is a Broadcom one  (extract from lspcidrake ) : 
e1000e          : Intel Corporation|82567LM Gigabit Network Connection [NETWORK_ETHERNET] (rev: 03)

In /var/log/messages, I have plenty of lines like : 
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1a.7: PCI INT C disabled
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1d.7: BAR 0: set to [mem 0xfed1c000-0xfed1c3ff] (PCI address [0xfed1c000-0xfed1c3ff])
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1d.7: PCI INT A disabled
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1a.7: BAR 0: set to [mem 0xfed1c400-0xfed1c7ff] (PCI address [0xfed1c400-0xfed1c7ff])
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 22 (level, low) -> IRQ 22
Mar  6 09:55:31 bleuet kernel: ehci_hcd 0000:00:1a.7: PCI INT C disabled
Mar  6 09:55:32 bleuet kernel: ehci_hcd 0000:00:1d.7: BAR 0: set to [mem 0xfed1c000-0xfed1c3ff] (PCI address [0xfed1c000-0xfed1c3ff])
Mar  6 09:55:32 bleuet kernel: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20
Mar  6 09:55:32 bleuet kernel: ehci_hcd 0000:00:1d.7: PCI INT A disabled
Mar  6 09:55:32 bleuet kernel: ehci_hcd 0000:00:1a.7: BAR 0: set to [mem 0xfed1c400-0xfed1c7ff] (PCI address [0xfed1c400-0xfed1c7ff])
Mar  6 09:55:32 bleuet kernel: ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 22 (level, low) -> IRQ 22
Mar  6 09:55:32 bleuet kernel: ehci_hcd 0000:00:1a.7: PCI INT C disabled


I have try to unload the kernel module, it stop the log filing but, of course, no chance the card work without it.

Removing lines in /etc/udev/rules.d/70-persistent-net.rules had solve the problem one time but, at reboot, it fails again 

Please ask if you need more trace, more information

(eth work on windows, so it's not an hardware problem)

Reproducible: 

Steps to Reproduce:
Marianne Lombard 2011-03-06 09:59:22 CET

CC: (none) => marianne

Thierry Vignaud 2011-03-09 09:32:16 CET

CC: (none) => thierry.vignaud
Source RPM: (none) => udev

Comment 1 Thierry Vignaud 2011-03-15 09:56:25 CET
does rmmod/modprobe works?
Could you __attach__ (not paste) your whole dmesg?

Assignee: bugsquad => dmorganec

Comment 2 D Morgan 2011-03-15 23:22:38 CET
which lines did you removed in /etc/udev/rules.d/70-persistent-net.rules ?


can you please test with udev 166 ?
Comment 3 Marianne Lombard 2011-03-16 19:34:51 CET
Created attachment 130 [details]
dmesg outup

Dmesg output as asked
Comment 4 Marianne Lombard 2011-03-16 19:36:45 CET
I remove all lines who were not commentary in /etc/udev/rules.d/70-persistent-net.rules

rmmod / modprode the module used by the ethernet card is not working

I'm actually using udev 165 but I will test with the 166 
[jehane@bleuet ~]$ rpm -qa | grep udev
lib64gudev1.0_0-165-1.mga1
udev-165-1.mga1
lib64udev0-165-1.mga1
Comment 5 Marianne Lombard 2011-03-16 19:57:19 CET
Problem is the same with udev 166
[jehane@bleuet ~]$ rpm -qa | grep udev
lib64udev0-166-1.mga1
lib64gudev1.0_0-166-1.mga1
udev-166-1.mga1


Did you need dmesg output ?
Comment 6 D Morgan 2011-03-17 00:33:32 CET
as root can you do : 

udevadm control --log-priority=debug


and then attach the logs from /var/log/syslog   from udev when doing for ex a service network restart


thanks.


if you do not remove the udev rule file and do rmmod / modprode  what happens ?
Comment 7 Marianne Lombard 2011-03-20 17:20:43 CET
A rmmod / modprode has no effect.
Comment 8 Marianne Lombard 2011-03-20 17:22:35 CET
Created attachment 156 [details]
/var/log/messages extract

Here is an extract for the /var/log/messages after running the udevadm command and doing restart of the network service
Comment 9 Olivier Thauvin 2011-04-08 15:33:54 CEST
I have the same issue on my laptop (same ethernet card):

e1000e          : Intel Corporation|82567LM Gigabit Network Connection [NETWORK_ETHERNET] (rev: 03)

The problem for me is:
- no paquets are sent or received (according ifconfig and tcpdump)
- ethtool is unable to locate the interface (like it doesn't exists but ifconfig show it)
- rmmod/modprobe e1000e does nothing, only reboot seems to fix

But:
- card works fine when booting at init 1
- card stop to work at init 5
- in init 1, starting haldaemon make the interface stop to work

But disabling haldaemon with chkconfig allow me to reach init 5, starting haldaemon after didn't make the interface stop to work.

Hope this help.

CC: (none) => nanardon

Comment 10 david Cossé 2011-04-10 22:04:38 CEST
Same problem for me.
If I disabled ACPI and start at level 1, I can turn on the ethernet card but as soon as haldeamon is startded it crach.

CC: (none) => saveurlinux

Olivier Thauvin 2011-04-20 21:18:38 CEST

Priority: Normal => release_blocker

Comment 11 Michael Scherer 2011-04-21 19:02:58 CEST
According to testing I am doing with Olivier, it seems to be related to acpid, disabling it solved the issue. So now, we need to find interaction between them.

CC: (none) => misc

Comment 12 Olivier Thauvin 2011-04-21 21:19:26 CEST
After test, in my case the issue come from laptop-mode-tools. Removing the package fixes all issue about e1000e card not working anymore (eg when any acpi event occurs or when pm-suspend is called).

I was unable to reproduce by calling laptop-mode script by hand.
Thierry Vignaud 2011-04-28 14:20:15 CEST

Summary: eth0 not working anymore => eth0 not working anymore (e100e vs laptop-mode-tools)

Comment 13 Anne Nicolas 2011-05-02 10:55:15 CEST
Any new imput on that subject?

CC: (none) => ennael1, tmb

Comment 14 Marianne Lombard 2011-05-04 20:09:15 CEST
Same behaviour than Olivier. 
Removing laptop-mode-tools make my ethernet card work again
Comment 15 Ahmad Samir 2011-05-04 21:08:26 CEST
AFAICS, pm-utils and laptop-mode-utils should definitely conflict:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614024
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612710

they can be installed at the same time, i.e. there's no file conflict, but their functionalities overlap.
Ahmad Samir 2011-05-17 04:21:49 CEST

Assignee: dmorganec => bugsquad
Source RPM: udev => laptop-mode-utils

Comment 16 Ahmad Samir 2011-05-18 21:42:35 CEST
OK, pm-utils now conflicts with laptop-mode-tools, according to upstream:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612710#59

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 17 Olivier FAURAX 2011-06-10 03:04:51 CEST
I've the same problem, after an upgrade from mandriva 2010.2.
pm-utils now conflicts with laptop-mode-tools so I removed laptop-mode-tools, but it doesn't wolve the issue.

CC: (none) => olivier

Comment 18 Michael Scherer 2011-06-14 12:40:37 CEST
So the problem is different, please open a new bug report.
Comment 19 Olivier FAURAX 2011-06-14 12:44:31 CEST
Yes, already done in bug 1742.

Note You need to log in before you can comment on or make changes to this bug.