Skip to contentSkip to conversation

mount failed in virtio_fs dev 5.1

Virtio-fs piaojun 2 participants 6 messages Jul 23, 2019

lore
Share & tools
lore

piaojun

author
#0 lore raw

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

#1 lore raw
Quoted 14 lines · * piaojun ([email protected]) 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)]

Quoted 4 lines

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

Quoted 7 lines

Thanks,
Jun

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

author
#2 lore raw

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.

Quoted 42 lines · Dr. David Alan Gilbert
Quoted 14 lines · * piaojun ([email protected]) 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)]

Quoted 4 lines

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

Quoted 7 lines

Thanks,
Jun

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK .

#3 lore raw
Quoted 11 lines · * piaojun ([email protected]) 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

Quoted 35 lines · Dr. David Alan Gilbert
Quoted 34 lines · * piaojun ([email protected]) wrote:
Quoted 14 lines

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)]

Quoted 4 lines

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

Quoted 3 lines

Thanks,
Jun

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK .

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK

author
#4 lore raw

Hi Dave,

It works when adding "-o rootmode=040000,user_id=0,group_id=0,dax".

Thanks,
Jun

Quoted 69 lines · Dr. David Alan Gilbert
Quoted 11 lines · * piaojun ([email protected]) 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

Quoted 35 lines · Dr. David Alan Gilbert
Quoted 34 lines · * piaojun ([email protected]) wrote:
Quoted 14 lines

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)]

Quoted 4 lines

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

Quoted 3 lines

Thanks,
Jun

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK .

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK .

#5 lore raw
Quoted 3 lines · * piaojun ([email protected]) 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

Quoted 73 lines

Thanks,
Jun

Quoted 69 lines · Dr. David Alan Gilbert
Quoted 11 lines · * piaojun ([email protected]) 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

Quoted 35 lines · Dr. David Alan Gilbert
Quoted 34 lines · * piaojun ([email protected]) wrote:
Quoted 14 lines

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)]

Quoted 4 lines

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

Quoted 3 lines

Thanks,
Jun

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK .

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK .

--
Dr. David Alan Gilbert / [email protected] / Manchester, UK