Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Stefan Weil
Hi,

booting a preinstalled winxp fails because Windows XP
crashs (sometimes you will see a bluescreen) and starts
a reboot. It won't fail if the real hardware and
QEMU's virtual hardware are nearly identical.
Especially the chipset seams to be critical.

/dev/hda1 is the first partition which is part of
/dev/hda (whole disk), so there are no patches which
can fix anything in QEMU here.

You might extend QEMU to emulate your computer's
hardware - then XP would run. But this is a lot of work...

Regards
Stefan


Roberto Polli schrieb:
 hi all,

 I tried to boot my preinstalled winxp with
 # qemu -boot c -hda /dev/hda

 that's what happens:
 - qemu load grub, and I select to boot winxp (grub says chainloader
 +1, then
 boot)
 - qemu starts to load winxp, with a winxp boot screen
 - qemu fails and reboots

 it seems qemu stops loading winxp when /dev/hda ends and /dev/hda1
 starts.

 I could build a patch to fix it, but before start studing qemu source,
 I'd
 like to ear from you - yes, if it was easy you guru already would have
 done
 it!

 tia,
 R.



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Roberto Polli
Hi

Alle 11:09, giovedì 28 dicembre 2006, Stefan Weil ha scritto:
 booting a preinstalled winxp fails because Windows XP
 crashs...and ... reboot. It won't fail if the real hardware and
 QEMU's virtual hardware are nearly identical.
ok

 Especially the chipset seams to be critical.
1- so we should have one qemu chipset emulator for each winxp installation?
2- is this pbm equivalent to the move my hd to another pc with different 
mainboard one?
3- if I solve pbm 2, should I solve pbm 1?


 /dev/hda1 is the first partition which is part of
 /dev/hda (whole disk)
yes, i mistakenly thought that part of the windows bootloader was related to 
the mbr

Thank you very much for your explanation, these are very helpful! Do you think 
I should put something about this thread in the wiki? Forums are full of such 
these question!

Greetings,
R.
-- 

Roberto Polli
Babel S.r.l. - http://www.babel.it
Tel. +39.06.91801075 - fax +39.06.91612446
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Stefan Weil
Roberto Polli schrieb:
 Especially the chipset seams to be critical.
 1- so we should have one qemu chipset emulator for each winxp
 installation?
 2- is this pbm equivalent to the move my hd to another pc with different
 mainboard one?
 3- if I solve pbm 2, should I solve pbm 1?

1- Yes, more chipset emulations would help.
2- Yes.
3- Yes, at least I think so.

Regards
Stefan



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] New display device for MIPS

2006-12-28 Thread Alexander Voropay

Thiemo Seufer [EMAIL PROTECTED] wrote:


 AFAICS the output interferes with the serial console output.
 I wonder how the typical scrolling text Linux on MALTA would look
 like in that case. :-)

What about starting with the core of the new machine description before
submitting the unconnected peripherals?


The Malta-LED is a part of the Malta-FPGA device wich also contains
- DIP-Switch block, including BIGEND switch
- NMI status register
- Software reset
- GPIO registers
- I2C registers

Is should be better to implement all this devices as one Malta FPGA driver.


P.S. AFAIK, Virtio VPMM emulates Malta LED in the separate graphic
window, not on the serial port.

--
-=AV=-


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] boot a preinstalled winxp on linux/x86: writing a patch...

2006-12-28 Thread Ottavio Caruso

--- Roberto Polli [EMAIL PROTECTED] wrote:

 hi all,
 
 I tried to boot my preinstalled winxp with
  # qemu -boot c -hda /dev/hda
 
 that's what happens:
 - qemu load grub, and I select to boot winxp (grub says
 chainloader +1, then 
 boot)
 - qemu starts to load winxp, with a winxp boot screen
 - qemu fails and reboots

Ciao Roberto,

this has been discussed before on the user forum, too.
In the meantime, maybe this is not exactly waht you're looking for
but, have you tried Bart PE:
http://www.nu2.nu/pebuilder/   
?



-- 
Ottavio Caruso

I will not purchase any computing equipment from manufacturers that recommend 
Windows Vista™ or any other Microsoft® products.
http://www.pledgebank.com/boycottvista

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] patch for block-raw.c for Solaris

2006-12-28 Thread Ben Taylor

This is a patch to make block-raw.c compile correctly on Solaris.

I successfully created a raw image file after the patch was applied.

Ben

diff -ruN qemu-122806/block-raw.c qemu/block-raw.c
--- qemu-122806/block-raw.c	2006-12-22 09:19:53.0 -0500
+++ qemu/block-raw.c	2006-12-28 15:46:31.282932000 -0500
@@ -44,6 +44,8 @@
 #endif
 
 #ifdef __sun__
+#define _POSIX_PTHREAD_SEMANTICS 1
+#include signal.h
 #include sys/dkio.h
 #endif
 #ifdef __linux__
diff -ruN qemu-122806/vl.h qemu/vl.h
--- qemu-122806/vl.h	2006-12-24 12:12:43.0 -0500
+++ qemu/vl.h	2006-12-28 15:49:43.181801000 -0500
@@ -45,6 +45,10 @@
 #define O_BINARY 0
 #endif
 
+#ifdef __sun__
+#define ENOMEDIUM 4097
+#endif
+
 #ifdef _WIN32
 #include windows.h
 #define fsync _commit
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel