[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] HPA unlock during partition scan of RAID components


On Thu, Nov 3, 2011 at 12:00 PM, Phillip Susi <psusi cfl rr com> wrote:
> Simply making the smaller size available does not solve the problem of
> making the part of the drive that is supposed to remain hidden accessible to
> user space, and it remains unlocked across a reboot, which usually makes the
> bios fail to recognize such drives.
> The only reason I am aware of for unlocking the hpa is to avoid problems
> caused by upgrading an old system that was installed using the unlock
> behavior and thus, incorrectly extended its partition into the protected
> area.  It seems the appropriate fix for that it for distribution upgrade
> scripts to test for this and configure the boot loader to pass the unlock
> flag ( or maybe fix the problem by shrinking the partition ), rather than
> have the kernel continue to try unlocking things by default.

I frankly don't care about BIOSen locking up afterwards and I don't
think they are more common than the issues from not unlocking (e.g.
moving harddrive to another machine, hot-plugging - partition -
reboot).  There will be a kernel param to disable unlocking behavior
and that would be it.  On top of that if bios is that screwed it's
probably a good idea to not use bios raid which is a silly thing to
begin with.  Currently the problem is that the kernel doesn't unlock
by default and the heuristics can't be turned off, so we have unhappy
customers on both sides.  Anyways, if md/dm people are on board, I'm
gonna push for that but otherwise there isn't much point.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]