NetBSD-Users archive

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

Re: virtio-9p filesharing issue



It is turned out that GENERIC kernel indeed doesn't have this driver included for some reason, so I had to compile and install a custom kernel.

Then I had to make a device node:

mknod /dev/vio9p0 c 356 0

where 356 is a major number of the device I found in /usr/src/sys/conf/majors

Not sure if this is the correct way how it should be configured but it works like a charm and I am happy :)

Thank you guys for taking a look into this!

 

On 5/5/24 19:05, Valery Ushakov wrote:
On Sun, May 05, 2024 at 13:08:52 +0200, Taryel Hlontsi wrote:

dmesg | grep -E 'vio|virtio'
[...]
[     1.016364] virtio2 at pci0 dev 8 function 0
[     1.016364] virtio2: 9P transport device (id 9, rev. 0x00)
[     1.016364] virtio2: autoconfiguration error: no matching child driver;
not configured

modstat | grep -E 'vio|virtio'
if_vioif                   driver   builtin  -        0       - virtio
ld_virtio                  driver   builtin  -        0       - ld,virtio
viomb                      driver   builtin  -        0       - virtio
vioscsi                    driver   builtin  -        0       - virtio
virtio                     driver   builtin  -        5       - -
virtio_pci                 driver   builtin  -        0       - pci,virtio
You don't seem to have vio9p compiled-in/modloaded in your kernel.


-uwe


Home | Main Index | Thread Index | Old Index