NetBSD-Users archive

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

Re: Virtio, Netbsd 9.0 and Virtualbox



FWIW on -current I get (with the latest pcidevs):
...
# lspci -b -nn -s 00:0f.0 -v  -xx
00:0f.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio SCSI
[1af4:1048] (rev 01)
        Subsystem: Red Hat, Inc. Virtio SCSI [1af4:1048]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at e2426000 (32-bit, non-prefetchable)
        Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
        Capabilities: [50] Vendor Specific Information: VirtIO: Notify
        Capabilities: [64] Vendor Specific Information: VirtIO: ISR
        Capabilities: [74] Vendor Specific Information: VirtIO: <unknown>
        Capabilities: [88] Vendor Specific Information: VirtIO: DeviceCfg
00: f4 1a 48 10 17 00 10 00 01 00 00 01 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 60 42 e2 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 f4 1a 48 10
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

# dmesg | tail -1
[    19.987120] Qumranet product 1048 (SCSI mass storage, revision
0x01) at pci0 dev 15 function 0 not configured.

It seems the kernel recognizes it as something else?

On Tue, 10 Mar 2020 at 13:45, <janicetr%posteo.de@localhost> wrote:
>
>
> On 2020-03-10 14:28, Pierre Dupond wrote:
> > Hello,
> >       I use VirtualBox 6.1 on Windows 10 to run NetBSD 9.0.
> > I want to use the VirtIO controler provided by VirtualBox 6.1 with a
> > disk
> > attached to it.
> >
> > Neither the controler nor the disk are recognised by the GENERIC
> > kernel.
> > Even if in the config file of the GENERIC Kernel, the following lines
> > are defined:
> > # Virtio devices
> > virtio* at pci? dev ? function ?        # Virtio PCI device
> > viomb*  at virtio?                      # Virtio memory balloon device
> > ld*     at virtio?                      # Virtio disk device
> > vioif*  at virtio?                      # Virtio network device
> > viornd* at virtio?                      # Virtio entropy device
> > vioscsi* at virtio?                     # Virtio SCSI device
> >
> > Do you have an idea on what is missing?
>
> NetBSD 9.0 recognizes virtio controller and drive on qemu with the
>
> -drive file=...,if=virtio,aio=native
>
> settings, so maybe it is a VirtualBox problem?
>
> Best regards:
>
> J.



-- 
----


Home | Main Index | Thread Index | Old Index