* smartctl & ioctl translation
@ 2004-04-12 8:01 Meelis Roos
2004-04-16 19:33 ` David S. Miller
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Meelis Roos @ 2004-04-12 8:01 UTC (permalink / raw)
To: sparclinux
smartctl -a does not work on 2.6.5 sparc64 (Debian unstable). Does the
kernel need some more ioctl32 translations or does smartmontools need a
recompile against newer headers?
ioctl32(smartctl:3717): Unknown cmd fd(3) cmd(0000031e){00} arg(effe0790) on /dev/hda
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: smartctl & ioctl translation
2004-04-12 8:01 smartctl & ioctl translation Meelis Roos
@ 2004-04-16 19:33 ` David S. Miller
2004-04-16 20:50 ` Eric Brower
2004-04-17 9:35 ` Meelis Roos
2 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2004-04-16 19:33 UTC (permalink / raw)
To: sparclinux
On Mon, 12 Apr 2004 11:01:56 +0300 (EEST)
Meelis Roos <mroos@linux.ee> wrote:
> smartctl -a does not work on 2.6.5 sparc64 (Debian unstable). Does the
> kernel need some more ioctl32 translations or does smartmontools need a
> recompile against newer headers?
I believe the former, can you look at the smartctl sources and let
me know which ioctl command number macros it makes use of in
it's ioctl() calls?
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: smartctl & ioctl translation
2004-04-12 8:01 smartctl & ioctl translation Meelis Roos
2004-04-16 19:33 ` David S. Miller
@ 2004-04-16 20:50 ` Eric Brower
2004-04-17 9:35 ` Meelis Roos
2 siblings, 0 replies; 4+ messages in thread
From: Eric Brower @ 2004-04-16 20:50 UTC (permalink / raw)
To: sparclinux
David S. Miller wrote:
> On Mon, 12 Apr 2004 11:01:56 +0300 (EEST)
> Meelis Roos <mroos@linux.ee> wrote:
>
>
>>smartctl -a does not work on 2.6.5 sparc64 (Debian unstable). Does the
>>kernel need some more ioctl32 translations or does smartmontools need a
>>recompile against newer headers?
>
>
> I believe the former, can you look at the smartctl sources and let
> me know which ioctl command number macros it makes use of in
> it's ioctl() calls?
For IDE drives:
HDIO_DRIVE_TASK
HDIO_GET_IDENTITY
HDIO_DRIVE_CMD
For SCSI drives:
SCSI_IOCTL_SEND_COMMAND
Meelis must be seeing this for IDE drives, not SCSI-- it seems there is
no translation for HDIO_DRIVE_TASK (at least in my 2.4.23rc5 kernel and
the lxr of 2.6.5). SCSI works fine.
E
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: smartctl & ioctl translation
2004-04-12 8:01 smartctl & ioctl translation Meelis Roos
2004-04-16 19:33 ` David S. Miller
2004-04-16 20:50 ` Eric Brower
@ 2004-04-17 9:35 ` Meelis Roos
2 siblings, 0 replies; 4+ messages in thread
From: Meelis Roos @ 2004-04-17 9:35 UTC (permalink / raw)
To: sparclinux
> Meelis must be seeing this for IDE drives, not SCSI-- it seems there is
> no translation for HDIO_DRIVE_TASK (at least in my 2.4.23rc5 kernel and
> the lxr of 2.6.5). SCSI works fine.
Yes, Ultra 5 with original IDE hdd.
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-17 9:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-12 8:01 smartctl & ioctl translation Meelis Roos
2004-04-16 19:33 ` David S. Miller
2004-04-16 20:50 ` Eric Brower
2004-04-17 9:35 ` Meelis Roos
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.