Skip to contentSkip to conversation

ethtool: NIC blink

BUG Ben Hutchings 2 participants 2 messages May 20, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CFA0BA5E.2E2E6%[email protected]

#1 lore raw

[Re-sending with cc to netdev]

Quoted 10 lines · Shawn Warren

Hello Ben and NetDev,

I am curious how exactly the ethtool –p flag works when blinking interface lights. I ran into an issue on a DELL R820 with an Intel proc that when I blinked an interface and put ethtool in the background, the load on the server began steadily increasing. I ran the following command to reproduce the issue:

Quoted 5 lines
# ethtool –p eth2 3600 &

The load increased until the ethtool process was halted. Is this a known bug/issue?

It's not a bug in the ethtool utility.

Perhaps you have run into the problem explained in
<https://git.kernel.org/linus/68f512f21a64c9b264df6c61a9333e7890faf74b>.
The load will increase as processes wait (uninterruptibly) to obtain the RTNL lock. They will appear as being in D state.

This was fixed in Linux 3.0, but older versions can't practically be fixed as it required an incompatible change to the driver API.

Ben.

Signature · 2 lines
Ben Hutchings
Life would be so much easier if we could look at the source code.
#2 lore raw

Hello Ben,

Thank you for sharing this link. This sounds about right for what I saw but I was not checking the network connections to the server looking for RTNL. Once I have a test server up and confirm this I will respond back.

Thanks,

Shawn Warren
Rackspace hosting

Quoted 34 lines · Ben Hutchings

[Re-sending with cc to netdev]

Quoted 10 lines · Shawn Warren

Hello Ben and NetDev,

I am curious how exactly the ethtool ­p flag works when blinking interface lights. I ran into an issue on a DELL R820 with an Intel proc that when I blinked an interface and put ethtool in the background, the load on the server began steadily increasing. I ran the following command to reproduce the issue:

Quoted 5 lines
# ethtool ­p eth2 3600 &

The load increased until the ethtool process was halted. Is this a known bug/issue?

It's not a bug in the ethtool utility.

Perhaps you have run into the problem explained in
<https://git.kernel.org/linus/68f512f21a64c9b264df6c61a9333e7890faf74b>.
The load will increase as processes wait (uninterruptibly) to obtain the RTNL lock. They will appear as being in D state.

This was fixed in Linux 3.0, but older versions can't practically be fixed as it required an incompatible change to the driver API.

Ben.

Signature · 2 lines
Ben Hutchings
Life would be so much easier if we could look at the source code.