Skip to contentSkip to conversation

Ethtool doesn't work on Debian unstable?

DISCUSSION cliff white 2 participants 3 messages Mar 10, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This is wierd. I know I am doing something Real Stupid, but i can't figure it out.

Two systems. 2.6.11 kernel on both systems.
One runs RedHat 9.0, and ethtool Just Works:
ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:

RX:             256
RX Mini:        0
RX Jumbo:       0
TX:             256
Current hardware settings:
RX:             64
RX Mini:        0
RX Jumbo:       0
TX:             64

--------------------
The other is Debian unstable, and nothing works:
ethtool -g eth0
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
------------------------
If i strace, i see the ioctl failing on the Debian side:

7657  munmap(0xb7fd6000, 75321)         = 0
7657  socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
7657  fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 5), ...}) = 0
7657  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe8000
7657  write(1, "Ring parameters for eth1:\n", 26) = 26
7657  ioctl(3, SIOCETHTOOL, 0xbffffd30) = -1 EOPNOTSUPP (Operation not supported)
7657  dup(2)                            = 4

------------------------
Can anyone help me here? I'd like to use Debian for this testing, but so far, no love. cliffw

Signature · 2 lines
"Ive always gone through periods where I bolt upright at four in the morning; 
now at least theres a reason." -Michael Feldman
#1 lore raw
Quoted 29 lines · cliff white

This is wierd. I know I am doing something Real Stupid, but i can't figure it out.

Two systems. 2.6.11 kernel on both systems. One runs RedHat 9.0, and ethtool Just Works:
ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:

RX:             256
RX Mini:        0
RX Jumbo:       0
TX:             256
Current hardware settings:
RX:             64
RX Mini:        0
RX Jumbo:       0
TX:             64

--------------------
The other is Debian unstable, and nothing works:
ethtool -g eth0
Ring parameters for eth0:
Cannot get device ring settings: Operation not supported
------------------------
If i strace, i see the ioctl failing on the Debian side:

7657  munmap(0xb7fd6000, 75321)         = 0
7657  socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
7657  fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 5), ...}) = 0
7657  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe8000
7657  write(1, "Ring parameters for eth1:\n", 26) = 26
7657  ioctl(3, SIOCETHTOOL, 0xbffffd30) = -1 EOPNOTSUPP (Operation not supported)
7657  dup(2)                            = 4
Quoted 5 lines

------------------------
Can anyone help me here? I'd like to use Debian for this testing, but so far, no love. cliffw

Most likely the other debian system just is using a network driver that do not support ethtool, or even just that ethtool command. ethtool support differs a lot between drivers, with quite a few not supporting ethtool at all.

#2 lore raw
Quoted 4 lines · On Thu, 10 Mar 2005 23:15:31 +0100 Andre Tomt <[email protected]> wrote:
Quoted 3 lines · cliff white

This is wierd. I know I am doing something Real Stupid, but i can't figure it out.

Two systems. 2.6.11 kernel on both systems.

[snip]

eration not supported)

Quoted 7 lines
Quoted 6 lines

7657 dup(2) = 4
------------------------
Can anyone help me here? I'd like to use Debian for this testing, but so far, no love. cliffw

Quoted 5 lines

Most likely the other debian system just is using a network driver that do not support ethtool, or even just that ethtool command. ethtool support differs a lot between drivers, with quite a few not supporting ethtool at all.

Okay, my stupid. Had the wrong driver. Nothing to see here,move along cliffw

Signature · 2 lines
"Ive always gone through periods where I bolt upright at four in the morning; 
now at least theres a reason." -Michael Feldman