Skip to contentSkip to conversation

2.5.1-pre2 elvtune: ioctl get: Inappropriate ioctl for device

DISCUSSION [email protected] 2 participants 2 messages Nov 28, 2001

lore
Share & tools
lore
#0 lore raw

This may be a kernel in transition thing, or perhaps a util-linux has to change.

In 2.5.1-pre2:

/usr/src# elvtune /dev/hda
ioctl get: Inappropriate ioctl for device

/usr/src# nm linux-2.5.1-pre1/vmlinux|grep elv.*ioctl c0187400 T blkelvget_ioctl
c01874b0 T blkelvset_ioctl

/usr/src# nm linux-2.5.1-pre2/vmlinux|grep elv.*ioctl /usr/src#

Recompiling util-linux-2.11m with or without the new elevator.h doesn't change elvtune's output.

..

2.5.1-pre2 passes 11 Linux Test Project "personality" tests that are broken in 2.5.1-pre1 and 2.4.16.

Signature · 1 line
Randy Hron
#1 lore raw
Quoted 4 lines · [email protected] wrote:

This may be a kernel in transition thing, or perhaps a util-linux has to change.

Quoted 8 lines

In 2.5.1-pre2:

/usr/src# elvtune /dev/hda
ioctl get: Inappropriate ioctl for device

/usr/src# nm linux-2.5.1-pre1/vmlinux|grep elv.*ioctl c0187400 T blkelvget_ioctl
c01874b0 T blkelvset_ioctl

THis program is obsolete on 2.5.1-pre2. The elevator handling changed much.