> I'm running the latest bk source, and am having trouble starting domains.
> Domain0 boots okay though.
>
> with xend putting output to stdout, starting a domain gives me this:
The new xend is pretty chatty right now, but having the verbose
output is useful until the bugs get shaken out...
I suspect what is happening is that the new guest OS kernel is
exiting for some reason. The most likely reason is that it can't
mount its root partition. I assume your sda7 contains a valid
root file system i.e. you can mount sda7 from domain0 OK?
[NB: make sure the filesystem is unmounted before trying to mount
it from another domain!]
Normally, the control tools would let you see the console output
from the domain and you could see what's going on. It looks like
you're hitting multiple bugs in the new tools -- Mike is best
placed to try and interpret the various back traces as I don't
know my way around the new code yet.
BTW: Thanks for bearing with us while we complete this major bit
of integration work to the xeno-unstable tree. I think things
will have settled down substantially by the end of next week,
proving you guys keep beating on it and telling us about the bugs
;-)
Ian
> xen1:~# xm create -f /etc/xc/sbssgw1 -Dvmid=1
> SET kernel /boot/vmlinuz-2.4.26-xenU
> SET name sbssgw1 vm 1
> SET extra 4 VMID=1
> SET hostname vm1
> SET vmid 1
> SET memory 128
> SET disk ['phy:sda7,sda7,w']
> SET root /dev/sda7 ro
> SET cpu 1
> disk phy:sda7,sda7,w ['phy:sda7', 'sda7', 'w']
> config: (config (name 'sbssgw1 vm 1') (memory '128') (cpu '1') (image (linux
> (kernel /boot/vmlinuz-2.4.26-xenU) (ip ::::vm1:eth0:off) (root '/dev/sda7
> ro') (args '4 VMID=1 '))) (device (vbd (uname phy:sda7) (dev sda7) (mode w)))
> (device (vif (@ (id vif0)))))
> vm_create>
> xup_connect> dom=3 17:1
> xup_connect> tx: (nil) (nil) : (nil) (nil)
> xup_connect> rx: (nil) (nil) : (nil) (nil)
> xup_connect< err=0
> EVENT> xend.console.create [17, 3, 9603]
> VIRTUAL MEMORY ARRANGEMENT:
> Loaded kernel: c0000000->c02d6b08
> Init. ramdisk: c02d7000->c02d7000
> Phys-Mach map: c02d7000->c02f7000
> Page tables: c02f7000->c02f9000
> Start info: c02f9000->c02fa000
> Boot stack: c02fa000->c02fb000
> TOTAL: c0000000->c0400000
> ENTRY ADDRESS: c0000000
> vm_create<
> >vm_create_devices
> blkif_dev_create> 3 2055 w {'device': 2048, 'type': '83', 'start_sector':
> 80325063L, 'nr_sectors': 5879727L}
> <vm_create_devices
> _vm_configure1> made devices...
> _vm_configure1<
> vm_dev_vif> created ['vif', ['@', ['id', 'vif0']], 'vif', 0]
> _vm_configure1> cbok [(1, 0), (1, 0)]
> >callback _vm_configure2...
> _vm_configure2> cbok []
> <_vm_configure2
> vm_create> cbok domain id=3 name=sbssgw1 vm 1 memory=128 console=17
> image=/boot/vmlinuz-2.4.26-xenU
> EVENT> xend.domain.created 3
> EVENT> xend.domain.start 3
> Started domain 3, console on port 9603
> xen1:~# responseReceived> No handler: Message type
> blkif_fe_interface_status_changed_t 2:0 <xenmgr.server.blkif.BlkifController
> instance at 0x4075346c>
> responseReceived> No handler: Message type
> blkif_fe_interface_status_changed_t 2:0 <xenmgr.server.blkif.BlkifController
> instance at 0x4075346c>
>
> 'xm ls' gives me this:
> xen1:~# xm ls
> Dom Name Mem(MB) CPU State Time(s)
> 0 Domain-0 119 0 r- 29.66
> 3 sbssgw1 vm 1 128 1 -s 6.21
> which shows that the domain is stopped
>
> If I try and telnet to the console, I get nothing in the telnet session, but
> xend shows:
>
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in
> callWithLogger
> callWithContext({"system": lp}, func, *args, **kw)
> File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in
> callWithContext
> return context.call({ILogContext: newCtx}, func, *args, **kw)
> File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32,
> in callWithContext
> return func(*args,**kw)
> File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
> line 160, in _doReadOrWrite
> why = selectable.doRead()
> --- <exception caught here> ---
> File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 635,
> in doRead
> protocol.makeConnection(transport)
> File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", line
> 310, in makeConnection
> self.connectionMade()
> File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 32,
> in connectionMade
> self.addr = (peer.host, peer.port)
> exceptions.AttributeError: 'tuple' object has no attribute 'host'
>
> and finally, closing the telnet sessions gives me:
>
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/xenmgr/server/SrvConsoleServer.py",
> line 533, in run
> reactor.run()
> File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line
> 125, in run
> self.mainLoop()
> File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line
> 136, in mainLoop
> self.doIteration(t)
> File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
> line 145, in doPoll
> log.callWithLogger(selectable, _drdw, selectable, fd, event, POLLIN,
> POLLOUT, log)
> --- <exception caught here> ---
> File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in
> callWithLogger
> callWithContext({"system": lp}, func, *args, **kw)
> File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in
> callWithContext
> return context.call({ILogContext: newCtx}, func, *args, **kw)
> File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32,
> in callWithContext
> return func(*args,**kw)
> File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
> line 173, in _doReadOrWrite
> selectable.connectionLost(f)
> File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 289,
> in connectionLost
> protocol.connectionLost(reason)
> File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 61,
> in connectionLost
> [self.idx, self.addr[0], self.addr[1]])
> exceptions.TypeError: unsubscriptable object
>
> Any suggestions?
>
> thanks
>
> James
-=- MIME -=-
--_3DF95775-D594-4E62-B8A6-BE9C556FA9F7_
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I'm running the latest bk source, and am having trouble starting domains. D=
omain0 boots okay though.
with xend putting output to stdout, starting a domain gives me this:
xen1:~# xm create -f /etc/xc/sbssgw1 -Dvmid=3D1
SET kernel /boot/vmlinuz-2.4.26-xenU
SET name sbssgw1 vm 1
SET extra 4 VMID=3D1
SET hostname vm1
SET vmid 1
SET memory 128
SET disk ['phy:sda7,sda7,w']
SET root /dev/sda7 ro
SET cpu 1
disk phy:sda7,sda7,w ['phy:sda7', 'sda7', 'w']
config: (config (name 'sbssgw1 vm 1') (memory '128') (cpu '1') (image (linu=
x (kernel /boot/vmlinuz-2.4.26-xenU) (ip ::::vm1:eth0:off) (root '/dev/sda7=
ro') (args '4 VMID=3D1 '))) (device (vbd (uname phy:sda7) (dev sda7) (mode=
w))) (device (vif (@ (id vif0)))))
vm_create>
xup_connect> dom=3D3 17:1
xup_connect> tx: (nil) (nil) : (nil) (nil)
xup_connect> rx: (nil) (nil) : (nil) (nil)
xup_connect< err=3D0
EVENT> xend.console.create [17, 3, 9603]
VIRTUAL MEMORY ARRANGEMENT:
Loaded kernel: c0000000->c02d6b08
Init. ramdisk: c02d7000->c02d7000
Phys-Mach map: c02d7000->c02f7000
Page tables: c02f7000->c02f9000
Start info: c02f9000->c02fa000
Boot stack: c02fa000->c02fb000
TOTAL: c0000000->c0400000
ENTRY ADDRESS: c0000000
vm_create<
>vm_create_devices
blkif_dev_create> 3 2055 w {'device': 2048, 'type': '83', 'start_sector': 8=
0325063L, 'nr_sectors': 5879727L}
<vm_create_devices
_vm_configure1> made devices...
_vm_configure1<
vm_dev_vif> created ['vif', ['@', ['id', 'vif0']], 'vif', 0]
_vm_configure1> cbok [(1, 0), (1, 0)]
>callback _vm_configure2...
_vm_configure2> cbok []
<_vm_configure2
vm_create> cbok domain id=3D3 name=3Dsbssgw1 vm 1 memory=3D128 console=3D17=
image=3D/boot/vmlinuz-2.4.26-xenU
EVENT> xend.domain.created 3
EVENT> xend.domain.start 3
Started domain 3, console on port 9603
xen1:~# responseReceived> No handler: Message type blkif_fe_interface_statu=
s_changed_t 2:0 <xenmgr.server.blkif.BlkifController instance at 0x4075346c=
>
responseReceived> No handler: Message type blkif_fe_interface_status_change=
d_t 2:0 <xenmgr.server.blkif.BlkifController instance at 0x4075346c>
'xm ls' gives me this:
xen1:~# xm ls
Dom Name Mem(MB) CPU State Time(s)
0 Domain-0 119 0 r- 29.66
3 sbssgw1 vm 1 128 1 -s 6.21
which shows that the domain is stopped
If I try and telnet to the console, I get nothing in the telnet session, bu=
t xend shows:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, i=
n callWithLogger
callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, i=
n callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 3=
2, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", =
line 160, in _doReadOrWrite
why =3D selectable.doRead()
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 635=
, in doRead
protocol.makeConnection(transport)
File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", lin=
e 310, in makeConnection
self.connectionMade()
File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 32=
, in connectionMade
self.addr =3D (peer.host, peer.port)
exceptions.AttributeError: 'tuple' object has no attribute 'host'
and finally, closing the telnet sessions gives me:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/xenmgr/server/SrvConsoleServer.py"=
, line 533, in run
reactor.run()
File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line=
125, in run
self.mainLoop()
File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line=
136, in mainLoop
self.doIteration(t)
File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", =
line 145, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event, POLLIN, PO=
LLOUT, log)
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, i=
n callWithLogger
callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, i=
n callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 3=
2, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", =
line 173, in _doReadOrWrite
selectable.connectionLost(f)
File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 289=
, in connectionLost
protocol.connectionLost(reason)
File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 61=
, in connectionLost
[self.idx, self.addr[0], self.addr[1]])
exceptions.TypeError: unsubscriptable object
Any suggestions?
thanks
James
--_3DF95775-D594-4E62-B8A6-BE9C556FA9F7_
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML dir=3Dltr><HEAD></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>I'm running the latest bk =
source, and am having trouble starting domains. Domain0 boots okay tho=
ugh.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>with xend putting output to stdout, starti=
ng a domain gives me this:</FONT></DIV>
<DIV> </DIV>
<DIV>xen1:~# xm create -f /etc/xc/sbssgw1 -Dvmid=3D1<BR>SET kernel /b=
oot/vmlinuz-2.4.26-xenU<BR>SET name sbssgw1 vm 1<BR>SET extra 4=
VMID=3D1<BR>SET hostname vm1<BR>SET vmid 1<BR>SET memory=
128<BR>SET disk ['phy:sda7,sda7,w']<BR>SET root /dev/sda7 ro<B=
R>SET cpu 1<BR>disk phy:sda7,sda7,w ['phy:sda7', 'sda7', 'w']<BR>conf=
ig: (config (name 'sbssgw1 vm 1') (memory '128') (cpu '1') (image (linux (k=
ernel /boot/vmlinuz-2.4.26-xenU) (ip ::::vm1:eth0:off) (root '/dev/sda7 ro'=
) (args '4 VMID=3D1 '))) (device (vbd (uname phy:sda7) (dev sda7) (mode w))=
) (device (vif (@ (id vif0)))))<BR>vm_create><BR>xup_connect> dom=3D3=
17:1<BR>xup_connect> tx: (nil) (nil) : (nil) (nil)<BR>xup_connect> r=
x: (nil) (nil) : (nil) (nil)<BR>xup_connect< err=3D0<BR>EVENT> xend.c=
onsole.create [17, 3, 9603]<BR>VIRTUAL MEMORY ARRANGEMENT:<BR> Loaded =
kernel: c0000000->c02d6b08<BR> Init. ramdisk: c02d7000->c02d7000=
<BR> Phys-Mach map: c02d7000->c02f7000<BR> Page tables: &=
nbsp; c02f7000->c02f9000<BR> Start info: c02f9000=
->c02fa000<BR> Boot stack: c02fa000->c02fb000<=
BR> TOTAL: c0000000-&g=
t;c0400000<BR> ENTRY ADDRESS: c0000000<BR>vm_create<<BR>>vm_crea=
te_devices<BR>blkif_dev_create> 3 2055 w {'device': 2048, 'type': '83', =
'start_sector': 80325063L, 'nr_sectors': 5879727L}<BR><vm_create_devices=
<BR>_vm_configure1> made devices...<BR>_vm_configure1<<BR>vm_dev_vif&=
gt; created ['vif', ['@', ['id', 'vif0']], 'vif', 0]<BR>_vm_configure1> =
cbok [(1, 0), (1, 0)]<BR>>callback _vm_configure2...<BR>_vm_configure2&g=
t; cbok []<BR><_vm_configure2<BR>vm_create> cbok domain id=3D3 name=
=3Dsbssgw1 vm 1 memory=3D128 console=3D17 image=3D/boot/vmlinuz-2.4.26-xenU=
<BR>EVENT> xend.domain.created 3<BR>EVENT> xend.domain.start 3<BR>Sta=
rted domain 3, console on port 9603<BR>xen1:~# responseReceived> No hand=
ler: Message type blkif_fe_interface_status_changed_t 2:0 <xenmgr.server=
.blkif.BlkifController instance at 0x4075346c><BR>responseReceived> N=
o handler: Message type blkif_fe_interface_status_changed_t 2:0 <xenmgr.=
server.blkif.BlkifController instance at 0x4075346c></DIV>
<DIV> </DIV>
<DIV>'xm ls' gives me this:</DIV>
<DIV>xen1:~# xm ls<BR>Dom Name &nb=
sp; Mem(MB) CPU State Time(=
s)<BR>0 Domain-0  =
; 119 0 r=
- 29.66<BR>3 sbssgw1 vm 1&n=
bsp; 128 1 =
; -s 6.21<BR>which shows th=
at the domain is stopped</DIV>
<DIV> </DIV>
<DIV>If I try and telnet to the console, I get nothing in the telnet sessio=
n, but xend shows:</DIV>
<DIV> </DIV>
<DIV>Traceback (most recent call last):<BR> File "/usr/lib/python2.3/=
site-packages/twisted/python/log.py", line 65, in callWithLogger<BR> &=
nbsp; callWithContext({"system": lp}, func, *args, **kw)<BR> Fi=
le "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in ca=
llWithContext<BR> return context.call({ILogContext: newCt=
x}, func, *args, **kw)<BR> File "/usr/lib/python2.3/site-packages/twi=
sted/python/context.py", line 32, in callWithContext<BR> =
return func(*args,**kw)<BR> File "/usr/lib/python2.3/site-packages/tw=
isted/internet/pollreactor.py", line 160, in _doReadOrWrite<BR> =
why =3D selectable.doRead()<BR>--- <exception caught here> ---=
<BR> File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py",=
line 635, in doRead<BR> protocol.makeConnection(transpor=
t)<BR> File "/usr/lib/python2.3/site-packages/twisted/internet/protoc=
ol.py", line 310, in makeConnection<BR> self.connectionMa=
de()<BR> File "/usr/lib/python2.3/site-packages/xenmgr/server/console=
.py", line 32, in connectionMade<BR> self.addr =3D (peer.=
host, peer.port)<BR>exceptions.AttributeError: 'tuple' object has no attrib=
ute 'host'<BR></DIV>
<DIV>and finally, closing the telnet sessions gives me:</DIV>
<DIV> </DIV>
<DIV>Traceback (most recent call last):<BR> File "/usr/lib/python2.3/=
site-packages/xenmgr/server/SrvConsoleServer.py", line 533, in run<BR> =
; reactor.run()<BR> File "/usr/lib/python2.3/site-package=
s/twisted/internet/default.py", line 125, in run<BR> self=
.mainLoop()<BR> File "/usr/lib/python2.3/site-packages/twisted/intern=
et/default.py", line 136, in mainLoop<BR> self.doIteratio=
n(t)<BR> File "/usr/lib/python2.3/site-packages/twisted/internet/poll=
reactor.py", line 145, in doPoll<BR> log.callWithLogger(s=
electable, _drdw, selectable, fd, event, POLLIN, POLLOUT, log)<BR>--- <e=
xception caught here> ---<BR> File "/usr/lib/python2.3/site-packag=
es/twisted/python/log.py", line 65, in callWithLogger<BR> =
callWithContext({"system": lp}, func, *args, **kw)<BR> File "/usr/li=
b/python2.3/site-packages/twisted/python/log.py", line 52, in callWithConte=
xt<BR> return context.call({ILogContext: newCtx}, func, *=
args, **kw)<BR> File "/usr/lib/python2.3/site-packages/twisted/python=
/context.py", line 32, in callWithContext<BR> return func=
(*args,**kw)<BR> File "/usr/lib/python2.3/site-packages/twisted/inter=
net/pollreactor.py", line 173, in _doReadOrWrite<BR> sele=
ctable.connectionLost(f)<BR> File "/usr/lib/python2.3/site-packages/t=
wisted/internet/tcp.py", line 289, in connectionLost<BR> =
protocol.connectionLost(reason)<BR> File "/usr/lib/python2.3/site-pac=
kages/xenmgr/server/console.py", line 61, in connectionLost<BR> =
[self.idx, self.addr[0], self.addr[1]])<BR>exceptions.TypeError: uns=
ubscriptable object<BR></DIV>
<DIV>Any suggestions?</DIV>
<DIV> </DIV>
<DIV>thanks</DIV>
<DIV> </DIV>
<DIV>James</DIV>
<DIV> </DIV></BODY></HTML>
--_3DF95775-D594-4E62-B8A6-BE9C556FA9F7_--
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|