Hi all,
I have copy hvmachine-dm to /etc/xen/ , and start hvmachine, all is the
same, failed.
this is the message of running "ifconfig"
linux-7b6o:/home/james/Desktop # ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:70:99:97:D4
inet addr:147.2.207.55 Bcast:147.2.207.255 Mask:255.255.255.0
inet6 addr: fe80::221:70ff:fe99:97d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29153 errors:0 dropped:0 overruns:0 frame:0
TX packets:13181 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16653504 (15.8 Mb) TX bytes:1800531 (1.7 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5244 (5.1 Kb) TX bytes:5244 (5.1 Kb)
peth0 Link encap:Ethernet HWaddr 00:21:70:99:97:D4
inet6 addr: fe80::221:70ff:fe99:97d4/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:29174 errors:0 dropped:0 overruns:0 frame:0
TX packets:13197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17208620 (16.4 Mb) TX bytes:1859919 (1.7 Mb)
Interrupt:17
vif14.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:207 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Thanks all very much
best regards,
-- James>>> "Lu, Guanqun" <guanqun.lu@intel.com> 08年09月18日 下午
17:00 >>>
>-----Original Message-----
>From: xen-devel-bounces@lists.xensource.com
>[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: 答复: RE: [Xen-devel] start stubdom issue
>
>yes, I have change "boot=c", but stubdom still not started. I
>see xend-debug.log, finding that "Error: Unable to open config
>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=0):
> """Load a defconfig script. Assumes these options
set:
> ''path'' search path
> ''defconfig'' script name
> """
> for x in [ '''' ] +
self.vals.path.split('':''):
> if x:
> p = os.path.join(x, self.vals.defconfig)
> else:
> p = self.vals.defconfig
> if not p.startswith(''/''):
> p = os.path.join(os.path.curdir, p)
> if os.path.exists(p):
> self.info(''Using config file
"%s".'' % p)
>
> f = open(p)
> is_xml = (f.read(1) == ''<'')
> 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"
<Bhaskar.Jayaraman@lsi.com> 08年09月18日
>下午 16:20 >>>
>James I think you will have to either give boot options as
''c''
>booting from disk or ''d'' booting from cdrom and not both,
>unless this is a new requi>-----Original Message-----
>From: xen-devel-bounces@lists.xensource.com
>[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
>message bellow using "xm li" . It seems stubdom haven''t
start.
>
>Name ID Mem VCPUs
> State Time(s)
>Domain-0 0 964 2
>r----- 34.8
>hvmachine 1 1024 1
>------ 0.0
>
> the two config files :
>#hvmachine
>kernel = "/usr/lib/xen/boot/hvmloader"
>builder=''hvm''
>memory = 256
>name = "hvmachine"
>vcpus=2
>vif = [ ''type=ioemu, bridge=eth0'' ]
>device_model = ''/usr/lib/xen/bin/stubdom-dm''
>boot="cd"
>sdl=0
>opengl=0
>vnc=1
>vnclisten="172.30.206.1"
>stdvga=0
>---------------------------------------------------------------
>----------
>
>
>#hvmachine-dm
>kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
>vif = [ ''ip=172.30.206.1'',
''bridge=eth0,mac=00:16:3e:21:a2:94'' ]
>disk = [ ''file:/home/images/opensuse11-2/disk0,hda,w'' ]
>
>
>
>what''s wrong I make?
>
>
>best regards,
>-- James
>
>best regards,
>-- James
>
>_______________________________________________
>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
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel