lkml.org 
[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/3] ide: add "ignore_hpa" module parameter
Date
On Tuesday 26 May 2009 14:53:21 Frans Pop wrote:
> On Tuesday 26 May 2009, Bartlomiej Zolnierkiewicz wrote:
> > First time with the introduction of the default IDE HPA behavior of
> > always giving the access to the full capacity of a disk and leaving
> > decisions about HPA preservation/removal up to the installer & user.
> >
> > Second time when said distributions switched from IDE to libata (which
> > uses the different default behavior as it limits the capacity to
> > non-HPA part).
>
> Has there really been something like a deliberate switch?

This heavily depends on distribution.

> In my experience with Debian there's been no such thing. ATA has just been
> gradually enabled. (And initially that resulted in quite a mess because
> some devices would be supported by two drivers and the kernel couldn't
> even make up its own mind which one it preferred, resulting in random
> switches between drivers. At least that was resolved at some point.)
>
> However, I must admit that Debian has not handled the IDE-ATA switch very
> well. So far users have mostly been left to deal with any fallout for
> themselves.

I think that Debian still sticks to IDE (which is correct choice given
goals of this distribution).

> > Please note that no fancy sysfs support was needed to prevent the
> > problem: both stacks (ide & libata) support HDIO_DRIVE_TASK ioctl which
> > can be used to execute commands needed to retrieve/change HPA setting.
>
> I don't really see how that would help. The fact that fancy ioctls exist
> does not mean users or even distros have the knowledge needed to use
> them. IMHO such issues should be dealt with at the level where that
> knowledge is available: the kernel community.

The coordination from distributions was necessary and the answer from
some distributions was to continuously ignore or downplay the issue.

This has changed only recently with Tejun's work.

> > Moreover the (much needed) work from Tejun doesn't help a tiny bit in
> > case of people migrating their *working* setups from IDE to libata
>
> From what I've seen now that seems the most important case that needs
> supporting, as well as the case where a working setup would migrate from
> IDE with old HPA default to IDE with new HPA default.

There is no IDE with new HPA default at the moment.


\
 
 \ /
  Last update: 2009-05-26 19:31    [W:0.117 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site