qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] amd64 progress


From: Filip Navara
Subject: Re: [Qemu-devel] amd64 progress
Date: Fri, 04 Feb 2005 20:01:47 +0100
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Anand Kumria wrote:

So, I cvs update'd today and there is a fair bit of progress with amd64
userspace.  Unfortunately the kernel crashes fairly quickly.

I haven't had time to look into this, just thought I'd put this up in case
anyone else is looking at things.

<URL: http://www.progsoc.org/~wildfire/qemu/problemo.ppm>

I decided to share my experience as well...

I've tried installing the WinXP 64-bit preview under QEMU/x64 on Win32. At first I had to add a little hack - hardcoded ACPI table - to enable the setup loader to recognize the local APIC. After this the setup starts loading the kernel and device drivers, everything works well until it tries to jump to the loaded kernel. It crashes fairly quicky and ends-up in endless exception loop, because the in-memory kernel image is corrupted. The setup loader itself decompressed the image from CAB/LZX file stored on a CD-ROM so it's pretty hard to find where's the error and I've had no success at debugging it yet. ;-(

(See an example of the image corruption below.)

I would appreciate any suggestions on how to debug it/where the problem can be.

Regards,
Filip

Image as present in QEMU memory at the time the loader jmp on the kernel:
4D 5A 90 00 03 00 00 00 │ 04 00 00 00 FF FF 00 00 MZÉ ♥ ♦
B8 00 00 00 00 00 00 00 │ 40 00 00 00 00 00 00 00 ? @
00 00 00 00 00 00 00 00 │ 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 │ 00 00 00 00 E8 00 00 00 Ŕ
0E 1F BA 0E 00 B4 09 CD │ 21 B8 01 4C CD 21 54 68 ♫▼║♫ ┤○═!?☺L═!Th
69 73 20 70 72 6F 67 72 │ 61 6D 20 63 61 6E 6E 6F is program canno
74 20 62 65 20 72 75 6E │ 20 69 6E 20 44 4F 53 20 t be run in DOS
6D 6F 64 65 2E 0D 0D 0D │ 0A 24 00 00 00 00 00 00 mode.♪♪♪◙$
00 31 87 44 B4 75 E6 2A │ E7 75 E6 2A E7 75 E6 2A 1çD┤uŠ*šuŠ*šuŠ*
E7 03 7B 51 E7 72 E6 2A │ E7 75 E6 2B E7 45 E6 2A š♥{QšrŠ*šuŠ+šEŠ*
E7 03 7B 57 E7 59 E6 2A │ E7 03 7B 47 E7 27 E6 2A š♥{WšYŠ*š♥{Gš'Š*
E7 03 7B 5B E7 5A E4 2A │ E7 03 7B 50 E7 74 E6 2A š♥{[šZń*š♥{PštŠ*
E7 B6 E9 74 E7 74 E6 2A │ E7 03 7B 52 E7 74 E6 2A š?ÚtštŠ*š♥{RštŠ*
E7 52 69 63 68 75 E6 2A │ E7 00 00 00 00 00 00 00 šRichuŠ*š
00 00 00 00 00 00 00 00 │ 00 50 45 00 00 64 86 15 PE dć§
00 DE 94 05 41 00 00 00 │ 00 00 00 00 00 F0 00 22 Ůö♣A ­ "
00 0B 02 08 00 00 EC 38 │ 00 00 58 08 00 00 0C 00 ♂☻◘ ý8 X◘ ♀
00 00 20 3B 00 00 10 00 │ 00 00 00 40 00 00 00 00 ; ► @
00 00 10 00 00 00 02 00 │ 00 05 00 02 00 05 00 02 ► ☻ ♣ ☻ ♣ ☻
00 05 00 02 00 00 00 00 │ 00 00 F0 41 00 00 06 00 ♣ ☻ ­A ♠
00 F4 0D 3F 00 01 00 00 │ 00 00 00 08 00 00 00 00 ˘♪? ☺ ◘
00 00 20 00 00 00 00 00 │ 00 00 00 10 00 00 00 00 ►
00 00 10 00 00 00 00 00 │ 00 00 00 00 00 10 00 00 ► ►

The real file contents decompressed with standard tools on Win32 host:
4D 5A 90 00 03 00 00 00 │ 04 00 00 00 FF FF 00 00 MZÉ ♥ ♦
B8 00 00 00 00 00 00 00 │ 40 00 00 00 00 00 00 00 ? @
00 00 00 00 00 00 00 00 │ 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 │ 00 00 00 00 F0 00 00 00 ­
0E 1F BA 0E 00 B4 09 CD │ 21 B8 01 4C CD 21 54 68 ♫▼║♫ ┤○═!?☺L═!Th
69 73 20 70 72 6F 67 72 │ 61 6D 20 63 61 6E 6E 6F is program canno
74 20 62 65 20 72 75 6E │ 20 69 6E 20 44 4F 53 20 t be run in DOS
6D 6F 64 65 2E 0D 0D 0A │ 24 00 00 00 00 00 00 00 mode.♪♪◙$
0E C7 70 0F 4A A6 1E 5C │ 4A A6 1E 5C 4A A6 1E 5C ♫?p☼JŽ▲\JŽ▲\JŽ▲\
3C 3B 65 5C 4D A6 1E 5C │ 4A A6 1F 5C 66 A6 1E 5C <;e\MŽ▲\JŽ▼\fŽ▲\
3C 3B 63 5C 66 A6 1E 5C │ 3C 3B 73 5C 18 A6 1E 5C <;c\fŽ▲\<;s\↑Ž▲\
3C 3B 6F 5C 67 A4 1E 5C │ 3C 3B 64 5C 4B A6 1E 5C <;o\gĄ▲\<;d\KŽ▲\
89 A9 40 5C 4B A6 1E 5C │ 3C 3B 66 5C 4B A6 1E 5C address@hidden<;f\KŽ▲\
52 69 63 68 4A A6 1E 5C │ 00 00 00 00 00 00 00 00 RichJŽ▲\
00 00 00 00 00 00 00 00 │ 00 00 00 00 00 00 00 00
50 45 00 00 64 86 14 00 │ 17 8A 05 41 00 00 00 00 PE dć¶ ↨Ő♣A
00 00 00 00 F0 00 22 00 │ 0B 02 08 00 00 2A 34 00 ­ " ♂☻◘ *4
00 A8 07 00 00 00 00 00 │ C0 37 3A 00 00 10 00 00 Ę• └7: ►
00 00 40 00 00 00 00 00 │ 00 10 00 00 00 02 00 00 @ ► ☻
05 00 02 00 05 00 02 00 │ 05 00 02 00 00 00 00 00 ♣ ☻ ♣ ☻ ♣ ☻
00 50 3C 00 00 06 00 00 │ 37 53 39 00 01 00 00 00 P< ♠ 7S9 ☺
00 00 08 00 00 00 00 00 │ 00 20 00 00 00 00 00 00 ◘
00 00 10 00 00 00 00 00 │ 00 10 00 00 00 00 00 00 ► ►


reply via email to

[Prev in Thread] Current Thread [Next in Thread]