* [Virtio-fs] mount failed in virtio_fs dev 5.1
@ 2019-07-23 8:27 piaojun
2019-07-23 8:31 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 6+ messages in thread
From: piaojun @ 2019-07-23 8:27 UTC (permalink / raw)
To: virtio-fs
Hi,
I got a problem when mounting virtiofs in kernel5.1 as below:
fuse: loading out-of-tree module taints kernel.
fuse: module verification failed: signature and/or required key missing - tainting kernel
fuse init (API version 7.29)
virtio_fs virtio1: Cache len: 0x80000000 @ 0x180000000
virtio1 initialised, 524288 pages in 12ms
virtio_fs_find_instance: fs->tag myfs, tag /dev/null
virtio-fs: tag </dev/null> not found
Mounting FUSE Control File System...
[/bin/bash]: [mount -t virtio_fs /dev/null /mnt/virtiofs/ -o tag=myfs] return code=[32], execute failed by [root(uid=0)] from [pts/0 (9.4.90.78)]
And my kernel code is:
https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1
I wonder if the mount command has been changed?
Thanks,
Jun
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Virtio-fs] mount failed in virtio_fs dev 5.1
2019-07-23 8:27 [Virtio-fs] mount failed in virtio_fs dev 5.1 piaojun
@ 2019-07-23 8:31 ` Dr. David Alan Gilbert
2019-07-23 8:45 ` piaojun
0 siblings, 1 reply; 6+ messages in thread
From: Dr. David Alan Gilbert @ 2019-07-23 8:31 UTC (permalink / raw)
To: piaojun; +Cc: virtio-fs
* piaojun (piaojun@huawei.com) wrote:
> Hi,
>
> I got a problem when mounting virtiofs in kernel5.1 as below:
>
> fuse: loading out-of-tree module taints kernel.
> fuse: module verification failed: signature and/or required key missing - tainting kernel
> fuse init (API version 7.29)
> virtio_fs virtio1: Cache len: 0x80000000 @ 0x180000000
> virtio1 initialised, 524288 pages in 12ms
> virtio_fs_find_instance: fs->tag myfs, tag /dev/null
> virtio-fs: tag </dev/null> not found
> Mounting FUSE Control File System...
> [/bin/bash]: [mount -t virtio_fs /dev/null /mnt/virtiofs/ -o tag=myfs] return code=[32], execute failed by [root(uid=0)] from [pts/0 (9.4.90.78)]
>
> And my kernel code is:
> https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1
>
> I wonder if the mount command has been changed?
There was a change that went in last night, I believe the new format is:
mount -t virtio_fs myfs /mnt/virtiofs/
with the tagname going into the device position.
Does that work?
Dave
> Thanks,
> Jun
>
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs@redhat.com
> https://www.redhat.com/mailman/listinfo/virtio-fs
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Virtio-fs] mount failed in virtio_fs dev 5.1
2019-07-23 8:31 ` Dr. David Alan Gilbert
@ 2019-07-23 8:45 ` piaojun
2019-07-23 9:01 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 6+ messages in thread
From: piaojun @ 2019-07-23 8:45 UTC (permalink / raw)
To: Dr. David Alan Gilbert; +Cc: virtio-fs
Hi Dave,
Thanks for your quick reply, and still mount failed. But I can not get
some useful message from dmesg.
# mount -t virtio_fs myfs /mnt/virtiofs/
mount: wrong fs type, bad option, bad superblock on myfs,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
On 2019/7/23 16:31, Dr. David Alan Gilbert wrote:
> * piaojun (piaojun@huawei.com) wrote:
>> Hi,
>>
>> I got a problem when mounting virtiofs in kernel5.1 as below:
>>
>> fuse: loading out-of-tree module taints kernel.
>> fuse: module verification failed: signature and/or required key missing - tainting kernel
>> fuse init (API version 7.29)
>> virtio_fs virtio1: Cache len: 0x80000000 @ 0x180000000
>> virtio1 initialised, 524288 pages in 12ms
>> virtio_fs_find_instance: fs->tag myfs, tag /dev/null
>> virtio-fs: tag </dev/null> not found
>> Mounting FUSE Control File System...
>> [/bin/bash]: [mount -t virtio_fs /dev/null /mnt/virtiofs/ -o tag=myfs] return code=[32], execute failed by [root(uid=0)] from [pts/0 (9.4.90.78)]
>>
>> And my kernel code is:
>> https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1
>>
>> I wonder if the mount command has been changed?
>
> There was a change that went in last night, I believe the new format is:
>
> mount -t virtio_fs myfs /mnt/virtiofs/
>
> with the tagname going into the device position.
>
> Does that work?
>
> Dave
>
>
>> Thanks,
>> Jun
>>
>> _______________________________________________
>> Virtio-fs mailing list
>> Virtio-fs@redhat.com
>> https://www.redhat.com/mailman/listinfo/virtio-fs
> --
> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> .
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Virtio-fs] mount failed in virtio_fs dev 5.1
2019-07-23 8:45 ` piaojun
@ 2019-07-23 9:01 ` Dr. David Alan Gilbert
2019-07-23 9:07 ` piaojun
0 siblings, 1 reply; 6+ messages in thread
From: Dr. David Alan Gilbert @ 2019-07-23 9:01 UTC (permalink / raw)
To: piaojun; +Cc: virtio-fs
* piaojun (piaojun@huawei.com) wrote:
> Hi Dave,
>
> Thanks for your quick reply, and still mount failed. But I can not get
> some useful message from dmesg.
>
> # mount -t virtio_fs myfs /mnt/virtiofs/
> mount: wrong fs type, bad option, bad superblock on myfs,
> missing codepage or helper program, or other error
>
> In some cases useful info is found in syslog - try
> dmesg | tail or so.
This is working for me - but with the latest -dev qemu/virtiofsd as
well; please make sure both are up to date:
I used:
mount -t virtio_fs myfs /sysroot -o rootmode=040000,user_id=0,group_id=0,dax
Dave
> On 2019/7/23 16:31, Dr. David Alan Gilbert wrote:
> > * piaojun (piaojun@huawei.com) wrote:
> >> Hi,
> >>
> >> I got a problem when mounting virtiofs in kernel5.1 as below:
> >>
> >> fuse: loading out-of-tree module taints kernel.
> >> fuse: module verification failed: signature and/or required key missing - tainting kernel
> >> fuse init (API version 7.29)
> >> virtio_fs virtio1: Cache len: 0x80000000 @ 0x180000000
> >> virtio1 initialised, 524288 pages in 12ms
> >> virtio_fs_find_instance: fs->tag myfs, tag /dev/null
> >> virtio-fs: tag </dev/null> not found
> >> Mounting FUSE Control File System...
> >> [/bin/bash]: [mount -t virtio_fs /dev/null /mnt/virtiofs/ -o tag=myfs] return code=[32], execute failed by [root(uid=0)] from [pts/0 (9.4.90.78)]
> >>
> >> And my kernel code is:
> >> https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1
> >>
> >> I wonder if the mount command has been changed?
> >
> > There was a change that went in last night, I believe the new format is:
> >
> > mount -t virtio_fs myfs /mnt/virtiofs/
> >
> > with the tagname going into the device position.
> >
> > Does that work?
> >
> > Dave
> >
> >
> >> Thanks,
> >> Jun
> >>
> >> _______________________________________________
> >> Virtio-fs mailing list
> >> Virtio-fs@redhat.com
> >> https://www.redhat.com/mailman/listinfo/virtio-fs
> > --
> > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> > .
> >
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Virtio-fs] mount failed in virtio_fs dev 5.1
2019-07-23 9:01 ` Dr. David Alan Gilbert
@ 2019-07-23 9:07 ` piaojun
2019-07-23 9:36 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 6+ messages in thread
From: piaojun @ 2019-07-23 9:07 UTC (permalink / raw)
To: Dr. David Alan Gilbert; +Cc: virtio-fs
Hi Dave,
It works when adding "-o rootmode=040000,user_id=0,group_id=0,dax".
Thanks,
Jun
On 2019/7/23 17:01, Dr. David Alan Gilbert wrote:
> * piaojun (piaojun@huawei.com) wrote:
>> Hi Dave,
>>
>> Thanks for your quick reply, and still mount failed. But I can not get
>> some useful message from dmesg.
>>
>> # mount -t virtio_fs myfs /mnt/virtiofs/
>> mount: wrong fs type, bad option, bad superblock on myfs,
>> missing codepage or helper program, or other error
>>
>> In some cases useful info is found in syslog - try
>> dmesg | tail or so.
>
> This is working for me - but with the latest -dev qemu/virtiofsd as
> well; please make sure both are up to date:
>
> I used:
>
> mount -t virtio_fs myfs /sysroot -o rootmode=040000,user_id=0,group_id=0,dax
>
> Dave
>
>> On 2019/7/23 16:31, Dr. David Alan Gilbert wrote:
>>> * piaojun (piaojun@huawei.com) wrote:
>>>> Hi,
>>>>
>>>> I got a problem when mounting virtiofs in kernel5.1 as below:
>>>>
>>>> fuse: loading out-of-tree module taints kernel.
>>>> fuse: module verification failed: signature and/or required key missing - tainting kernel
>>>> fuse init (API version 7.29)
>>>> virtio_fs virtio1: Cache len: 0x80000000 @ 0x180000000
>>>> virtio1 initialised, 524288 pages in 12ms
>>>> virtio_fs_find_instance: fs->tag myfs, tag /dev/null
>>>> virtio-fs: tag </dev/null> not found
>>>> Mounting FUSE Control File System...
>>>> [/bin/bash]: [mount -t virtio_fs /dev/null /mnt/virtiofs/ -o tag=myfs] return code=[32], execute failed by [root(uid=0)] from [pts/0 (9.4.90.78)]
>>>>
>>>> And my kernel code is:
>>>> https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1
>>>>
>>>> I wonder if the mount command has been changed?
>>>
>>> There was a change that went in last night, I believe the new format is:
>>>
>>> mount -t virtio_fs myfs /mnt/virtiofs/
>>>
>>> with the tagname going into the device position.
>>>
>>> Does that work?
>>>
>>> Dave
>>>
>>>
>>>> Thanks,
>>>> Jun
>>>>
>>>> _______________________________________________
>>>> Virtio-fs mailing list
>>>> Virtio-fs@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/virtio-fs
>>> --
>>> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
>>> .
>>>
> --
> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> .
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Virtio-fs] mount failed in virtio_fs dev 5.1
2019-07-23 9:07 ` piaojun
@ 2019-07-23 9:36 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 6+ messages in thread
From: Dr. David Alan Gilbert @ 2019-07-23 9:36 UTC (permalink / raw)
To: piaojun; +Cc: virtio-fs
* piaojun (piaojun@huawei.com) wrote:
> Hi Dave,
>
> It works when adding "-o rootmode=040000,user_id=0,group_id=0,dax".
OK, great. Hmm I wonder which option is the required one.
Dave
> Thanks,
> Jun
>
> On 2019/7/23 17:01, Dr. David Alan Gilbert wrote:
> > * piaojun (piaojun@huawei.com) wrote:
> >> Hi Dave,
> >>
> >> Thanks for your quick reply, and still mount failed. But I can not get
> >> some useful message from dmesg.
> >>
> >> # mount -t virtio_fs myfs /mnt/virtiofs/
> >> mount: wrong fs type, bad option, bad superblock on myfs,
> >> missing codepage or helper program, or other error
> >>
> >> In some cases useful info is found in syslog - try
> >> dmesg | tail or so.
> >
> > This is working for me - but with the latest -dev qemu/virtiofsd as
> > well; please make sure both are up to date:
> >
> > I used:
> >
> > mount -t virtio_fs myfs /sysroot -o rootmode=040000,user_id=0,group_id=0,dax
> >
> > Dave
> >
> >> On 2019/7/23 16:31, Dr. David Alan Gilbert wrote:
> >>> * piaojun (piaojun@huawei.com) wrote:
> >>>> Hi,
> >>>>
> >>>> I got a problem when mounting virtiofs in kernel5.1 as below:
> >>>>
> >>>> fuse: loading out-of-tree module taints kernel.
> >>>> fuse: module verification failed: signature and/or required key missing - tainting kernel
> >>>> fuse init (API version 7.29)
> >>>> virtio_fs virtio1: Cache len: 0x80000000 @ 0x180000000
> >>>> virtio1 initialised, 524288 pages in 12ms
> >>>> virtio_fs_find_instance: fs->tag myfs, tag /dev/null
> >>>> virtio-fs: tag </dev/null> not found
> >>>> Mounting FUSE Control File System...
> >>>> [/bin/bash]: [mount -t virtio_fs /dev/null /mnt/virtiofs/ -o tag=myfs] return code=[32], execute failed by [root(uid=0)] from [pts/0 (9.4.90.78)]
> >>>>
> >>>> And my kernel code is:
> >>>> https://github.com/rhvgoyal/linux/commits/virtio-fs-dev-5.1
> >>>>
> >>>> I wonder if the mount command has been changed?
> >>>
> >>> There was a change that went in last night, I believe the new format is:
> >>>
> >>> mount -t virtio_fs myfs /mnt/virtiofs/
> >>>
> >>> with the tagname going into the device position.
> >>>
> >>> Does that work?
> >>>
> >>> Dave
> >>>
> >>>
> >>>> Thanks,
> >>>> Jun
> >>>>
> >>>> _______________________________________________
> >>>> Virtio-fs mailing list
> >>>> Virtio-fs@redhat.com
> >>>> https://www.redhat.com/mailman/listinfo/virtio-fs
> >>> --
> >>> Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> >>> .
> >>>
> > --
> > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
> > .
> >
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-07-23 9:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-23 8:27 [Virtio-fs] mount failed in virtio_fs dev 5.1 piaojun
2019-07-23 8:31 ` Dr. David Alan Gilbert
2019-07-23 8:45 ` piaojun
2019-07-23 9:01 ` Dr. David Alan Gilbert
2019-07-23 9:07 ` piaojun
2019-07-23 9:36 ` Dr. David Alan Gilbert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.