Григорий Пташко
2014-Oct-09 20:53 UTC
xen 4.5-unstable, oxenstored cannot start (centos 7, kernel 3.17.0)
Hello. I'm running CentOS 7 with mainline kernel 3.17 built by myself. I've configured the kernel with all the xen parameters as builtin instead of modules. Yesterday I've decided to try to build and install Xen from sources. I've pulled the latest sources from git, changed the branch to staging and built and installed xen like this: make xen make tools make stubdom sudo make install-xen sudo make install-tools sudo make install-stubdom Xen installed and I got xen-4.5-unstable.gz in the /boot. I have to say that I'm using PXE boot to boot CentOS. Bridged networking and nfs rootfs works great thanks to Dracut. I booted xen with PXE boot. It was not a problem. xl dmesg shows usual xen boot log. But. The oxenstored is not starting. Simple sudo xl list just hangs. I looked at the /var/log/messages and found there some bad looking messages. I don't know if they are connected somehow but here they are: 1. xenstored.service and xenconsoled.service Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-cgroups-agent: Failed to get D-Bus connection: Failed to connect to socket /run/systemd/private: No such file or directory Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: systemd 208 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ) Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: Detected virtualization 'xen'. Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: Set hostname to <kvmxen-centos7-test1-nb>. Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: Failed to open private bus connection: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: [/etc/rc.d/init.d/xencommons:10] Failed to add LSB Provides name xenstored.service, ignoring: File exists Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: [/etc/rc.d/init.d/xencommons:10] Failed to add LSB Provides name xenconsoled.service, ignoring: File exists 2. modules Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'evtchn' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'gntdev' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'netbk' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'blkbk' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'xen-scsibk' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'usbbk' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'pciback' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Module 'xen_acpi_processor' is builtin Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'blktap2' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find module 'blktap' Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: Started Apply Kernel Variables. Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE Oct 9 02:03:05 kvmxen-centos7-test1-nb kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de). Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: Failed to start Load Kernel Modules. Oct 9 02:03:05 kvmxen-centos7-test1-nb systemd: Unit systemd-modules-load.service entered failed state. 3. oxenstored Oct 9 02:03:12 kvmxen-centos7-test1-nb xencommons: Starting /usr/local/sbin/oxenstored...Fatal error: exception Failure("ocaml_sd_listen_fds() failed to get any sockets") 4. xencommons Oct 9 02:03:43 kvmxen-centos7-test1-nb xencommons: .............................. Oct 9 02:03:43 kvmxen-centos7-test1-nb xencommons: Could not start xenstored Oct 9 02:03:43 kvmxen-centos7-test1-nb systemd: xencommons.service: control process exited, code=exited status=1 Oct 9 02:03:43 kvmxen-centos7-test1-nb systemd: Failed to start LSB: Start/stop xenstored and xenconsoled. Oct 9 02:03:43 kvmxen-centos7-test1-nb systemd: Unit xencommons.service entered failed state. What can cause these problems? I don't understand yet where to dig.. Thank you, Grigory. -- Best regards, Grigory Ptashko +7 (916) 1489766 grigory.ptashko@gmail.com skype grigory_ptashko linkedin.com/in/gptashko <http://ru.linkedin.com/in/gptashko/> facebook.com/GrigoryPtashko <https://www.facebook.com/GrigoryPtashko> _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users