Skip to contentSkip to conversation

Trying to run Windows XP Pro

Qemu-devel Antony T Curtis 6 participants 11 messages May 31, 2004 – Jun 16, 2004

lore
Share & tools
lore
#0 lore raw

Ok, a bit of background... I am running QEMU on FreeBSD, and I have patched it so that it can use devices.

I have made the cow image by the following command

$ qemu-mkcow -f /dev/ad0 ad0.cow

And then booting the hard drive with

$ qemu -pci -hdachs 58140,16,63 ad0.cow

I boot the WinXP partition choosing Safe Mode Command prompt boot and it proceeds to boot until it loads the agp440.sys driver, where it halts at EIP=804e945e (which is a 0xeb 0xfe , jmp $-2 infinite loop)

Has anyone got any further than that?

Signature · 1 line
Antony T Curtis <[email protected]>
#1 lore raw
Quoted 3 lines · Antony T Curtis

I boot the WinXP partition choosing Safe Mode Command prompt boot and it proceeds to boot until it loads the agp440.sys driver, where it halts at EIP=804e945e (which is a 0xeb 0xfe , jmp $-2 infinite loop)

Could you try again removing agp440.sys driver first in ControlPanel/Services or directly in HKLM ? Dono if it come from agp440.sys or the next driver. i have the same problem but not time to test it for now.

I'm looking for tools to directly modify file registry without booting windows. Especialy to modify hardware configuration...

Thank you.

Signature · 2 lines
Sebastien Bechet <[email protected]>
av7.net
#2 lore raw
In reply to Antony T Curtis
Quoted 2 lines

And then booting the hard drive with

$ qemu -pci -hdachs 58140,16,63 ad0.cow

Reboot without the -pci
PCI support at the moment is quite experimental and crashes all win32 based OS's (2K, XP, 2003, Longhorn)

Hetz

#3 lore raw
Quoted 1 line · Hetz Ben Hamo

Reboot without the -pci

I have done this test before PCI integration. It is another problem.

Signature · 2 lines
Sebastien Bechet <[email protected]>
av7.net
#4 lore raw
In reply to Hetz Ben Hamo
Quoted 6 lines · Hetz Ben Hamo
Quoted 2 lines

And then booting the hard drive with

$ qemu -pci -hdachs 58140,16,63 ad0.cow

Reboot without the -pci
PCI support at the moment is quite experimental and crashes all win32 based OS's (2K, XP, 2003, Longhorn)

Even without the -pci option, it halts at the same point.

Signature · 1 line
Antony T Curtis <[email protected]>
#5 lore raw
Quoted 1 line

Even without the -pci option, it halts at the same point.

Have you tried a fresh install of XP? I have installed XP and updated it to SP 1a and both versions ran fine.

- Bartosz

#6 lore raw
Quoted 4 lines · Bartosz Fabianowski
Quoted 1 line

Even without the -pci option, it halts at the same point.

Have you tried a fresh install of XP? I have installed XP and updated it to SP 1a and both versions ran fine.

That involves finding the XP Pro install CD... I have found the retail box but the cd is not in it :-(

Signature · 1 line
Antony T Curtis <[email protected]>
#7 lore raw
In reply to Antony T Curtis

Hello,

Quoted 3 lines · Antony T Curtis

I boot the WinXP partition choosing Safe Mode Command prompt boot and it proceeds to boot until it loads the agp440.sys driver, where it halts at EIP=804e945e (which is a 0xeb 0xfe , jmp $-2 infinite loop)

This is not agp440.sys, it can be disabled using Recovery Console but qemu (and qemu console) continue to hang.

how to do that :
listsvc # list of drivers loaded on startup
disable agp440 # disable AGP440
exit # reboot

In another idea, i tried to convert W2K qemu default isa install to qemu w/ pci enabling plugplay, PCI and PCIIde drivers : but ... not working maybe I forget to enable something ?

Bye.

Signature · 2 lines
Sebastien Bechet <[email protected]>
av7.net
#8 lore raw
Quoted 7 lines · Sebastien Bechet

Hello,

Quoted 3 lines · Antony T Curtis

I boot the WinXP partition choosing Safe Mode Command prompt boot and it proceeds to boot until it loads the agp440.sys driver, where it halts at EIP=804e945e (which is a 0xeb 0xfe , jmp $-2 infinite loop)

Quoted 7 lines

This is not agp440.sys, it can be disabled using Recovery Console but qemu (and qemu console) continue to hang.

how to do that :
listsvc # list of drivers loaded on startup
disable agp440 # disable AGP440
exit # reboot

Curiously enough... I have successfully installed XP Pro under QEMU... But I cannot boot my existing WinXP Partition. Maybe it's the driver which loads after the agp440 driver?

Quoted 3 lines

In another idea, i tried to convert W2K qemu default isa install to qemu w/ pci enabling plugplay, PCI and PCIIde drivers : but ... not working maybe I forget to enable something ?

I am going to try the 'turtle' interpreter emulator - since it is also reportedly capable of booting OS/2 now... There must be some aspect of the current translator which is incomplete which affects these things.

Signature · 1 line
Antony T Curtis <[email protected]>
#9 lore raw
Quoted 3 lines · Antony T Curtis

I am going to try the 'turtle' interpreter emulator - since it is also reportedly capable of booting OS/2 now... There must be some aspect of the current translator which is incomplete which affects these things.

What is the home page of that project?

Signature · 1 line
Alexander E. Patrakov
#10 lore raw
In reply to Antony T Curtis
Quoted 3 lines · Antony T Curtis

Curiously enough... I have successfully installed XP Pro under QEMU... But I cannot boot my existing WinXP Partition. Maybe it's the driver which loads after the agp440 driver?

I can report the same with "qemu -pci -cirrusvga -user-net" Monday CVS version. WinXP Stage 1 and Stage 2 installation goes well. But WinXP finally does not boot and segfauts. Screenshot:
http://www.poure.com/screenshots/qemu_temp_5.png

Cheers,
Jean-Michel