Hello, I''m trying to get a freebsd virtual machine running following : http://www.yuanjue.net/xen/howto.html But I get : # xm create freebsd_xen_INSTALL -c Using config file "./freebsd_xen_INSTALL". Error: (14, ''Bad address'') Am I missing something? I am using xen 3.0.4. Thanks and regards, Sergi .... log output from xend.log: [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''freebsd-xen-INSTALL''], [''memory'', 512], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/xenvm/fbsd/freebsd-XENU_INSTALL''], [''args'', ''boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100'']]], [''device'', [''vbd'', [''uname'', ''file:/xenvm/fbsd/freebsd_xen_INSTALL.img''], [''dev'', ''hda1''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2007-02-27 12:46:59 xend.XendConfig 9551] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 21 256 [2007-02-27 12:46:59 xend 9551] DEBUG (balloon:127) Balloon: 627696 KiB free; need 524288; done. [2007-02-27 12:46:59 xend 9551] INFO (image:125) buildDomain os=linux dom=21 vcpus=1 [2007-02-27 12:46:59 xend 9551] DEBUG (image:194) domid = 21 [2007-02-27 12:46:59 xend 9551] DEBUG (image:195) memsize = 512 [2007-02-27 12:46:59 xend 9551] DEBUG (image:196) image /xenvm/fbsd/freebsd-XENU_INSTALL [2007-02-27 12:46:59 xend 9551] DEBUG (image:197) store_evtchn = 1 [2007-02-27 12:46:59 xend 9551] DEBUG (image:198) console_evtchn = 2 [2007-02-27 12:46:59 xend 9551] DEBUG (image:199) cmdline boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100 [2007-02-27 12:46:59 xend 9551] DEBUG (image:200) ramdisk [2007-02-27 12:46:59 xend 9551] DEBUG (image:201) vcpus = 1 [2007-02-27 12:46:59 xend 9551] DEBUG (image:202) features [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:1399) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1383, in _initDomain channel_details = self.image.createImage() File "//usr/lib/python/xen/xend/image.py", line 108, in createImage return self.createDomain() File "//usr/lib/python/xen/xend/image.py", line 127, in createDomain result = self.buildDomain() File "//usr/lib/python/xen/xend/image.py", line 626, in buildDomain return LinuxImageHandler.buildDomain(self) File "//usr/lib/python/xen/xend/image.py", line 211, in buildDomain features = self.vm.getFeatures()) Error: (14, ''Bad address'') [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:397) VM start failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start self._initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in _initDomain raise VmError(str(exn)) VmError: (14, ''Bad address'') [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=21 [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(21) [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:99) Domain construction failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create vm.start() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start self._initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in _initDomain raise VmError(str(exn)) VmError: (14, ''Bad address'') [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:94) XendDomainInfo.create([''vm'', [''name'', ''freebsd-xen-INSTALL''], [''memory'', 512], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''image'', [''linux'', [''kernel'', ''/xenvm/fbsd/freebsd-XENU_INSTALL''], [''args'', ''boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100'']]], [''device'', [''vbd'', [''uname'', ''file:/xenvm/fbsd/freebsd_xen_INSTALL.img''], [''dev'', ''hda1''], [''mode'', ''w'']]], [''device'', [''vif'']]]) [2007-02-27 12:47:44 xend.XendConfig 9551] WARNING (XendConfig:606) Unconverted key: cpus [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1284) XendDomainInfo.constructDomain [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1330) XendDomainInfo.initDomain: 22 256 [2007-02-27 12:47:44 xend 9551] DEBUG (balloon:127) Balloon: 627696 KiB free; need 524288; done. [2007-02-27 12:47:44 xend 9551] INFO (image:125) buildDomain os=linux dom=22 vcpus=1 [2007-02-27 12:47:44 xend 9551] DEBUG (image:194) domid = 22 [2007-02-27 12:47:44 xend 9551] DEBUG (image:195) memsize = 512 [2007-02-27 12:47:44 xend 9551] DEBUG (image:196) image /xenvm/fbsd/freebsd-XENU_INSTALL [2007-02-27 12:47:44 xend 9551] DEBUG (image:197) store_evtchn = 1 [2007-02-27 12:47:44 xend 9551] DEBUG (image:198) console_evtchn = 2 [2007-02-27 12:47:44 xend 9551] DEBUG (image:199) cmdline boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100 [2007-02-27 12:47:44 xend 9551] DEBUG (image:200) ramdisk [2007-02-27 12:47:44 xend 9551] DEBUG (image:201) vcpus = 1 [2007-02-27 12:47:44 xend 9551] DEBUG (image:202) features [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:1399) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1383, in _initDomain channel_details = self.image.createImage() File "//usr/lib/python/xen/xend/image.py", line 108, in createImage return self.createDomain() File "//usr/lib/python/xen/xend/image.py", line 127, in createDomain result = self.buildDomain() File "//usr/lib/python/xen/xend/image.py", line 626, in buildDomain return LinuxImageHandler.buildDomain(self) File "//usr/lib/python/xen/xend/image.py", line 211, in buildDomain features = self.vm.getFeatures()) Error: (14, ''Bad address'') [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:397) VM start failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start self._initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in _initDomain raise VmError(str(exn)) VmError: (14, ''Bad address'') [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=22 [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(22) [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:99) Domain construction failed Traceback (most recent call last): File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create vm.start() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start self._initDomain() File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in _initDomain raise VmError(str(exn)) VmError: (14, ''Bad address'') [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi Ewan, I suggested Sergi post this to xen-devel since this looks to me like the kernel being loaded *might* be tickling some odd tools behaviour... I can''t quite see why the traceback that the logs show would actually be occurring - maybe someone who has more familiarity with the code can provide some insight? Any clues off the top of your head? I''ve attempted to trace what could be producing this exception but I''m actually not sure what it could be... Sergi: what release of Xen 3.0.4 is this? Where did you get it from? What mode is the host running in? (32-bit, PAE, 64-bit) Cheers, Mark On Tuesday 27 February 2007 12:47, Sergi Seira wrote:> Hello, > > I''m trying to get a freebsd virtual machine running following : > > http://www.yuanjue.net/xen/howto.html > > But I get : > > # xm create freebsd_xen_INSTALL -c > Using config file "./freebsd_xen_INSTALL". > Error: (14, ''Bad address'') > > Am I missing something? > > I am using xen 3.0.4. > > Thanks and regards, > Sergi > > .... > > log output from xend.log: > > [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:94) > XendDomainInfo.create([''vm'', [''name'', ''freebsd-xen-INSTALL''], [''memory'', > 512], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', > ''ignore''], [''image'', [''linux'', [''kernel'', > ''/xenvm/fbsd/freebsd-XENU_INSTALL''], [''args'', > ''boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100'']]], > [''device'', [''vbd'', [''uname'', > ''file:/xenvm/fbsd/freebsd_xen_INSTALL.img''], [''dev'', ''hda1''], [''mode'', > ''w'']]], [''device'', [''vif'']]]) > [2007-02-27 12:46:59 xend.XendConfig 9551] WARNING (XendConfig:606) > Unconverted key: cpus > [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1284) XendDomainInfo.constructDomain > [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1330) XendDomainInfo.initDomain: 21 256 > [2007-02-27 12:46:59 xend 9551] DEBUG (balloon:127) Balloon: 627696 KiB > free; need 524288; done. > [2007-02-27 12:46:59 xend 9551] INFO (image:125) buildDomain os=linux > dom=21 vcpus=1 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:194) domid = 21 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:195) memsize = 512 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:196) image > /xenvm/fbsd/freebsd-XENU_INSTALL > [2007-02-27 12:46:59 xend 9551] DEBUG (image:197) store_evtchn = 1 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:198) console_evtchn = 2 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:199) cmdline > boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:200) ramdisk > [2007-02-27 12:46:59 xend 9551] DEBUG (image:201) vcpus = 1 > [2007-02-27 12:46:59 xend 9551] DEBUG (image:202) features > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR > (XendDomainInfo:1399) XendDomainInfo.initDomain: exception occurred > Traceback (most recent call last): > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1383, in > _initDomain > channel_details = self.image.createImage() > File "//usr/lib/python/xen/xend/image.py", line 108, in createImage > return self.createDomain() > File "//usr/lib/python/xen/xend/image.py", line 127, in createDomain > result = self.buildDomain() > File "//usr/lib/python/xen/xend/image.py", line 626, in buildDomain > return LinuxImageHandler.buildDomain(self) > File "//usr/lib/python/xen/xend/image.py", line 211, in buildDomain > features = self.vm.getFeatures()) > Error: (14, ''Bad address'') > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR > (XendDomainInfo:397) VM start failed > Traceback (most recent call last): > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start > self._initDomain() > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in > _initDomain > raise VmError(str(exn)) > VmError: (14, ''Bad address'') > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1483) XendDomainInfo.destroy: domid=21 > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1491) XendDomainInfo.destroyDomain(21) > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:99) > Domain construction failed > Traceback (most recent call last): > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create > vm.start() > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start > self._initDomain() > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in > _initDomain > raise VmError(str(exn)) > VmError: (14, ''Bad address'') > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None > [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) > [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:94) > XendDomainInfo.create([''vm'', [''name'', ''freebsd-xen-INSTALL''], [''memory'', > 512], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', > ''ignore''], [''image'', [''linux'', [''kernel'', > ''/xenvm/fbsd/freebsd-XENU_INSTALL''], [''args'', > ''boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100'']]], > [''device'', [''vbd'', [''uname'', > ''file:/xenvm/fbsd/freebsd_xen_INSTALL.img''], [''dev'', ''hda1''], [''mode'', > ''w'']]], [''device'', [''vif'']]]) > [2007-02-27 12:47:44 xend.XendConfig 9551] WARNING (XendConfig:606) > Unconverted key: cpus > [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1284) XendDomainInfo.constructDomain > [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1330) XendDomainInfo.initDomain: 22 256 > [2007-02-27 12:47:44 xend 9551] DEBUG (balloon:127) Balloon: 627696 KiB > free; need 524288; done. > [2007-02-27 12:47:44 xend 9551] INFO (image:125) buildDomain os=linux > dom=22 vcpus=1 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:194) domid = 22 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:195) memsize = 512 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:196) image > /xenvm/fbsd/freebsd-XENU_INSTALL > [2007-02-27 12:47:44 xend 9551] DEBUG (image:197) store_evtchn = 1 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:198) console_evtchn = 2 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:199) cmdline > boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:200) ramdisk > [2007-02-27 12:47:44 xend 9551] DEBUG (image:201) vcpus = 1 > [2007-02-27 12:47:44 xend 9551] DEBUG (image:202) features > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR > (XendDomainInfo:1399) XendDomainInfo.initDomain: exception occurred > Traceback (most recent call last): > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1383, in > _initDomain > channel_details = self.image.createImage() > File "//usr/lib/python/xen/xend/image.py", line 108, in createImage > return self.createDomain() > File "//usr/lib/python/xen/xend/image.py", line 127, in createDomain > result = self.buildDomain() > File "//usr/lib/python/xen/xend/image.py", line 626, in buildDomain > return LinuxImageHandler.buildDomain(self) > File "//usr/lib/python/xen/xend/image.py", line 211, in buildDomain > features = self.vm.getFeatures()) > Error: (14, ''Bad address'') > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR > (XendDomainInfo:397) VM start failed > Traceback (most recent call last): > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start > self._initDomain() > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in > _initDomain > raise VmError(str(exn)) > VmError: (14, ''Bad address'') > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1483) XendDomainInfo.destroy: domid=22 > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1491) XendDomainInfo.destroyDomain(22) > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:99) > Domain construction failed > Traceback (most recent call last): > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create > vm.start() > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start > self._initDomain() > File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in > _initDomain > raise VmError(str(exn)) > VmError: (14, ''Bad address'') > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None > [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG > (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel-- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, I downloaded and compiled xen-3.0.4_1-src.tgz # uname -a Linux xena 2.6.16.33-xen #2 SMP Mon Feb 26 17:36:24 CET 2007 i686 GNU/Linux The host is running configfile from http://www.yuanjue.net/xen/freebsd_xen_INSTALL (with path to ''disks'' changed to my setup). Thanks, regards, Sergi Mark Williamson wrote:> Hi Ewan, > > I suggested Sergi post this to xen-devel since this looks to me like the > kernel being loaded *might* be tickling some odd tools behaviour... > > I can''t quite see why the traceback that the logs show would actually be > occurring - maybe someone who has more familiarity with the code can provide > some insight? Any clues off the top of your head? > > I''ve attempted to trace what could be producing this exception but I''m > actually not sure what it could be... > > Sergi: what release of Xen 3.0.4 is this? Where did you get it from? What > mode is the host running in? (32-bit, PAE, 64-bit) > > Cheers, > Mark > > > On Tuesday 27 February 2007 12:47, Sergi Seira wrote: >> Hello, >> >> I''m trying to get a freebsd virtual machine running following : >> >> http://www.yuanjue.net/xen/howto.html >> >> But I get : >> >> # xm create freebsd_xen_INSTALL -c >> Using config file "./freebsd_xen_INSTALL". >> Error: (14, ''Bad address'') >> >> Am I missing something? >> >> I am using xen 3.0.4. >> >> Thanks and regards, >> Sergi >> >> .... >> >> log output from xend.log: >> >> [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:94) >> XendDomainInfo.create([''vm'', [''name'', ''freebsd-xen-INSTALL''], [''memory'', >> 512], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', >> ''ignore''], [''image'', [''linux'', [''kernel'', >> ''/xenvm/fbsd/freebsd-XENU_INSTALL''], [''args'', >> ''boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100'']]], >> [''device'', [''vbd'', [''uname'', >> ''file:/xenvm/fbsd/freebsd_xen_INSTALL.img''], [''dev'', ''hda1''], [''mode'', >> ''w'']]], [''device'', [''vif'']]]) >> [2007-02-27 12:46:59 xend.XendConfig 9551] WARNING (XendConfig:606) >> Unconverted key: cpus >> [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1284) XendDomainInfo.constructDomain >> [2007-02-27 12:46:59 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1330) XendDomainInfo.initDomain: 21 256 >> [2007-02-27 12:46:59 xend 9551] DEBUG (balloon:127) Balloon: 627696 KiB >> free; need 524288; done. >> [2007-02-27 12:46:59 xend 9551] INFO (image:125) buildDomain os=linux >> dom=21 vcpus=1 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:194) domid = 21 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:195) memsize = 512 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:196) image >> /xenvm/fbsd/freebsd-XENU_INSTALL >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:197) store_evtchn = 1 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:198) console_evtchn = 2 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:199) cmdline >> boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:200) ramdisk >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:201) vcpus = 1 >> [2007-02-27 12:46:59 xend 9551] DEBUG (image:202) features >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR >> (XendDomainInfo:1399) XendDomainInfo.initDomain: exception occurred >> Traceback (most recent call last): >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1383, in >> _initDomain >> channel_details = self.image.createImage() >> File "//usr/lib/python/xen/xend/image.py", line 108, in createImage >> return self.createDomain() >> File "//usr/lib/python/xen/xend/image.py", line 127, in createDomain >> result = self.buildDomain() >> File "//usr/lib/python/xen/xend/image.py", line 626, in buildDomain >> return LinuxImageHandler.buildDomain(self) >> File "//usr/lib/python/xen/xend/image.py", line 211, in buildDomain >> features = self.vm.getFeatures()) >> Error: (14, ''Bad address'') >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR >> (XendDomainInfo:397) VM start failed >> Traceback (most recent call last): >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start >> self._initDomain() >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in >> _initDomain >> raise VmError(str(exn)) >> VmError: (14, ''Bad address'') >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1483) XendDomainInfo.destroy: domid=21 >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1491) XendDomainInfo.destroyDomain(21) >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:99) >> Domain construction failed >> Traceback (most recent call last): >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create >> vm.start() >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start >> self._initDomain() >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in >> _initDomain >> raise VmError(str(exn)) >> VmError: (14, ''Bad address'') >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None >> [2007-02-27 12:47:00 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) >> [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG (XendDomainInfo:94) >> XendDomainInfo.create([''vm'', [''name'', ''freebsd-xen-INSTALL''], [''memory'', >> 512], [''vcpus'', 1], [''on_xend_start'', ''ignore''], [''on_xend_stop'', >> ''ignore''], [''image'', [''linux'', [''kernel'', >> ''/xenvm/fbsd/freebsd-XENU_INSTALL''], [''args'', >> ''boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100'']]], >> [''device'', [''vbd'', [''uname'', >> ''file:/xenvm/fbsd/freebsd_xen_INSTALL.img''], [''dev'', ''hda1''], [''mode'', >> ''w'']]], [''device'', [''vif'']]]) >> [2007-02-27 12:47:44 xend.XendConfig 9551] WARNING (XendConfig:606) >> Unconverted key: cpus >> [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1284) XendDomainInfo.constructDomain >> [2007-02-27 12:47:44 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1330) XendDomainInfo.initDomain: 22 256 >> [2007-02-27 12:47:44 xend 9551] DEBUG (balloon:127) Balloon: 627696 KiB >> free; need 524288; done. >> [2007-02-27 12:47:44 xend 9551] INFO (image:125) buildDomain os=linux >> dom=22 vcpus=1 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:194) domid = 22 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:195) memsize = 512 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:196) image >> /xenvm/fbsd/freebsd-XENU_INSTALL >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:197) store_evtchn = 1 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:198) console_evtchn = 2 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:199) cmdline >> boot_verbose,boot_single,vfs.root.mountfrom=ufs:/dev/md0,kern.hz=100 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:200) ramdisk >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:201) vcpus = 1 >> [2007-02-27 12:47:44 xend 9551] DEBUG (image:202) features >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR >> (XendDomainInfo:1399) XendDomainInfo.initDomain: exception occurred >> Traceback (most recent call last): >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1383, in >> _initDomain >> channel_details = self.image.createImage() >> File "//usr/lib/python/xen/xend/image.py", line 108, in createImage >> return self.createDomain() >> File "//usr/lib/python/xen/xend/image.py", line 127, in createDomain >> result = self.buildDomain() >> File "//usr/lib/python/xen/xend/image.py", line 626, in buildDomain >> return LinuxImageHandler.buildDomain(self) >> File "//usr/lib/python/xen/xend/image.py", line 211, in buildDomain >> features = self.vm.getFeatures()) >> Error: (14, ''Bad address'') >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR >> (XendDomainInfo:397) VM start failed >> Traceback (most recent call last): >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start >> self._initDomain() >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in >> _initDomain >> raise VmError(str(exn)) >> VmError: (14, ''Bad address'') >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1483) XendDomainInfo.destroy: domid=22 >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1491) XendDomainInfo.destroyDomain(22) >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] ERROR (XendDomainInfo:99) >> Domain construction failed >> Traceback (most recent call last): >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 97, in create >> vm.start() >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 385, in start >> self._initDomain() >> File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1401, in >> _initDomain >> raise VmError(str(exn)) >> VmError: (14, ''Bad address'') >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1483) XendDomainInfo.destroy: domid=None >> [2007-02-27 12:47:45 xend.XendDomainInfo 9551] DEBUG >> (XendDomainInfo:1491) XendDomainInfo.destroyDomain(None) >> >> >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 27 Feb 2007, at 14:30, Mark Williamson wrote:> I can''t quite see why the traceback that the logs show would > actually be > occurring - maybe someone who has more familiarity with the code > can provide > some insight? Any clues off the top of your head?From a quick glance through the privcmd driver (in linux-2.6-xen- sparse/drivers/xen/privcmd/privcmd.c ) it seems that an error 14 (EFAULT) is returned by the privcmd ioctl when there is a problem on carrying out a copy_from_user() of the arguments to the ioctl. This ioctl is wrapped by the xc_map_foreign_*, do_privcmd and do_xen_hypercall functions in tools/libxc/xc_linux.c . Another possibility is in the evtchn driver (in linux-2.6-xen-sparse/drivers/ xen/evtchn/evtchn.c ), in which the evtchn_read, _write and _ioctl functions can also return -EFAULT. This functions are also wrapped by functions in xc_linux.c. Hope this helps. Regards, Derek Murray. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel