qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Windows 2000 installed without a problem
@ 2004-04-16  7:56 Mike Nordell
  2004-04-16  8:33 ` Jean-Michel POURE
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mike Nordell @ 2004-04-16  7:56 UTC (permalink / raw)
  To: qemu-devel

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

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

* Re: [Qemu-devel] Windows 2000 installed without a problem
  2004-04-16  7:56 [Qemu-devel] Windows 2000 installed without a problem Mike Nordell
@ 2004-04-16  8:33 ` Jean-Michel POURE
  2004-04-16  8:37 ` Jean-Michel POURE
  2004-04-16  9:22 ` Jean-Michel POURE
  2 siblings, 0 replies; 7+ messages in thread
From: Jean-Michel POURE @ 2004-04-16  8:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mike Nordell

Le vendredi 16 Avril 2004 09:56, Mike Nordell a écrit :
> 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

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

* Re: [Qemu-devel] Windows 2000 installed without a problem
  2004-04-16  7:56 [Qemu-devel] Windows 2000 installed without a problem Mike Nordell
  2004-04-16  8:33 ` Jean-Michel POURE
@ 2004-04-16  8:37 ` Jean-Michel POURE
  2004-04-16  9:03   ` Mike Nordell
  2004-04-16  9:22 ` Jean-Michel POURE
  2 siblings, 1 reply; 7+ messages in thread
From: Jean-Michel POURE @ 2004-04-16  8:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mike Nordell

Le vendredi 16 Avril 2004 09:56, Mike Nordell a écrit :
> by means of setting nb_nics=0 before the "nb_nics1 = nb_nics;" at the end
> of pc_init() in pc.c,

It is the same as "qemu -nics 0"?
Cheers, Jean-Michel

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

* Re: [Qemu-devel] Windows 2000 installed without a problem
  2004-04-16  8:37 ` Jean-Michel POURE
@ 2004-04-16  9:03   ` Mike Nordell
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Nordell @ 2004-04-16  9:03 UTC (permalink / raw)
  To: qemu-devel

Jean-Michel POURE wrote:

> Le vendredi 16 Avril 2004 09:56, Mike Nordell a écrit :
> > by means of setting nb_nics=0 before the "nb_nics1 = nb_nics;" at
> > the end of pc_init() in pc.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

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

* Re: [Qemu-devel] Windows 2000 installed without a problem
  2004-04-16  7:56 [Qemu-devel] Windows 2000 installed without a problem Mike Nordell
  2004-04-16  8:33 ` Jean-Michel POURE
  2004-04-16  8:37 ` Jean-Michel POURE
@ 2004-04-16  9:22 ` Jean-Michel POURE
  2004-04-16 11:34   ` [Qemu-devel] Windows 2000 installed without a problem (more information) Jean-Michel POURE
  2 siblings, 1 reply; 7+ messages in thread
From: Jean-Michel POURE @ 2004-04-16  9:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mike Nordell, Mark Jonckheere

Le vendredi 16 Avril 2004 09:56, Mike Nordell a écrit :
> 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

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

* Re: [Qemu-devel] Windows 2000 installed without a problem (more information)
  2004-04-16  9:22 ` Jean-Michel POURE
@ 2004-04-16 11:34   ` Jean-Michel POURE
  2004-04-17  6:59     ` Jean-Michel POURE
  0 siblings, 1 reply; 7+ messages in thread
From: Jean-Michel POURE @ 2004-04-16 11:34 UTC (permalink / raw)
  To: qemu-devel; +Cc: Mike Nordell, Mark Jonckheere

> 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

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

* Re: [Qemu-devel] Windows 2000 installed without a problem (more information)
  2004-04-16 11:34   ` [Qemu-devel] Windows 2000 installed without a problem (more information) Jean-Michel POURE
@ 2004-04-17  6:59     ` Jean-Michel POURE
  0 siblings, 0 replies; 7+ messages in thread
From: Jean-Michel POURE @ 2004-04-17  6:59 UTC (permalink / raw)
  To: qemu-devel

> 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

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

end of thread, other threads:[~2004-04-17  6:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-16  7:56 [Qemu-devel] Windows 2000 installed without a problem Mike Nordell
2004-04-16  8:33 ` Jean-Michel POURE
2004-04-16  8:37 ` Jean-Michel POURE
2004-04-16  9:03   ` Mike Nordell
2004-04-16  9:22 ` Jean-Michel POURE
2004-04-16 11:34   ` [Qemu-devel] Windows 2000 installed without a problem (more information) Jean-Michel POURE
2004-04-17  6:59     ` Jean-Michel POURE

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