qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Herbert Poetzl <herbert@13thfloor.at>
To: Dag Wieers <dag@wieers.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Qemu limited to 11GB
Date: Sat, 4 Dec 2004 15:50:34 +0100	[thread overview]
Message-ID: <20041204145034.GB670@mail.13thfloor.at> (raw)
In-Reply-To: <Pine.LNX.4.61.0412041228240.921@horsea.3ti.be>

On Sat, Dec 04, 2004 at 12:32:42PM +0100, Dag Wieers wrote:
> Hi,
> 
> When I try to use a 80GB disk with qemu, the BIOS (and underlying os) 
> reports it as a 10GB disk. I've tried providing the CHS values using 
> -hdachs, but it does not work either.
> 
> 	qemu -hdachs "155061,16,63" -hda /dev/hda

115061 % 65536 = 23989

23989*16*63*512/1024^3 = 11

try using 255/256 heads instead of the 16 heads ...


http://www.allensmith.net/Storage/HDDlimit/Address.htm

                       BIOS    IDE Limit 
---------------------------------------- 
 Maximum Cylinders     1024  65536  1024
 Maximum Heads          256     16    16
 Max. Sectors/track      63    256    63


HTH,
Herbert

> Is qemu limited to < 11GB disks, is there a bug or am I doing something 
> wrong ? :)
> 
> The disk is said to be 10786 MB by the qemu BIOS, while in reality 
> Linux reports: 80026 MB. Linux reports CHS=65535/16/63, while fdisk 
> reports: 155061,16,63
> 
> It would be useful to have the qemu BIOS print out the CHS it is using.
> 
> Kind regards,
> --   dag wieers,  dag@wieers.com,  http://dag.wieers.com/   --
> [all I want is a warm bed and a kind word and unlimited power]
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

  reply	other threads:[~2004-12-04 15:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-04 11:32 [Qemu-devel] Qemu limited to 11GB Dag Wieers
2004-12-04 14:50 ` Herbert Poetzl [this message]
2004-12-05  2:23   ` Dag Wieers
2004-12-05 11:34     ` Fabrice Bellard

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=20041204145034.GB670@mail.13thfloor.at \
    --to=herbert@13thfloor.at \
    --cc=dag@wieers.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).