Dear List, I have a problem running Xen 4.1.2. und my Ubuntu 11.10 (i386). I use the included Linux kernel 3.0.0-13-generic-pae which supports dom0. I compiled and installed the Xen from sources because I need some special features.. After reboot, xend is not running... ~# xm info Error: Unable to connect to xend: No such file or directory. Is xend running? ~# cat /proc/misc | grep xen 56 xen/gntdev 57 xen/evtchn ~# lsmod | grep xen xen_netback 27180 0 [permanent] xen_blkback 22624 0 [permanent] xen_gntdev 13295 0 xen_evtchn 12967 0 xenfs 17877 1 ~# ls -la /dev/xen drwxr-xr-x 2 root root 80 2011-11-23 17:09 . drwxr-xr-x 15 root root 4220 2011-11-23 17:09 .. crw------- 1 root root 10, 57 2011-11-23 17:09 evtchn crw------- 1 root root 10, 56 2011-11-23 17:09 gntdev ~# cat /proc/xen/capabilities control_d That looks okay to me, please correct me if I´m wrong... But xend is not running.. xend Logfile says: [2011-11-23 15:26:09 1146] INFO (SrvDaemon:332) Xend Daemon started [2011-11-23 15:26:09 1146] INFO (SrvDaemon:336) Xend changeset: unavailable. [2011-11-23 15:26:09 1146] DEBUG (tcp:96) Listening on :8002 [2011-11-23 15:26:10 1146] DEBUG (XendNode:332) pscsi record count: 8 [2011-11-23 15:26:10 1146] DEBUG (XendCPUPool:747) recreate_active_pools [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:151) XendDomainInfo.recreate({'max_vcpu_id': 7, 'cpu_time': 9490007127L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 8, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 5293556L, 'blocked': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'cpupool': 0, 'name': 'Domain-0'}) [2011-11-23 15:26:10 1146] INFO (XendDomainInfo:169) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:3420) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))", 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '8', 'vcpu_avail': '255', 'bootloader': '', 'name': 'Domain-0'} [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:1794) Storing domain details: {'cpu/3/availability': 'online', 'description': '', 'console/limit': '1048576', 'memory/target': '5293556', 'cpu/2/availability': 'online', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/7/availability': 'online', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'cpu/5/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'cpu/6/availability': 'online', 'console/type': 'xenconsoled', 'cpu/4/availability': 'online', 'name': 'Domain-0'} [2011-11-23 15:26:10 1146] DEBUG (XendDomain:476) Adding Domain: 0 [2011-11-23 15:26:10 1146] DEBUG (XendDomain:410) number of vcpus to use is 0 [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch [2011-11-23 15:26:10 1146] INFO (SrvServer:184) unix path=/var/lib/xend/xend-socket [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VBD.set_device not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VBD.set_type not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: session.get_all_records not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: event.get_record not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: event.get_all not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VIF.set_device not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VIF.set_MAC not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VIF.set_MTU not found [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: debug.get_all not found [2011-11-23 15:26:10 1146] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server. [2011-11-23 15:26:10 1146] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2011-11-23 16:17:19 1146] DEBUG (SrvServer:77) SrvServer.cleanup() [2011-11-23 16:17:19 1146] DEBUG (XMLRPCServer:251) XMLRPCServer.cleanup() [2011-11-23 16:17:19 1146] DEBUG (XMLRPCServer:251) XMLRPCServer.cleanup() [2011-11-23 16:17:19 1146] DEBUG (XendDomain:644) cleanup_domains [2011-11-23 16:17:19 1145] INFO (SrvDaemon:220) Xend exited with status 0. When I start xend using the command /etc/init.d/xend start the network connection gets immediately interrupted and stays broken. Can anyone give me a hint? Thank you !!! -- S Biedermann _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
is xenstored running? I''ve hit an issue before where selinux stops xenstored from running and then xend won''t/can''t start, albeit only on CentOS systems previously On Wed, Nov 23, 2011 at 11:29 AM, Sebastian Biedermann < biedermann@seceng.informatik.tu-darmstadt.de> wrote:> Dear List, > > I have a problem running Xen 4.1.2. und my Ubuntu 11.10 (i386). > I use the included Linux kernel 3.0.0-13-generic-pae which supports dom0. > I compiled and installed the Xen from sources because I need some special > features.. > After reboot, xend is not running... > > ~# xm info > Error: Unable to connect to xend: No such file or directory. Is xend > running? > > ~# cat /proc/misc | grep xen > 56 xen/gntdev > 57 xen/evtchn > > ~# lsmod | grep xen > xen_netback 27180 0 [permanent] > xen_blkback 22624 0 [permanent] > xen_gntdev 13295 0 > xen_evtchn 12967 0 > xenfs 17877 1 > > ~# ls -la /dev/xen > drwxr-xr-x 2 root root 80 2011-11-23 17:09 . > drwxr-xr-x 15 root root 4220 2011-11-23 17:09 .. > crw------- 1 root root 10, 57 2011-11-23 17:09 evtchn > crw------- 1 root root 10, 56 2011-11-23 17:09 gntdev > > ~# cat /proc/xen/capabilities > control_d > > That looks okay to me, please correct me if I´m wrong... > But xend is not running.. > > xend Logfile says: > > [2011-11-23 15:26:09 1146] INFO (SrvDaemon:332) Xend Daemon started > [2011-11-23 15:26:09 1146] INFO (SrvDaemon:336) Xend changeset: > unavailable. > [2011-11-23 15:26:09 1146] DEBUG (tcp:96) Listening on :8002 > [2011-11-23 15:26:10 1146] DEBUG (XendNode:332) pscsi record count: 8 > [2011-11-23 15:26:10 1146] DEBUG (XendCPUPool:747) recreate_active_pools > [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:151) > XendDomainInfo.recreate({''max_**vcpu_id'': 7, ''cpu_time'': 9490007127L, > ''ssidref'': 0, ''hvm'': 0, ''shutdown_reason'': 255, ''dying'': 0, ''online_vcpus'': > 8, ''domid'': 0, ''paused'': 0, ''crashed'': 0, ''running'': 1, ''maxmem_kb'': > 4294967292L, ''shutdown'': 0, ''mem_kb'': 5293556L, ''blocked'': 0, ''handle'': [0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ''cpupool'': 0, ''name'': > ''Domain-0''}) > [2011-11-23 15:26:10 1146] INFO (XendDomainInfo:169) Recreating domain 0, > UUID 00000000-0000-0000-0000-**000000000000. at /local/domain/0 > [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:3420) Storing VM details: > {''on_xend_stop'': ''ignore'', ''pool_name'': ''Pool-0'', ''shadow_memory'': ''0'', > ''uuid'': ''00000000-0000-0000-0000-**000000000000'', ''on_reboot'': ''restart'', > ''image'': "(linux (kernel '''') (superpages 0) (nomigrate 0) (tsc_mode 0))", > ''on_poweroff'': ''destroy'', ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', > ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''8'', > ''vcpu_avail'': ''255'', ''bootloader'': '''', ''name'': ''Domain-0''} > [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:1794) Storing domain > details: {''cpu/3/availability'': ''online'', ''description'': '''', > ''console/limit'': ''1048576'', ''memory/target'': ''5293556'', > ''cpu/2/availability'': ''online'', ''vm'': ''/vm/00000000-0000-0000-0000-**000000000000'', > ''domid'': ''0'', ''cpu/7/availability'': ''online'', ''cpu/0/availability'': > ''online'', ''cpu/1/availability'': ''online'', ''cpu/5/availability'': ''online'', > ''control/platform-feature-**multiprocessor-suspend'': ''1'', > ''cpu/6/availability'': ''online'', ''console/type'': ''xenconsoled'', > ''cpu/4/availability'': ''online'', ''name'': ''Domain-0''} > [2011-11-23 15:26:10 1146] DEBUG (XendDomain:476) Adding Domain: 0 > [2011-11-23 15:26:10 1146] DEBUG (XendDomain:410) number of vcpus to use > is 0 > [2011-11-23 15:26:10 1146] DEBUG (XendDomainInfo:1881) XendDomainInfo.** > handleShutdownWatch > [2011-11-23 15:26:10 1146] INFO (SrvServer:184) unix > path=/var/lib/xend/xend-socket > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VBD.set_device > not found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VBD.set_type > not found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: > session.get_all_records not found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: > event.get_record not found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: event.get_all > not found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VIF.set_device > not found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VIF.set_MAC not > found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: VIF.set_MTU not > found > [2011-11-23 15:26:10 1146] WARNING (XendAPI:708) API call: debug.get_all > not found > [2011-11-23 15:26:10 1146] INFO (XMLRPCServer:161) Opening Unix domain > socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has > been disabled for this server. > [2011-11-23 15:26:10 1146] INFO (XMLRPCServer:161) Opening Unix domain > socket XML-RPC server on /var/run/xend/xmlrpc.sock. > [2011-11-23 16:17:19 1146] DEBUG (SrvServer:77) SrvServer.cleanup() > [2011-11-23 16:17:19 1146] DEBUG (XMLRPCServer:251) XMLRPCServer.cleanup() > [2011-11-23 16:17:19 1146] DEBUG (XMLRPCServer:251) XMLRPCServer.cleanup() > [2011-11-23 16:17:19 1146] DEBUG (XendDomain:644) cleanup_domains > [2011-11-23 16:17:19 1145] INFO (SrvDaemon:220) Xend exited with status 0. > > When I start xend using the command /etc/init.d/xend start the network > connection > gets immediately interrupted and stays broken. > > Can anyone give me a hint? > Thank you !!! > > -- > S Biedermann > > > > ______________________________**_________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/**xen-users<http://lists.xensource.com/xen-users>_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> is xenstored runningI found there was no service called xenstored in /etc/init.d. There are the services I found in init.d: xencommons xend xendomains xen-watchdog Does version 4.1.2. still include that service? After extracting the xen source here are the commands I used to compile: make xen make tools make stubdom make install-xen make install-tools make install-stubdom I have these available commands (including a xenstore command) in the shell: # xe xenbaked xend xen-hvmctx xenperf xenstore xenstore-exists xenstore-rm xentop xentrace_setsize xen-bugtool xen-detect xenlockprof xenpm xenstore-chmod xenstore-list xenstore-watch xentrace xenwatchdogd xencons xen-hptool xenmon.py xenpmd xenstore-control xenstore-ls xenstore-write xentrace_format xetex xenconsoled xen-hvmcrash xenpaging xen-python-path xenstored xenstore-read xen-tmem-list-parse xentrace_setmask xev -- S Biedermann
----- Original Message ----- From: Sebastian Biedermann <biedermann@seceng.informatik.tu-darmstadt.de> To: Xen-users@lists.xensource.com Cc: Sent: Wednesday, November 23, 2011 8:29 AM Subject: [Xen-users] Ubuntu 11.10 and Xen 4.1.2 (i386) Dear List, I have a problem running Xen 4.1.2. und my Ubuntu 11.10 (i386). I use the included Linux kernel 3.0.0-13-generic-pae which supports dom0. I compiled and installed the Xen from sources because I need some special features.. After reboot, xend is not running... ~# xm info Error: Unable to connect to xend: No such file or directory. Is xend running? ~# cat /proc/misc | grep xen 56 xen/gntdev 57 xen/evtchn ~# lsmod | grep xen xen_netback 27180 0 [permanent] xen_blkback 22624 0 [permanent] xen_gntdev 13295 0 xen_evtchn 12967 0 xenfs 17877 1 ~# ls -la /dev/xen drwxr-xr-x 2 root root 80 2011-11-23 17:09 . drwxr-xr-x 15 root root 4220 2011-11-23 17:09 .. crw------- 1 root root 10, 57 2011-11-23 17:09 evtchn crw------- 1 root root 10, 56 2011-11-23 17:09 gntdev -------------- I have 4.1.1 on oneiric. Note the startup/kill sequence numbers for xen services in the 2 runlevels. These are symlinks to the scripts in init.d (of course). # ls /etc/rc2.d S19xencommons S20xend S21xendomains S75sudo S99grub-common S99ondemand S99rc.local ls /etc/rc6.d K18xencommons K20xendomains K21xend S20sendsigs S30urandom S31umountnfs.sh S35networking S40umountfs S60umountroot S90reboot -- Mark
23.11.2011 19:32, wrot Mark Pryor:> > > I have 4.1.1 on oneiric. Note the startup/kill sequence numbers for xen services in the 2 runlevels. These are symlinks > to the scripts in init.d (of course). > > # ls /etc/rc2.d > S19xencommons > S20xend > S21xendomains > S75sudo > S99grub-common > S99ondemand > S99rc.local > > ls /etc/rc6.d > K18xencommons > K20xendomains > K21xend > S20sendsigs > S30urandom > S31umountnfs.sh > S35networking > S40umountfs > S60umountroot > S90reboot >I can see following files: ~# ls /etc/rc2.d README S20xend S21xendomains S50rsync S70dns-clean S70pppd-dns S75sudo S99grub-common S99ondemand S99rc.local ~# ls /etc/rc6.d K20xendomains K21xend README S20sendsigs S30urandom S31umountnfs.sh S35networking S40umountfs S60umountroot S90reboot xecommons is missing? how is that possible? Thank you! -- S Biedermann
Okay I added a xencommons entry to the rc.d scripts and then I could start xen but without network interface. After adding a bridge (xenbr0) by hand, it runs perfect.. thank you guys!> 23.11.2011 19:32, wrot Mark Pryor: >> >> >> I have 4.1.1 on oneiric. Note the startup/kill sequence numbers for >> xen services in the 2 runlevels. These are symlinks >> to the scripts in init.d (of course). >> >> # ls /etc/rc2.d >> S19xencommons >> S20xend S21xendomains S75sudo S99grub-common S99ondemand S99rc.local >> >> ls /etc/rc6.d >> K18xencommons K20xendomains K21xend S20sendsigs S30urandom >> S31umountnfs.sh S35networking S40umountfs S60umountroot S90reboot >> > > I can see following files: > > ~# ls /etc/rc2.d > README S20xend S21xendomains S50rsync S70dns-clean S70pppd-dns > S75sudo S99grub-common S99ondemand S99rc.local > > ~# ls /etc/rc6.d > K20xendomains K21xend README S20sendsigs S30urandom > S31umountnfs.sh S35networking S40umountfs S60umountroot S90reboot > > xecommons is missing? how is that possible? > Thank you! >-- S Biedermann