<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2937&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / KVM guest - kernel panic when running from P9 share root]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2937</link>
		<description><![CDATA[The most recent posts in KVM guest - kernel panic when running from P9 share root.]]></description>
		<lastBuildDate>Tue, 09 Jul 2019 16:30:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: KVM guest - kernel panic when running from P9 share root]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16923#p16923</link>
			<description><![CDATA[<p>Well, I have installed Devuan Ascii from scratch into KVM VM and was able to run it with external kernel supplied as a qemu parameter.</p><p>Though I did not try 9P root anymore because 9P host FS sharing seems to be insecure in terms of possibility of escaping to host FS when using passthrough security model even with a FS proxy. I think it is more secure to use a passthrough of a host block device into guest, so I did this using host ZFS zvol + ext3&#160; and it works fine, I can mount it from both host (when needed for maintenance or fast fixes) and from guest.</p><p>Now going to customize <a href="https://heads.dyne.org/" rel="nofollow">Heads Linux</a> as a secure guest for surfing and chatting in the Internet.</p><p><a href="http://dev1galaxy.org/viewtopic.php?pid=17074#p17074" rel="nofollow">Some progress already done.</a></p><p>Where can I get grsec kernel with patches to Spectre issue?<br />It seems such kernel sources have been removed from public though earlier they were available for public.</p>]]></description>
			<author><![CDATA[dummy@example.com (alupoj)]]></author>
			<pubDate>Tue, 09 Jul 2019 16:30:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16923#p16923</guid>
		</item>
		<item>
			<title><![CDATA[Re: KVM guest - kernel panic when running from P9 share root]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16887#p16887</link>
			<description><![CDATA[<p>That message might mean you have a symlink loop, eg file a is a symlink to file b, which is a symlink to file a. Try <span class="bbc">ls -ld /sbin/init</span> to see if it&#039;s a symlink to somewhere. If not try searching for a loop in /etc/rc?.d/ (I don&#039;t think a hanging symlink would cause this problem).</p><p>Chris</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 07 Jul 2019 16:16:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16887#p16887</guid>
		</item>
		<item>
			<title><![CDATA[Re: KVM guest - kernel panic when running from P9 share root]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16875#p16875</link>
			<description><![CDATA[<p>I don&#039;t understand this error message:</p><div class="codebox"><pre><code>run init: /sbin/init: Too many symbolic links encountered</code></pre></div><p>It might make sense in the context of a Debian system where /sbin/init is a symlink to systemd (hence my suggestion in the fdn thread) but not for Devuan.</p><p>Is sysvinit-core installed?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 06 Jul 2019 21:01:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16875#p16875</guid>
		</item>
		<item>
			<title><![CDATA[Re: KVM guest - kernel panic when running from P9 share root]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16856#p16856</link>
			<description><![CDATA[<p>For a guest p9 root FS I used a catalog on the host with a debootstrapped Devuan into it, it worked fine in chroot, but I have never tried it as a full virtual machine with its own boot, kernel and init.</p><p>May be, I shall try to just install Devuan into KVM guest from a setup CD at first or at least to try guest Devuan work in Virtualbox by placing the kernel inside the guest, then try to reproduce this on KVM?</p>]]></description>
			<author><![CDATA[dummy@example.com (alupoj)]]></author>
			<pubDate>Fri, 05 Jul 2019 19:46:17 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16856#p16856</guid>
		</item>
		<item>
			<title><![CDATA[Re: KVM guest - kernel panic when running from P9 share root]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16855#p16855</link>
			<description><![CDATA[<p>From the image I see when it attempts to boot the guest, it fails to find LVM and subsequently fsck. This could be the result of incorrectly set permissions on the root-fs of the guest. I also notice, from your command, that the virtfs has a security_model as none, whereas fsdev has mapped. This <strong><ins>might</ins></strong> be the cause of the mismatch. (notice emphasis, I don&#039;t know enough about KVM to tell for sure)</p>]]></description>
			<author><![CDATA[dummy@example.com (Dutch_Master)]]></author>
			<pubDate>Fri, 05 Jul 2019 19:27:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16855#p16855</guid>
		</item>
		<item>
			<title><![CDATA[KVM guest - kernel panic when running from P9 share root]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=16852#p16852</link>
			<description><![CDATA[<p>Hello,</p><p>I am trying to boot a Linux guest on the KVM host and guest root file system is outside of guest on the host and passed through into the guest via P9 share as described at:</p><p><a href="https://serverfault.com/questions/673641/9p-root-filesystem-using-libvirt-and-qemu" rel="nofollow">https://serverfault.com/questions/67364 … t-and-qemu</a></p><p>QEMU Arguments in AQEMU:</p><div class="codebox"><pre><code>/usr/bin/qemu-system-x86_64 \
    -monitor stdio \
    -k en-us \
    -machine accel=kvm \
    -m 1024 \
    -cdrom /download/sysresccd-5.2.0_zfs_0.7.9.iso \
    -virtfs local,id=shared_folder_dev_0,path=/mnt/ascii64,security_model=none,mount_tag=shared0 \
    -boot once=d,menu=off \
    -net nic,vlan=0,model=e1000 \
    -net user,vlan=0 \
    -kernel /boot/vmlinuz-4.9.0-9-amd64 \
    -initrd /boot/initrd.img-4.9.0-9-amd64 \
    -append root=root9p rw rootfstype=9p rootflags=trans=virtio vga=0x31b \
    -rtc base=utc \
    -name &quot;Brave&quot; \
    -fsdev local,id=root9p,path=/mnt/ascii64,security_model=mapped \
    -device virtio-9p-pci,fsdev=root9p,mount_tag=root9p</code></pre></div><p>Screenshot:<br /><a href="https://ibin.co/4mbruKyIIoAl.jpg" rel="nofollow">https://ibin.co/4mbruKyIIoAl.jpg</a></p><p>I tried to change guest kernels, but it does not help.<br />Please suggest, what shall be tried for a fix?</p>]]></description>
			<author><![CDATA[dummy@example.com (alupoj)]]></author>
			<pubDate>Fri, 05 Jul 2019 18:41:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=16852#p16852</guid>
		</item>
	</channel>
</rss>
