Skip to contentSkip to conversation

no carrier detection after resume from swsusp (8139too)

DISCUSSION Nikolaus Filus 3 participants 3 messages Feb 22, 2006 – Feb 23, 2006 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Cc networkamanger-list, as it seems now to be related to nm
Quoted 5 lines · Francois Romieu

(owner of http://bugzilla.kernel.org/show_bug.cgi?id=5681 Cc:ed)

Nikolaus Filus <[email protected]> :
[...]

Quoted 8 lines
Quoted 5 lines

I'm using linux 2.6.14.3 with swsusp2 2.2rc14 (not the most new ones). Since I'm using NetworkManager, which switches and manages my wired and wireless devices, I have to reload 8139too after resume, before plugin events of wired network are recognized. Some other users of NM are reporting similar problems.

May I assume that your 8139too device does not need to be reloaded when you suspend/resume and NM is not used ?

I didn't look enough on this issue before.

After resume, I get "invalid argument" from /sys/class/net/eth1/carrier. Reloading the driver *OR* restarting networkmanager solves the problem! Is it possible a process like nm blocks some ressources, which are re-initialised by reloading the driver or restarting nm? Notice, that just stopping nm is not enough.

Thanks in advance,

Nikolaus

#3 lore raw
Quoted 9 lines · Nikolaus Filus

I didn't look enough on this issue before.

After resume, I get "invalid argument" from /sys/class/net/eth1/carrier. Reloading the driver *OR* restarting networkmanager solves the problem! Is it possible a process like nm blocks some ressources, which are re-initialised by reloading the driver or restarting nm? Notice, that just stopping nm is not enough.

Thanks in advance,

e100 or e1000?

carrier' returns EINVAL if the device is not UP. It might be a bug in NM if the device is not UP after a resume. What does ifconfig eth1` show before and after a resume?

Robert Love

#4 lore raw
Quoted 1 line · Robert Love

e100 or e1000?

8139cp here. Seems to have picked up this behaviour since SL10.1beta2 or so, still in beta4.

See https://bugzilla.novell.com/show_bug.cgi?id=151892

Quoted 3 lines

carrier' returns EINVAL if the device is not UP. It might be a bug in NM if the device is not UP after a resume. What does ifconfig eth1` show before and after a resume?

carrier is 1 before and after, eth0 is UP before and after, restarting NM doesn't help, nor does stopping NM, rmmod, modprobe, and starting NM.

I didn't think it is NM related, as I could not configure the network by hand
after resume. However, I just switched my network config to SUSE
traditional ifup+ifplugd (joys of flexibility), and although eth0 does not work on resume, rcnetwork restart fixes it, whereas when NM is in charge, this does not help. So my understanding is NM is not the direct cause but is a contributing factor.

Will

eth0 Link encap:Ethernet HWaddr 00:02:3F:67:0A:E3

          inet addr:169.254.137.164  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::202:3fff:fe67:ae3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2769 errors:0 dropped:3144 overruns:0 frame:0
          TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:285833 (279.1 Kb)  TX bytes:14752 (14.4 Kb)
          Interrupt:10 Base address:0x2000 

eth1 Link encap:Ethernet HWaddr 00:0C:F1:13:76:CB
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:5 Memory:90000000-90000fff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:277 errors:0 dropped:0 overruns:0 frame:0 TX packets:277 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:21838 (21.3 Kb) TX bytes:21838 (21.3 Kb)

eth0 Link encap:Ethernet HWaddr 00:02:3F:67:0A:E3

          inet addr:10.10.101.143  Bcast:10.10.255.255  Mask:255.255.0.0
          inet6 addr: 2001:780:101:a00:202:3fff:fe67:ae3/64 Scope:Global
          inet6 addr: fe80::202:3fff:fe67:ae3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2210 errors:0 dropped:0 overruns:0 frame:0
          TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:251842 (245.9 Kb)  TX bytes:14494 (14.1 Kb)
          Interrupt:10 Base address:0x2000 

eth1 Link encap:Ethernet HWaddr 00:0C:F1:13:76:CB
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:5 Memory:90000000-90000fff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:149 errors:0 dropped:0 overruns:0 frame:0 TX packets:149 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:12784 (12.4 Kb) TX bytes:12784 (12.4 Kb)

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list