Re: possible bug in ide-disk.c (2.6.18.2 but also older)

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

 



On Mon, 20 Nov 2006 15:51:48 +0100
Andreas Leitgeb <[email protected]> wrote:

> Since I got not even a beep as answer, I'm trying again
> to get this through to someone who cares:

Sounds like the Knoppix kernel is built with GPT partition handling and
your disk has an odd number of sectors ?

> The problem is in  idedisk_read_native_max_address()
> and equivalently in idedisk_read_native_max_address_ext()
> in a line like this (near the end):
>   addr++; /* since the return value is (maxlba - 1), we add 1 */
> 
> I believe that this is wrong, in so far as it is device-specific.

Which part of the standard are you referring to here ?

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux