Mike O''Brien
2008-Mar-25 00:59 UTC
Need a reality check, please: Fedora domU on Nevada 83/85
I''m fairly new to the Xen capabilities added to Solaris. In trying to get a Fedora Core 8 guest up under Nevada 83, I built a 64-bit Fedora Xen kernel over on a Fedora Linux machine, using the latest Xen 3.2.0 sources. It nicely built a Fedora "vmlinuz-2.6.18.8-xen" kernel. When I took that over to a Solaris Nevada 83 machine to run, it failed, but the sole output from "xm start" was # xm create fedora.fc8.64.xen3.cfg -c Using config file "./fedora.fc8.64.xen3.cfg". Error: # which wasn''t too helpful. /var/log/xen/xend.log was a little more helpful: [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''fedora.fc8.64''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''shutdown''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.18.8-xen''], [''ip'', '':1.2.3.4::::eth0:dhcp''], [''root'', ''/dev/sda1''], [''args'', ''fastboot'']]], [''device'', [''vbd'', [''uname'', ''file:/export/home/xfc/fedora.fc8.64.img''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/export/home/xfc/fedora.swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2008-03-24 17:50:36 xend.XendConfig 388] WARNING (XendConfig:612) Unconverted key: cpus [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1320) XendDomainInfo.constructDomain [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1366) XendDomainInfo.initDomain: 4 256 [2008-03-24 17:50:36 xend 388] DEBUG (balloon:116) Balloon: 262924 KiB free; need 262144; done. [2008-03-24 17:50:36 xend 388] INFO (image:129) buildDomain os=linux dom=4 vcpus=1 [2008-03-24 17:50:36 xend 388] DEBUG (image:198) domid = 4 [2008-03-24 17:50:36 xend 388] DEBUG (image:199) memsize = 256 [2008-03-24 17:50:36 xend 388] DEBUG (image:200) image = /boot/vmlinuz-2.6.18.8-xen [2008-03-24 17:50:36 xend 388] DEBUG (image:201) store_evtchn = 1 [2008-03-24 17:50:36 xend 388] DEBUG (image:202) console_evtchn = 2 [2008-03-24 17:50:36 xend 388] DEBUG (image:203) cmdline = root=/dev/sda1 ip=:1.2.3.4::::eth0:dhcp fastboot [2008-03-24 17:50:36 xend 388] DEBUG (image:204) ramdisk = [2008-03-24 17:50:36 xend 388] DEBUG (image:205) vcpus = 1 [2008-03-24 17:50:36 xend 388] DEBUG (image:206) features = [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vbd : {''uname'': ''file:/export/home/xfc/fedora.fc8.64.img'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''sda1'', ''uuid'': ''791a60c3-1c1e-831d-81fd-0a003a52aa8c''} [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/4/2049''} to /local/domain/4/device/vbd/2049. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''frontend'': ''/local/domain/4/device/vbd/2049'', ''uuid'': ''791a60c3-1c1e-831d-81fd-0a003a52aa8c'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': ''/export/home/xfc/fedora.fc8.64.img'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''file''} to /local/domain/0/backend/vbd/4/2049. [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vbd : {''uname'': ''file:/export/home/xfc/fedora.swap'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''sda2'', ''uuid'': ''40bd6243-a337-6675-de19-9a3e987c2386''} [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/4/2050''} to /local/domain/4/device/vbd/2050. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''frontend'': ''/local/domain/4/device/vbd/2050'', ''uuid'': ''40bd6243-a337-6675-de19-9a3e987c2386'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': ''/export/home/xfc/fedora.swap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''file''} to /local/domain/0/backend/vbd/4/2050. [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vif : {''mac'': ''00:16:3e:2b:79:2d'', ''uuid'': ''00b9aa77-43a1-d6fa-070c-92b76c4ae077''} [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:2b:79:2d'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/4/0''} to /local/domain/4/device/vif/0. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''handle'': ''0'', ''uuid'': ''00b9aa77-43a1-d6fa-070c-92b76c4ae077'', ''script'': ''/usr/lib/xen/scripts/vif-vnic'', ''state'': ''1'', ''frontend'': ''/local/domain/4/device/vif/0'', ''mac'': ''00:16:3e:2b:79:2d'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''SUNW_mac''} to /local/domain/0/backend/vif/4/0. [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1750) Storing VM details: {''on_xend_stop'': ''shutdown'', ''shadow_memory'': ''0'', ''uuid'': ''978ea67c-44e0-f9c6-8d6f-6bf24befebde'', ''name'': ''fedora.fc8.64'', ''on_reboot'': ''restart'', ''start_time'': ''1206406236.58'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''256'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.18.8-xen) (args ''root=/dev/sda1 ip=:1.2.3.4::::eth0:dhcp fastboot'') (root /dev/sda1) (ip :1.2.3.4::::eth0:dhcp))", ''maxmem'': ''256''} [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:757) Storing domain details: {''console/ring-ref'': ''8387243'', ''console/port'': ''2'', ''name'': ''fedora.fc8.64'', ''console/limit'': ''1048576'', ''vm'': ''/vm/978ea67c-44e0-f9c6-8d6f-6bf24befebde'', ''domid'': ''4'', ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', ''store/ring-ref'': ''8387244'', ''store/port'': ''1''} [2008-03-24 17:50:36 xend 388] DEBUG (XendDomain:431) Adding Domain: 4 [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:824) XendDomainInfo.handleShutdownWatch [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices vif. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:154) Waiting for 0. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:575) hotplugStatusCallback 1. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices usb. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices vbd. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:154) Waiting for 2049. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vbd/4/2049/hotplug-status. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:575) hotplugStatusCallback 2. [2008-03-24 17:50:36 xend 388] DEBUG (DevController:549) destroyCallback /local/domain/4/device/vbd/2049. [2008-03-24 17:50:46 xend 388] ERROR (xmlrpclib2:218) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 197, in _marshaled_dispatch File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 52, in dispatch File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 518, in waitForDevices File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 150, in waitForDevices File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 165, in waitForDevice File "/usr/lib/python2.4/site-packages/xen/xend/server/blkif.py", line 146, in destroyDevice File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 237, in destroyDevice EnvironmentError [2008-03-24 17:50:46 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1519) XendDomainInfo.destroy: domid=4 [2008-03-24 17:50:46 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1527) XendDomainInfo.destroyDomain(4) [2008-03-24 17:50:47 xend 388] DEBUG (DevController:549) destroyCallback /local/domain/4/device/vbd/2049. [2008-03-24 17:50:47 xend 388] DEBUG (DevController:557) destroyCallback /local/domain/4/device/vbd/2049 is destroyed Is the problem that I should be building against some earlier version of Xen? If I move from Solaris Nevada 83 to Nevada 85, that''s Xen 3.1.2 as nearly as I can tell, but the sources from xen.org are 3.1.3. Will the tarballs from the same page on xen.org (http://www.xen.org/download/dl_31tarballs.html) work under Nevada 85? Any wisdom would be appreciated. Mike O''Brien
Mark Johnson
2008-Mar-25 12:42 UTC
Re: Need a reality check, please: Fedora domU on Nevada 83/85
Mike O''Brien wrote:> I''m fairly new to the Xen capabilities added to Solaris. > In trying to get a Fedora Core 8 guest up under Nevada 83, > I built a 64-bit Fedora Xen kernel over on a Fedora Linux > machine, using the latest Xen 3.2.0 sources. It nicely built > a Fedora "vmlinuz-2.6.18.8-xen" kernel. > > When I took that over to a Solaris Nevada 83 machine to run, > it failed, but the sole output from "xm start" was > > # xm create fedora.fc8.64.xen3.cfg -c > Using config file "./fedora.fc8.64.xen3.cfg". > Error: > #I just tried on b85 and it still works fine.. There are some old instructions which should still work @ http://opensolaris.org/os/community/xen/docs/fedora-install.htm virt-install should also work... I don''t know the exact options though. I have fedora6, fedora7, and fedora8 PV domUs running on my dom0. With b85, you can now run 32-bit domUs on a 64-bit dom0 too. MRJ> which wasn''t too helpful. /var/log/xen/xend.log was a little more > helpful: > > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''fedora.fc8.64''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''shutdown''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.18.8-xen''], [''ip'', '':1.2.3.4::::eth0:dhcp''], [''root'', ''/dev/sda1''], [''args'', ''fastboot'']]], [''device'', [''vbd'', [''uname'', ''file:/export/home/xfc/fedora.fc8.64.img''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/export/home/xfc/fedora.swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) > [2008-03-24 17:50:36 xend.XendConfig 388] WARNING (XendConfig:612) Unconverted key: cpus > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1320) XendDomainInfo.constructDomain > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1366) XendDomainInfo.initDomain: 4 256 > [2008-03-24 17:50:36 xend 388] DEBUG (balloon:116) Balloon: 262924 KiB free; need 262144; done. > [2008-03-24 17:50:36 xend 388] INFO (image:129) buildDomain os=linux dom=4 vcpus=1 > [2008-03-24 17:50:36 xend 388] DEBUG (image:198) domid = 4 > [2008-03-24 17:50:36 xend 388] DEBUG (image:199) memsize = 256 > [2008-03-24 17:50:36 xend 388] DEBUG (image:200) image = /boot/vmlinuz-2.6.18.8-xen > [2008-03-24 17:50:36 xend 388] DEBUG (image:201) store_evtchn = 1 > [2008-03-24 17:50:36 xend 388] DEBUG (image:202) console_evtchn = 2 > [2008-03-24 17:50:36 xend 388] DEBUG (image:203) cmdline = root=/dev/sda1 ip=:1.2.3.4::::eth0:dhcp fastboot > [2008-03-24 17:50:36 xend 388] DEBUG (image:204) ramdisk = > [2008-03-24 17:50:36 xend 388] DEBUG (image:205) vcpus = 1 > [2008-03-24 17:50:36 xend 388] DEBUG (image:206) features = > [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vbd : {''uname'': ''file:/export/home/xfc/fedora.fc8.64.img'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''sda1'', ''uuid'': ''791a60c3-1c1e-831d-81fd-0a003a52aa8c''} > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/4/2049''} to /local/domain/4/device/vbd/2049. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''frontend'': ''/local/domain/4/device/vbd/2049'', ''uuid'': ''791a60c3-1c1e-831d-81fd-0a003a52aa8c'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': ''/export/home/xfc/fedora.fc8.64.img'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''file''} to /local/domain/0/backend/vbd/4/2049. > [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vbd : {''uname'': ''file:/export/home/xfc/fedora.swap'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''sda2'', ''uuid'': ''40bd6243-a337-6675-de19-9a3e987c2386''} > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/4/2050''} to /local/domain/4/device/vbd/2050. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''frontend'': ''/local/domain/4/device/vbd/2050'', ''uuid'': ''40bd6243-a337-6675-de19-9a3e987c2386'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': ''/export/home/xfc/fedora.swap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''file''} to /local/domain/0/backend/vbd/4/2050. > [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vif : {''mac'': ''00:16:3e:2b:79:2d'', ''uuid'': ''00b9aa77-43a1-d6fa-070c-92b76c4ae077''} > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:2b:79:2d'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/4/0''} to /local/domain/4/device/vif/0. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''handle'': ''0'', ''uuid'': ''00b9aa77-43a1-d6fa-070c-92b76c4ae077'', ''script'': ''/usr/lib/xen/scripts/vif-vnic'', ''state'': ''1'', ''frontend'': ''/local/domain/4/device/vif/0'', ''mac'': ''00:16:3e:2b:79:2d'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''SUNW_mac''} to /local/domain/0/backend/vif/4/0. > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1750) Storing VM details: {''on_xend_stop'': ''shutdown'', ''shadow_memory'': ''0'', ''uuid'': ''978ea67c-44e0-f9c6-8d6f-6bf24befebde'', ''name'': ''fedora.fc8.64'', ''on_reboot'': ''restart'', ''start_time'': ''1206406236.58'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''256'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.18.8-xen) (args ''root=/dev/sda1 ip=:1.2.3.4::::eth0:dhcp fastboot'') (root /dev/sda1) (ip :1.2.3.4::::eth0:dhcp))", ''maxmem'': ''256''} > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:757) Storing domain details: {''console/ring-ref'': ''8387243'', ''console/port'': ''2'', ''name'': ''fedora.fc8.64'', ''console/limit'': ''1048576'', ''vm'': ''/vm/978ea67c-44e0-f9c6-8d6f-6bf24befebde'', ''domid'': ''4'', ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', ''store/ring-ref'': ''8387244'', ''store/port'': ''1''} > [2008-03-24 17:50:36 xend 388] DEBUG (XendDomain:431) Adding Domain: 4 > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:824) XendDomainInfo.handleShutdownWatch > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices vif. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:154) Waiting for 0. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:575) hotplugStatusCallback 1. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices usb. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices vbd. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:154) Waiting for 2049. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vbd/4/2049/hotplug-status. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:575) hotplugStatusCallback 2. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:549) destroyCallback /local/domain/4/device/vbd/2049. > [2008-03-24 17:50:46 xend 388] ERROR (xmlrpclib2:218) > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 197, in _marshaled_dispatch > File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch > return func(*params) > File "<string>", line 1, in <lambda> > File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 52, in dispatch > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 518, in waitForDevices > File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 150, in waitForDevices > File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 165, in waitForDevice > File "/usr/lib/python2.4/site-packages/xen/xend/server/blkif.py", line 146, in destroyDevice > File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 237, in destroyDevice > EnvironmentError > [2008-03-24 17:50:46 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1519) XendDomainInfo.destroy: domid=4 > [2008-03-24 17:50:46 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1527) XendDomainInfo.destroyDomain(4) > [2008-03-24 17:50:47 xend 388] DEBUG (DevController:549) destroyCallback /local/domain/4/device/vbd/2049. > [2008-03-24 17:50:47 xend 388] DEBUG (DevController:557) destroyCallback /local/domain/4/device/vbd/2049 is destroyed > > Is the problem that I should be building against some earlier > version of Xen? If I move from Solaris Nevada 83 to Nevada 85, that''s > Xen 3.1.2 as nearly as I can tell, but the sources from xen.org > are 3.1.3. Will the tarballs from the same page on xen.org > (http://www.xen.org/download/dl_31tarballs.html) work under Nevada 85? > > Any wisdom would be appreciated. > > Mike O''Brien > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
James Cornell
2008-Mar-25 17:27 UTC
Re: Need a reality check, please: Fedora domU on Nevada 83/85
Mike O''Brien wrote:> I''m fairly new to the Xen capabilities added to Solaris. > In trying to get a Fedora Core 8 guest up under Nevada 83, > I built a 64-bit Fedora Xen kernel over on a Fedora Linux > machine, using the latest Xen 3.2.0 sources. It nicely built > a Fedora "vmlinuz-2.6.18.8-xen" kernel. > > When I took that over to a Solaris Nevada 83 machine to run, > it failed, but the sole output from "xm start" was > > # xm create fedora.fc8.64.xen3.cfg -c > Using config file "./fedora.fc8.64.xen3.cfg". > Error: > # > > which wasn''t too helpful. /var/log/xen/xend.log was a little more > helpful: > > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''fedora.fc8.64''], [''memory'', 256], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''shutdown''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.18.8-xen''], [''ip'', '':1.2.3.4::::eth0:dhcp''], [''root'', ''/dev/sda1''], [''args'', ''fastboot'']]], [''device'', [''vbd'', [''uname'', ''file:/export/home/xfc/fedora.fc8.64.img''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/export/home/xfc/fedora.swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'']]]) > [2008-03-24 17:50:36 xend.XendConfig 388] WARNING (XendConfig:612) Unconverted key: cpus > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1320) XendDomainInfo.constructDomain > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1366) XendDomainInfo.initDomain: 4 256 > [2008-03-24 17:50:36 xend 388] DEBUG (balloon:116) Balloon: 262924 KiB free; need 262144; done. > [2008-03-24 17:50:36 xend 388] INFO (image:129) buildDomain os=linux dom=4 vcpus=1 > [2008-03-24 17:50:36 xend 388] DEBUG (image:198) domid = 4 > [2008-03-24 17:50:36 xend 388] DEBUG (image:199) memsize = 256 > [2008-03-24 17:50:36 xend 388] DEBUG (image:200) image = /boot/vmlinuz-2.6.18.8-xen > [2008-03-24 17:50:36 xend 388] DEBUG (image:201) store_evtchn = 1 > [2008-03-24 17:50:36 xend 388] DEBUG (image:202) console_evtchn = 2 > [2008-03-24 17:50:36 xend 388] DEBUG (image:203) cmdline = root=/dev/sda1 ip=:1.2.3.4::::eth0:dhcp fastboot > [2008-03-24 17:50:36 xend 388] DEBUG (image:204) ramdisk = > [2008-03-24 17:50:36 xend 388] DEBUG (image:205) vcpus = 1 > [2008-03-24 17:50:36 xend 388] DEBUG (image:206) features = > [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vbd : {''uname'': ''file:/export/home/xfc/fedora.fc8.64.img'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''sda1'', ''uuid'': ''791a60c3-1c1e-831d-81fd-0a003a52aa8c''} > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2049'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/4/2049''} to /local/domain/4/device/vbd/2049. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''frontend'': ''/local/domain/4/device/vbd/2049'', ''uuid'': ''791a60c3-1c1e-831d-81fd-0a003a52aa8c'', ''dev'': ''sda1'', ''state'': ''1'', ''params'': ''/export/home/xfc/fedora.fc8.64.img'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''file''} to /local/domain/0/backend/vbd/4/2049. > [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vbd : {''uname'': ''file:/export/home/xfc/fedora.swap'', ''driver'': ''paravirtualised'', ''mode'': ''w'', ''dev'': ''sda2'', ''uuid'': ''40bd6243-a337-6675-de19-9a3e987c2386''} > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''2050'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/4/2050''} to /local/domain/4/device/vbd/2050. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''frontend'': ''/local/domain/4/device/vbd/2050'', ''uuid'': ''40bd6243-a337-6675-de19-9a3e987c2386'', ''dev'': ''sda2'', ''state'': ''1'', ''params'': ''/export/home/xfc/fedora.swap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''file''} to /local/domain/0/backend/vbd/4/2050. > [2008-03-24 17:50:36 xend.XendDomainInfo 388] INFO (XendDomainInfo:1230) createDevice: vif : {''mac'': ''00:16:3e:2b:79:2d'', ''uuid'': ''00b9aa77-43a1-d6fa-070c-92b76c4ae077''} > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:116) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:2b:79:2d'', ''handle'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/4/0''} to /local/domain/4/device/vif/0. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:118) DevController: writing {''domain'': ''fedora.fc8.64'', ''handle'': ''0'', ''uuid'': ''00b9aa77-43a1-d6fa-070c-92b76c4ae077'', ''script'': ''/usr/lib/xen/scripts/vif-vnic'', ''state'': ''1'', ''frontend'': ''/local/domain/4/device/vif/0'', ''mac'': ''00:16:3e:2b:79:2d'', ''online'': ''1'', ''frontend-id'': ''4'', ''type'': ''SUNW_mac''} to /local/domain/0/backend/vif/4/0. > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1750) Storing VM details: {''on_xend_stop'': ''shutdown'', ''shadow_memory'': ''0'', ''uuid'': ''978ea67c-44e0-f9c6-8d6f-6bf24befebde'', ''name'': ''fedora.fc8.64'', ''on_reboot'': ''restart'', ''start_time'': ''1206406236.58'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''memory'': ''256'', ''image'': "(linux (kernel /boot/vmlinuz-2.6.18.8-xen) (args ''root=/dev/sda1 ip=:1.2.3.4::::eth0:dhcp fastboot'') (root /dev/sda1) (ip :1.2.3.4::::eth0:dhcp))", ''maxmem'': ''256''} > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:757) Storing domain details: {''console/ring-ref'': ''8387243'', ''console/port'': ''2'', ''name'': ''fedora.fc8.64'', ''console/limit'': ''1048576'', ''vm'': ''/vm/978ea67c-44e0-f9c6-8d6f-6bf24befebde'', ''domid'': ''4'', ''cpu/0/availability'': ''online'', ''memory/target'': ''262144'', ''store/ring-ref'': ''8387244'', ''store/port'': ''1''} > [2008-03-24 17:50:36 xend 388] DEBUG (XendDomain:431) Adding Domain: 4 > [2008-03-24 17:50:36 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:824) XendDomainInfo.handleShutdownWatch > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices vif. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:154) Waiting for 0. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:575) hotplugStatusCallback 1. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices usb. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:149) Waiting for devices vbd. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:154) Waiting for 2049. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:561) hotplugStatusCallback /local/domain/0/backend/vbd/4/2049/hotplug-status. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:575) hotplugStatusCallback 2. > [2008-03-24 17:50:36 xend 388] DEBUG (DevController:549) destroyCallback /local/domain/4/device/vbd/2049. > [2008-03-24 17:50:46 xend 388] ERROR (xmlrpclib2:218) > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 197, in _marshaled_dispatch > File "/usr/lib/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch > return func(*params) > File "<string>", line 1, in <lambda> > File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 52, in dispatch > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 518, in waitForDevices > File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 150, in waitForDevices > File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 165, in waitForDevice > File "/usr/lib/python2.4/site-packages/xen/xend/server/blkif.py", line 146, in destroyDevice > File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 237, in destroyDevice > EnvironmentError > [2008-03-24 17:50:46 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1519) XendDomainInfo.destroy: domid=4 > [2008-03-24 17:50:46 xend.XendDomainInfo 388] DEBUG (XendDomainInfo:1527) XendDomainInfo.destroyDomain(4) > [2008-03-24 17:50:47 xend 388] DEBUG (DevController:549) destroyCallback /local/domain/4/device/vbd/2049. > [2008-03-24 17:50:47 xend 388] DEBUG (DevController:557) destroyCallback /local/domain/4/device/vbd/2049 is destroyed > > Is the problem that I should be building against some earlier > version of Xen? If I move from Solaris Nevada 83 to Nevada 85, that''s > Xen 3.1.2 as nearly as I can tell, but the sources from xen.org > are 3.1.3. Will the tarballs from the same page on xen.org > (http://www.xen.org/download/dl_31tarballs.html) work under Nevada 85? > > Any wisdom would be appreciated. > > Mike O''Brien > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >One minor revision should be compatible and I went through your xend debug and can''t find any really useful information. Perhaps something is missing that is needed, like disk controller drivers, because those are probably the most critically needed. It should be something generic that''s always built with the default Fedora 8 kernel config, but you should check. Does the system even boot at all under Xen? (Like VNC and initial startup routines, kernel debug, etc. independent of what Xen spits out) James
Mike O''Brien
2008-Mar-25 20:54 UTC
Re: Need a reality check, please: Fedora domU on Nevada 83/85
> I just tried on b85 and it still works fine.. There are some > old instructions which should still work @ > > http://opensolaris.org/os/community/xen/docs/fedora-install.htm > > virt-install should also work... I don''t know the > exact options though. > > I have fedora6, fedora7, and fedora8 PV domUs running > on my dom0. With b85, you can now run 32-bit domUs > on a 64-bit dom0 too.My question is more about versions of Xen - which version of Xen should I be building guests against? Mike O''Brien
Mike O''Brien
2008-Mar-25 23:22 UTC
Re: Need a reality check, please: Fedora domU on Nevada 83/85
For the record, the problem with my domU Fedora 8 system turned out to be that the ".img" file I was using was bogus. I became suspicious when the Solaris dom0 wouldn''t even loop mount it. I replaced it with a downloaded image from xensources and that did the trick. The Fedora guest now boots fine. Mike O''Brien
James Cornell
2008-Mar-26 00:36 UTC
Re: Need a reality check, please: Fedora domU on Nevada 83/85
Mike O''Brien wrote:>> I just tried on b85 and it still works fine.. There are some >> old instructions which should still work @ >> >> http://opensolaris.org/os/community/xen/docs/fedora-install.htm >> >> virt-install should also work... I don''t know the >> exact options though. >> >> I have fedora6, fedora7, and fedora8 PV domUs running >> on my dom0. With b85, you can now run 32-bit domUs >> on a 64-bit dom0 too. >> > > My question is more about versions of Xen - which version > of Xen should I be building guests against? > > Mike O''Brien > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >Pretty sure 3.1.2. James
Mark Johnson
2008-Mar-26 14:59 UTC
Re: Need a reality check, please: Fedora domU on Nevada 83/85
Mike O''Brien wrote:>> I just tried on b85 and it still works fine.. There are some >> old instructions which should still work @ >> >> http://opensolaris.org/os/community/xen/docs/fedora-install.htm >> >> virt-install should also work... I don''t know the >> exact options though. >> >> I have fedora6, fedora7, and fedora8 PV domUs running >> on my dom0. With b85, you can now run 32-bit domUs >> on a 64-bit dom0 too. > > My question is more about versions of Xen - which version > of Xen should I be building guests against?It shouldn''t matter... Although, you shouldn''t have to be building a kernel?? Fedora6-8 come with a Xen enabled kernel already. MRJ