All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "A disk read error occurred"
Date: Sun, 29 Jun 2008 06:48:43 +0300	[thread overview]
Message-ID: <4867061B.2090309@qumranet.com> (raw)
In-Reply-To: <478c82f00806281242q52a7fa55qcd458c9915e0c5a7@mail.gmail.com>

Alexander (Sasha) Sirotkin wrote:
> For some reason when I try to boot qemu with -hda /dev/sda (or -hda
> /dev/hda), i.e. to use the whole disk, it fails with the above error
> "A disk read error occurred". This happens only on IBM/Lenovo laptops
> (tried a few models), while it works just fine on any desktop I can
> get my hands on. Probably has something to do with bios...
>
>   

Can you add some printfs displaying the sector numbers being read?  Some 
disks have trouble accessing the last sector.

Also, an strace can help show the problem.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

  reply	other threads:[~2008-06-29  3:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 19:42 [Qemu-devel] "A disk read error occurred" Alexander (Sasha) Sirotkin
2008-06-29  3:48 ` Avi Kivity [this message]
2008-06-30 23:05   ` Jamie Lokier
2008-07-01  9:03     ` Mark Cave-Ayland
2008-07-01  9:08       ` Jamie Lokier
2008-07-01  9:31         ` Mark Cave-Ayland
2008-07-01 21:37     ` Alexander (Sasha) Sirotkin
2008-07-02 14:34       ` Jamie Lokier
2008-07-02 19:39         ` Alexander (Sasha) Sirotkin
2008-07-02 19:47         ` Alexander (Sasha) Sirotkin

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=4867061B.2090309@qumranet.com \
    --to=avi@qumranet.com \
    --cc=qemu-devel@nongnu.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 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.