From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Erik Slagter <erik@slagter.name>
Cc: Jeff Garzik <jgarzik@pobox.com>, Mark Lord <liml@rtr.ca>,
linux-ide@vger.kernel.org
Subject: Re: libata and PATA devices
Date: Thu, 11 Aug 2005 12:03:09 +0200 [thread overview]
Message-ID: <58cb370e05081103031cb9ccdb@mail.gmail.com> (raw)
In-Reply-To: <1123753051.4226.22.camel@localhost.localdomain>
On 8/11/05, Erik Slagter <erik@slagter.name> wrote:
> On Wed, 2005-08-10 at 23:57 -0400, Jeff Garzik wrote:
>
> > > Most current laptops ship with a PATA hard drive, and a PATA
> > > ATAPI drive. The easiest way to make them usable under Linux-2.6
New laptops rather ship with:
SATA (or PATA + bridge) hard disk and PATA ATAPI drive
> > > is to patch libata and turn on ATAPI support, using ata_piix.
> >
> > No, the best thing to do is use the IDE driver for PATA. That is the
> > most stable, most well-tested path to ATAPI support at present.
> >
> > > This REALLY ought to be on by default now, Jeff.
> > > Especially since the default is to NOT work at all..
> >
> > Correct, because currently no one should be using libata for PATA support.
>
> You are sort of contradicting yourself. My setup (Dell laptop with ICH6M
> and PATA harddisk) defaults to using libata for the PATA hardisk. Only
Are you sure?
I suspect that you have SATA-PATA converter inside the laptop
(or you are simply not using vanilla kernel).
> with a specific patch (which adds the PCI id to the IDE driver's id
> list, and which was not quite accepted here) the IDE driver will
> recognise the ICH6M and use it (and then it works fine).
Yes, current situation with ICH6M support really sucks as many laptops
are set to use combined mode and don't have BIOS option to disable it
so users end up with unusable ATAPI device (== limited to PIO mode
only because DMA region is already reserved by libata and cannot be
used by IDE driver).
Jeff, what is the current status of libata ATAPI support? IMO changes
(from you, Albert and Tejun) just need some polishing and merging,
or there is still some major work to do?
OTOH IDE driver should handle combined mode just fine and provide
working ATAPI DMA (+ SMART support for HDD). I prefer to not go
this way but the libata development is *extremely* slow (I'm not blaming
anyone just stating the fact)...
Bartlomiej
> > Turning on ATAPI and PATA support by default will break existing setups.
>
> > > The libata code is taking forever to catch up to modern reality,
> > > mostly because so much of it lives eternally in Jeff's private
> > > git repository, where only a few people ever exercise the code.
> >
> > Exaggeration. We're talking about a single #define here, to enable ATAPI.
>
> How about a simple configure option...
next prev parent reply other threads:[~2005-08-11 10:03 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-07 17:48 libata and PATA devices Andreas Klöckner
2005-08-08 1:43 ` Tejun Heo
2005-08-08 3:02 ` Jeff Garzik
2005-08-08 10:10 ` Erik Slagter
2005-08-09 13:48 ` Mark Lord
2005-08-09 14:10 ` Mark Lord
2005-08-09 18:01 ` Jeff Garzik
2005-08-09 17:05 ` Erik Slagter
2005-08-09 18:02 ` Jeff Garzik
2005-08-09 17:59 ` Jeff Garzik
2005-08-11 3:57 ` Jeff Garzik
2005-08-11 9:37 ` Erik Slagter
2005-08-11 10:03 ` Bartlomiej Zolnierkiewicz [this message]
2005-08-11 10:17 ` Erik Slagter
2005-08-11 10:26 ` Bartlomiej Zolnierkiewicz
2005-08-11 15:29 ` Erik Slagter
2005-08-11 15:57 ` Bartlomiej Zolnierkiewicz
2005-08-11 16:48 ` Erik Slagter
2005-08-11 17:05 ` Mark Lord
2005-08-11 17:19 ` Jeff Garzik
2005-08-11 19:38 ` Erik Slagter
2005-08-11 20:19 ` Wes Newell
2005-08-11 20:21 ` Jeff Garzik
2005-08-11 20:25 ` Jeff Garzik
2005-08-13 11:30 ` Erik Slagter
2005-08-13 15:33 ` Jeff Garzik
2005-08-13 15:50 ` Erik Slagter
2005-08-13 15:56 ` Jeff Garzik
2005-08-13 16:03 ` Erik Slagter
2005-08-13 16:44 ` Jeff Garzik
2005-08-13 16:53 ` Erik Slagter
2005-08-15 21:39 ` Mark Lord
2005-08-16 7:21 ` Erik Slagter
2005-08-13 15:56 ` Tyler
2005-08-13 15:57 ` Jeff Garzik
2005-08-13 16:05 ` Erik Slagter
2005-08-13 16:42 ` Jeff Garzik
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=58cb370e05081103031cb9ccdb@mail.gmail.com \
--to=bzolnier@gmail.com \
--cc=erik@slagter.name \
--cc=jgarzik@pobox.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;
as well as URLs for NNTP newsgroup(s).