From: "Norman Diamond" <n0diamond@yahoo.co.jp>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>, Mark Lord <liml@rtr.ca>
Cc: Chuck Ebbert <cebbert@redhat.com>,
linux-ide@vger.kernel.org, Jens Axboe <jens.axboe@oracle.com>
Subject: Re: Kernel bug crashing in HDIO_DRIVE_TASKFILE
Date: Thu, 26 Feb 2009 06:18:48 +0900 [thread overview]
Message-ID: <DF79A3D50A1548A2A22EEFD769318266@DIAMOND8600> (raw)
In-Reply-To: 200902252035.05347.bzolnier@gmail.com
Bartlomiej Zolnierkiewicz wrote:
> On Wednesday 25 February 2009, Mark Lord wrote:
>> Norman Diamond wrote:
>> ..
>>> Does anyone know when this bug was added? 2.6.19 is too old for my
>>> needs, but the range 2.6.24 to 2.6.26 might be OK if they had taskfiles
>>> working.
>>> Maybe I should look for a Slax version that had a kernel from 2.6.24 or
>>> so, since I can probably customize it in a single day by now. But if
>>> the bug was already present in 2.6.24 then it would be a waste of time.
>>
>> Heh.. the question could be more like, does anyone know which few kernels
>> that HDIO_DRIVE_TASKFILE ever worked completely on? :)
I don't need an answer to that ^~^ 2.6.19 had it working well enough for my
program, but didn't have drivers for some chipsets.
>> I know I have to patch drivers/ide rather heavily to get a working,
>> reliable HDIO_DRIVE_TASKFILE on it.
>>
>> Much better is to move to libata, and use ATA_16 with SG_IO, for a
>> standard, working way of doing this kind of stuff.
>
> While SG_IO is definitely better way to go submitting your
> HDIO_DRIVE_TASKFILE patches wouldn't hurt...
Especially since my SG_IO code already works[*] with SATA controllers, I
sure would like to use it with ATA, but I couldn't find a way to persuade
Slax to use libata for ATA controllers. Does anyone have suggestions?
Meanwhile I also can't help wondering, if Mark Lord has patched drivers/ide
to make it work, why has he delayed submitting the patches?
With my immense expertise, I only needed a few hours to find where the limit
of 65536 bytes is explained in documentation so that users will know not to
use HDIO_DRIVE_TASKFILE with some nonsense buffer size like 131072.
I forgot which document where a pair of if statements document that fact,
but the filename ended in .c. Of course this does beat Windows where we
don't get to see that kind of documentation at all. Anyway, I wouldn't dare
patch that stuff unless I'd been working on it for say at least a week ^~^
[* Wait a minute. My SG_IO code already worked in which kernel version, and
now I have to test if it still works now. Arrrrrgggggghhhhhh.]
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
next prev parent reply other threads:[~2009-02-25 21:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-24 11:36 Kernel bug crashing in HDIO_DRIVE_TASKFILE Norman Diamond
2009-02-24 22:10 ` Chuck Ebbert
2009-02-25 11:43 ` Norman Diamond
2009-02-25 16:24 ` Mark Lord
2009-02-25 19:35 ` Bartlomiej Zolnierkiewicz
2009-02-25 21:18 ` Norman Diamond [this message]
2009-02-25 22:43 ` Mark Lord
2009-02-26 11:56 ` Norman Diamond
2009-02-28 3:14 ` Robert Hancock
2009-03-01 0:58 ` Norman Diamond
2009-03-01 1:16 ` Alan Cox
2009-03-01 11:06 ` Robert Hancock
2009-03-02 0:24 ` Norman Diamond
2009-03-02 2:38 ` Robert Hancock
2009-03-02 11:43 ` Norman Diamond
2009-03-11 22:33 ` Bartlomiej Zolnierkiewicz
2009-03-11 23:00 ` Norman Diamond
-- strict thread matches above, loose matches on Subject: below --
2009-03-03 11:44 Norman Diamond
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=DF79A3D50A1548A2A22EEFD769318266@DIAMOND8600 \
--to=n0diamond@yahoo.co.jp \
--cc=bzolnier@gmail.com \
--cc=cebbert@redhat.com \
--cc=jens.axboe@oracle.com \
--cc=liml@rtr.ca \
--cc=linux-ide@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox