qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu limited to 11GB
@ 2004-12-04 11:32 Dag Wieers
  2004-12-04 14:50 ` Herbert Poetzl
  0 siblings, 1 reply; 4+ messages in thread
From: Dag Wieers @ 2004-12-04 11:32 UTC (permalink / raw)
  To: qemu-devel

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

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]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Qemu limited to 11GB
  2004-12-04 11:32 [Qemu-devel] Qemu limited to 11GB Dag Wieers
@ 2004-12-04 14:50 ` Herbert Poetzl
  2004-12-05  2:23   ` Dag Wieers
  0 siblings, 1 reply; 4+ messages in thread
From: Herbert Poetzl @ 2004-12-04 14:50 UTC (permalink / raw)
  To: Dag Wieers; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Qemu limited to 11GB
  2004-12-04 14:50 ` Herbert Poetzl
@ 2004-12-05  2:23   ` Dag Wieers
  2004-12-05 11:34     ` Fabrice Bellard
  0 siblings, 1 reply; 4+ messages in thread
From: Dag Wieers @ 2004-12-05  2:23 UTC (permalink / raw)
  To: Herbert Poetzl; +Cc: qemu-devel

On Sat, 4 Dec 2004, Herbert Poetzl wrote:

> 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 ...

No use, I already tried that. It really seems to me that there's a limit 
in qemu.

--   dag wieers,  dag@wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Qemu limited to 11GB
  2004-12-05  2:23   ` Dag Wieers
@ 2004-12-05 11:34     ` Fabrice Bellard
  0 siblings, 0 replies; 4+ messages in thread
From: Fabrice Bellard @ 2004-12-05 11:34 UTC (permalink / raw)
  To: qemu-devel

You should use the CVS version and read its documentation about the 
'-hdachs' option. '-hdachs' gives the physical HDD geometry which is has 
the following maximum parameters: 16383,16,63. You can also try to force 
the use of the LBA translation.

Fabrice.

Dag Wieers wrote:
> On Sat, 4 Dec 2004, Herbert Poetzl wrote:
> 
> 
>>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 ...
> 
> 
> No use, I already tried that. It really seems to me that there's a limit 
> in qemu.
> 
> --   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
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-05 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-04 11:32 [Qemu-devel] Qemu limited to 11GB Dag Wieers
2004-12-04 14:50 ` Herbert Poetzl
2004-12-05  2:23   ` Dag Wieers
2004-12-05 11:34     ` Fabrice Bellard

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).