Bug 151892 - ethernet partly broken after suspend/resume (8139cp)
Summary: ethernet partly broken after suspend/resume (8139cp)
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 4
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Forgotten User ZhJd0F0L3x
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 17:58 UTC by Will Stephenson
Modified: 2006-03-14 09:12 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/messages around suspend/resume cycle - resume at 16:20 (26.24 KB, text/plain)
2006-02-22 17:33 UTC, Will Stephenson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will Stephenson 2006-02-17 17:58:39 UTC
After I suspend and resume my laptop, the 8139 ethernet onboard gets a link local 169.254 address only from NetworkManager.  It does not detect cable plug/unplug any longer, and if I configure the network interface by hand, it is still unable to ping anything.  Removing and reinserting the 8139cp module does not help either, I have to reboot the machine fully to get a working ethernet interface again.

This worked in 10.0.
Comment 1 Lynn Bendixsen 2006-02-21 19:23:53 UTC
Since this bug does not appear to be Xen related I am reassigning this to the screening team.
Comment 2 Michael Gross 2006-02-21 19:47:58 UTC
It's no XEN problem allright.
Will: Can you attach about 200 lines of the syslog here?
Comment 3 Will Stephenson 2006-02-22 17:33:18 UTC
Created attachment 69838 [details]
/var/log/messages around suspend/resume cycle - resume at 16:20

I never said it was XEN based. 


Note from the original report that the problem does not seem to be NetworkManager related, i cannot get the network interface to work by hand configuration of a static IP or by calling dhclient manually.
Comment 4 Will Stephenson 2006-02-23 08:34:22 UTC
Some others are having this problem too: see

http://mail.gnome.org/archives/networkmanager-list/2006-February/msg00090.html
http://mail.gnome.org/archives/networkmanager-list/2006-February/msg00215.html

My /sys/class/net/eth0/carrier is 1 before suspend and 1 after resume.  ifconfig shows that eth0 is UP in both cases.

Unplugging and replugging the ethernet cable after resume does not create any output in the system log.

Comment 5 Michael Gross 2006-02-23 10:35:05 UTC
Mobile team: Can you provide a comment here?
Comment 6 Stefan Behlert 2006-02-23 10:49:31 UTC
With even manual configuration not producing a working connection I would say it's either a driver problem or an IRQ-problem. I'd say it's something for the kernel-guys.
Will, can you tell us the pci-ids of the network card, please, so I can see if we have anothe rmachine with that card.
Comment 7 Michael Gross 2006-02-23 11:03:46 UTC
Will, try booting with pci=noacpi or pci=routeirq - maby this helps.
Comment 8 Will Stephenson 2006-02-23 11:21:02 UTC
02:01.0 Class 0200:10ec:8139 (rev 20).  

I have the machine here if you want to borrow it.  

On suspend I get the message "Disabling IRQ #10", testing as michaelg suggests.
Comment 9 Will Stephenson 2006-02-23 11:22:46 UTC
Stefan, when I am not using NM, I can hand configure the network, after it resumes borken.
"
Suspend
Resume
rcnetwork stop
ifconfig eth0 10.10.103.190 netmask 255.255.0.0
ping 10.10.0.8 
"
works.  

With NM involved, even after rcnetwork stop, this doesn't help.
Comment 10 Stefan Behlert 2006-02-23 12:57:13 UTC
Ah, then I misunderstood the first comment. Seife, can you please take care of that? We have a few machines with that type of NIC, and if necessary Will has offered his machine.
Comment 11 Will Stephenson 2006-02-23 14:52:15 UTC
pci=noacpi or pci=routeirq don't help - with noacpi the driver can't initialize eth0 at all.
Comment 12 Thomas Renninger 2006-03-02 14:33:48 UTC
Does apic boot param help?
Comment 13 Will Stephenson 2006-03-03 12:41:31 UTC
apic didn't help either.
Comment 14 Will Stephenson 2006-03-14 09:12:52 UTC
Works now in beta7