From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Peter Klotz <peter.klotz@aon.at>
Cc: linux-ide@vger.kernel.org
Subject: Re: 2.6.24.*/2.6.25.*: attempt to access beyond end of device
Date: Mon, 12 May 2008 10:59:42 +0100 [thread overview]
Message-ID: <20080512105942.62607f53@core> (raw)
In-Reply-To: <4827D626.50903@aon.at>
> 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
next prev parent reply other threads:[~2008-05-12 10:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 5:31 2.6.24.*/2.6.25.*: attempt to access beyond end of device Peter Klotz
2008-05-12 9:59 ` Alan Cox [this message]
2008-05-12 15:20 ` Peter Klotz
2008-05-12 10:31 ` Gene Heskett
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=20080512105942.62607f53@core \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-ide@vger.kernel.org \
--cc=peter.klotz@aon.at \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.