qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] successes and failures with QEMU so far
@ 2004-02-25  0:24 Kyle Hayes
  2004-02-25 13:43 ` Sebastien Bechet
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Hayes @ 2004-02-25  0:24 UTC (permalink / raw)
  To: qemu-devel


The current (at least as of Friday) CVS version of QEMU builds OK for 
me (apart from user error).  I am testing whole system emulation at 
this point.  I am running QEMU on an up to date Gentoo system with a 
HT P4@2.6GHz, and 512MB of DDR400 RAM.  Because of the hyperthreading 
processor, this looks like a SMP system.

I only build the x86 targets and only use the soft MMU as I am running 
unchanged x86 OSes.

Various Linux distributions seem to be working quite well.  Every so 
often, something will hang, but I haven't seen that problem for a few 
days.  The performance varies.  Some X Window operations seem to take 
a long time and other things are fast.  Is that generally a function 
of the translated code size?  For instance, running KDE in Mepis in 
QEMU shows some odd delays with opening the "K" menu.  Even though 
most things are fast, the K menu takes a few seconds to show up when 
I click on the icon for it.  Opening Open Office is horribly slow.  
It is at least 20x slower than opening it natively on my P4.  It 
takes several minutes to show a final window.  Again, is this a 
translated code cache size effect?

However, I'd like to be able to run Windows 98 or Windows ME (XP would 
be fine, but that might be harder) in a QEMU instance.  

I made a blank 2GB disk image in a file.  I placed a WinME 
installation CD in the CDROM drive and started QEMU:

qemu -hda win.img -cdrom /dev/cdrom -m 256

I have the TUN device working and it gets set up correctly on the host 
system.

Windows will auto-start, but then goes into a text-mode with a command 
prompt.  Perhaps it is not finding any video card?  Linux/X seems to 
work.

At the prompt, I can run SETUP.EXE directly.  This results in the 
installer attempting to do a SCANDISK of the drive image.  Needless 
to say, that failed since the image is blank.  

So, I grabbed FreeDOS and used it to partition and format the blank 
disk image as FAT32.  I installed FreeDOS onto the disk image and 
booted it within QEMU to make sure it was all OK.  That worked fine.  
However, I found that I had to turn off XMS in FreeDOS.  If I left it 
on, it would fail on boot. I can't even remember whether that was 
extended memory or exanded memory.  My DOS days are far in the 
past :-)

After this, SETUP tries to run SCANDISK again and that stops with the 
complaint that something is wrong with a very, very high cluster 
number.  The number is so high that it is clear that it is not in the 
disk image at all.  I think something went wrong before that error 
shows.  The first part of SCANDISK checking works.

This is very repeatable for me.  I can give more details if needed.

Win98 doesn't even get to a command prompt.  It just dies with a 
complaint about a fault in the bios code.

I have not yet tried copying the WinME installation files to the disk 
image and running it directly from there.  

I would very much like to get Windows working so that I didn't need to 
use either VMWare or Win4Lin.  Both require somewhat invasive kernel 
patches and seem to degrade system stability.  QEMU will run without 
any kernel patches and thus can be used with stock kernels.  This is 
a very important feature for me.  I don't need raw speed, but I do 
need Windows for some things.

Has any one had any luck?  I'm going to try installing Windows on a 
small disk and then copy the image directly to a disk file and see if 
I can boot into that.  I can probably make a system with an NE2K card 
in it to simulate the QEMU environment somewhat.

"Why Windows?", you ask....

I am currently working with a group as a consultant installing systems 
for non-profit organizations.  These organizations have little money 
for things like VMWare and are often required to use certain Windows 
applications for city or state (local or regional) taxes and other 
reporting such as for mental health clinics.  QEMU (if Windows would 
work) would let them move most of their operations to Linux and keep 
only the few applications they need for legal reasons.  Saving these 
organizations money means that fewer mentally ill people have to 
wander the street (to give an example based on our current client).

If there are ways I can help by recreating these problems and 
recording any details let me know.  I am a programmer, but I don't 
know x86 instruction details well at all.

Best,
Kyle

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

* Re: [Qemu-devel] successes and failures with QEMU so far
  2004-02-25  0:24 [Qemu-devel] successes and failures with QEMU so far Kyle Hayes
@ 2004-02-25 13:43 ` Sebastien Bechet
  2004-02-25 16:43   ` Mark IJbema
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastien Bechet @ 2004-02-25 13:43 UTC (permalink / raw)
  To: kyle, qemu-devel

Windows tips for CVS current :

* Use windows 98se not others

* Do not try to boot directly on CDROM but creat win98 floppy disk to do
that (same BIOS panic as u, dono why for now).

* fdisk and format harddisk using MSDOS on this floppy disk _not_
freedos

* do not forget to type "lock c:" before runing win98 setup. Not sure it
is really useful but...

* do not use win95 floppy disk for now because there is DMA floppy
problem in qemu for this floppy (Fabrice is working on it).

* It's working for me. I think it will be really useable in one or two
months (bugs ...) for simple windows applications w/o very big screen
constraint.

... qemu is _fast_ ...


-- 
Sebastien Bechet <s.bechet@av7.net>
av7.net

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

* Re: [Qemu-devel] successes and failures with QEMU so far
  2004-02-25 13:43 ` Sebastien Bechet
@ 2004-02-25 16:43   ` Mark IJbema
  0 siblings, 0 replies; 4+ messages in thread
From: Mark IJbema @ 2004-02-25 16:43 UTC (permalink / raw)
  To: qemu-devel

On Wed, Feb 25, 2004 at 02:43:45PM +0100, Sebastien Bechet wrote:
> Windows tips for CVS current :

Use ReactOS :) except for some floppy problems in my computer it runs
sweet :) Maybe the qemu team could profit a little of ReactOS being open
source to analyse windows behavior.

Mark

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

* RE: [Qemu-devel] successes and failures with QEMU so far
@ 2004-02-25 16:52 Cherry Joseph DLVA
  0 siblings, 0 replies; 4+ messages in thread
From: Cherry Joseph DLVA @ 2004-02-25 16:52 UTC (permalink / raw)
  To: 'qemu-devel@nongnu.org'

I have built a WinPE cd image from XP and it boots almost runs.
http://www.nu2.nu/pebuilder/


--
Joe

 -----Original Message-----
From: 	Sebastien Bechet [mailto:s.bechet@av7.net] 
Sent:	Wednesday, February 25, 2004 08:44
To:	kyle@silverbeach.net; qemu-devel@nongnu.org
Subject:	Re: [Qemu-devel] successes and failures with QEMU so far

Windows tips for CVS current :

* Use windows 98se not others

* Do not try to boot directly on CDROM but creat win98 floppy disk to do
that (same BIOS panic as u, dono why for now).

* fdisk and format harddisk using MSDOS on this floppy disk _not_
freedos

* do not forget to type "lock c:" before runing win98 setup. Not sure it
is really useful but...

* do not use win95 floppy disk for now because there is DMA floppy
problem in qemu for this floppy (Fabrice is working on it).

* It's working for me. I think it will be really useable in one or two
months (bugs ...) for simple windows applications w/o very big screen
constraint.

... qemu is _fast_ ...


-- 
Sebastien Bechet <s.bechet@av7.net>
av7.net



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://mail.nongnu.org/mailman/listinfo/qemu-devel

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

end of thread, other threads:[~2004-02-25 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25  0:24 [Qemu-devel] successes and failures with QEMU so far Kyle Hayes
2004-02-25 13:43 ` Sebastien Bechet
2004-02-25 16:43   ` Mark IJbema
  -- strict thread matches above, loose matches on Subject: below --
2004-02-25 16:52 Cherry Joseph DLVA

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