All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Brower <ebrower@usa.net>
To: sparclinux@vger.kernel.org
Subject: Re: smartctl & ioctl translation
Date: Fri, 16 Apr 2004 20:50:40 +0000	[thread overview]
Message-ID: <40804720.5070504@usa.net> (raw)
In-Reply-To: <Pine.GSO.4.44.0404121100260.28876-100000@math.ut.ee>



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



  parent reply	other threads:[~2004-04-16 20:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2004-04-17  9:35 ` Meelis Roos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40804720.5070504@usa.net \
    --to=ebrower@usa.net \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.