Bug 253339 - device_attach: virtio_pci0 attach returned 6 (Parallels Desktop on Apple M1)
Summary: device_attach: virtio_pci0 attach returned 6 (Parallels Desktop on Apple M1)
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: 13.0-STABLE
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 08:21 UTC by yarshure
Modified: 2021-03-31 10:22 UTC (History)
2 users (show)

See Also:


Attachments
deviceinfo (3.32 KB, text/plain)
2021-02-08 08:21 UTC, yarshure
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description yarshure 2021-02-08 08:21:10 UTC
Created attachment 222258 [details]
deviceinfo

root@M1:~ # uname -a
FreeBSD M1 13.0-STABLE FreeBSD 13.0-STABLE #5 stable/13-n244489-606bf913f9a3: Mon Feb  8 15:41:07 HKT 2021     root@M1:/usr/obj/usr/freebsd-src/arm64.aarch64/sys/GENERIC  arm64
#

root@M1:~ # pciconf -l
none0@pci0:0:2:0:	class=0x020000 rev=0x00 hdr=0x00 vendor=0x1af4 device=0x1000 subvendor=0x1ab8 subdevice=0x0001
root@M1:~ # dmesg|grep pci0
pci0: <PCI bus> on pcib0
virtio_pci0: <VirtIO PCI (legacy) Network adapter> irq 14 at device 2.0 on pci0
virtio_pci0: cannot map I/O space
device_attach: virtio_pci0 attach returned 6
root@M1:~ #
Comment 1 yarshure 2021-02-08 08:22:17 UTC
   pcib0 pnpinfo name=pci@2000000 compat=pci-host-ecam-generic
      pci0
        unknown pnpinfo vendor=0x1af4 device=0x1000 subvendor=0x1ab8 subdevice=0x0001 class=0x020000 at slot=2 function=0 dbsf=pci0:0:2:0
Comment 2 yarshure 2021-03-31 10:21:31 UTC
13.0 already fix this bug.
under Parallels Desktop on Apple M1, VIRTIO work (shared Network and Bridge mode)