On 2024-04-27, Peter J. Philipp <p...@delphinusdns.org> wrote: > I'm looking for a dmesg of an arm64 laptop, the time I think has come to > mothball the apple macbook pro from early 2015 (my old laptop called spica), > I could put a new battery in it but the 80 EUR is not worth it anymore. I'm > also gearing up for job interviews overseas in the summer where I need a > nice laptop. > > Anyone have dmesgs of "Lenovo Thinkpad X13s Gen 1" or the Apple M1/M2?
Here's an M2 pro dmesg. The onboard wireless network device isn't working yet so you need USB network (and because it's USB-C only, wifi dongles are a bit of a pain as you need an adapter). Video not accelerated but X runs ok. Webcam, microphone not supported. Not sure if the keyboard backlight is supported, at least I didn't figure out how to get it lit up in OpenBSD yet. The Apple M2 cpu has PAC and BTI (control-flow protection), enabled by default in OpenBSD - support maybe missing from some ports still which can result in crashes (it's usually easy enough to disable per-port by recompiling, and it's often not too hard to actually fix the ports either). https://newsroom.arm.com/blog/pac-bti Web browsers were a bit flaky last time I tried but I don't remember the details (and not sure whether that was an issue with my USB network adapter or the browser though). Can't remember whether I tried sleep or not. IIUC more of the hardware is working in X13s, but the Apples are damn quick at compiling.. (And I think I recall people with X13s mentioning that if the battery runs out you need to charge it for a while first before it will power back up - a "feature" familiar to me from the old Zaurus ;) OpenBSD 7.5 (GENERIC.MP) #120: Mon Mar 4 13:53:14 MST 2024 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 16313647104 (15557MB) avail mem = 15674085376 (14947MB) random: good seed from bootblocks mainbus0 at root: Apple MacBook Pro (14-inch, M2 Pro, 2023) efi0 at mainbus0: UEFI 2.10 efi0: Das U-Boot rev 0x20230700 cpu0 at mainbus0 mpidr 0: Apple Blizzard Pro r1p0 cpu0: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache cpu0: 4096KB 128b/line 16-way L2 cache cpu0: TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,SPECRES,SB,FRINTTS,GPI,LRCPC+LDAPUR,FCMA,JSCVT,API+PAC,DPB,SpecSEI,PAN+ATS1E1,LO,HPDS,VH,CSV3,CSV2,DIT,BT,SBSS+MSR cpu1 at mainbus0 mpidr 1: Apple Blizzard Pro r1p0 cpu1: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache cpu1: 4096KB 128b/line 16-way L2 cache cpu2 at mainbus0 mpidr 2: Apple Blizzard Pro r1p0 cpu2: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache cpu2: 4096KB 128b/line 16-way L2 cache cpu3 at mainbus0 mpidr 3: Apple Blizzard Pro r1p0 cpu3: 128KB 64b/line 4-way L1 PIPT I-cache, 64KB 64b/line 8-way L1 D-cache cpu3: 4096KB 128b/line 16-way L2 cache cpu4 at mainbus0 mpidr 10100: Apple Avalanche Pro r1p0 cpu4: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu4: 16384KB 128b/line 16-way L2 cache cpu5 at mainbus0 mpidr 10101: Apple Avalanche Pro r1p0 cpu5: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu5: 16384KB 128b/line 16-way L2 cache cpu6 at mainbus0 mpidr 10102: Apple Avalanche Pro r1p0 cpu6: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu6: 16384KB 128b/line 16-way L2 cache cpu7 at mainbus0 mpidr 10103: Apple Avalanche Pro r1p0 cpu7: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu7: 16384KB 128b/line 16-way L2 cache cpu8 at mainbus0 mpidr 10200: Apple Avalanche Pro r1p0 cpu8: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu8: 16384KB 128b/line 16-way L2 cache cpu9 at mainbus0 mpidr 10201: Apple Avalanche Pro r1p0 cpu9: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu9: 16384KB 128b/line 16-way L2 cache cpu10 at mainbus0 mpidr 10202: Apple Avalanche Pro r1p0 cpu10: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu10: 16384KB 128b/line 16-way L2 cache cpu11 at mainbus0 mpidr 10203: Apple Avalanche Pro r1p0 cpu11: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu11: 16384KB 128b/line 16-way L2 cache "asc-firmware" at mainbus0 not configured "asc-firmware" at mainbus0 not configured "framebuffer" at mainbus0 not configured "asc-firmware" at mainbus0 not configured "asc-firmware" at mainbus0 not configured "region157" at mainbus0 not configured "region95" at mainbus0 not configured "region94" at mainbus0 not configured "region57" at mainbus0 not configured "dcp_data" at mainbus0 not configured "asc-firmware" at mainbus0 not configured "uat-handoff" at mainbus0 not configured "uat-pagetables" at mainbus0 not configured "uat-ttbs" at mainbus0 not configured "isp-heap" at mainbus0 not configured apm0 at mainbus0 "opp-table-0" at mainbus0 not configured "opp-table-1" at mainbus0 not configured "opp-table-gpu" at mainbus0 not configured "opp-table-gpu-cs" at mainbus0 not configured "opp-table-gpu-afr" at mainbus0 not configured "pmu-e" at mainbus0 not configured "pmu-p" at mainbus0 not configured agtimer0 at mainbus0: 24000 kHz "clock-ref" at mainbus0 not configured "clock-200m" at mainbus0 not configured "clock-disp0" at mainbus0 not configured "clock-dispext0" at mainbus0 not configured "clock-dispext0_die1" at mainbus0 not configured "clock-dispext1" at mainbus0 not configured "clock-dispext1_die1" at mainbus0 not configured "clock-ref-nco" at mainbus0 not configured simplebus0 at mainbus0: "soc" aplpmgr0 at simplebus0 aplpmgr1 at simplebus0 aplpmgr2 at simplebus0 aplpmgr3 at simplebus0 aplintc0 at simplebus0 nirq 1961 ndie 1 apldog0 at simplebus0 aplmbox0 at simplebus0 aplpinctrl0 at simplebus0 aplmbox1 at simplebus0 apldart0 at simplebus0 rev 2.0: 42 bits, bypass apldart1 at simplebus0 rev 2.0: 42 bits, bypass apldart2 at simplebus0 rev 2.0: 42 bits, bypass apldart3 at simplebus0 rev 2.0: 42 bits, bypass apldart4 at simplebus0 rev 2.0: 42 bits, locked apldart5 at simplebus0 rev 2.0: 42 bits, locked aplmbox2 at simplebus0 apldart6 at simplebus0 rev 2.0: 42 bits, bypass aplmbox3 at simplebus0 apldart7 at simplebus0 rev 2.0: 42 bits, bypass apldart8 at simplebus0 rev 2.0: 42 bits, bypass apldart9 at simplebus0 rev 2.0: 42 bits, locked apldart10 at simplebus0 rev 2.0: 42 bits, locked aplmbox4 at simplebus0 aplpinctrl1 at simplebus0 aplefuse0 at simplebus0 aplpinctrl2 at simplebus0 aplpinctrl3 at simplebus0 apldart11 at simplebus0 rev 2.0: 42 bits, bypass apldart12 at simplebus0 rev 2.0: 42 bits, bypass apldart13 at simplebus0 rev 2.0: 42 bits, bypass apldart14 at simplebus0 rev 2.0: 42 bits, bypass apldart15 at simplebus0 rev 2.0: 42 bits, bypass apldart16 at simplebus0 rev 2.0: 42 bits, bypass aplmbox5 at simplebus0 aplnco0 at simplebus0 "power-management" at simplebus0 not configured aplspmi0 at simplebus0 aplpmu0 at aplspmi0 sid 0xb aplsmc0 at simplebus0 aplrtk0 at simplebus0 apldc0 at simplebus0: "fifo" apldchidev0 at apldc0 apldckbd0 at apldchidev0: 8 variable keys, 6 key codes wskbd0 at apldckbd0: console keyboard "isp" at simplebus0 not configured apldcp0 at simplebus0 apldrm0 at simplebus0 drm0 at apldrm0 aplpwm0 at simplebus0 apliic0 at simplebus0 iic0 at apliic0 tipd0 at iic0 addr 0x38 tipd1 at iic0 addr 0x3f tipd2 at iic0 addr 0x3b tipd3 at iic0 addr 0x3a apliic1 at simplebus0 iic1 at apliic1 sncodec0 at iic1 addr 0x3a sncodec1 at iic1 addr 0x38 sncodec2 at iic1 addr 0x39 apliic2 at simplebus0 iic2 at apliic2 "cirrus,cs42l84" at iic2 addr 0x4b not configured apliic3 at simplebus0 iic3 at apliic3 sncodec3 at iic3 addr 0x3d sncodec4 at iic3 addr 0x3b sncodec5 at iic3 addr 0x3c aplspi0 at simplebus0 exuart0 at simplebus0 apldma0 at simplebus0 aplmca0 at simplebus0 "gpu" at simplebus0 not configured aplpcie0 at simplebus0 pci0 at aplpcie0 ppb0 at pci0 dev 0 function 0 "Apple M1 PCIe" rev 0x01 pci1 at ppb0 bus 1 "Broadcom BCM4388" rev 0x04 at pci1 dev 0 function 0 not configured vendor "Broadcom", unknown product 0x5f72 (class network subclass miscellaneous, rev 0x04) at pci1 dev 0 function 1 not configured ppb1 at pci0 dev 1 function 0 "Apple M1 PCIe" rev 0x01 pci2 at ppb1 bus 2 "Genesys Logic GL9755" rev 0x01 at pci2 dev 0 function 0 not configured aplcpu0 at simplebus0 aplcpu1 at simplebus0 aplcpu2 at simplebus0 apldcp1 at simplebus0 xhci0 at simplebus0, xHCI 1.10 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 "phy" at simplebus0 not configured xhci1 at simplebus0, xHCI 1.10 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 "phy" at simplebus0 not configured xhci2 at simplebus0, xHCI 1.10 usb2 at xhci2: USB revision 3.0 uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 "phy" at simplebus0 not configured "phy" at simplebus0 not configured "mux" at simplebus0 not configured aplsart0 at simplebus0 aplns0 at simplebus0 nvme0 at aplns0: NVMe 1.1 nvme0: APPLE SSD AP1024Z, firmware 359.60.3, serial 0ba01ee360e42835 scsibus0 at nvme0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <NVMe, APPLE SSD AP1024, 359.> sd0: 954204MB, 4096 bytes/sector, 244276265 sectors pwmleds0 at mainbus0 "fixed-regulator-sn012776-sdz" at mainbus0 not configured aplaudio0 at mainbus0 audio0 at aplaudio0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> sd1: 566288MB, 4096 bytes/sector, 144969901 sectors root on sd1a (9e09d4e24b7229ed.a) swap on sd1b dump on sd1b apldchidev0: unhandled iface 1 apldchidev0: unhandled iface 1 apldcms0 at apldchidev0 wsmouse0 at apldcms0 mux 0 drm:pid0:dcp_start *WARNING* Failed to start DPTX endpoint: -60 drm:pid0:iomfb_poweron_v13_3 *ERROR* dcp_poweron() starting apldrm0: 3024x1890, 32bpp wsdisplay0 at apldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) "framebuffer" at mainbus0 not configured