Steve Hnizdur
2014-Feb-04 09:57 UTC
[Pkg-xen-devel] Bug#737613: xen-hypervisor-4.3-amd: Xen not loading dom0 on Jessie - FATAL error on running /etc/init.d/xen
Package: xen-hypervisor-4.3-amd64 Version: 4.3.0-3+b1 Severity: critical File: xen-hypervisor-4.3-amd Justification: breaks the whole system Dear Maintainer, Installation is a minimal system designed only to get dom0 working. The following are the uncommented GRUB commands GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" GRUB_GFXMODE=640x480 GRUB_CMDLINE_XEN="dom0_mem=2048M dom0_max_vcpus=1 dom0_vcus_pin" The following are the uncommented contents of /etc/xen/xend-config.sxp (vif-script vif-bridge) (dom0-min-mem 1024) (enable-dom0-ballooning no) (total_available_memory 0) (dom0-cpus 1) (vncpasswd '') All other configuration as per install. (except networking) After selecting the hypervisor in grub, the hypervisor seems to load OK and then loads dom0. As the init scripts are run the boot fails with the error FATAL: Failed to initialize dom0 state: iappropriate ioctl for device. and the system freezes. When the line xenstore-write "/local.... in the function xenstored-start in /etc/init.d/xen is commented out the error goes away. Inserting a mount>foo command immediately before this call shows the following sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=217982,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=175516k,mode=755) /dev/disk/by-uuid/b5504546-ca42-4544-8bdb-442aa2b3ee0a on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=351020k) /dev/sda1 on /boot type ext3 (rw,relatime,stripe=4,data=ordered) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) xenfs on /proc/xen type xenfs (rw,relatime) Hope all that is sufficient. -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash xen-hypervisor-4.3-amd64 depends on no packages. Versions of packages xen-hypervisor-4.3-amd64 recommends: ii xen-utils-4.3 4.3.0-3+b1 xen-hypervisor-4.3-amd64 suggests no packages. -- no debconf information
Ian Campbell
2014-Mar-24 08:55 UTC
[Pkg-xen-devel] Bug#737613: Bug#737613: xen-hypervisor-4.3-amd: Xen not loading dom0 on Jessie - FATAL error on running /etc/init.d/xen
On Tue, 2014-02-04 at 09:57 +0000, Steve Hnizdur wrote:> FATAL: Failed to initialize dom0 state: iappropriate ioctl for device.IME this is usually down to a mismatch between the dom0 userspace tools and the hypervisor, but if this is a fresh system then I see no reason for that to be the case. Please can you check that all of your xen related packages are from the same version though.> and the system freezes. > > When the line > > xenstore-write "/local.... > > in the function xenstored-start in /etc/init.d/xen is commented out the error goes away.So the error is from the xenstore-write and not the launch of the xenstored daemon just prior to it? How strange, not what I expected.> Hope all that is sufficient.Please could you also provide the output of: * lsmod * ls -l /dev/xen * cat /proc/misc * ls -l /var/run/xenstored * ls -l /var/lib/xenstored Please can you also confirm with ps whether or not xenstored is running and whether there are any xenstored messages anywhere under /var/log (daemon.log being the most likely candidate) If xenstored is not running please could you do strace -o /tmp/xenstored -fff xenstored and send us /tmp/xenstored.* (and recheck the logs for messages) Once/if xenstored is running the please: strace -o /tmp/xenstore-write -fff xenstore-write /local and send us /tmp/xenstore-write.* Thanks, Ian. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140324/4a5ed89f/attachment.sig>
Debian Bug Tracking System
2014-Nov-24 17:33 UTC
[Pkg-xen-devel] Processed: Re: [Fwd: Debian Bug 737613]
Processing control commands:> tag -1 +moreinfoBug #737613 [src:xen] xen-hypervisor-4.3-amd: Xen not loading dom0 on Jessie - FATAL error on running /etc/init.d/xen Added tag(s) moreinfo. -- 737613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737613 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Debian Bug Tracking System
2014-Nov-24 17:42 UTC
[Pkg-xen-devel] Processed: Re: Debian Bug 737613: Xen not loading dom0 on Jessie - FATAL error on running /etc/init.d/xen
Processing control commands:> forcemerge 503287 737613Bug #503287 [src:xen] xen-3: domU's wont start when the kernel arch is different as the xen-utils arch Bug #737613 [src:xen] xen-hypervisor-4.3-amd: Xen not loading dom0 on Jessie - FATAL error on running /etc/init.d/xen Severity set to 'wishlist' from 'critical' Added tag(s) upstream and wontfix. Bug #503287 [src:xen] xen-3: domU's wont start when the kernel arch is different as the xen-utils arch Marked as found in versions xen/4.3.0-3. Added tag(s) moreinfo. Merged 503287 737613 -- 503287: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503287 737613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737613 Debian Bug Tracking System Contact owner at bugs.debian.org with problems