Hi Ritesh,

On Mon, Dec 07, 2015 at 10:38:17PM +0530, Ritesh Raj Sarraf wrote:
>Hello Steve,
>
>On Mon, 2015-12-07 at 16:23 +0000, Steve McIntyre wrote:
>> 
>> Hi!
>> 
>> This *may* be related to #786444, but I'm not sure so I'm reporting
>> separately.
>
>Yes. Looks like you may have the same bug. And I haven't even looked
>into that one. :-(
>
>> On my Thinkpad, I'm seeing laptop-mode always disable the wired
>> interface eth0 when power is removed, even when I'm using the
>> interface and it clearly has link. However, I can see something is
>> buggering with things here on the networking front. If I run "ip link
>> show eth0" multiple times while I disconnect and reconnect the power
>> cable, I get the following weirdness. Both shortly after
>> disconnection
>> and shortly after reconnection, I'm seeing a short period of
>> NO-CARRIER. Maybe something is causing a re-negotiate here - some of
>> the other calls to ethtool in the ethernet module?
>
>In both these bug reports, the version is the older 1.66 one. Would it
>be possible for you to test with the latest from testing/unstable ?
>
>It has 1 fix that is related to the ethernet module, and it also has a
>large number of fixes related to systemd integration. 
>
>I don't see laptop-mode-tools pulling in any new dependency, so it
>should be just a simple dpkg -i.

Sure, no problem. Just done that and run with debug turned on. It
seems to help - I'm no longer getting the wired networking turned
off. Feel free to close this bug if you like.

I *do* get a glitch in the networking, though, which looks like it's
coming from line 124 - it's trying to adjust (un-throttle) the
network. That's giving a suspicious error in line 208 of the log:

Dec  7 17:35:40 tack laptop_mode[14441]: + [ x0 = x1 ]
Dec  7 17:35:40 tack laptop_mode[14441]: + /sbin/ethtool -s eth0 speed 1000
Dec  7 17:35:40 tack systemd[1]: Stopped Run anacron jobs.
Dec  7 17:35:40 tack laptop_mode[14441]: + ret=Cannot advertise speed 1000
Dec  7 17:35:40 tack laptop_mode[14441]: + exit_status=0
Dec  7 17:35:40 tack laptop_mode[14441]: + log VERBOSE Cannot advertise speed 
1000

For a config with disabled throttling, it would be better to not
bugger with this at all, surely.

-- 
Steve McIntyre, Cambridge, UK.                                st...@einval.com
"When C++ is your hammer, everything looks like a thumb." -- Steven M. Haflich

Reply via email to