console output
Looks like the sf listserv ate my msg this morning.
----- Forwarded message from becker -----
Date: Mon, 12 Jul 2004 09:55:56 -0400
To: [email protected]
Subject: console output
With today's pull I still am not seeing any console output from xm created domains. The new domain is consuming cpu time so it must be running. The dom0 console works just fine (presumably because that device has a special path).
xend output follows:
# xm info system : Linux host : dragonfly-xen release : 2.4.26-xen0 version : #2 Mon Jul 12 09:29:48 EDT 2004 machine : i686 cores : 1 hyperthreads_per_core : 1 cpu_mhz : 1830 memory : 254 free_memory : 148 dragonfly-xen:~# config: (vm (name dragonfly) (memory 128) (cpu '2') (image (linux (kernel /boot/vmlinuz-2.4.26-xenU) (ip 152.3.145.64::152.3.144.61:255.255.254.0:dragonfly:eth0:off) (root /dev/hda1) (args 'console=tty0'))) (device (vbd (uname phy:sda1) (dev hda1) (mode w))) (device (vif (mac aa:0:0:57:c5:78)))) vm_create> create_domain> linux /boot/vmlinuz-2.4.26-xenU create-domain> init_domain... init_domain> 128 dragonfly 2 create_domain> dom= 6 build_domain> linux 6 /boot/vmlinuz-2.4.26-xenU ip=152.3.145.64::152.3.144.61:255.255.254.0:dragonfly:eth0:off root=/dev/hda1 console=tty0 VIRTUAL MEMORY ARRANGEMENT: Loaded kernel: c0000000->c01cf288 Init. ramdisk: c01d0000->c01d0000 Phys-Mach map: c01d0000->c01f0000 Page tables: c01f0000->c01f2000 Start info: c01f2000->c01f3000 Boot stack: c01f3000->c01f4000 TOTAL: c0000000->c0400000 ENTRY ADDRESS: c0000000 vm_create< EVENT> xend.console.create [11, 6, 9606] respond_be_create>
Quoted 1 line
create_devices
blkif_dev_create> 6 769 w {'device': 2049, 'type': 'Disk', 'start_sector': 0L, 'nr_sectors': 1975932L} <create_devicesrecv_be_vbd_create> <xen.xend.server.blkif.BlkifControllerFactory instance at 0x402178ec> vif-bridge up vif=vif6.0 domain=dragonfly mac=aa:0:0:57:c5:78 bridge=xen-br0 /etc/xen/vif-bridge: line 73: brctl: command not foundvm_dev_vif> created <xen.xend.server.netif.NetDev instance at 0x4073d1ec> recv_be_vbd_grow> <xen.xend.server.blkif.BlkifControllerFactory instance at 0x402178ec> vm_create> cbok domain id=6 name=dragonfly memory=128 console=11 image=/boot/vmlinuz-2.4.26-xenU EVENT> xend.domain.created 6
EVENT> xend.domain.unpause 6
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/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/console.py", line 28, in connectionMade
self.addr = (peer.host, peer.port)
exceptions.AttributeError: 'tuple' object has no attribute 'host'recv_fe_interface_connect>
(blkif (dom '6') (evtchn '18' '4'))respond_be_connect> <xen.xend.server.blkif.BlkifControllerFactory instance at 0x402178ec>
Traceback (most recent call last):
File "/usr/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/SrvDaemon.py", line 633, 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/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/console.py", line 52, in connectionLost
[self.idx, self.addr[0], self.addr[1]])exceptions.TypeError: unsubscriptable object
XendDomain>refresh>
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/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/console.py", line 28, in connectionMade
self.addr = (peer.host, peer.port)
exceptions.AttributeError: 'tuple' object has no attribute 'host'
Traceback (most recent call last):
File "/usr/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/SrvDaemon.py", line 633, 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/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/console.py", line 52, in connectionLost
[self.idx, self.addr[0], self.addr[1]])exceptions.TypeError: unsubscriptable object
----- End forwarded message -----
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
Quoted 4 lines
self.connectionMade()
File "/usr/research/playground/becker/xen/obj-unstable/xeno-unstable.bk/install/lib/python/xen/xend/server/console.py", line 28, in connectionMade
self.addr = (peer.host, peer.port)
exceptions.AttributeError: 'tuple' object has no attribute 'host'
I've seen this one before: please try upgrading to twisted 1.3.0
Mike: please could you add something that detects the Twisted version and bails on anything less than 1.3.0.
Thanks,
Ian
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com