2001-11-28 04:46:22

by Randy Hron

[permalink] [raw]
Subject: 2.5.1-pre2 elvtune: ioctl get: Inappropriate ioctl for device

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.

--
Randy Hron


2001-11-28 10:30:05

by Martin Dalecki

[permalink] [raw]
Subject: Re: 2.5.1-pre2 elvtune: ioctl get: Inappropriate ioctl for device

[email protected] wrote:
>
> 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


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