qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] 9pfs troubles (was Re: [PATCH 1/4] hw/9pfs: fix error h


From: Marc-André Lureau
Subject: Re: [Qemu-devel] 9pfs troubles (was Re: [PATCH 1/4] hw/9pfs: fix error handing in local_ioc_getversion())
Date: Tue, 20 Jan 2015 16:36:53 +0100

Hi

On Mon, Mar 17, 2014 at 10:12 AM, Greg Kurz <address@hidden> wrote:
> On Wed, 12 Mar 2014 13:34:44 +0200
> "Michael S. Tsirkin" <address@hidden> wrote:
>> On Fri, Feb 07, 2014 at 10:02:52AM +0100, Greg Kurz wrote:
>> > On Wed, 5 Feb 2014 23:31:11 +0200
>> > "Michael S. Tsirkin" <address@hidden> wrote:
>> > > On Tue, Feb 04, 2014 at 12:51:25PM +0530, Aneesh Kumar K.V wrote:
>> > > > "Michael S. Tsirkin" <address@hidden> writes:
>> > > >
>> > > > > On Mon, Feb 03, 2014 at 03:05:10PM +0530, Aneesh Kumar K.V wrote:
>> > > > >> "Michael S. Tsirkin" <address@hidden> writes:
>> > > > >>
>> > > > >> > Haven't used 9pfs in a while.
>> > > > >> > I thought these patches are a good time to play with it some more.
>> > > > >> > I have encountered two issues.
>> > > > >> >
>> > > > >> > What I'm doing:
>> > > > >> > host: qemu a75143eda2ddf581b51e96c000974bcdfe2cbd10.
>> > > > >> >
>> > > > >> > /scm/qemu/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 1g -cpu
>> > > > >> > kvm64 -smp 2  f20-x64.qcow2  -netdev user,id=foo -redir
>> > > > >> > tcp:8022::22 -device virtio-net,netdev=foo  -serial stdio -fsdev
>> > > > >> > local,security_model=none,id=fsdev0,path=/lib/modules/ -device
>> > > > >> > virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=libmodulesshare -fsdev
>> > > > >> > local,security_model=none,id=fsdev1,path=/boot -device
>> > > > >> > virtio-9p-pci,id=fs1,fsdev=fsdev0,mount_tag=bootshare -no-reboot
>> > > > >> > -snapshot
>> > > > >> >
>> > > > >> > guest: Fedora 20
>> > > > >> >
>> > > > >> > added this in /etc/fstab:
>> > > > >> >
>> > > > >> > bootshare       /share/boot     9p
>> > > > >> > trans=virtio,version=9p2000.L 0 0
>> > > > >> > libmodulesshare /share/lib/modules      9p
>> > > > >> > trans=virtio,version=9p2000.L 0 0
>> > > > >> >
>> > > > >> >
>> > > > >> > I have encountered two issues:
>> > > > >> >
>> > > > >> > 1. mount failure on boot
>> > > > >> > If I try to mount on boot through fstab, I get:
>> > > > >> > [    2.270157] 9pnet: Could not find request transport: virtio
>> > > > >> > [    2.270158] 9pnet: Could not find request transport: virtio
>> > > > >>
>> > > > >>
>> > > > >> Missing 9pnet_virtio.ko module ?
>> > > > >
>> > > > > Maybe it's loaded too late. But when I get to plymouth prompt
>> > > > > it's loaded fine.
>> > >
>> > > Any idea about this one? Do you have guests with 9pfs
>> > > and virtio as modules and 9pfs mounted from /etc/fstab?
>> > >
>> >
>> > Hi Michael,
>> >
>> > I had the very same problem. You probably need to add 9pnet_virtio to the
>> > initramfs.
>> >
>> > # mkinitrd -f --with=9pnet_virtio /boot/initramfs-$(uname -r).img $(uname 
>> > -r)
>> > # gzip -dc /boot/initramfs-$(uname -r).img | cpio -t | grep 9pnet
>> > usr/lib/modules/3.11.7-200.fc19.ppc64p7/kernel/net/9p/9pnet_virtio.ko
>> > usr/lib/modules/3.11.7-200.fc19.ppc64p7/kernel/net/9p/9pnet.ko
>> >
>> > Cheers.
>>
>> This seems to help but why is this necessary
>> in the initrd?
>> After all I am not trying to boot from 9pfs.
>>
>
> I do not know... maybe it has to do with the way systemd deals with fstab... 
> :-\
>

I reached the same issue, I opened a bug for systemd in f21
https://bugzilla.redhat.com/show_bug.cgi?id=1184122

-- 
Marc-André Lureau



reply via email to

[Prev in Thread] Current Thread [Next in Thread]