WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] Vanilla kernel 2.6.23 gets error "guest type xen-3.0-x86_32

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Vanilla kernel 2.6.23 gets error "guest type xen-3.0-x86_32 not supported by xen kernel" when compiled with paravirt support
From: "Tanya Bragin" <tom.bragin@xxxxxxxxx>
Date: 2007年12月11日 01:10:27 -0800
Delivery-date: 2007年12月12日 09:41:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=sFRHPmQ/HKu/7OhtZCyT5U8nNey+NHboGqM/RWIwPfQ=; b=ge67+GbRZ1YKhmBUuW99JBOF85N3kGQIek6+izmJCdVPfyGCXrFdGwHQLfHXuTHpaeE0isVuzsa0JamlX4qq8uk9Vqym3nuoOj/KOEFpvJvqZqsG4/h58AHPfmK3LPTEAl3vJr2Bci5ebE4cU+gAt3JgtZNdLOeU6Q3uY2E7SzI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=qCu8IxG2Lrh4hD6AhJkzELVmgE9M0VChCnv1Util6dFenHzpMf1EgoXpWwURdTEeWkmrjHnZR/B+C0G8MThltJcRgQcH/lNv64S/Eam+tFM+m9enO2yVkMcVqgqJefeA7DONOzu7TKSTDawiYQnRPK8n8s6ge7t90CPU1D/K+d0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
This is my first time posting to this mailing list, so please let me know if I'm posting to the wrong place or otherwise not following the protocol.

I am trying to boot up a custom paravirtualized kernel in Xen domU. I have been following this thread from the same mailing list that has been extremely helpful, but I still get an error:
http://lists.xensource.com/archives/html/xen-users/2007-10/msg00378.html

My setup is Fedora Core 8 installation of Xen and dom0, which includes xen-3.1.0-13 and 2.6.21-2950.fc8xen Fedora kernel. I can create a Fedora Core 8 domU using xm create. So at this point I'm just trying to compile the vanilla kernel with paravirtual extensions to replace Fedora's kernel in the config file.

My procedure is as follows:
- download vanilla kernel 2.6.23 from kernel.org
- make defconfig
- edit .config and set all "xen" and "paravirt"setting to yes (config file attached)
- make vmlinux
- gzip vmlinux (... this step by following advice in the above mentioned thread)
- cp vmlinux.gz /boot/vmlinuz
- Then try to boot the kernel with the attached config file

At this point, an error occurs and domain-builder-ng.log reflects the following entries:
...
xc_dom_parse_elf_kernel: xen-3.0-x86_32: 0xc0100000 -> 0xc06d3000
...
xc_dom_compat_check: supported guest type: xen-3.0-x86_32p
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
xc_dom_boot.c:108: panic: xc_dom_compat_check: guest type xen-3.0-x86_32 not supported by xen kernel, sorry


When I boot the image that works (compiled from vanilla kernel 2.6.23 by Mark and attached in the abovementioned thread), it indeed boots and instead the log has the entries one would expect:
...
xc_dom_parse_elf_kernel: xen-3.0-x86_32p: 0xc0100000 -> 0xc0420000
...
x86_compat: guest xen-3.0-x86_32p, address size 32
...
xc_dom_compat_check: supported guest type: xen-3.0-x86_32p <= matches
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p

Any idea what I am doing wrong?


One curious thing I've noticed is when I look at elf notes in my broken image, they look a bit different from the image that works. Don't know if that matters:

$ readelf -n marks_vmlinux

Notes at offset 0x002cd2b8 with length 0x000000e8:
Owner Data size Description
Xen 0x00000006 Unknown note type: (0x00000006)
Xen 0x00000004 Unknown note type: (0x00000007)
Xen 0x00000008 Unknown note type: (0x00000005)
Xen 0x00000004 Unknown note type: (0x00000003)
Xen 0x00000004 NT_VERSION (version)
Xen 0x00000004 NT_ARCH (architecture)
Xen 0x0000002a Unknown note type: (0x0000000a)
Xen 0x00000004 Unknown note type: (0x00000009)
Xen 0x00000008 Unknown note type: (0x00000008)

$ readelf -n my_vmlinux

Notes at offset 0x012d1330 with length 0x0000010c:
Owner Data size Description
Xen 0x00000006 Unknown note type: (0x00000006)
Xen 0x00000004 Unknown note type: (0x00000007)
Xen 0x00000008 Unknown note type: (0x00000005)
Xen 0x00000004 Unknown note type: (0x00000003)
Xen 0x00000004 NT_VERSION (version)
Xen 0x00000004 NT_ARCH (architecture)
Xen 0x0000002a Unknown note type: (0x0000000a)
Xen 0x00000003 Unknown note type: (0x00000009) <= this Xen field looks different
Xen 0x00000008 Unknown note type: (0x00000008)
GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring)

Let me know if you have any thoughts or if there is any additional info I can provide.

Thanks,
Tom

Attachment: xen.cfg
Description: Binary data

Attachment: domain-builder-ng.log.bad
Description: Binary data

Attachment: domain-builder-ng.log.good
Description: Binary data

Attachment: .config
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users 
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Me vs. RHEL 2.6.18-53.1.4.el5xen , Sadique Puthen
Next by Date: Re: [Xen-users] Where does xen chache domUs grub.conf ? , Alain BARTHE
Previous by Thread: [Xen-users] using SAN tape library in domU? , Sebastian Reitenbach
Next by Thread: [Xen-users] Re: Vanilla kernel 2.6.23 gets error "guest type xen-3.0-x86_32 not supported by xen kernel" when compiled with paravirt support , Tanya Bragin
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /