Hi!
I have installed Xen version 3.0_7608-2.1 on my opensuse 10.0 system
everytime I try to start a domU the console stucks.
I have no idea what the problem is or what I''ve done wrong.
Any help would be appreciated.
The console stucks after the output of this:
xen:~ # xm create -c /etc/xen/win_config
Using config file "/etc/xen/win_config".
Started domain win
my config is:
xen:~ # cat /etc/xen/win_config
name = "win"
memory = 512
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
root = "/dev/hda1 ro"
extra = "3"
vif = [ ''mac=aa:cc:00:00:00:01, bridge=xenbr0'' ]
dhcp = "dhcp"
hostname = name
disk = [ ''file:/mnt/vserver/images/win_file.img,hda1,w'' ]
and /var/log/xend.log shows this:
[2005-11-07 20:26:46 xend] INFO (SrvDaemon:268) Xend Daemon started
[2005-11-07 20:26:46 xend] INFO (SrvDaemon:272) Xend changeset: Wed Nov 2
11:12:30 2005 +0100 7608:76fbcb25d174.
[2005-11-07 20:26:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:168)
XendDomainInfo.recreate({''paused'': 0,
''cpu_time'': 28148148225L, ''ssidref'':
0, ''handle'': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
''shutdown_reason'': 0, ''dying'': 0,
''dom'': 0, ''mem_kb'': 1137664,
''maxmem_kb'':
17179869180, ''max_vcpu_id'': 3, ''crashed'': 0,
''running'': 1, ''shutdown'': 0,
''online_vcpus'': 4, ''blocked'': 0})
[2005-11-07 20:26:47 xend.XendDomainInfo] INFO (XendDomainInfo:180)
Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.
[2005-11-07 20:26:47 xend.XendDomainInfo] WARNING (XendDomainInfo:202) Uuid
in store does not match uuid for existing domain 0:
8bc90e44-77ea-40dd-bb6b-7d2d7977d69e != 00000000-0000-0000-0000-000000000000
[2005-11-07 20:26:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:589) Storing
VM details: {''ssidref'': ''0'',
''uuid'':
''00000000-0000-0000-0000-000000000000'',
''on_reboot'': ''restart'',
''on_poweroff'': ''destroy'',
''vcpus'': ''1'', ''on_crash'':
''restart'', ''memory/target'':
''1137664'', ''vcpu_avail'':
''1'', ''name'':
''Domain-0''}
[2005-11-07 20:26:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:614) Storing
domain details: {''cpu/0/availability'':
''online'', ''memory/target'':
''1137664'',
''name'': ''Domain-0'',
''console/limit'': ''1048576'',
''vm'':
''/vm/00000000-0000-0000-0000-000000000000'',
''domid'': ''0''}
[2005-11-07 20:26:47 xend] DEBUG (XendDomain:140) number of vcpus to use is
0
[2005-11-07 20:26:47 xend] INFO (SrvServer:112) unix
path=/var/lib/xend/xend-socket
[2005-11-07 20:35:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:147)
XendDomainInfo.create([''vm'', [''name'',
''win''], [''memory'', ''512''],
[''image'',
[''linux'', [''kernel'',
''/boot/vmlinuz-xen''], [''ramdisk'',
''/boot/initrd-xen''],
[''ip'', '':1.2.3.4:::win:eth0:dhcp''],
[''root'', ''/dev/hda1 ro''],
[''args'', ''3''],
[''vcpus'', ''1''], [''vcpus'',
''1''], [''boot'', ''c'']]],
[''device'', [''vbd'',
[''uname'',
''file:/mnt/vserver/images/win_file.img''],
[''dev'', ''hda1''],
[''mode'', ''w'']]],
[''device'', [''vif'', [''mac'',
''aa:cc:00:00:00:01''], [''bridge'',
''xenbr0'']]]])
[2005-11-07 20:35:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:250)
parseConfig: config is [''vm'', [''name'',
''win''], [''memory'', ''512''],
[''image'',
[''linux'', [''kernel'',
''/boot/vmlinuz-xen''], [''ramdisk'',
''/boot/initrd-xen''],
[''ip'', '':1.2.3.4:::win:eth0:dhcp''],
[''root'', ''/dev/hda1 ro''],
[''args'', ''3''],
[''vcpus'', ''1''], [''vcpus'',
''1''], [''boot'', ''c'']]],
[''device'', [''vbd'',
[''uname'',
''file:/mnt/vserver/images/win_file.img''],
[''dev'', ''hda1''],
[''mode'', ''w'']]],
[''device'', [''vif'', [''mac'',
''aa:cc:00:00:00:01''], [''bridge'',
''xenbr0'']]]]
[2005-11-07 20:35:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:308)
parseConfig: result is {''ssidref'': None,
''name'': ''win'',
''on_reboot'': None,
''maxmem'': None, ''on_poweroff'': None,
''mem_kb'': None, ''maxmem_kb'': None,
''on_crash'': None, ''backend'': [],
''vcpus'': 1, ''cpu_weight'': None,
''vcpu_avail'': None, ''memory'': 512,
''device'': [(''vbd'', [''vbd'',
[''uname'',
''file:/mnt/vserver/images/win_file.img''],
[''dev'', ''hda1''], [''mode'',
''w'']]),
(''vif'', [''vif'', [''mac'',
''aa:cc:00:00:00:01''], [''bridge'',
''xenbr0'']])],
''bootloader'': None, ''image'':
[''linux'', [''kernel'',
''/boot/vmlinuz-xen''],
[''ramdisk'', ''/boot/initrd-xen''],
[''ip'', '':1.2.3.4:::win:eth0:dhcp''],
[''root'', ''/dev/hda1 ro''],
[''args'', ''3''], [''vcpus'',
''1''], [''vcpus'', ''1''],
[''boot'', ''c'']], ''cpu'':
None, ''uuid'': None}
[2005-11-07 20:35:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:1047)
XendDomainInfo.construct: None 0
[2005-11-07 20:35:44 xend.XendDomainInfo] DEBUG (XendDomainInfo:1077)
XendDomainInfo.initDomain: 1 524288 1.0
[2005-11-07 20:35:44 xend] INFO (image:131) buildDomain os=linux dom=1
vcpus=1
[2005-11-07 20:35:44 xend] DEBUG (image:169) dom = 1
[2005-11-07 20:35:44 xend] DEBUG (image:170) image /boot/vmlinuz-xen
[2005-11-07 20:35:44 xend] DEBUG (image:171) store_evtchn = 1
[2005-11-07 20:35:44 xend] DEBUG (image:172) console_evtchn = 2
[2005-11-07 20:35:44 xend] DEBUG (image:173) cmdline
ip=:1.2.3.4:::win:eth0:dhcp root=/dev/hda1 ro 3
[2005-11-07 20:35:44 xend] DEBUG (image:174) ramdisk /boot/initrd-xen
[2005-11-07 20:35:44 xend] DEBUG (image:175) vcpus = 1
[2005-11-07 20:35:44 xend] DEBUG (blkif:24) exception looking up device
number for hda1: [Errno 2] No such file or directory:
''/dev/hda1''
[2005-11-07 20:35:44 xend] DEBUG (DevController:256) DevController: writing
{''virtual-device'': ''769'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/vbd/1/769''} to
/local/domain/1/device/vbd/769.
[2005-11-07 20:35:44 xend] DEBUG (DevController:258) DevController: writing
{''domain'': ''win'',
''params'':
''/mnt/vserver/images/win_file.img'',
''frontend-id'': ''1'',
''type'': ''file'', ''dev'':
''hda1'', ''frontend'':
''/local/domain/1/device/vbd/769''} to
/local/domain/0/backend/vbd/1/769.
[2005-11-07 20:35:45 xend] DEBUG (DevController:256) DevController: writing
{''backend-id'': ''0'', ''mac'':
''aa:cc:00:00:00:01'', ''handle'':
''0'', ''backend'':
''/local/domain/0/backend/vif/1/0''} to
/local/domain/1/device/vif/0.
[2005-11-07 20:35:45 xend] DEBUG (DevController:258) DevController: writing
{''bridge'': ''xenbr0'',
''mac'': ''aa:cc:00:00:00:01'',
''handle'': ''0'', ''script'':
''/etc/xen/scripts/vif-bridge'',
''frontend-id'': ''1'',
''domain'': ''win'',
''frontend'': ''/local/domain/1/device/vif/0''}
to
/local/domain/0/backend/vif/1/0.
[2005-11-07 20:35:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:589) Storing
VM details: {''ssidref'': ''0'',
''uuid'':
''8c8a0ed6-2239-7036-0c46-9c41cdefccfe'',
''on_reboot'': ''restart'',
''image'': "(linux (kernel /boot/vmlinuz-xen) (ramdisk
/boot/initrd-xen) (ip :1.2.3.4:::win:eth0:dhcp) (root ''/dev/hda1
ro'') (args
3) (vcpus 1) (vcpus 1) (boot c))", ''on_poweroff'':
''destroy'', ''vcpus'': ''1'',
''on_crash'': ''restart'',
''memory/target'': ''524288'',
''vcpu_avail'': ''1'', ''name'':
''win''}
[2005-11-07 20:35:45 xend.XendDomainInfo] DEBUG (XendDomainInfo:614) Storing
domain details: {''console/ring-ref'':
''381750'', ''console/port'':
''2'', ''name'':
''win'', ''console/limit'':
''1048576'', ''vm'':
''/vm/8c8a0ed6-2239-7036-0c46-9c41cdefccfe'',
''domid'': ''1'',
''cpu/0/availability'': ''online'',
''memory/target'': ''524288'',
''store/ring-ref'':
''381751'', ''store/port'':
''1''}
[2005-11-07 20:35:45 xend] INFO (XendDomain:349) Domain win (1) unpaused.
Regards,
Martin F.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users