From nobody Sat Apr 20 20:16:33 2024 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VMN8H3vmNz5JPCx for ; Sat, 20 Apr 2024 20:16:47 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VMN8H2QGFz4ThW for ; Sat, 20 Apr 2024 20:16:47 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-de46da8ced2so2956683276.0 for ; Sat, 20 Apr 2024 13:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1713644206; x=1714249006; darn=freebsd.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wSpgGaV60ZK/P2537TKnUc3Ff8VUX3IQ9DKpq7TZFCM=; b=XjU8AqxnpGXZ37kxjnQAicx5CDTGPvi54xY/qUBkHO5JAKNIxJrdL6Y+RsVOd9x4E+ QfT4+5hQpznz9gM/QB60AnsuvkB/HV/z+TGPaHLgSfKbYcI5jqaYFhL07jYXmPTNYM7h sthS6FOsnjvXnvkLVUyH0c+YsNO/jnzvu+cTaWQzR2hD8ao8jeJ7pmhDVn+xCXx/SYeA 511zjZx4BTjQRt2bWTQx9a6OeZ6za2jHsmkB9aLae0YjlOysWUmpuDjWRRX+fK07DKFo CqqwoVCxaVtiu5LMJLncddI3cwr5YkPzYrkuiDmJLkJUG0Hn9C4I8o6rUObJMxJZpSRg n3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713644206; x=1714249006; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wSpgGaV60ZK/P2537TKnUc3Ff8VUX3IQ9DKpq7TZFCM=; b=jI+7nZG/5ArJOTmjhf3+3CnM/dySuBny8lXDffQ3b2dl+/ayp9ZKikZw1zsXE8zBqn YOo6h2ZB8KR8B66eRDs2a2Y0elY7/M5Img2JchP/lGkABzHY8vRTUi7JDgzxpRW2DvBN XZdLusWZRL26bPKJM4Gim2+RaqIJCJstojXw+ZlY75iozpZUO7lJMAI8pKAAIXtiFgFN YLggnaDrtWqupab+J0fNC9MpEtQ0qCH1Huu1z/hxsHFrelRNP+4Z5zmofJJGjuarMBTr uU2y51L0f8/am9UDeUAU8AA/TIA/fPyvNySUQzeWEYR54QUXM1dmhO87k6Fd1VXcHfNH twkg== X-Gm-Message-State: AOJu0YzOizWuxjm8vOzIXkiB4BlG8T2JsRXaNT7D+l3K2naKoPnEgd/x CnrFe+SvXAgFXsvPRTeDH7Z3nJspLYcMOvlkujObiiKQFkzMn7sAZBQlfMwNjf2xOL4GPzecYJA = X-Google-Smtp-Source: AGHT+IFwDe9k8IdIhIZZBO87LVRcyCzhgnHdv1h4eFYVsO9sjPv8yGXpD7PZ9NZaT/9Spd4OOc9rAQ== X-Received: by 2002:a05:690c:6806:b0:614:7146:ea93 with SMTP id id6-20020a05690c680600b006147146ea93mr6467981ywb.25.1713644205857; Sat, 20 Apr 2024 13:16:45 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id r187-20020a81b3c4000000b006146c0a39aasm1324302ywh.145.2024.04.20.13.16.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Apr 2024 13:16:45 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: pci passthrough Mediatek MT7922 doesn't work From: Bakul Shah In-Reply-To: Date: Sat, 20 Apr 2024 13:16:33 -0700 Cc: freebsd-virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Peter Miller X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4VMN8H2QGFz4ThW Invoke the vmrun.sh script as "sh -x /usr/misc/examples/bhyve/vmrun.sh" = to show use the bhyve command line executed. As well as any error = messages. > On Apr 20, 2024, at 12:32=E2=80=AFPM, Peter Miller = wrote: >=20 > Hello, >=20 > I'm trying to use wifibox and the wifi device is not being passed = through. > There is a bug report, which I added to, but they told me it was > probably a bhyve problem. > https://github.com/pgj/freebsd-wifibox/issues/73 >=20 > I followed these instructions to test, and added -p 1/0/0 to pass the > wifi device. > = https://wiki.freebsd.org/bhyve#Q:_What_is_the_easiest_way_to_try_bhyve.3F >=20 > fetch = https://download.freebsd.org/snapshots/VM-IMAGES/14.0-STABLE/amd64/Latest/= FreeBSD-14.0-STABLE-amd64.raw.xz > unxz FreeBSD-14.0-STABLE-amd64.raw.xz > doas sh /usr/share/examples/bhyve/vmrun.sh -p 1/0/0 -d > FreeBSD-14.0-STABLE-amd64.raw vm0 >=20 > within the bhyve vm, I do not see the wifi device > root@freebsd:~ # pciconf -lv > hostb0@pci0:0:0:0: class=3D0x060000 rev=3D0x00 hdr=3D0x00 = vendor=3D0x1275 > device=3D0x1275 subvendor=3D0x0000 subdevice=3D0x0000 > vendor =3D 'Network Appliance Corporation' > class =3D bridge > subclass =3D HOST-PCI > isab0@pci0:0:1:0: class=3D0x060100 rev=3D0x00 hdr=3D0x00 = vendor=3D0x8086 > device=3D0x7000 subvendor=3D0x0000 subdevice=3D0x0000 > vendor =3D 'Intel Corporation' > device =3D '82371SB PIIX3 ISA [Natoma/Triton II]' > class =3D bridge > subclass =3D PCI-ISA > virtio_pci0@pci0:0:2:0: class=3D0x020000 rev=3D0x00 hdr=3D0x00 = vendor=3D0x1af4 > device=3D0x1000 subvendor=3D0x1af4 subdevice=3D0x0001 > vendor =3D 'Red Hat, Inc.' > device =3D 'Virtio network device' > class =3D network > subclass =3D ethernet > virtio_pci1@pci0:0:3:0: class=3D0x010000 rev=3D0x00 hdr=3D0x00 = vendor=3D0x1af4 > device=3D0x1001 subvendor=3D0x1af4 subdevice=3D0x0002 > vendor =3D 'Red Hat, Inc.' > device =3D 'Virtio block device' > class =3D mass storage > subclass =3D SCSI >=20 >=20 >=20 > bhyve dmesg > root@freebsd:~ # cat /var/run/dmesg.boot > ---<>--- > Copyright (c) 1992-2023 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.0-STABLE #0 stable/14-n267376-ca8e2e4c91cc: Thu Apr 18 > 05:55:35 UTC 2024 > = root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC = amd64 > FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git > llvmorg-17.0.6-0-g6009708b4367) > VT: init without driver. > CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.13-MHz = K8-class CPU) > Origin=3D"AuthenticAMD" Id=3D0xa70f41 Family=3D0x19 Model=3D0x74 = Stepping=3D1 > = Features=3D0x1783fbff > = Features2=3D0xfed83203 > AMD Features=3D0x26500800 > AMD = Features2=3D0x444231fb > Structured Extended > = Features=3D0xf01703a9 > Structured Extended Features2=3D0x600 > XSAVE Features=3D0x1 > AMD Extended Feature Extensions ID EBX=3D0x7 > TSC: P-state invariant > Hypervisor: Origin =3D "bhyve bhyve " > real memory =3D 536870912 (512 MB) > avail memory =3D 482742272 (460 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 2 package(s) x 1 core(s) > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > random: unblocking device. > ioapic0 irqs 0-31 > Launching APs: 1 > random: entropy device external interface > kbd1 at kbdmux0 > smbios0: at iomem 0xf1000-0xf101e > smbios0: Version: 2.6, BCD Revision: 2.6 > aesni0: > acpi0: > acpi0: Power Button (fixed) > atrtc0: port 0x70-0x71 irq 8 on acpi0 > atrtc0: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > hpet0: iomem 0xfed00000-0xfed003ff on = acpi0 > Timecounter "HPET" frequency 16777216 Hz quality 950 > Event timer "HPET" frequency 16777216 Hz quality 550 > Event timer "HPET1" frequency 16777216 Hz quality 450 > Event timer "HPET2" frequency 16777216 Hz quality 450 > Event timer "HPET3" frequency 16777216 Hz quality 450 > Event timer "HPET4" frequency 16777216 Hz quality 450 > Event timer "HPET5" frequency 16777216 Hz quality 450 > Event timer "HPET6" frequency 16777216 Hz quality 450 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > isab0: at device 1.0 on pci0 > isa0: on isab0 > virtio_pci0: port 0x2080-0x20bf > mem 0xc0108000-0xc0109fff irq 16 at device 2.0 on pci0 > vtnet0: on virtio_pci0 > vtnet0: Ethernet address: 00:a0:98:f0:55:05 > vtnet0: netmap queues/slots: TX 1/1024, RX 1/512 > 000.000148 [ 452] vtnet_netmap_attach vtnet attached txq=3D1, > txd=3D1024 rxq=3D1, rxd=3D512 > virtio_pci1: port 0x2000-0x207f > mem 0xc010a000-0xc010bfff irq 17 at device 3.0 on pci0 > vtblk0: on virtio_pci1 > vtblk0: 6176MB (12649685 512 byte sectors) > vmgenc0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > driver bug: Unable to set devclass (class: atkbdc devname: (unknown)) > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > WARNING: Device "psm" is Giant locked and may be deleted before = FreeBSD 15.0. > psm0: model Generic PS/2 mouse, device ID 0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on = acpi0 > uart0: console (115200,n,8,1) > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 4 on acpi0 > uart3: <16550 or compatible> port 0x2e8-0x2ef irq 3 on acpi0 > vga0: at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff > pnpid PNP0900 on isa0 > Timecounter "TSC-low" frequency 1597006350 Hz quality 1000 > Timecounters tick every 10.000 msec > usb_needs_explore_all: no devclass > Trying to mount root from ufs:/dev/gpt/rootfs [rw]... > lo0: link state changed to UP > vtnet0: link state changed to UP >=20 >=20 >=20 > Host machine, running Current. >=20 > dmesg > ---<>--- > Copyright (c) 1992-2024 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 15.0-CURRENT #1 068c675ca: Sat Apr 13 20:34:19 CDT 2024 > = root@queenannesrevenge:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > amd64 > FreeBSD clang version 18.1.3 (https://github.com/llvm/llvm-project.git > llvmorg-18.1.3-0-gc13b7485b879) > VT(efifb): resolution 2560x1600 > CPU: AMD Ryzen 5 7540U w/ Radeon(TM) 740M Graphics (3194.18-MHz = K8-class CPU) > Origin=3D"AuthenticAMD" Id=3D0xa70f41 Family=3D0x19 Model=3D0x74 = Stepping=3D1 > = Features=3D0x178bfbff > = Features2=3D0x7ef8320b > AMD Features=3D0x2e500800 > AMD = Features2=3D0x75c237ff > Structured Extended > = Features=3D0xf1bf97a9 > Structured Extended > = Features2=3D0x405fde > Structured Extended Features3=3D0x10000000 > XSAVE Features=3D0xf > AMD Extended Feature Extensions ID > = EBX=3D0x791ef257 > SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 > TSC: P-state invariant, performance statistics > real memory =3D 17179869184 (16384 MB) > avail memory =3D 15861637120 (15126 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs > FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 hardware threads > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > random: unblocking device. > ioapic0 irqs 0-23 > ioapic1 irqs 24-55 > Launching APs: 1 9 4 5 8 6 7 2 3 10 11 > random: entropy device external interface > kbd1 at kbdmux0 > efirtc0: > efirtc0: registered as a time-of-day clock, resolution 1.000000s > smbios0: at iomem 0x58e1f000-0x58e1f017 > smbios0: Version: 3.4 > aesni0: > acpi0: > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP0], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GPP2], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol > [\134_SB.PCI0.GPP2.WWAN], AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GP11], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > Firmware Error (ACPI): Could not resolve symbol [\134_SB.PCI0.GP12], > AE_NOT_FOUND (20230628/dswload2-315) > ACPI Error: AE_NOT_FOUND, During name lookup/catalog = (20230628/psobject-372) > AMD-Vi: IVRS Info VAsize =3D 64 PAsize =3D 48 GVAsize =3D 2 flags:0 > hpet0: iomem 0xfed00000-0xfed003ff irq = 0,8 on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 350 > Event timer "HPET1" frequency 14318180 Hz quality 350 > Event timer "HPET2" frequency 14318180 Hz quality 350 > atrtc1: on acpi0 > atrtc1: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: port 0x40-0x43 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_ec0: port 0x62,0x66,0x68,0x6c on = acpi0 > isab0: on acpi0 > isa0: on isab0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > amdiommu0 at device 0.2 on pci0 > pcib1: at device 2.2 on pci0 > pci1: on pcib1 > ppt0 mem 0x7f30800000-0x7f308fffff,0x60900000-0x60907fff at device 0.0 = on pci1 > pcib2: at device 2.3 on pci0 > pcib3: at device 2.4 on pci0 > pci2: on pcib3 > nvme0: mem 0x60800000-0x60803fff at device 0.0 = on pci2 > pci0: at device 3.2 (no driver attached) > pci0: at device 3.3 (no driver attached) > pci0: at device 3.4 (no driver attached) > pcib4: at device 8.1 on pci0 > pci3: on pcib4 > vgapci0: port 0x1000-0x10ff mem > 0x7f20000000-0x7f2fffffff,0x60000000-0x601fffff,0x60500000-0x6057ffff > at device 0.0 on pci3 > hdac0: mem 0x605c8000-0x605cbfff at > device 0.1 on pci3 > pci3: at device 0.2 (no driver attached) > xhci0: mem 0x60200000-0x602fffff > at device 0.3 on pci3 > xhci0: 64 bytes context size, 64-bit DMA > usbus0 on xhci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > xhci1: mem 0x60300000-0x603fffff > at device 0.4 on pci3 > xhci1: 64 bytes context size, 64-bit DMA > usbus1 on xhci1 > usbus1: 5.0Gbps Super Speed USB v3.0 > pci3: at device 0.5 (no driver attached) > hdac1: mem 0x605c0000-0x605c7fff at device > 0.6 on pci3 > pcib5: at device 8.2 on pci0 > pci4: on pcib5 > pcib6: at device 8.3 on pci0 > pci5: on pcib6 > xhci2: mem 0x60600000-0x606fffff > at device 0.3 on pci5 > xhci2: 64 bytes context size, 64-bit DMA > usbus2 on xhci2 > usbus2: 5.0Gbps Super Speed USB v3.0 > xhci3: mem 0x60700000-0x607fffff > at device 0.4 on pci5 > xhci3: 64 bytes context size, 64-bit DMA > usbus3 on xhci3 > usbus3: 5.0Gbps Super Speed USB v3.0 > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > acpi_lid0: on acpi0 > acpi_tz0: on acpi0 > acpi_tz1: on acpi0 > acpi_tz2: on acpi0 > cpu0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > acpi_acad0: on acpi0 > battery0: on acpi0 > ivhd0: on acpi0 > ivhd0: Unknown dev entry:0xf0 > Variable size IVHD type 0xf0 not supported > ivhd0: Flag:b0 > ivhd0: Features(type:0x40) MsiNumPPR =3D 0 PNBanks=3D 2 PNCounters=3D = 0 > ivhd0: Extended > features[31:0]:a2254afa,IASup,GASup,PCSup> > HATS =3D 0x2 GATS =3D 0x0 GLXSup =3D 0x1 SmiFSup =3D 0x1 SmiFRC =3D = 0x1 GAMSup =3D > 0x1 DualPortLogSup =3D 0x2 DualEventLogSup =3D 0x2 > ivhd0: Extended > = features[62:32]:246577ef > Max PASID: 0x2f DevTblSegSup =3D 0x3 MarcSup =3D 0x1 > ivhd0: supported paging level:7, will use only: 4 > ivhd0: device [0x3 - 0xfffe] config:0 > ivhd0: device [0xff00 - 0xffff] config:0 > ivhd0: PCI cap 0x190b640f@0x40 feature:19 > atrtc0: at port 0x70 irq 8 on isa0 > atrtc0: Warning: Couldn't map I/O. > atrtc0: registered as a time-of-day clock, resolution 1.000000s > atrtc0: Can't map interrupt. > hwpstate0: on cpu0 > Timecounter "TSC-low" frequency 1597000079 Hz quality 1000 > Timecounters tick every 1.000 msec > ugen0.1: at usbus0 > ugen3.1: at usbus3 > uhub0 on usbus0 > uhub0: on usbus0 > uhub1 on usbus3 > uhub1: on usbus3 > ugen1.1: at usbus1 > uhub2 on usbus1 > uhub2: on usbus1 > ugen2.1: at usbus2 > uhub3 on usbus2 > uhub3: on usbus2 > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > nvme0: Allocated 64MB host memory buffer > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 3 on hdaa0 > pcm1: at nid 5 on hdaa0 > pcm2: at nid 7 on hdaa0 > hdacc1: at cad 0 on hdac1 > hdaa1: at nid 1 on hdacc1 > pcm3: at nid 20 and 25 on hdaa1 > pcm4: at nid 33 on hdaa1 > nda0 at nvme0 bus 0 scbus0 target 0 lun 1 > nda0: > nda0: Serial Number S6B5NF0W347011 > nda0: nvme version 1.4 > nda0: 488386MB (1000215216 512 byte sectors) > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > Trying to mount root from zfs:zroot/ROOT/default []... > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub0: 7 ports with 7 removable, self powered > ugen1.2: at usbus1 > ugen3.2: at usbus3 > uhub4 on uhub1 > uhub4: = on usbus3 > ugen0.2: at usbus0 > uhub4: 4 ports with 4 removable, self powered > ugen3.3: at usbus3 > ukbd0 on uhub4 > ukbd0: = on usbus3 > kbd2 at ukbd0 > Root mount waiting for: usbus3 > ugen3.4: at usbus3 > uhub5 on uhub4 > uhub5: = on usbus3 > uhub5: MTT enabled > uhub5: 4 ports with 4 removable, self powered > Root mount waiting for: usbus3 > ugen3.5: at usbus3 > ukbd1 on uhub5 > ukbd1: on = usbus3 > kbd3 at ukbd1 > ukbd2 on uhub5 > ukbd2: on = usbus3 > kbd4 at ukbd2 > ugen3.6: at usbus3 > ukbd3 on uhub5 > ukbd3: 5> on usbus3 > kbd5 at ukbd3 > Root mount waiting for: usbus3 > ugen3.7: at usbus3 > uhub6 on uhub1 > uhub6: = on usbus3 > Root mount waiting for: usbus3 > uhub6: 4 ports with 4 removable, self powered > ugen3.8: at usbus3 > uhub7 on uhub6 > uhub7: = on usbus3 > uhub7: 4 ports with 4 removable, self powered > Root mount waiting for: usbus3 > ugen3.9: at usbus3 > ugen3.10: at usbus3 > umass0 on uhub6 > umass0: 9> on usbus3 > (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 = 00 10 00 00 > (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error > (probe0:umass-sim0:0:0:0): SCSI status: Check Condition > (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 > (Invalid command operation code) > (probe0:umass-sim0:0:0:0): Info: 0 > (probe0:umass-sim0:0:0:0): Command Specific Info: 0xaa5500 > (probe0:umass-sim0:0:0:0): Error 22, Unretryable error > da0 at umass-sim0 bus 0 scbus1 target 0 lun 0 > da0: Removable Direct Access SPC-4 SCSI device > da0: Serial Number 058F84688461 > da0: 400.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not = present > da0: quirks=3D0x2 > da1 at umass-sim0 bus 0 scbus1 target 0 lun 1 > da1: Removable Direct Access SPC-4 SCSI = device > da1: Serial Number 058F84688461 > da1: 400.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not = present > da1: quirks=3D0x2 > [drm] amdgpu kernel modesetting enabled. > drmn0: on vgapci0 > vgapci0: child drmn0 requested pci_enable_io > vgapci0: child drmn0 requested pci_enable_io > [drm] initializing kernel modesetting (IP DISCOVERY 0x1002:0x15BF > 0x103C:0x8C21 0xCA). > [drm] register mmio base: 0x60500000 > [drm] register mmio size: 524288 > [drm] add ip block number 0 > [drm] add ip block number 1 > [drm] add ip block number 2 > [drm] add ip block number 3 > [drm] add ip block number 4 > [drm] add ip block number 5 > [drm] add ip block number 6 > [drm] add ip block number 7 > [drm] add ip block number 8 > [drm] add ip block number 9 > [drm] add ip block number 10 > drmn0: Fetched VBIOS from VFCT > amdgpu: ATOM BIOS: 113-PHXGENERIC-001 > [drm] VCN(0) encode/decode are enabled in VM mode > drmn0: [drm] jpeg_v4_0_set_dec_ring_funcsgc_11_0_1_mes_2.bin: could > not load binary firmware /boot/firmware/gc_11_0_1_mes_2.bin either > amdgpu/gc_11_0_1_mes_2.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_mes_2.bin either > amdgpu_gc_11_0_1_mes_2.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_mes_2.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mes_2.bin' > gc_11_0_1_mes1.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_mes1.bin either > amdgpu/gc_11_0_1_mes1.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_mes1.bin either > amdgpu_gc_11_0_1_mes1.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_mes1.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mes1.bin' > drmn0: Trusted Memory Zone (TMZ) feature enabled > drmn0: PCIE atomic ops is not supported > [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment > size is 9-bit > drmn0: VRAM: 512M 0x0000008000000000 - 0x000000801FFFFFFF (512M used) > drmn0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF > [drm ERROR :amdgpu_bo_init] Unable to set WC memtype for the aperture = base > [drm] Detected VRAM RAM=3D512M, BAR=3D512M > [drm] RAM width 256bits LPDDR5 > [drm] amdgpu: 512M of VRAM memory ready > [drm] amdgpu: 7823M of GTT memory ready. > [drm] GART: num cpu pages 131072, num gpu pages 131072 > [drm] PCIE GART of 512M enabled (table at 0x000000801FD00000). > psp_13_0_4_toc.bin: could not load binary firmware > /boot/firmware/psp_13_0_4_toc.bin either > amdgpu/psp_13_0_4_toc.bin: could not load binary firmware > /boot/firmware/amdgpu/psp_13_0_4_toc.bin either > amdgpu_psp_13_0_4_toc.bin: could not load binary firmware > /boot/firmware/amdgpu_psp_13_0_4_toc.bin either > drmn0: successfully loaded firmware image 'amdgpu/psp_13_0_4_toc.bin' > psp_13_0_4_ta.bin: could not load binary firmware > /boot/firmware/psp_13_0_4_ta.bin either > amdgpu/psp_13_0_4_ta.bin: could not load binary firmware > /boot/firmware/amdgpu/psp_13_0_4_ta.bin either > amdgpu_psp_13_0_4_ta.bin: could not load binary firmware > /boot/firmware/amdgpu_psp_13_0_4_ta.bin either > drmn0: successfully loaded firmware image 'amdgpu/psp_13_0_4_ta.bin' > drmn0: PSP runtime database doesn't exist > drmn0: PSP runtime database doesn't exist > dcn_3_1_4_dmcub.bin: could not load binary firmware > /boot/firmware/dcn_3_1_4_dmcub.bin either > amdgpu/dcn_3_1_4_dmcub.bin: could not load binary firmware > /boot/firmware/amdgpu/dcn_3_1_4_dmcub.bin either > amdgpu_dcn_3_1_4_dmcub.bin: could not load binary firmware > /boot/firmware/amdgpu_dcn_3_1_4_dmcub.bin either > drmn0: successfully loaded firmware image 'amdgpu/dcn_3_1_4_dmcub.bin' > [drm] Loading DMUB firmware via PSP: version=3D0x08001B00 > gc_11_0_1_imu.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_imu.bin either > amdgpu/gc_11_0_1_imu.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_imu.bin either > amdgpu_gc_11_0_1_imu.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_imu.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_imu.bin' > gc_11_0_1_pfp.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_pfp.bin either > amdgpu/gc_11_0_1_pfp.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_pfp.bin either > amdgpu_gc_11_0_1_pfp.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_pfp.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_pfp.bin' > gc_11_0_1_me.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_me.bin either > amdgpu/gc_11_0_1_me.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_me.bin either > amdgpu_gc_11_0_1_me.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_me.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_me.bin' > gc_11_0_1_rlc.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_rlc.bin either > amdgpu/gc_11_0_1_rlc.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_rlc.bin either > amdgpu_gc_11_0_1_rlc.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_rlc.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_rlc.bin' > gc_11_0_1_mec.bin: could not load binary firmware > /boot/firmware/gc_11_0_1_mec.bin either > amdgpu/gc_11_0_1_mec.bin: could not load binary firmware > /boot/firmware/amdgpu/gc_11_0_1_mec.bin either > amdgpu_gc_11_0_1_mec.bin: could not load binary firmware > /boot/firmware/amdgpu_gc_11_0_1_mec.bin either > drmn0: successfully loaded firmware image 'amdgpu/gc_11_0_1_mec.bin' > sdma_6_0_1.bin: could not load binary firmware > /boot/firmware/sdma_6_0_1.bin either > amdgpu/sdma_6_0_1.bin: could not load binary firmware > /boot/firmware/amdgpu/sdma_6_0_1.bin either > amdgpu_sdma_6_0_1.bin: could not load binary firmware > /boot/firmware/amdgpu_sdma_6_0_1.bin either > drmn0: successfully loaded firmware image 'amdgpu/sdma_6_0_1.bin' > vcn_4_0_2.bin: could not load binary firmware > /boot/firmware/vcn_4_0_2.bin either > amdgpu/vcn_4_0_2.bin: could not load binary firmware > /boot/firmware/amdgpu/vcn_4_0_2.bin either > amdgpu_vcn_4_0_2.bin: could not load binary firmware > /boot/firmware/amdgpu_vcn_4_0_2.bin either > drmn0: successfully loaded firmware image 'amdgpu/vcn_4_0_2.bin' > [drm] Found VCN firmware Version ENC: 1.10 DEC: 5 VEP: 0 Revision: 0 > drmn0: Will use PSP to load VCN firmware > [drm] max_doorbell_slices=3D255 > [drm] reserve 0x4a00000 from 0x8010000000 for PSP TMR > drmn0: RAS: optional ras ta ucode is not available > drmn0: RAP: optional rap ta ucode is not available > drmn0: SECUREDISPLAY: securedisplay ta ucode is not available > drmn0: SMU is initialized successfully! > [drm] Display Core initialized with v3.2.207! > [drm] DMUB hardware initialized: version=3D0x08001B00 > lkpi_iic0: on drmn0 > iicbus0: on lkpi_iic0 > iic0: on iicbus0 > [drm] PSR support 1, DC PSR ver 1, sink PSR ver 4 DPCD caps 0x3a > su_y_granularity 4 > lkpi_iic1: on drmn0 > iicbus1: on lkpi_iic1 > iic1: on iicbus1 > lkpi_iic2: on drmn0 > iicbus2: on lkpi_iic2 > iic2: on iicbus2 > lkpi_iic3: on drmn0 > iicbus3: on lkpi_iic3 > iic3: on iicbus3 > lkpi_iic4: on drmn0 > iicbus4: on lkpi_iic4 > iic4: on iicbus4 > lkpi_iic5: on drmn0 > iicbus5: on lkpi_iic5 > iic5: on iicbus5 > lkpi_iic6: on drmn0 > iicbus6: on lkpi_iic6 > iic6: on iicbus6 > lkpi_iic7: on drmn0 > iicbus7: on lkpi_iic7 > iic7: on iicbus7 > [drm] kiq ring mec 3 pipe 1 q 0 > [drm] VCN decode and encode initialized successfully(under DPG Mode). > drmn0: [drm] jpeg_v4_0_hw_initdrmn0: SE 1, SH per SE 2, CU per SH 6, > active_cu_number 4 > drmn0: ring gfx_0.0.0 uses VM inv eng 0 on hub 0 > drmn0: ring comp_1.0.0 uses VM inv eng 1 on hub 0 > drmn0: ring comp_1.1.0 uses VM inv eng 4 on hub 0 > drmn0: ring comp_1.2.0 uses VM inv eng 6 on hub 0 > drmn0: ring comp_1.3.0 uses VM inv eng 7 on hub 0 > drmn0: ring comp_1.0.1 uses VM inv eng 8 on hub 0 > drmn0: ring comp_1.1.1 uses VM inv eng 9 on hub 0 > drmn0: ring comp_1.2.1 uses VM inv eng 10 on hub 0 > drmn0: ring comp_1.3.1 uses VM inv eng 11 on hub 0 > drmn0: ring sdma0 uses VM inv eng 12 on hub 0 > drmn0: ring vcn_unified_0 uses VM inv eng 0 on hub 1 > drmn0: ring jpeg_dec uses VM inv eng 1 on hub 1 > drmn0: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0 > [drm] ring gfx_32768.1.1 was added > [drm] ring compute_32768.2.2 was added > [drm] ring sdma_32768.3.3 was added > [drm] ring gfx_32768.1.1 test pass > [drm] ring gfx_32768.1.1 ib test pass > [drm] ring compute_32768.2.2 test pass > [drm] ring compute_32768.2.2 ib test pass > [drm] ring sdma_32768.3.3 test pass > [drm] ring sdma_32768.3.3 ib test pass > vgapci0: child drmn0 requested pci_get_powerstate > sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! > lkpi_iic8: on drm1 > iicbus8: on lkpi_iic8 > iic8: on iicbus8 > lkpi_iic9: on drm3 > iicbus9: on lkpi_iic9 > iic9: on iicbus9 > lkpi_iic10: on drm4 > iicbus10: on lkpi_iic10 > iic10: on iicbus10 > lkpi_iic11: on drm5 > iicbus11: on lkpi_iic11 > iic11: on iicbus11 > lkpi_iic12: on drm6 > iicbus12: on lkpi_iic12 > iic12: on iicbus12 > lkpi_iic13: on drm7 > iicbus13: on lkpi_iic13 > iic13: on iicbus13 > lkpi_iic14: on drm8 > iicbus14: on lkpi_iic14 > iic14: on iicbus14 > [drm] Initialized amdgpu 3.49.0 20150101 for drmn0 on minor 0 > VT: Replacing driver "efifb" with new "drmfb". > [drm] DSC precompute is not needed. > start FB_INFO: > height=3D1600 width=3D2560 depth=3D32 > pbase=3D0x0 vbase=3D0xfffffe014d00c000 > name=3Ddrmn0 id=3Damdgpudrmfb flags=3D0x0 stride=3D10240 > end FB_INFO > intsmb0: at device 20.0 on pci0 > smbus0: on intsmb0 > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > isab1: at device 20.3 on pci0 > device_attach: isab1 attach returned 6 > driver bug: Unable to set devclass (class: ppc devname: (unknown)) > ig4iic0: iomem 0xfedc5000-0xfedc5fff irq 6 = on acpi0 > iicbus15: on ig4iic0 > iicbus15: at addr 0x15 > iic15: on iicbus15 > acpi_wmi0: on acpi0 > acpi_wmi0: Embedded MOF found > ACPI: \134_SB.AMW0.WQDD: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi1: on acpi0 > acpi_wmi1: Embedded MOF found > ACPI: \134_SB.WFDE.WQCC: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi2: on acpi0 > acpi_wmi2: Embedded MOF found > ACPI: \134_SB.WFTE.WQCC: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi3: on acpi0 > acpi_wmi3: Embedded MOF found > ACPI: \134_SB.CPWM.WQBB: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > acpi_wmi4: on acpi0 > acpi_wmi4: Embedded MOF found > ACPI: \134_SB.WMID.WQAB: 1 arguments were passed to a non-method ACPI > object (Buffer) (20230628/nsarguments-361) > driver bug: Unable to set devclass (class: ppc devname: (unknown)) > lo0: link state changed to UP > ubt0 on uhub0 > ubt0: 1> on usbus0 > ubt1 on uhub0 > ubt1: 1> on usbus0 > ubt1: ubt_attach:670: could not get two interfaces > device_attach: ubt1 attach returned 6 > ubt1 on uhub0 > ubt1: 1> on usbus0 > ubt1: ubt_attach:670: could not get two interfaces > device_attach: ubt1 attach returned 6 > ums0 on uhub5 > ums0: 5> on usbus3 > ums0: 5 buttons and [XYZT] coordinates ID=3D1 > ubt1 on uhub0 > ubt1: 1> on usbus0 > ubt1: ubt_attach:670: could not get two interfaces > device_attach: ubt1 attach returned 6 > ure0 on uhub7 > ure0: = on usbus3 > iichid0: at addr 0x15 on = iicbus15 > iichid0: Interrupt setup failed. Fallback to sampling > hidbus0: on iichid0 > miibus0: on ure0 > rgephy0: PHY 0 on miibus0 > rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT-FDX, 1000baseT-FDX-master, auto > ue0: on ure0 > ue0: Ethernet address: 48:65:ee:10:9d:fa > ue0: link state changed to DOWN > ng_hci_process_command_timeout: ubt0hci - unable to complete HCI > command OGF=3D0x3, OCF=3D0x3. Timeout > hms0: on hidbus0 > hms0: 2 buttons and [XY] coordinates ID=3D1 > hmt0: on hidbus0 > hconf0: on hidbus0 > hmt0: Multitouch touchpad with 0 external buttons, click-pad > hmt0: 5 contacts with [C] properties. Report range [0:0] - [3831:2424] > ue0: link state changed to UP > ue0: link state changed to DOWN > ue0: link state changed to UP >=20 >=20 >=20 > pciconf -lv > ppt0@pci0:1:0:0: class=3D0x028000 rev=3D0x02 hdr=3D0x00 = vendor=3D0x14c3 > device=3D0x0616 subvendor=3D0x14c3 subdevice=3D0x223c > vendor =3D 'MEDIATEK Corp.' > device =3D 'MT7922 802.11ax PCI Express Wireless Network = Adapter' > class =3D network >=20 >=20 >=20 > /boot/loader.conf > hw.vmm.amdvi.enable=3D"1" > vmm_load=3D"YES" > pptdevs=3D"1/0/0" >=20 > Please let me know if there's additional information I can provide. > --=20 > Thanks > Peter >=20