From: Jamie Lokier <jamie@shareable.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "A disk read error occurred"
Date: Tue, 1 Jul 2008 00:05:42 +0100 [thread overview]
Message-ID: <20080630230542.GD20187@shareable.org> (raw)
In-Reply-To: <4867061B.2090309@qumranet.com>
Avi Kivity wrote:
> 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.
Also, sometimes when booting the BIOS can print a disk read error
message, and an appropriate -hdachs will fix it. I found that out
when rebooting Windows 2000 after installing it from CD (both in
QEMU), on a virtual disk 1GB in size.
-- Jamie
next prev parent reply other threads:[~2008-06-30 23:05 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
2008-06-30 23:05 ` Jamie Lokier [this message]
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=20080630230542.GD20187@shareable.org \
--to=jamie@shareable.org \
--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.