From: "James Song" Subject: =?UTF-8?B?562U5aSN77yaIFJFOiDnrZTlpI3vvJogUkU6IFtYZW4tZGV2ZWxdIA==?= =?UTF-8?B?c3RhcnQgc3R1YmRvbSBpc3N1ZQ==?= Date: Fri, 19 Sep 2008 03:12:24 -0600 Message-ID: <48D3F99902000020000046E7@victor.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: guanqun.lu@intel.com, xen-devel@lists.xensource.com, Bhaskar.Jayaraman@lsi.com List-Id: xen-devel@lists.xenproject.org Hi all Yes , It seems that I can boot stubdom with that configure file after I c= opy the x.dm file to /etc/xen... but I met an error wite message : Path changed backend/vfs/exports/requests/10/0/frontend Handling connection from dom=3D10, for export=3D0 Frontend found at: /local/domain/10/device/vfs/0 (gref=3D1789, evtchn=3D5= ) Our own dom_id=3D0 ERROR Internal error: Could not open grant table interface (22 =3D Invali= d argument) fs-backend: fs-backend.c:239: handle_connection: Assertion `mount->gnth != =3D -1' failed. thank you very much best regards, -- James >>> "Lu, Guanqun" 08=E5=B9=B409=E6=9C=8818=E6=97=A5= =E4=B8=8B=E5=8D=88 17:00 >>> =20 >-----Original Message----- >From: xen-devel-bounces@lists.xensource.com=20 >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of James Song >Sent: Thursday, September 18, 2008 4:53 PM >To: xen-devel@lists.xensource.com; Bhaskar.Jayaraman@lsi.com >Subject: =E7=AD=94=E5=A4=8D=EF=BC=9A RE: [Xen-devel] start stubdom issue > >yes, I have change "boot=3Dc", but stubdom still not started. I=20 >see xend-debug.log, finding that "Error: Unable to open config=20 >file: hvmachine-dm". That is in file "tools/python/xen/xm/opts.py " the hvmachine config can be put anywhere, but your corresponding hvmachine-dm config should be put in /etc/xen/, otherwise, the above error occurs. That's the problem i once met with. And hope it helps. > def load_defconfig(self, help=3D0): > """Load a defconfig script. Assumes these options set: > 'path' search path > 'defconfig' script name > """ > for x in [ '' ] + self.vals.path.split(':'): > if x: > p =3D os.path.join(x, self.vals.defconfig) > else: > p =3D self.vals.defconfig > if not p.startswith('/'): > p =3D os.path.join(os.path.curdir, p) > if os.path.exists(p): > self.info('Using config file "%s".' % p) > > f =3D open(p) > is_xml =3D (f.read(1) =3D=3D '<') > f.close() > > if is_xml: > raise XMLFileError(p) > > self.load(p, help) > break > else: > raise OptionError('Unable to open config file: %s' % \ > self.vals.defconfig, > self.use) > > >best regards, >-- James >>>> "Jayaraman, Bhaskar" 08=E5=B9=B409=E6=9C= =8818=E6=97=A5=20 >=E4=B8=8B=E5=8D=88 16:20 >>> >James I think you will have to either give boot options as 'c'=20 >booting from disk or 'd' booting from cdrom and not both,=20 >unless this is a new requirement for stubdom where you give=20 >both the options together. >Bhaskar. > >-----Original Message----- >From: xen-devel-bounces@lists.xensource.com=20 >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of James Song >Sent: Thursday, September 18, 2008 12:42 PM >To: xen-devel@lists.xensource.com >Subject: [Xen-devel] start stubdom issue > >I test stubdom in xen-3.3.1, when I start it, just see the=20 >message bellow using "xm li" . It seems stubdom haven't start. > >Name ID Mem VCPUs =20 > State Time(s) >Domain-0 0 964 2 =20 >r----- 34.8 >hvmachine 1 1024 1 =20 >------ 0.0 > > the two config files : >#hvmachine >kernel =3D "/usr/lib/xen/boot/hvmloader" >builder=3D'hvm' >memory =3D 256 >name =3D "hvmachine" >vcpus=3D2 >vif =3D [ 'type=3Dioemu, bridge=3Deth0' ] >device_model =3D '/usr/lib/xen/bin/stubdom-dm' >boot=3D"cd" >sdl=3D0 >opengl=3D0 >vnc=3D1 >vnclisten=3D"172.30.206.1" >stdvga=3D0 >--------------------------------------------------------------- >---------- > > >#hvmachine-dm >kernel =3D "/usr/lib/xen/boot/ioemu-stubdom.gz" >vif =3D [ 'ip=3D172.30.206.1', 'bridge=3Deth0,mac=3D00:16:3e:21:a2:94' ] >disk =3D [ 'file:/home/images/opensuse11-2/disk0,hda,w' ] > > > >what's wrong I make? > > >best regards, >-- James > >best regards, >-- James > >___________>http://lists.xensource.com/xen-devel > > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel >