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 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] fedora7 can not boot in hvm domain of xen3.1

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] fedora7 can not boot in hvm domain of xen3.1
From: "Brady Chen" <chenchp@xxxxxxxxx>
Date: Tue, 24 Jul 2007 23:46:48 +0800
Delivery-date: Tue, 24 Jul 2007 08:44:37 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=t9mRdzRHQZ1qe1Yy1MIxfVZgO5aKR1+wup5CCagYmczWgNve0uzy4NlZfpW23DnmjJu2jOyi9vmelVDy+/7U4/hi88iQr4cp2QZ+s2ExVQGLGVR261O0nQnAWd7zuirR89ZQMxITqP6HLOPno8aXflbyRETM5LzEsvkTPK3bbhY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VnbeNFpQXCi8AnFTXMxky6i5wX7tic3pmj/VHoN/wbyJHJ5soR70nW3Q3mPLbK8Ql/MAwsy/jcTuWnwuKlbNsdklyWXTk0TNKDzv3MGfviU4amkUyENS/vRaVDFcVg0bNrzZmPy29NlnW0f9R+GXan4ZuY/yljBHEaqPblNZKFo=
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
Hi, all
I am new to xen, and just try to use the HVM feature of xen3.1.
two issues i met:
1. fedora 7 guest can not boot
grub is displaying the boot menu, but hang there. and from "xm top",
seems the guest exhauses all the cpu.
2. sdl doesn't work, i always need to use vnc client to connect to the console

here are some info about my system.
* cat /proc/cpuinfo
* cat xm.hvm (my hvm guest config file)
* xm info
* uname -a
* xm dmesg (i enable guest_loglvl=all, loglvl=all, build xen with
debug=y, and set traceset in
xen-3.1.0-src/tools/firmware/vmxassist/vm86.c to 1)
* cat  /var/log/xen/qemu-dm.12219.log
* rpm -qa | grep SDL

any one could help?
thank you very much

[root@sh-quadruple xen]#  cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5110  @ 1.60GHz
stepping        : 6
cpu MHz         : 1600.081
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc
pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips        : 3202.08
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5110  @ 1.60GHz
stepping        : 6
cpu MHz         : 1600.081
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc up
pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips        : 3202.08
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5110  @ 1.60GHz
stepping        : 6
cpu MHz         : 1600.081
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc up
pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips        : 3202.08
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Xeon(R) CPU            5110  @ 1.60GHz
stepping        : 6
cpu MHz         : 1600.081
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc up
pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips        : 3202.08
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


[root@sh-quadruple ~]# cat xm.hvm
import os, re
arch = os.uname()[4]
if re.search('64', arch):
   arch_libdir = 'lib64'
else:
   arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "test2"
pae=1
acpi=1
apic=1
vif = [ 'type=ioemu, bridge=virbr0' ]
# f7 is fedora 7 x86_64 iso image.
disk = [ 'file:/root/f7.iso,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=1
vnc=0
stdvga=0
serial='pty'

[root@sh-quadruple ~]# xm info
host                   : sh-quadruple
release                : 2.6.18-xen
version                : #1 SMP Mon Jul 23 22:52:42 CST 2007
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1600
hw_caps                :
bfebfbff:20000800:00000000:00000140:0004e33d:00000000:00000001
total_memory           : 4095
free_memory            : 1
xen_major              : 3
xen_minor              : 1
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
cc_compile_by          : root
cc_compile_domain      : local
cc_compile_date        : Mon Jul 23 22:35:32 CST 2007
xend_config_format     : 4

[root@sh-quadruple ~]#  uname -a
Linux sh-quadruple 2.6.18-xen #1 SMP Mon Jul 23 22:52:42 CST 2007
x86_64 x86_64 x86_64 GNU/Linux

[root@sh-quadruple ~]# xm dmesg
000000
(XEN) HVM10: pci dev 04:0 INTA->IRQ5
(XEN) HVM10: Creating MP tables ...
(XEN) HVM10: Loading Cirrus VGABIOS ...
(XEN) HVM10: Loading ACPI ...
(XEN) mm.c:1345:d0 Bad L1 flags 800000
(XEN) mm.c:1345:d0 Bad L1 flags 800000
(XEN) mm.c:1345:d0 Bad L1 flags 800000
... repeat 250+ times this line

(XEN) HVM10: BIOS map:
(XEN) HVM10:  c0000-c8003: VGA BIOS
(XEN) HVM10:  d0000-d5403: VMXAssist
(XEN) HVM10:  e9000-e9135: SMBIOS tables
(XEN) HVM10:  ea000-eb0df: ACPI tables
(XEN) HVM10:  f0000-fffff: Main BIOS
(XEN) HVM10: Loading VMXAssist ...
(XEN) HVM10: VMX go ...
(XEN) HVM10: VMXAssist (Jul 24 2007)
(XEN) HVM10: Memory size 511 MB
(XEN) HVM10: E820 map:
(XEN) HVM10: 0000000000000000 - 000000000009FC00 (RAM)
(XEN) HVM10: 000000000009FC00 - 00000000000A0000 (Reserved)
(XEN) HVM10: 00000000000E0000 - 0000000000100000 (Reserved)
(XEN) HVM10: 0000000000100000 - 000000001FFFAC00 (RAM)
(XEN) HVM10: 000000001FFFAC00 - 0000000020000000 (Reserved)
(XEN) HVM10:
(XEN) HVM10: Start BIOS ...
(XEN) HVM10: Starting emulated 16-bit real-mode: ip=F000:FFF0
(XEN) HVM10: 0x000FFFF0: 0xF000:0xFFF0 (0) <VM86_REAL>
(XEN) HVM10:  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) HVM10: 0x000FE260: 0xF000:0xE260 (0) opc 0xB0
(XEN) HVM10: Remapping master: ICW2 0x8 -> 0x20
(XEN) HVM10: 0x000FE264: 0xF000:0xE264 (0) opc 0xB0
(XEN) HVM10: Remapping slave: ICW2 0x70 -> 0x28
(XEN) HVM10: 0x000FE268: 0xF000:0xE268 (0) opc 0xB0
(XEN) HVM10: 0x000FE26C: 0xF000:0xE26C (0) opc 0xB0
(XEN) HVM10: 0x000FE270: 0xF000:0xE270 (0) opc 0xB0
(XEN) HVM10: 0x000FE276: 0xF000:0xE276 (0) opc 0xB0
(XEN) HVM10: 0x000FE27A: 0xF000:0xE27A (0) opc 0xB0
(XEN) HVM10: 0x000FE27E: 0xF000:0xE27E (0) opc 0xE8
(XEN) HVM10: VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $
(XEN) mm.c:1345:d0 Bad L1 flags 800000
(XEN) mm.c:1345:d0 Bad L1 flags 800000
(XEN) mm.c:1345:d0 Bad L1 flags 800000
(XEN) mm.c:1345:d0 Bad L1 flags 800000
...repeat 60+ times this line

(XEN) HVM10: HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date:
2005/05/07 15:55:26 $
(XEN) HVM10:
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F2720: 0xF000:0x2720 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
(XEN) HVM10: 0x000F051E: 0xF000:0x051E (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F051E: 0xF000:0x051E (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x000F051E: 0xF000:0x051E (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: ata1  slave: Unknown device
(XEN) HVM10:
(XEN) HVM10: Booting from CD-Rom...
(XEN) HVM10: 0x000095D3: 0x0:0x95D3 (0) external interrupt 8
(XEN) HVM10: 0x000F9BE8: 0xF000:0x9BE8 (0) opc 0xC3
(XEN) HVM10: 0x0000484F: 0x0:0x484F (0) data32
(XEN) HVM10: 0x0000484F: 0x0:0x484F (0) %cs:
(XEN) HVM10: 0x00004851: 0x0:0x4851 (0) lgdt 0x4810 <47, 0x4810>
(XEN) HVM10: 0x00004856: 0x0:0x4856 (0) movl %cr0, %eax
(XEN) HVM10: 0x00004859: 0x0:0x4859 (0) opc 0xC
(XEN) HVM10: 0x0000485B: 0x0:0x485B (0) movl %eax, %cr0
(XEN) HVM10: 0x000048C1: 0x0:0x48C1 (0) <VM86_REAL>
(XEN) HVM10: 0x0000484F: 0x0:0x484F (0) data32
(XEN) HVM10: 0x0000484F: 0x0:0x484F (0) %cs:
(XEN) HVM10: 0x00004851: 0x0:0x4851 (0) lgdt 0x4810 <47, 0x4810>
(XEN) HVM10: 0x00004856: 0x0:0x4856 (0) movl %cr0, %eax
(XEN) HVM10: 0x00004859: 0x0:0x4859 (0) opc 0xC
(XEN) HVM10: 0x0000485B: 0x0:0x485B (0) movl %eax, %cr0
(XEN) HVM10: 0x000048C1: 0x0:0x48C1 (0) <VM86_REAL>
(XEN) HVM10: 0x00008DCE: 0x0:0x8DCE (0) lgdt 0x4810 <47, 0x4810>
(XEN) HVM10: 0x00008DD3: 0x0:0x8DD3 (0) lidt 0x9FBC <2048, 0x100000>
(XEN) HVM10: 0x00008DD8: 0x0:0x8DD8 (0) movl %cr0, %eax
(XEN) HVM10: 0x00008DDB: 0x0:0x8DDB (0) opc 0xC
(XEN) HVM10: 0x00008DDD: 0x0:0x8DDD (0) movl %eax, %cr0
(XEN) HVM10: 0x00008E89: 0x0:0x8E89 (0) <VM86_REAL>
(XEN) HVM10: 0x00008DCE: 0x0:0x8DCE (0) lgdt 0x4810 <47, 0x4810>
(XEN) HVM10: 0x00008DD3: 0x0:0x8DD3 (0) lidt 0x9FBC <2048, 0x100000>
(XEN) HVM10: 0x00008DD8: 0x0:0x8DD8 (0) movl %cr0, %eax
(XEN) HVM10: 0x00008DDB: 0x0:0x8DDB (0) opc 0xC
(XEN) HVM10: 0x00008DDD: 0x0:0x8DDD (0) movl %eax, %cr0
(XEN) HVM10: 0x00008E89: 0x0:0x8E89 (0) <VM86_REAL>
(XEN) HVM10: 0x00008DCE: 0x0:0x8DCE (0) lgdt 0x4810 <47, 0x4810>
(XEN) HVM10: 0x00008DD3: 0x0:0x8DD3 (0) lidt 0x9FBC <2048, 0x100000>
(XEN) HVM10: 0x00008DD8: 0x0:0x8DD8 (0) movl %cr0, %eax
(XEN) HVM10: 0x00008DDB: 0x0:0x8DDB (0) opc 0xC
(XEN) HVM10: 0x00008DDD: 0x0:0x8DDD (0) movl %eax, %cr0
(XEN) HVM10: 0x00008E89: 0x0:0x8E89 (0) <VM86_REAL>

[root@sh-quadruple ~]# cat  /var/log/xen/qemu-dm.12219.log
domid: 10
qemu: the number of cpus is 1
Watching /local/domain/10/logdirty/next-active
qemu_map_cache_init nr_buckets = 10000
shared page at pfn 1ffff
buffered io page at pfn 1fffd
Time offset set 0
xs_read(): vncpasswd get error.
/vm/0e8333c5-f6c2-70d7-4daa-ac083bb5319f/vncpasswd.
char device redirected to /dev/pts/3
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Triggered log-dirty buffer switch

[root@sh-quadruple xen]# rpm -qa | grep SDL
SDL-devel-1.2.11-2
SDL-devel-1.2.11-2
SDL-1.2.11-2
SDL-1.2.11-2

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] fedora7 can not boot in hvm domain of xen3.1, Brady Chen <=