From: Andries Brouwer <aebr@win.tue.nl>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: tillman@viewcast.com (Scott Tillman),
dalecki@evision-ventures.com (Martin Dalecki),
B.Zolnierkiewicz@elka.pw.edu.pl (Bartlomiej Zolnierkiewicz),
arcolin@arcoide.com (Garet Cammer),
linux-kernel@vger.kernel.org
Subject: Re: Need IDE Taskfile Access
Date: Sat, 22 Jun 2002 01:09:29 +0200 [thread overview]
Message-ID: <20020621230929.GA18045@win.tue.nl> (raw)
In-Reply-To: <E17LX56-0001nL-00@the-village.bc.nu>
On Fri, Jun 21, 2002 at 11:40:40PM +0100, Alan Cox wrote:
> > I'm working with a group of people in an effort to get Linux running on the
> > XBox. The XBox uses a set of security PIO commands to restrict access to
> > the IDE drive, requiring a 32 byte password to be delivered before sector
> > access is allowed. As far as I can tell from my investigations and from
> > earlier discussions with Andre there is currently no way to issue this
> > command. If I'm wrong in my estimation just let me know how, otherwise I
> > simply wish add my voice to the (albeit small) outcry for supporting the
> > entire ATA spec.
>
> That would I suspect be something for the kerneli patch.
No. Don't be misled by the "password". Translated into driver language
the question just is: I have a vendor-unique command that must transport
data to the disk. How? And if it doesnt work today the possibility must
be added.
(Long ago I had various small programs that did vendor-unique things
to ata floppies, zip drives, large ide drives and the like.
Commands for doorlocking, for switching between removable disk / big floppy
mode, for reading and setting the native max address, etc.
Unfortunately some random patch that accompanied one of these programs
got into the official tree, so that we now have the HDIO_DRIVE_CMD ioctl.
It does do_cmd_ioctl(). But that was special purpose for setmax,
not general purpose, and it does not transport data to the disk.
We need a slightly more general interface. Maybe we do have it already,
I have not watched this closely.)
Andries
next prev parent reply other threads:[~2002-06-21 23:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <004701c216cf$efd1ca60$8201a8c0@arcoi0s17j2t0x>
2002-06-18 14:38 ` Martin Dalecki
2002-06-18 16:22 ` Andre Hedrick
2002-06-18 19:32 ` Bartlomiej Zolnierkiewicz
2002-06-19 7:54 ` Martin Dalecki
2002-06-19 22:43 ` Scott Tillman
2002-06-19 22:52 ` Dave Jones
2002-06-20 16:36 ` Scott Tillman
2002-06-20 6:24 ` H. Peter Anvin
2002-06-21 22:40 ` Alan Cox
2002-06-21 23:09 ` Andries Brouwer [this message]
2002-06-21 23:45 ` Alan Cox
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=20020621230929.GA18045@win.tue.nl \
--to=aebr@win.tue.nl \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arcolin@arcoide.com \
--cc=dalecki@evision-ventures.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tillman@viewcast.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®