SSD drive not detected during installation on MacBook8,1 12"

I tried to install FreeBSD-14.0-BETA2-amd64-memstick on a MacBook8,1 12" Retina. I chose a beta version because keyboard and touchpad drivers for MacBook8,1 were only added in FreeBSD-14.0-ALPHA3.
Keyboard and touchpad works as expected, but I couldn't install FreeBSD because the SSD drive is not detected.
Executing the command gpart show the output only shows the USB drive I used to boot the live system.

In Loader Prompt if I execute lsdev the output shows both internal SSD drive and USB drive.

I tried set hint.ahci.0.msi=0 and then boot, but it didn't worked.
 
Thanks, here is the system log.
I see some "(no driver attached)" for pci, could this be the issue?

Code:
Sep 22 20:12:26  newsyslog[906]: logfile first created
Sep 22 20:12:26  syslogd: kernel boot file is /boot/kernel/kernel
Sep 22 20:12:26  kernel: ---<<BOOT>>---
Sep 22 20:12:26  kernel: Copyright (c) 1992-2023 The FreeBSD Project.
Sep 22 20:12:26  kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Sep 22 20:12:26  kernel:     The Regents of the University of California. All rights reserved.
Sep 22 20:12:26  kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Sep 22 20:12:26  kernel: FreeBSD 14.0-BETA2 #0 releng/14.0-n265096-dfd44f2f0143: Fri Sep 15 05:46:35 UTC 2023
Sep 22 20:12:26  kernel:     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
Sep 22 20:12:26  kernel: FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Sep 22 20:12:26  kernel: VT(efifb): resolution 2560x1600
Sep 22 20:12:26  kernel: CPU: Intel(R) Core(TM) M-5Y31 CPU @ 0.90GHz (1100.09-MHz K8-class CPU)
Sep 22 20:12:26  kernel:   Origin="GenuineIntel"  Id=0x306d4  Family=0x6  Model=0x3d  Stepping=4
Sep 22 20:12:26  kernel:   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Sep 22 20:12:26  kernel:   Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
Sep 22 20:12:26  kernel:   AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
Sep 22 20:12:26  kernel:   AMD Features2=0x121<LAHF,ABM,Prefetch>
Sep 22 20:12:26  kernel:   Structured Extended Features=0x21c27ab<FSGSBASE,TSCADJ,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,RDSEED,ADX,SMAP,PROCTRACE>
Sep 22 20:12:26  kernel:   Structured Extended Features3=0x9c000600<MCUOPT,MD_CLEAR,IBPB,STIBP,L1DFL,SSBD>
Sep 22 20:12:26  kernel:   XSAVE Features=0x1<XSAVEOPT>
Sep 22 20:12:26  kernel:   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
Sep 22 20:12:26  kernel:   TSC: P-state invariant, performance statistics
Sep 22 20:12:26  kernel: real memory  = 8589934592 (8192 MB)
Sep 22 20:12:26  kernel: avail memory = 8157360128 (7779 MB)
Sep 22 20:12:26  kernel: Event timer "LAPIC" quality 600
Sep 22 20:12:26  kernel: ACPI APIC Table: <APPLE  Apple00>
Sep 22 20:12:26  kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
Sep 22 20:12:26  kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 hardware threads
Sep 22 20:12:26  kernel: random: registering fast source Intel Secure Key RNG
Sep 22 20:12:26  kernel: random: fast provider: "Intel Secure Key RNG"
Sep 22 20:12:26  kernel: arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
Sep 22 20:12:26  kernel: ioapic0 <Version 2.0> irqs 0-39
Sep 22 20:12:26  kernel: Launching APs: 1 3 2
Sep 22 20:12:26  kernel: random: entropy device external interface
Sep 22 20:12:26  kernel: kbd0 at kbdmux0
Sep 22 20:12:26  kernel: efirtc0: <EFI Realtime Clock>
Sep 22 20:12:26  kernel: efirtc0: registered as a time-of-day clock, resolution 1.000000s
Sep 22 20:12:26  kernel: smbios0: <System Management BIOS> at iomem 0x8afad000-0x8afad01e
Sep 22 20:12:26  kernel: smbios0: Version: 2.7
Sep 22 20:12:26  kernel: aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS>
Sep 22 20:12:26  kernel: acpi0: <APPLE Apple00>
Sep 22 20:12:26  kernel: acpi_ec0: <Embedded Controller: GPE 0x4e, ECDT> port 0x62,0x66 on acpi0
Sep 22 20:12:26  kernel: acpi0: Power Button (fixed)
Sep 22 20:12:26  kernel: hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed03fff irq 0,8 on acpi0
Sep 22 20:12:26  kernel: Timecounter "HPET" frequency 14318180 Hz quality 950
Sep 22 20:12:26  kernel: Event timer "HPET" frequency 14318180 Hz quality 550
Sep 22 20:12:26  kernel: Event timer "HPET1" frequency 14318180 Hz quality 440
Sep 22 20:12:26  kernel: Event timer "HPET2" frequency 14318180 Hz quality 440
Sep 22 20:12:26  kernel: Event timer "HPET3" frequency 14318180 Hz quality 440
Sep 22 20:12:26  kernel: Event timer "HPET4" frequency 14318180 Hz quality 440
Sep 22 20:12:26  kernel: cpu0: <ACPI CPU> on acpi0
Sep 22 20:12:26  kernel: atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
Sep 22 20:12:26  kernel: atrtc0: registered as a time-of-day clock, resolution 1.000000s
Sep 22 20:12:26  kernel: Event timer "RTC" frequency 32768 Hz quality 0
Sep 22 20:12:26  kernel: attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0
Sep 22 20:12:26  kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
Sep 22 20:12:26  kernel: Event timer "i8254" frequency 1193182 Hz quality 100
Sep 22 20:12:26  kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
Sep 22 20:12:26  kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0
Sep 22 20:12:26  kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
Sep 22 20:12:26  kernel: pci0: <ACPI PCI bus> on pcib0
Sep 22 20:12:26  kernel: vgapci0: <VGA-compatible display> port 0x3000-0x303f mem 0xc0000000-0xc0ffffff,0xb0000000-0xbfffffff at device 2.0 on pci0
Sep 22 20:12:26  kernel: vgapci0: Boot video device
Sep 22 20:12:26  kernel: hdac0: <Intel Broadwell HDA Controller> mem 0xc1810000-0xc1813fff at device 3.0 on pci0
Sep 22 20:12:26  kernel: xhci0: <Broadwell Integrated PCH-LP chipset USB 3.0 controller> mem 0xc1800000-0xc180ffff at device 20.0 on pci0
Sep 22 20:12:26  kernel: xhci0: 32 bytes context size, 64-bit DMA
Sep 22 20:12:26  kernel: xhci0: Port routing mask set to 0xffffffff
Sep 22 20:12:26  kernel: usbus0 on xhci0
Sep 22 20:12:26  kernel: usbus0: 5.0Gbps Super Speed USB v3.0
Sep 22 20:12:26  kernel: pci0: <base peripheral, DMA controller> at device 21.0 (no driver attached)
Sep 22 20:12:26  kernel: pci0: <serial bus> at device 21.2 (no driver attached)
Sep 22 20:12:26  kernel: pci0: <serial bus> at device 21.4 (no driver attached)
Sep 22 20:12:26  kernel: pci0: <simple comms, UART> at device 21.5 (no driver attached)
Sep 22 20:12:26  kernel: pci0: <simple comms> at device 22.0 (no driver attached)
Sep 22 20:12:26  kernel: hdac1: <Intel Broadwell HDA Controller> mem 0xc1814000-0xc1817fff at device 27.0 on pci0
Sep 22 20:12:26  kernel: pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
Sep 22 20:12:26  kernel: pci1: <ACPI PCI bus> on pcib1
Sep 22 20:12:26  kernel: pcib2: <ACPI PCI-PCI bridge> at device 28.2 on pci0
Sep 22 20:12:26  kernel: pci2: <ACPI PCI bus> on pcib2
Sep 22 20:12:26  kernel: pci2: <network> at device 0.0 (no driver attached)
Sep 22 20:12:26  kernel: pcib3: <ACPI PCI-PCI bridge> at device 28.3 on pci0
Sep 22 20:12:26  kernel: pci3: <ACPI PCI bus> on pcib3
Sep 22 20:12:26  kernel: pci3: <multimedia> at device 0.0 (no driver attached)
Sep 22 20:12:26  kernel: pcib4: <ACPI PCI-PCI bridge> at device 28.4 on pci0
Sep 22 20:12:26  kernel: pci4: <ACPI PCI bus> on pcib4
Sep 22 20:12:26  kernel: pci4: <mass storage> at device 0.0 (no driver attached)
Sep 22 20:12:26  kernel: isab0: <PCI-ISA bridge> at device 31.0 on pci0
Sep 22 20:12:26  kernel: isa0: <ISA bus> on isab0
Sep 22 20:12:26  kernel: battery0: <ACPI Control Method Battery> on acpi0
Sep 22 20:12:26  kernel: acpi_acad0: <AC Adapter> on acpi0
Sep 22 20:12:26  kernel: acpi_lid0: <Control Method Lid Switch> on acpi0
Sep 22 20:12:26  kernel: acpi_button0: <Power Button> on acpi0
Sep 22 20:12:26  kernel: acpi_button1: <Sleep Button> on acpi0
Sep 22 20:12:26  kernel: uart0: <8250 or 16450 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0
Sep 22 20:12:26  kernel: uart0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
Sep 22 20:12:26  kernel: est0: <Enhanced SpeedStep Frequency Control> on cpu0
Sep 22 20:12:26  kernel: Timecounter "TSC" frequency 1100000441 Hz quality 1000
Sep 22 20:12:26  kernel: Timecounters tick every 1.000 msec
Sep 22 20:12:26  kernel: hdacc0: <Intel Broadwell HDA CODEC> at cad 0 on hdac0
Sep 22 20:12:26  kernel: hdaa0: <Intel Broadwell Audio Function Group> at nid 1 on hdacc0
Sep 22 20:12:26  kernel: pcm0: <Intel Broadwell (HDMI/DP 8ch)> at nid 3 on hdaa0
Sep 22 20:12:26  kernel: hdacc1: <Cirrus Logic (0x4208) HDA CODEC> at cad 0 on hdac1
Sep 22 20:12:26  kernel: hdaa1: <Cirrus Logic (0x4208) Audio Function Group> at nid 1 on hdacc1
Sep 22 20:12:26  kernel: random: unblocking device.
Sep 22 20:12:26  kernel: pcm1: <Cirrus Logic (0x4208) (Internal Digital 8ch)> at nid 29 on hdaa1
Sep 22 20:12:26  kernel: pcm2: <Cirrus Logic (0x4208) (Analog)> at nid 16 and 24 on hdaa1
Sep 22 20:12:26  kernel: Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]...
Sep 22 20:12:26  kernel: ugen0.1: <Intel XHCI root HUB> at usbus0
Sep 22 20:12:26  kernel: uhub0 on usbus0
Sep 22 20:12:26  kernel: uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
Sep 22 20:12:26  kernel: uhub0: 15 ports with 15 removable, self powered
Sep 22 20:12:26  kernel: Root mount waiting for: usbus0
Sep 22 20:12:26  kernel: ugen0.2: <vendor 0x058f product 0x6254> at usbus0
Sep 22 20:12:26  kernel: uhub1 on uhub0
Sep 22 20:12:26  kernel: uhub1: <vendor 0x058f product 0x6254, class 9/0, rev 2.00/1.00, addr 1> on usbus0
Sep 22 20:12:26  kernel: uhub1: 4 ports with 4 removable, self powered
Sep 22 20:12:26  kernel: Root mount waiting for: usbus0
Sep 22 20:12:26  kernel: ugen0.3: <Generic Flash Card Reader/Writer> at usbus0
Sep 22 20:12:26  kernel: umass0 on uhub1
Sep 22 20:12:26  kernel: umass0: <Generic Flash Card Reader/Writer, class 0/0, rev 2.01/1.00, addr 2> on usbus0
Sep 22 20:12:26  kernel: umass0:  SCSI over Bulk-Only; quirks = 0x4001
Sep 22 20:12:26  kernel: umass0:0:0: Attached to scbus0
Sep 22 20:12:26  kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
Sep 22 20:12:26  kernel: da0: <Multiple Card  Reader 1.00> Removable Direct Access SPC-2 SCSI device
Sep 22 20:12:26  kernel: da0: Serial Number 058F63666485
Sep 22 20:12:26  kernel: da0: 40.000MB/s transfers
Sep 22 20:12:26  kernel: da0: 30528MB (62521344 512 byte sectors)
Sep 22 20:12:26  kernel: da0: quirks=0x2<NO_6_BYTE>
Sep 22 20:12:26  kernel: usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device Sony Storage Media (0x054c:0x09c2)
Sep 22 20:12:26  kernel: usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device Sony Storage Media (0x054c:0x09c2)
Sep 22 20:12:26  kernel: ugen0.4: <Sony Storage Media> at usbus0
Sep 22 20:12:26  kernel: umass1 on uhub1
Sep 22 20:12:26  kernel: umass1: <Sony Storage Media, class 0/0, rev 2.10/1.10, addr 3> on usbus0
Sep 22 20:12:26  kernel: umass1:  SCSI over Bulk-Only; quirks = 0x8100
Sep 22 20:12:26  kernel: umass1:1:1: Attached to scbus1
Sep 22 20:12:26  kernel: Root mount waiting for: CAM
Sep 22 20:12:26  kernel: mountroot: waiting for device /dev/ufs/FreeBSD_Install...
Sep 22 20:12:26  kernel: da1 at umass-sim1 bus 1 scbus1 target 0 lun 0
Sep 22 20:12:26  kernel: da1: <Sony Storage Media PMAP> Removable Direct Access SPC-4 SCSI device
Sep 22 20:12:26  kernel: da1: Serial Number 5C07105B7D228EA870
Sep 22 20:12:26  kernel: da1: 40.000MB/s transfers
Sep 22 20:12:26  kernel: da1: 7422MB (15200256 512 byte sectors)
Sep 22 20:12:26  kernel: da1: quirks=0x2<NO_6_BYTE>
Sep 22 20:12:26  kernel: spi0: <Intel Wildcat Point SPI Controller-1> mem 0xc181a000-0xc181afff at device 21.4 on pci0
Sep 22 20:12:26  kernel: spi0: Using MSI
Sep 22 20:12:26  kernel: spibus0: <SPI bus (ACPI-hinted)> on spi0
Sep 22 20:12:26  kernel: spibus0: <unknown card> at cs 0 mode 0
Sep 22 20:12:26  kernel: ichsmb0: <Intel Wildcat Point-LP SMBus controller> port 0xefa0-0xefbf mem 0xc181d000-0xc181d0ff at device 31.3 on pci0
Sep 22 20:12:26  kernel: smbus0: <System Management Bus> on ichsmb0
Sep 22 20:12:26  kernel: pchtherm0: <Wildcat Point Thermal Subsystem> mem 0xc1818000-0xc1818fff at device 31.6 on pci0
Sep 22 20:12:26  kernel: lo0: link state changed to UP
Sep 22 20:12:26  kernel: atopcase0: <Apple MacBook SPI Topcase> at cs 0 mode 0 irq 30 on spibus0
Sep 22 20:12:26  kernel: atopcase0: Using interrupts.
Sep 22 20:12:26  kernel: hidbus0: <HID bus> on atopcase0
Sep 22 20:12:26  kernel: hidbus1: <HID bus> on atopcase0
Sep 22 20:12:26  kernel: hkbd0: <Apple MacBook Keyboard> on hidbus0
Sep 22 20:12:26  kernel: kbd1 at hkbd0
Sep 22 20:12:26  kernel: hcons0: <Apple MacBook Consumer Control> on hidbus0
Sep 22 20:12:26  kernel: bcm59740: <Apple MacBook Touchpad> on hidbus1
 
I know this doesn’t help directly, but I had the same issue when I tried - it is awesome the keyboard is working which I saw on another forum post here, I think that was added in ALPHA6. But unfortunately was not able to see the SSD to install to either.

Am very keen to get FreeBSD onto this machine if someone knows of a way forward.

In response to the other post talking about gpart - I couldn’t see the disk via camcontrol or nvmecontrol devlist which is how I looked for the internal ssd, and the installer says there’s no disks it can install to.
 
what is the pciconf -lv output?
Here is the output of pciconf -lv

Code:
hostb0@pci0:0:0:0:    class=0x060000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x1604 subvendor=0x106b subdevice=0x013e
    vendor     = 'Intel Corporation'
    device     = 'Broadwell-U Host Bridge -OPI'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:    class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x161e subvendor=0x106b subdevice=0x013e
    vendor     = 'Intel Corporation'
    device     = 'HD Graphics 5300'
    class      = display
    subclass   = VGA
hdac0@pci0:0:3:0:    class=0x040300 rev=0x09 hdr=0x00 vendor=0x8086 device=0x160c subvendor=0x106b subdevice=0x013e
    vendor     = 'Intel Corporation'
    device     = 'Broadwell-U Audio Controller'
    class      = multimedia
    subclass   = HDA
xhci0@pci0:0:20:0:    class=0x0c0330 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9cb1 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP USB xHCI Controller'
    class      = serial bus
    subclass   = USB
none0@pci0:0:21:0:    class=0x080102 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ce0 subvendor=0x8086 subdevice=0x9ce0
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP Serial IO DMA Controller'
    class      = base peripheral
    subclass   = DMA controller
none1@pci0:0:21:2:    class=0x0c8000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ce2 subvendor=0x8086 subdevice=0x9ce2
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP Serial IO I2C Controller'
    class      = serial bus
spi0@pci0:0:21:4:    class=0x0c8000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ce6 subvendor=0x8086 subdevice=0x9ce6
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP Serial IO GSPI Controller'
    class      = serial bus
none2@pci0:0:21:5:    class=0x070002 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ce3 subvendor=0x8086 subdevice=0x9ce3
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP Serial IO UART Controller'
    class      = simple comms
    subclass   = UART
none3@pci0:0:22:0:    class=0x078000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9cba subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP MEI Controller'
    class      = simple comms
hdac1@pci0:0:27:0:    class=0x040300 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca0 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:    class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c90 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:2:    class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c94 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:3:    class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c96 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
pcib4@pci0:0:28:4:    class=0x060400 rev=0xe3 hdr=0x01 vendor=0x8086 device=0x9c98 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:    class=0x060100 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9cc7 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP LPC Controller'
    class      = bridge
    subclass   = PCI-ISA
ichsmb0@pci0:0:31:3:    class=0x0c0500 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca2 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP SMBus Controller'
    class      = serial bus
    subclass   = SMBus
pchtherm0@pci0:0:31:6:    class=0x118000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9ca4 subvendor=0x8086 subdevice=0x7270
    vendor     = 'Intel Corporation'
    device     = 'Wildcat Point-LP Thermal Management Controller'
    class      = dasp
none4@pci0:1:0:0:    class=0x028000 rev=0x05 hdr=0x00 vendor=0x14e4 device=0x43a3 subvendor=0x106b subdevice=0x0131
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'BCM4350 802.11ac Wireless Network Adapter'
    class      = network
none5@pci0:2:0:0:    class=0x048000 rev=0x00 hdr=0x00 vendor=0x14e4 device=0x1570 subvendor=0x14e4 subdevice=0x1570
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = '720p FaceTime HD Camera'
    class      = multimedia
none6@pci0:3:0:0:    class=0x018002 rev=0x01 hdr=0x00 vendor=0x106b device=0x2001 subvendor=0x106b subdevice=0x2001
    vendor     = 'Apple Inc.'
    device     = 'S1X NVMe Controller'
    class      = mass storage
 
Try this POC patch:

Code:
--- a/sys/dev/nvme/nvme_pci.c
+++ b/sys/dev/nvme/nvme_pci.c
@@ -93,6 +93,7 @@ static struct _pcsid
        { 0xa821144d,           0, 0, "Samsung PM1725", QUIRK_DELAY_B4_CHK_RDY },
        { 0xa822144d,           0, 0, "Samsung PM1725a", QUIRK_DELAY_B4_CHK_RDY },
        { 0x07f015ad,           0, 0, "VMware NVMe Controller" },
+       { 0x2001106b,           0, 0, "Apple S1X NVMe Controller" },
        { 0x2003106b,           0, 0, "Apple S3X NVMe Controller" },
        { 0x00000000,           0, 0, NULL  }
 };

It does not enable any quirks from Linux driver but should help to attach NVME device.
 
Try this POC patch:

Code:
--- a/sys/dev/nvme/nvme_pci.c
+++ b/sys/dev/nvme/nvme_pci.c
@@ -93,6 +93,7 @@ static struct _pcsid
        { 0xa821144d,           0, 0, "Samsung PM1725", QUIRK_DELAY_B4_CHK_RDY },
        { 0xa822144d,           0, 0, "Samsung PM1725a", QUIRK_DELAY_B4_CHK_RDY },
        { 0x07f015ad,           0, 0, "VMware NVMe Controller" },
+       { 0x2001106b,           0, 0, "Apple S1X NVMe Controller" },
        { 0x2003106b,           0, 0, "Apple S3X NVMe Controller" },
        { 0x00000000,           0, 0, NULL  }
 };

It does not enable any quirks from Linux driver but should help to attach NVME device.
I don't have the file nvme_pci.c
I have executed find / -name 'nvme_pci.c' and returned no output.
Furthermore I don't have the directory /sys
I tried patching using patch(1), but if I don't have the file nvme_pci.c I don't know what I should do.
Did I miss something? Or did I do the wrong thing?
Sorry for my ignorance
 
you can replace the kernel on the installer easily if you boot from an usb stick/sd card
just mount the image or stick and replace it
 
I installed a copy of FreeBSD 13.1 on a virtual machine, then I installed source code from official git repository, I configured the kernel file to enable Broadcom support and applied the patch provided by Vladimir Kondratyev to nvme_pci.c file. Then I rebuilt the kernel and transferred the new kernel folder to an SD card (fat32 filesystem).

Eventually I booted from the FreeBSD-14-BETA2 installer and I tried to replace the whole kernel, but the operation failed because there wasn't enough space (and some symlinks were not created). So, I used gpart resize to resize the installer partition, and tried to replace the kernel again, but the same error came up.

When I rebooted the syslog showed the same errors on pci and nvme and the SSD wasn't recognized.

Then I tried to install another ISO (FreeBSD-14-BETA3). This time I only replaced the files that I have effectively changed when I rebuilt the kernel (if_bwm.ko, nvme.ko), but when I rebooted SSD wasn't recognized as before.

If there are other solutions I'd be happy to try them, otherwise I'll stick with MacOS.
In the meantime, thank you so much for all your help!
 
This isn't a very old thread, so I will post here, since I am facing the same problem. I have the same laptop: Macbook8,1.

I applied the patch posted a few posts above and recompiled the kernel. After booting the installer I am now able to see /dev/nvme0 device, but dmesg shows following errors:

Code:
nvme0: <Apple S1X NVMe Controller> mem 0xc1500000-0xc1501fff at device 0.0 on pci4
(...)
nvme0: CREATE_IO_CQ (05) sqid:0 cid:15 nsid:0 cdw10:00ff0001 cdw11:00010003
uhub0nvme0: INVALID INTERRUPT VECTOR (01/08) crd:0 m:0 dnr:0 p:1 sqid:0 cid:15 cdw0:0 on usbus0
uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
nvme0: nvme_create_io_cq failed!

Any thoughts?
 
I get exactly the same error as grabka.


pciconf -lv shows nvme0@pci0:3:0:0: with the rest unchanged as given by esaedro.

geom disk list does not detect the nvme either.

The Macbook is a paperweight at the moment if I can't get FreeBSD working on it so I hope there is something we can do.
 
Back
Top