public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan <alan@lxorguk.ukuu.org.uk>
To: avl@logic.at
Cc: linux-kernel@vger.kernel.org
Subject: Re: possible bug in ide-disk.c (2.6.18.2 but also older)
Date: Mon, 20 Nov 2006 15:25:05 +0000	[thread overview]
Message-ID: <20061120152505.5d0ba6c5@localhost.localdomain> (raw)
In-Reply-To: <20061120145148.GQ6851@gamma.logic.tuwien.ac.at>

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

  reply	other threads:[~2006-11-20 15:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20 14:51 possible bug in ide-disk.c (2.6.18.2 but also older) Andreas Leitgeb
2006-11-20 15:25 ` Alan [this message]
2006-11-20 16:56   ` Andreas Leitgeb
2006-11-20 17:28     ` Alan
2006-11-20 17:57       ` Andreas Leitgeb
2006-11-20 18:12         ` Alan
2006-11-21 11:51       ` Andreas Leitgeb
2006-11-21 12:06         ` Alan
2006-11-22 10:57           ` Andreas Leitgeb
2006-11-23 17:05             ` Andreas Leitgeb
2006-11-27 13:09               ` hpa-problem in ide-disk.c - new insights Andreas Leitgeb
2006-11-27 13:30                 ` Alan
2006-11-27 16:01                   ` Allow turning off hpa-checking Andreas Leitgeb
2006-11-27 16:33                     ` Alan
2006-11-27 17:56                       ` Andreas Leitgeb
2006-11-27 18:10                         ` Alan
2006-11-27 18:29                           ` Andreas Leitgeb
2006-11-27 19:59                             ` Alan
2006-11-28  9:29                               ` Andreas Leitgeb
2006-11-28  9:46                                 ` Tejun Heo
2006-11-28 12:09                                   ` Andreas Leitgeb
2006-11-28 12:24                                     ` Tejun Heo
2006-12-14 14:45                                       ` Andreas Leitgeb

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=20061120152505.5d0ba6c5@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=avl@logic.at \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox