hello,
"I didn''t try to use a xen0 kernel to boot xenU before. I am not
sure if
it is okay.
But I think you can try vmlinuz-2.6.16-1.2080_FC5xenU which comes from
another Xen
RPMs."
thanks very much for the xenU - xen0 tip. a simple typo error costs so
many problems...
however, now when I run
xm create fedora.fc4.xen.cfg -c
the virtual machines boot freezes at:
...
md: ... autorun DONE.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 132k freed
my /var/log/xend.log is:
[2006-04-03 16:45:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:177)
XendDomainInfo.create([''vm'', [''name'',
''fedora.fc4''], [''memory'',
''128''],
[''vcpus'', ''1''], [''image'',
[''linux'', [''kernel'',
''/boot/vmlinuz-2.6.16-1.2080_FC5xenU''],
[''ip'', '':1.2.3.4::::eth0:dhcp''],
[''root'', ''/dev/sda1 ro'']]],
[''device'', [''vbd'',
[''uname'',
''file:/xen/fedora/fedora.fc4.img''], [''dev'',
''sda1''], [''mode'', ''w'']]],
[''device'', [''vbd'',
[''uname'', ''file:/xen/fedora/fedora.swap''],
[''dev'',
''sda2''], [''mode'', ''w'']]],
[''device'', [''vif'']]])
[2006-04-03 16:45:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:283)
parseConfig: config is [''vm'', [''name'',
''fedora.fc4''], [''memory'',
''128''],
[''vcpus'', ''1''], [''image'',
[''linux'', [''kernel'',
''/boot/vmlinuz-2.6.16-1.2080_FC5xenU''],
[''ip'', '':1.2.3.4::::eth0:dhcp''],
[''root'', ''/dev/sda1 ro'']]],
[''device'', [''vbd'',
[''uname'',
''file:/xen/fedora/fedora.fc4.img''], [''dev'',
''sda1''], [''mode'', ''w'']]],
[''device'', [''vbd'',
[''uname'', ''file:/xen/fedora/fedora.swap''],
[''dev'',
''sda2''], [''mode'', ''w'']]],
[''device'', [''vif'']]]
[2006-04-03 16:45:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:379)
parseConfig: result is {''ssidref'': None,
''uuid'': None, ''on_crash'': None,
''on_reboot'': None, ''image'':
[''linux'', [''kernel'',
''/boot/vmlinuz-2.6.16-1.2080_FC5xenU''],
[''ip'', '':1.2.3.4::::eth0:dhcp''],
[''root'', ''/dev/sda1 ro'']],
''on_poweroff'': None, ''cpus'': None,
''name'':
''fedora.fc4'', ''backend'': [],
''vcpus'': 1, ''cpu_weight'': None,
''vcpu_avail'':
None, ''memory'': 128, ''device'':
[(''vbd'', [''vbd'', [''uname'',
''file:/xen/fedora/fedora.fc4.img''], [''dev'',
''sda1''], [''mode'', ''w'']]),
(''vbd'', [''vbd'', [''uname'',
''file:/xen/fedora/fedora.swap''], [''dev'',
''sda2''], [''mode'', ''w'']]),
(''vif'', [''vif''])],
''bootloader'': None, ''cpu'':
None, ''maxmem'': None}
[2006-04-03 16:45:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1142)
XendDomainInfo.construct: None 0
[2006-04-03 16:45:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:1174)
XendDomainInfo.initDomain: 1 1.0
[2006-04-03 16:45:08 xend] DEBUG (balloon:88) Balloon: free 30; need 129.
[2006-04-03 16:45:08 xend] DEBUG (balloon:97) Balloon: setting dom0 target
to 364.
[2006-04-03 16:45:08 xend.XendDomainInfo] DEBUG (XendDomainInfo:923)
Setting memory target of domain Domain-0 (0) to 364 MiB.
[2006-04-03 16:45:09 xend] DEBUG (balloon:84) Balloon: free 129; need 129;
done.
[2006-04-03 16:45:09 xend] INFO (image:135) buildDomain os=linux dom=1
vcpus=1
[2006-04-03 16:45:09 xend] DEBUG (image:173) dom = 1
[2006-04-03 16:45:09 xend] DEBUG (image:174) image
/boot/vmlinuz-2.6.16-1.2080_FC5xenU
[2006-04-03 16:45:09 xend] DEBUG (image:175) store_evtchn = 1
[2006-04-03 16:45:09 xend] DEBUG (image:176) console_evtchn = 2
[2006-04-03 16:45:09 xend] DEBUG (image:177) cmdline =
ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 ro
[2006-04-03 16:45:09 xend] DEBUG (image:178) ramdisk [2006-04-03 16:45:09
xend] DEBUG (image:179) vcpus = 1
[2006-04-03 16:45:09 xend] DEBUG (image:180) features [2006-04-03 16:45:09
xend] DEBUG (blkif:24) exception looking up device
number for sda1: [Errno 2] No such file or directory:
''/dev/sda1''
[2006-04-03 16:45:09 xend] DEBUG (DevController:103) DevController:
writing {''virtual-device'': ''2049'',
''backend-id'': ''0'',
''state'': ''1'',
''backend'':
''/local/domain/0/backend/vbd/1/2049''} to
/local/domain/1/device/vbd/2049.
[2006-04-03 16:45:09 xend] DEBUG (DevController:105) DevController:
writing {''domain'': ''fedora.fc4'',
''frontend'':
''/local/domain/1/device/vbd/2049'', ''dev'':
''sda1'', ''state'': ''1'',
''params'':
''/xen/fedora/fedora.fc4.img'', ''mode'':
''w'', ''frontend-id'': ''1'',
''type'':
''file''} to /local/domain/0/backend/vbd/1/2049.
[2006-04-03 16:45:09 xend] DEBUG (blkif:24) exception looking up device
number for sda2: [Errno 2] No such file or directory:
''/dev/sda2''
[2006-04-03 16:45:09 xend] DEBUG (DevController:103) DevController:
writing {''virtual-device'': ''2050'',
''backend-id'': ''0'',
''state'': ''1'',
''backend'':
''/local/domain/0/backend/vbd/1/2050''} to
/local/domain/1/device/vbd/2050.
[2006-04-03 16:45:09 xend] DEBUG (DevController:105) DevController:
writing {''domain'': ''fedora.fc4'',
''frontend'':
''/local/domain/1/device/vbd/2050'', ''dev'':
''sda2'', ''state'': ''1'',
''params'':
''/xen/fedora/fedora.swap'', ''mode'':
''w'', ''frontend-id'': ''1'',
''type'':
''file''} to /local/domain/0/backend/vbd/1/2050.
[2006-04-03 16:45:09 xend] DEBUG (DevController:103) DevController:
writing {''backend-id'': ''0'',
''mac'': ''00:16:3e:3d:ec:05'',
''handle'': ''0'',
''state'': ''1'', ''backend'':
''/local/domain/0/backend/vif/1/0''} to
/local/domain/1/device/vif/0.
[2006-04-03 16:45:09 xend] DEBUG (DevController:105) DevController:
writing {''mac'': ''00:16:3e:3d:ec:05'',
''state'': ''1'', ''handle'':
''0'',
''script'': ''/etc/xen/scripts/vif-bridge'',
''frontend-id'': ''1'',
''domain'':
''fedora.fc4'', ''frontend'':
''/local/domain/1/device/vif/0''} to
/local/domain/0/backend/vif/1/0.
[2006-04-03 16:45:09 xend.XendDomainInfo] DEBUG (XendDomainInfo:667)
Storing VM details: {''ssidref'': ''0'',
''uuid'':
''be967607-af8e-0d14-956f-42443528af54'',
''on_reboot'': ''restart'',
''start_time'': ''1144071909.98'',
''on_poweroff'': ''destroy'',
''name'':
''fedora.fc4'', ''vcpus'':
''1'', ''vcpu_avail'': ''1'',
''memory'': ''128'',
''on_crash'': ''restart'',
''image'': "(linux (kernel
/boot/vmlinuz-2.6.16-1.2080_FC5xenU) (ip :1.2.3.4::::eth0:dhcp) (root
''/dev/sda1 ro''))", ''maxmem'':
''128''}
[2006-04-03 16:45:09 xend.XendDomainInfo] DEBUG (XendDomainInfo:692)
Storing domain details: {''console/ring-ref'':
''27070'', ''console/port'':
''2'',
''name'': ''fedora.fc4'',
''console/limit'': ''1048576'',
''vm'':
''/vm/be967607-af8e-0d14-956f-42443528af54'',
''domid'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''131072'',
''store/ring-ref'': ''116136'',
''store/port'': ''1''}
[2006-04-03 16:45:09 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-04-03 16:45:09 xend] DEBUG (DevController:138) Waiting for 0.
[2006-04-03 16:45:09 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2006-04-03 16:45:10 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vif/1/0/hotplug-status.
[2006-04-03 16:45:10 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-03 16:45:10 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-04-03 16:45:10 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-04-03 16:45:10 xend] DEBUG (DevController:138) Waiting for 2049.
[2006-04-03 16:45:10 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/1/2049/hotplug-status.
[2006-04-03 16:45:11 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/1/2049/hotplug-status.
[2006-04-03 16:45:11 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-03 16:45:11 xend] DEBUG (DevController:138) Waiting for 2050.
[2006-04-03 16:45:11 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/1/2050/hotplug-status.
[2006-04-03 16:45:12 xend] DEBUG (DevController:403) hotplugStatusCallback
/local/domain/0/backend/vbd/1/2050/hotplug-status.
[2006-04-03 16:45:12 xend] DEBUG (DevController:417) hotplugStatusCallback 1.
[2006-04-03 16:45:12 xend] DEBUG (DevController:132) Waiting for devices pci.
[2006-04-03 16:45:12 xend] DEBUG (DevController:132) Waiting for devices
ioports.
[2006-04-03 16:45:12 xend] DEBUG (DevController:132) Waiting for devices
vtpm.
[2006-04-03 16:45:12 xend] INFO (XendDomain:360) Domain fedora.fc4 (1)
unpaused.
my cfg is:
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xenU"
memory = 128
name = "fedora.fc4"
nics = 1
dhcp = "dhcp"
disk = [''file:/xen/fedora/fedora.fc4.img,sda1,w'',
''file:/xen/fedora/fedora.swap,sda2,w'']
root = "/dev/sda1 ro"
Any ideas? I guess I am missing something but I cant find. Thanks in advance.
have a nice day
--
Murat Isik
www.bilgiguvenlik.com