Skip to contentSkip to conversation

New: System unresponsive if I unplug network cable while ethtool -p is running

Bugme-new Andrew Morton 1 participant 1 message Sep 11, 2009 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): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 25 lines · On Wed, 9 Sep 2009 00:06:10 GMT [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=14147

Summary: System unresponsive if I unplug network cable while
ethtool -p is running
Product: Networking
Version: 2.5
Kernel Version: 2.6.30
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

When a user runs the "ethtool -p ethX" to identify the physical interface by flashing the appropriate interface LED, and then removes the cable at that interface, the keyboard locks up. This is naturally annoying to customers with multi-port systems, who wish to use ethtool -p so that they can disconnect/connect interface cables to appropriate ports.

Quoted 7 lines

I am told that this is because "the RTNL lock is held by ethtool, and the link [down] message needs the RTNL", which would, I think, make this a kernel issue.

This has been known about within INTEL for over 3 years, but only recently come to my attention. I have verified it on a 2.6.30 system using a default kernel configuration and the e1000e driver.

hah. cute.