Re: 2.6.24.*/2.6.25.*: attempt to access beyond end of device

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

 



> I tracked the problem down to this difference in the dmesg output of the 
> bootup sequences:
> 
> 2.6.24-16.30 (Ubuntu 8.04):
> 
>   ata1.00: HPA unlocked: 268435455 -> 312581808, native 312581808
>   ata1.00: ATA-8: SAMSUNG HM160HC, LQ100-10, max UDMA/100
>   ata1.00: 312581808 sectors, multi 16: LBA48
> 
> 2.6.24.7:
> 
>   ata1.00: HPA detected: current 268435455, native 312581808
>   ata1.00: ATA-8: SAMSUNG HM160HC, LQ100-10, max UDMA/100
>   ata1.00: 268435455 sectors, multi 16: LBA48

Your Ubuntu kernel is clearing the host protected area (the BIOS has
marked the end part of the disk as 'reserved' - probably for an XP
restore partition), the base one for some reason is not.

Set the boot option "libata.ignore_hpa=1". That defaults to zero
(respecting the BIOS) so that users don't accidentally blow away BIOS
partitions and restore images, except apparently Ubuntu patch it the
other way by default.

Alan

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux