Songtao Liu
2007-Jul-03 14:56 UTC
[Fedora-xen] VCPUs >=2 will lead to failure of guest boot
Hi,
As no one answer in list of xensource, I turn to here :)
still the question about VCPUs.
When I set VCPU >= 2, then I can not boot the guest.(the guest kernel is SMP)
Guest is 2.6.20-1.2952.fc6
When using Guest Winxp (VCPUs=2) it is OK.
How can I make it run with 2 VCPU :( ???
here is some other info: cpuinfo and xen configuration file.
Thanks in advance
Songtao
\Linux localhost.localdomain 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 16:59:41
EST 2007 i686 i686 i386 GNU/Linux
CPUinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
stepping : 6
cpu MHz : 2168.162
cache size : 4096 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
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 pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr lahf_lm
bogomips : 5422.34
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
stepping : 6
cpu MHz : 2168.162
cache size : 4096 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
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 pbe nx lm constant_tsc up pni monitor ds_cpl vmx est
tm2 ssse3 cx16 xtpr lahf_lm
bogomips : 5422.34
# Automatically generated xen config file
name = "system2"
builder = "hvm"
memory = "256"
disk = [ ''file:/home/songtao/Xen_Guests/Fedora6,hda,w'', ]
vif = [ ''type=ioemu, mac=00:16:3e:51:be:52, bridge=xenbr0'', ]
uuid = "261877a2-1d16-8684-a66b-07170a381d6b"
device_model = "/usr/lib/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
apic=1
acpi=1
pae=1
vcpus=2
serial = "pty" # enable serial console
on_reboot = ''restart''
on_crash = ''restart''
xend.log:
[2007-07-03 16:17:11 xend 2762] DEBUG (balloon:127) Balloon: 279472 KiB free;
need 279144; done.
[2007-07-03 16:17:11 xend 2762] INFO (image:136) buildDomain os=hvm dom=1
vcpus=2
[2007-07-03 16:17:11 xend 2762] DEBUG (image:282) dom = 1
[2007-07-03 16:17:11 xend 2762] DEBUG (image:283) image =
/usr/lib/xen/boot/hvmloader
[2007-07-03 16:17:11 xend 2762] DEBUG (image:284) store_evtchn = 1
[2007-07-03 16:17:11 xend 2762] DEBUG (image:285) memsize = 256
[2007-07-03 16:17:11 xend 2762] DEBUG (image:286) vcpus = 2
[2007-07-03 16:17:11 xend 2762] DEBUG (image:287) pae = 1
[2007-07-03 16:17:11 xend 2762] DEBUG (image:288) acpi = 1
[2007-07-03 16:17:11 xend 2762] DEBUG (image:289) apic = 1
[2007-07-03 16:17:11 xend 2762] DEBUG (image:435) hvm shutdown watch registered
[2007-07-03 16:17:11 xend 2762] DEBUG (blkif:24) exception looking up device
number for hda: [Errno 2] No such file or directory:
''/dev/hda''
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:110) DevController: writing
{''backend-id'': ''0'',
''virtual-device'': ''768'',
''device-type'': ''disk'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vbd/1/768''} to
/local/domain/1/device/vbd/768.
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:112) DevController: writing
{''domain'': ''winxp'',
''frontend'':
''/local/domain/1/device/vbd/768'', ''dev'':
''hda'', ''state'': ''1'',
''params'': ''/home/songtao/Xen_Guests/winxp'',
''mode'': ''w'', ''online'':
''1'', ''frontend-id'': ''1'',
''type'': ''file''} to
/local/domain/0/backend/vbd/1/768.
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:110) DevController: writing
{''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vif/1/0''} to
/local/domain/1/device/vif/0.
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:112) DevController: writing
{''bridge'': ''xenbr0'',
''domain'': ''winxp'',
''handle'': ''0'', ''script'':
''/etc/xen/scripts/vif-bridge'', ''state'':
''1'', ''frontend'':
''/local/domain/1/device/vif/0'', ''mac'':
''00:16:3e:48:1a:3e'', ''online'':
''1'', ''frontend-id'': ''1'',
''type'': ''ioemu''} to
/local/domain/0/backend/vif/1/0.
[2007-07-03 16:17:11 xend 2762] INFO (image:418) spawning device models:
/usr/lib/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'',
''-d'', ''1'', ''-m'',
''256'', ''-boot'', ''c'',
''-serial'', ''pty'',
''-vcpus'', ''2'', ''-acpi'',
''-domain-name'', ''winxp'',
''-net'',
''nic,vlan=1,macaddr=00:16:3e:48:1a:3e,model=rtl8139'',
''-net'', ''tap,vlan=1,bridge=xenbr0'',
''-vncunused'', ''-vnclisten'',
''127.0.0.1'']
[2007-07-03 16:17:11 xend 2762] INFO (image:420) device model pid: 3708
[2007-07-03 16:17:11 xend.XendDomainInfo 2762] DEBUG (XendDomainInfo:715)
Storing VM details: {''shadow_memory'': ''4'',
''uuid'':
''6d5f109d-cde9-aa57-65d8-48f824a06166'',
''on_reboot'': ''restart'',
''start_time'': ''1183472231.33'',
''on_poweroff'': ''destroy'',
''name'': ''winxp'',
''xend/restart_count'': ''0'',
''vcpus'': ''2'',
''vcpu_avail'': ''3'',
''memory'': ''256'',
''on_crash'': ''restart'',
''image'': "(hvm (kernel /usr/lib/xen/boot/hvmloader)
(device_model /usr/lib/xen/bin/qemu-dm) (pae 1) (vcpus 2) (boot c) (serial pty)
(vnc 1) (vncunused 1) (display :0.0) (xauthority /root/.xauthP1IB4T) (acpi 1)
(apic 1) (vncpasswd ''None''))",
''maxmem'': ''256''}
[2007-07-03 16:17:11 xend.XendDomainInfo 2762] DEBUG (XendDomainInfo:750)
Storing domain details: {''console/port'':
''2'', ''name'': ''winxp'',
''console/limit'': ''1048576'',
''vm'':
''/vm/6d5f109d-cde9-aa57-65d8-48f824a06166'',
''domid'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''262144'',
''store/ring-ref'': ''19693'',
''cpu/1/availability'': ''online'',
''store/port'': ''1''}
[2007-07-03 16:17:11 xend 2762] DEBUG (image:458) hvm_shutdown fired, shutdown
reason=None
[2007-07-03 16:17:11 xend.XendDomainInfo 2762] DEBUG (XendDomainInfo:940)
XendDomainInfo.handleShutdownWatch
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:143) Waiting for devices
vif.
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:149) Waiting for 0.
[2007-07-03 16:17:11 xend 2762] DEBUG (DevController:472) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:472) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:486) hotplugStatusCallback
1.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
usb.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
vbd.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:149) Waiting for 768.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:472) hotplugStatusCallback
/local/domain/0/backend/vbd/1/768/hotplug-status.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:486) hotplugStatusCallback
1.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
irq.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
vkbd.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
vfb.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
pci.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
ioports.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
tap.
[2007-07-03 16:17:12 xend 2762] DEBUG (DevController:143) Waiting for devices
vtpm.
[2007-07-03 16:17:12 xend 2762] INFO (XendDomain:370) Domain winxp (1) unpaused.
[2007-07-03 16:17:59 xend 2762] DEBUG (image:458) hvm_shutdown fired, shutdown
reason=halt
[2007-07-03 16:17:59 xend.XendDomainInfo 2762] INFO (XendDomainInfo:899) Domain
has shutdown: name=winxp id=1 reason=halt.
[2007-07-03 16:17:59 xend.XendDomainInfo 2762] DEBUG (XendDomainInfo:1463)
XendDomainInfo.destroy: domid=1
[2007-07-03 16:17:59 xend.XendDomainInfo 2762] DEBUG (XendDomainInfo:1471)
XendDomainInfo.destroyDomain(1)
[2007-07-03 16:17:59 xend 2762] DEBUG (image:447) hvm shutdown watch
unregistered