Windows 2000 installed without a problem
Using "almost" CVS QEMU on Win32, installing NT5sp4 from a CD image, with "only" 64 MB of memory given to the guest, but disabling both NE2k and SB16 by means of setting nb_nics=0 before the "nb_nics1 = nb_nics;" at the end of pc_init() in pc.c, and disabling the calls to AUD_init() and SB16_init(), I've managed to install NT5sp4 (a "slipstreamed" to sp4 image) without too much problems.
What I believe is worth noting is that I haven't seen a single gfx "glitch". DTC and failed to install, and some COM component failed to register, but that might be due to lack of a NIC (combined with another missing piece in the emulation, that MS' GUID generation uses in absence of a NIC), but besides that everything else seemingly worked like a charm.
I therefore can with some certainty say that either the SB16 or the NE2k code (with the patch from Renzo applied) is a source of bugs - it probably overwrites memory it doesn't own. As the SB16 code has already read memory it didn't own, that'd be my first suspect.
Could someone else that's been experiencing spurious guest-crashes, or installation failures, try to do the same - disable NE2k, OSS and SB16 as I outlined, and report failure or success? Both Windows and GNU/Linux hosts would probably be preferred.
/Mike
Quoted 2 lines · Mike Nordell
I therefore can with some certainty say that either the SB16 or the NE2k code (with the patch from Renzo applied) is a source of bugs
Could it be possible to disable them from the command line (qemu --without-sb16 --without-ne2k). Therefore, we would be able to make comparisons more easily.
Cheers,
Jean-Michel
Quoted 2 lines · Mike Nordell
by means of setting nb_nics=0 before the "
nb_nics1=nb_nics;" at the end ofpc_init()inpc.c,
It is the same as "qemu -nics 0"?
Cheers, Jean-Michel
Quoted 5 lines · Jean-Michel POURE
Quoted 2 lines · Mike Nordell
by means of setting nb_nics=0 before the "
nb_nics1=nb_nics;" at the end ofpc_init()inpc.c,It is the same as "qemu -nics 0"?
Right you are. Too much debugging seemingly can make one take the more drastic measures to disable some things. In my defense I can say that disabling AUD_init and SB16_init (which was required to be done by modifying source) was just 15 lines away.
I agree with the suggestion of a command line argument to disable SB16 completely, even that I disagree with giving it two consecutive leading dashes. One is IMHO more than enough. :-)
/Mike
Quoted 4 lines · Mike Nordell
Could someone else that's been experiencing spurious guest-crashes, or installation failures, try to do the same - disable NE2k, OSS and SB16 as I outlined, and report failure or success? Both Windows and GNU/Linux hosts would probably be preferred.
Dear Mike and Mark,
Thank you for the information. I disabled both SB16 and network cards and applied Mark mouse patch. Windows 2000 now boots and the mouse is usable.
Qemu rocks!
Cheers,
Jean-Michel
Re: [Qemu-devel] Windows 2000 installed without a problem (more information)
Quoted 4 lines
Dear Mike and Mark,
Thank you for the information. I disabled both SB16 and network cards and applied Mark mouse patch. Windows 2000 now boots and the mouse is usable. Qemu rocks!
Dear all,
I also recompiled Qemu with network (including Renzo patch), disabled SB16, applied Mouse patch (Mark) and ... had the great pleasure to be able to use Windows2k in a normal environment with network. These are great news.
Cheers,
Jean-Michel
Re: [Qemu-devel] Windows 2000 installed without a problem (more information)
Quoted 3 lines
I also recompiled Qemu with network (including Renzo patch), disabled SB16, applied Mouse patch (Mark) and ... had the great pleasure to be able to use Windows2k in a normal environment with network. These are great news.
Sorry if I answer myself and fill the list with non-technical remarks. Now that I can start Win2k and move the mouse, I can only notice several SEGV, even when disabling network and SB16. For example, even when starting in rescue mode, at some point explorer.exe stops working.
Cheers,
Jean-Michel