All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: petkovbb@gmail.com, linux-kernel@vger.kernel.org,
	linux-ide@vger.kernel.org
Subject: Re: IDE S.M.A.R.T. ioctl errors
Date: Mon, 28 Jul 2008 17:55:42 -0400	[thread overview]
Message-ID: <488E405E.4010300@rtr.ca> (raw)
In-Reply-To: <200807281822.05211.bzolnier@gmail.com>

If we're going to continue to keep drivers/ide on life-support,
then perhaps one should just add SG_IO::ATA_16 support into it
and leave the "legacy" ioctls alone.

I've done this for linux-2.2.xx (really!), and the patch was rather
tiny indeed -- and that custom kernel now supports all of the fancy
ioctl() needs of hdparm-8.9 and smartctl.

Perhaps a similar patch for drivers/ide ?

Here's my 2.2.xx hack for perusal:
 http://empeg-hijack.sourceforge.net/patches/relative/v489-v490.patch.gz

It won't work on current kernels, of course, but perhaps something similar would.

Cheers

  reply	other threads:[~2008-07-28 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28  6:01 IDE S.M.A.R.T. ioctl errors Borislav Petkov
2008-07-28 14:44 ` Bartlomiej Zolnierkiewicz
2008-07-28 16:16   ` Boris Petkov
2008-07-28 16:22     ` Bartlomiej Zolnierkiewicz
2008-07-28 21:55       ` Mark Lord [this message]
2008-08-02 16:38         ` Bartlomiej Zolnierkiewicz

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=488E405E.4010300@rtr.ca \
    --to=liml@rtr.ca \
    --cc=bzolnier@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petkovbb@gmail.com \
    /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.