lkml.org 
[lkml]   [2006]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: possible bug in ide-disk.c (2.6.18.2 but also older)
On Mon, 20 Nov 2006 15:51:48 +0100
Andreas Leitgeb <avl@logic.at> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-20 16:23    [W:0.042 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site