On Sat, Oct 12, 2024 at 09:21:41AM +0200, Lorenz (xha) wrote:
> gprof(1) mentions that the "-pg" flag in cc(1) can be used to create
> a gmon.out file. this is not documented (in the cc man page) and
> results in a segfault:
> 

hi.

i can;t address the segfault issue, but for the doc part, this seems to
be an omission in clang's documentation. since it's considered 3rd
party, you're best to raise an issue upstream (providing a patch might
meet with more success).

jmc

>       $ cat main.c
>       #include <stdlib.h>
>       #include <stdio.h>
> 
>       int
>       main() {
>               (void)printf("Hello, World!\n");
>       }
>       $ cc -pg main.c
>       $ ./a.out
>       Segmentation fault (core dumped)
>       $ lldb a.out -c a.out.core
>       (lldb) target create "a.out" --core "a.out.core"
>       Core file '/home/lorenz/src/hare/harec/a.out.core' (x86_64) was loaded.
>       (lldb) bt
>        * thread #1, stop reason = signal SIGSEGV
>          * frame #0: 0x00000002dad621c0
> 
> static linking works, however:
> 
>       $ cc -pg -static main.c
>       $ ./a.out
>       Hello, World!
>       $ echo $?
>       0
>       $ gprof
>       /* lots of output now */
>       $ echo $?
>       0
> 
> egdb gives a bit more information:
> 
>       lorenz@~/src/hare/harec > egdb a.out
>       Reading symbols from a.out...
>       (gdb) r
>       Starting program: /home/lorenz/src/hare/harec/a.out
> 
>       Program received signal SIGSEGV, Segmentation fault.
>       _dl_boot (argv=0x7e87a2161e28, envp=<optimized out>, 
> dyn_loff=10301206528, dl_data=0x7e87a2161d90)
>       at /usr/src/libexec/ld.so/loader.c:622
>       622             exe_obj->load_list = load_list;
> 
> ld.so, in _dl_boot(), does not check if the binary has a DYNAMIC section 
> (which
> it does not seem to have in the case of "-pg"), and just segfaults here:
> 
>   617                       relro_size = phdp->p_memsz;
>   618                       break;
>   619               }
>   620               phdp++;
>   621       }
> * 622       exe_obj->load_list = load_list;
>   623       exe_obj->obj_flags |= DF_1_GLOBAL;
>   624       exe_obj->nodelete = 1;
>   625       exe_obj->load_size = maxva - minva;
> 
> does it make sense to try and debug this further? i have also seen
> a pinsyscalls violation when using -gp with harec, which, together
> with the missing DYNAMIC section, makes me a bit worried that linker
> scripts are involved.
> 
> OpenBSD 7.6-current (RAMDISK_CD) #332: Wed Oct  2 12:31:11 MDT 2024
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
> real mem = 16846938112 (16066MB)
> avail mem = 16331968512 (15575MB)
> random: good seed from bootblocks
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x70368000 (53 entries)
> bios0: vendor LENOVO version "R1EET46W(1.46 )" date 12/08/2021
> bios0: LENOVO 20TD0005GE
> acpi0 at bios0: ACPI 6.1
> acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT ECDT HPET APIC MCFG SSDT 
> SSDT SSDT NHLT SSDT SSDT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM SSDT BATB DMAR 
> SSDT BGRT PTDT UEFI FPDT
> acpiec0 at acpi0
> acpihpet0 at acpi0: 19200000 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4689.19 MHz, 06-8c-01, 
> patch 0000009a
> cpu0: cpuid 1 
> edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>  
> ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
> cpu0: cpuid 6 eax=17eff7<SENSOR,ARAT> ecx=9<EFFFREQ>
> cpu0: cpuid 7.0 
> ebx=f3bfa7eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL>
>  ecx=18c05fce<AVX512VBMI,UMIP,PKU> 
> edx=fc100510<MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD>
> cpu0: cpuid a vers=5, gp=8, gpwidth=48, ff=4, ffwidth=48
> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> 
> ecx=121<LAHF,ABM,3DNOWP>
> cpu0: cpuid 80000007 edx=100<ITSC>
> cpu0: msr 
> 10a=c6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT>
> cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
> 20-way L2 cache, 12MB 64b/line 12-way L3 cache
> cpu0: apic clock running at 38MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> acpiprt0 at acpi0: bus 0 (PC00)
> acpiprt1 at acpi0: bus 2 (PEG0)
> acpiprt2 at acpi0: bus 3 (RP01)
> acpiprt3 at acpi0: bus -1 (RP02)
> acpiprt4 at acpi0: bus 4 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus -1 (RP06)
> acpiprt8 at acpi0: bus -1 (RP07)
> acpiprt9 at acpi0: bus -1 (RP08)
> acpiprt10 at acpi0: bus 7 (RP09)
> acpiprt11 at acpi0: bus -1 (RP10)
> acpiprt12 at acpi0: bus -1 (RP11)
> acpiprt13 at acpi0: bus -1 (RP12)
> acpiprt14 at acpi0: bus -1 (RP13)
> acpiprt15 at acpi0: bus -1 (RP14)
> acpiprt16 at acpi0: bus -1 (RP15)
> acpiprt17 at acpi0: bus -1 (RP16)
> acpiprt18 at acpi0: bus -1 (RP17)
> acpiprt19 at acpi0: bus -1 (RP18)
> acpiprt20 at acpi0: bus -1 (RP19)
> acpiprt21 at acpi0: bus -1 (RP20)
> acpiprt22 at acpi0: bus -1 (RP21)
> acpiprt23 at acpi0: bus -1 (RP22)
> acpiprt24 at acpi0: bus -1 (RP23)
> acpiprt25 at acpi0: bus -1 (RP24)
> acpiprt26 at acpi0: bus 8 (TRP0)
> acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
> "LEN0268" at acpi0 not configured
> "ACPI0003" at acpi0 not configured
> "PNP0C0A" at acpi0 not configured
> "PNP0C60" at acpi0 not configured
> "LEN0111" at acpi0 not configured
> "LEN0100" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "LEN0130" at acpi0 not configured
> "ACPI000E" at acpi0 not configured
> "INT34C5" at acpi0 not configured
> "PNP0C0C" at acpi0 not configured
> "PNP0C0E" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C0D" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "INTC1040" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "USBC000" at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpicpu at acpi0 not configured
> acpipwrres at acpi0 not configured
> acpipwrres at acpi0 not configured
> pci0 at mainbus0 bus 0
> 0:31:5: mem address conflict 0xfe010000/0x1000
> pchb0 at pci0 dev 0 function 0 "Intel Core 11G Host" rev 0x01
> "Intel Xe Graphics" rev 0x01 at pci0 dev 2 function 0 not configured
> "Intel Core 11G DTT" rev 0x01 at pci0 dev 4 function 0 not configured
> ppb0 at pci0 dev 6 function 0 "Intel Core 11G PCIE" rev 0x01: msi
> pci1 at ppb0 bus 2
> nvme0 at pci1 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, 
> NVMe 1.3
> nvme0: Samsung SSD 970 EVO Plus 2TB, firmware 2B2QEXM7, serial S4J4NM0W330551L
> scsibus0 at nvme0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q>
> sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors
> ppb1 at pci0 dev 7 function 0 "Intel Core 11G PCIE" rev 0x01: msi
> pci2 at ppb1 bus 8
> "Intel Core 11G SRAM" rev 0x01 at pci0 dev 10 function 0 not configured
> xhci0 at pci0 dev 13 function 0 "Intel Core 11G xHCI" rev 0x01: msi, xHCI 1.20
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 2 not configured
> xhci1 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x20: msi, xHCI 
> 1.20
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> "Intel 500 Series Shared SRAM" rev 0x20 at pci0 dev 20 function 2 not 
> configured
> iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x20, msix
> dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2 int 
> 27
> iic0 at dwiic0
> dwiic1 at pci0 dev 21 function 2 "Intel 500 Series I2C" rev 0x20: apic 2 int 
> 29
> iic1 at dwiic1
> "Intel 500 Series HECI" rev 0x20 at pci0 dev 22 function 0 not configured
> ppb2 at pci0 dev 28 function 0 "Intel 500 Series PCIE" rev 0x20
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 2 "Intel 500 Series PCIE" rev 0x20: msi
> pci4 at ppb3 bus 4
> re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H 
> (0x5400), msi, address 8c:8c:aa:64:9e:63
> rgephy0 at re0 phy 7: RTL8251, rev. 0
> ppb4 at pci0 dev 29 function 0 "Intel 500 Series PCIE" rev 0x20: msi
> pci5 at ppb4 bus 7
> nvme1 at pci5 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, 
> NVMe 1.3
> nvme1: Samsung SSD 970 EVO Plus 2TB, firmware 2B2QEXM7, serial S4J4NM0W330548H
> scsibus1 at nvme1: 2 targets, initiator 0
> sd1 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q>
> sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors
> "Intel 500 Series eSPI" rev 0x20 at pci0 dev 31 function 0 not configured
> "Intel 500 Series HD Audio" rev 0x20 at pci0 dev 31 function 3 not configured
> "Intel 500 Series SMBus" rev 0x20 at pci0 dev 31 function 4 not configured
> "Intel 500 Series SPI" rev 0x20 at pci0 dev 31 function 5 not configured
> isa0 at mainbus0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> efifb0 at mainbus0: 1920x1080, 32bpp
> wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> sd2 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 1C, 006>
> sd2: 1907728MB, 512 bytes/sector, 3907027583 sectors
> root on rd0a swap on rd0b dump on rd0b
> iwx0: could not read firmware iwx-QuZ-a0-hr-b0-77 (error 2)
> iwx0: failed to load init firmware
> iwx0: hw rev 0x350, fw 77.a20fb07d.0, address fc:b3:bc:59:ad:2b
> syncing disks...
> OpenBSD 7.6-current (GENERIC.MP) #344: Wed Oct  2 12:26:27 MDT 2024
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 16846938112 (16066MB)
> avail mem = 16312971264 (15557MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x70368000 (53 entries)
> bios0: vendor LENOVO version "R1EET46W(1.46 )" date 12/08/2021
> bios0: LENOVO 20TD0005GE
> efi0 at bios0: UEFI 2.7
> efi0: Lenovo rev 0x12e0
> acpi0 at bios0: ACPI 6.1
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT SSDT SSDT SSDT SSDT ECDT HPET APIC MCFG SSDT 
> SSDT SSDT NHLT SSDT SSDT SSDT LPIT WSMT SSDT DBGP DBG2 MSDM SSDT BATB DMAR 
> SSDT BGRT PTDT UEFI FPDT
> acpi0: wakeup devices PEG0(S4) PEGP(S4) PEGP(S4) PEGP(S4) XHCI(S3) XDCI(S3) 
> HDAS(S3) RP01(S3) PXSX(S4) RP02(S3) PXSX(S4) RP03(S3) PXSX(S4) RP04(S3) 
> PXSX(S4) RP05(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpihpet0 at acpi0: 19200000 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4689.19 MHz, 06-8c-01, 
> patch 000000b8
> cpu0: cpuid 1 
> edx=bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>  
> ecx=77fafbbf<SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND>
> cpu0: cpuid 6 eax=17eff7<SENSOR,ARAT> ecx=9<EFFFREQ>
> cpu0: cpuid 7.0 
> ebx=f3bfa7eb<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL>
>  ecx=18c05fce<AVX512VBMI,UMIP,PKU> 
> edx=fc100710<SRBDS_CTRL,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD>
> cpu0: cpuid a vers=5, gp=8, gpwidth=48, ff=4, ffwidth=48
> cpu0: cpuid d.1 eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES>
> cpu0: cpuid 80000001 edx=2c100800<NXE,PAGE1GB,RDTSCP,LONG> 
> ecx=121<LAHF,ABM,3DNOWP>
> cpu0: cpuid 80000007 edx=100<ITSC>
> cpu0: msr 
> 10a=a005c6b<IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,FBSDP_NO,GDS_CTRL,RFDS_NO>
> cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB 64b/line 
> 20-way L2 cache, 12MB 64b/line 12-way L3 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 38MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4689.20 MHz, 06-8c-01, 
> patch 000000b8
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 4 (application processor)
> cpu2: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4090.58 MHz, 06-8c-01, 
> patch 000000b8
> cpu2: smt 0, core 2, package 0
> cpu3 at mainbus0: apid 6 (application processor)
> cpu3: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 4090.58 MHz, 06-8c-01, 
> patch 000000b8
> cpu3: smt 0, core 3, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xc0000000, bus 0-255
> acpiprt0 at acpi0: bus 0 (PC00)
> acpiprt1 at acpi0: bus 2 (PEG0)
> acpiprt2 at acpi0: bus 3 (RP01)
> acpiprt3 at acpi0: bus -1 (RP02)
> acpiprt4 at acpi0: bus 4 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus -1 (RP06)
> acpiprt8 at acpi0: bus -1 (RP07)
> acpiprt9 at acpi0: bus -1 (RP08)
> acpiprt10 at acpi0: bus 7 (RP09)
> acpiprt11 at acpi0: bus -1 (RP10)
> acpiprt12 at acpi0: bus -1 (RP11)
> acpiprt13 at acpi0: bus -1 (RP12)
> acpiprt14 at acpi0: bus -1 (RP13)
> acpiprt15 at acpi0: bus -1 (RP14)
> acpiprt16 at acpi0: bus -1 (RP15)
> acpiprt17 at acpi0: bus -1 (RP16)
> acpiprt18 at acpi0: bus -1 (RP17)
> acpiprt19 at acpi0: bus -1 (RP18)
> acpiprt20 at acpi0: bus -1 (RP19)
> acpiprt21 at acpi0: bus -1 (RP20)
> acpiprt22 at acpi0: bus -1 (RP21)
> acpiprt23 at acpi0: bus -1 (RP22)
> acpiprt24 at acpi0: bus -1 (RP23)
> acpiprt25 at acpi0: bus -1 (RP24)
> acpiprt26 at acpi0: bus 8 (TRP0)
> acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
> acpithinkpad0 at acpi0: version 2.0
> acpiac0 at acpi0: AC unit offline
> acpibat0 at acpi0: BAT0 model "5B10X026" serial  3555 type LiP oem "SMP"
> "PNP0C60" at acpi0 not configured
> "LEN0111" at acpi0 not configured
> "LEN0100" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "INTC1043" at acpi0 not configured
> "LEN0130" at acpi0 not configured
> "ACPI000E" at acpi0 not configured
> pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000 
> 0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 360 pins
> acpibtn0 at acpi0: PWRB
> acpibtn1 at acpi0: SLPB(wakeup)
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpibtn2 at acpi0: LID_(wakeup)
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "INTC1040" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "USBC000" at acpi0 not configured
> acpipwrres0 at acpi0: PUBS, resource for XHCI
> acpipwrres1 at acpi0: V0PR
> acpipwrres2 at acpi0: V1PR
> acpipwrres3 at acpi0: V2PR
> acpipwrres4 at acpi0: PXTC
> acpipwrres5 at acpi0: WRST
> acpipwrres6 at acpi0: TBT0, resource for TDM0, TRP0, TRP1
> acpipwrres7 at acpi0: TBT1, resource for TDM1, TRP2, TRP3
> acpipwrres8 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1, TRP2, 
> TRP3
> acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), 
> C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), 
> C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), 
> C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31), 
> C1(1000@1 mwait.1), PSS
> acpipwrres9 at acpi0: PIN_
> acpipwrres10 at acpi0: PINP
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD1F
> acpivout1 at acpivideo0: DD2F
> cpu0: Enhanced SpeedStep 4689 MHz: speeds: 2701, 2700, 2600, 2500, 2300, 
> 2100, 1900, 1700, 1600, 1400, 1200, 1100, 900, 700, 600, 400 MHz
> pci0 at mainbus0 bus 0
> 0:31:5: mem address conflict 0xfe010000/0x1000
> pchb0 at pci0 dev 0 function 0 "Intel Core 11G Host" rev 0x01
> inteldrm0 at pci0 dev 2 function 0 "Intel Xe Graphics" rev 0x01
> drm0 at inteldrm0
> inteldrm0: msi, TIGERLAKE, gen 12
> "Intel Core 11G DTT" rev 0x01 at pci0 dev 4 function 0 not configured
> ppb0 at pci0 dev 6 function 0 "Intel Core 11G PCIE" rev 0x01: msi
> pci1 at ppb0 bus 2
> nvme0 at pci1 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, 
> NVMe 1.3
> nvme0: Samsung SSD 970 EVO Plus 2TB, firmware 2B2QEXM7, serial S4J4NM0W330551L
> scsibus1 at nvme0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q>
> sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors
> ppb1 at pci0 dev 7 function 0 "Intel Core 11G PCIE" rev 0x01: msi
> pci2 at ppb1 bus 8
> "Intel Core 11G SRAM" rev 0x01 at pci0 dev 10 function 0 not configured
> xhci0 at pci0 dev 13 function 0 "Intel Core 11G xHCI" rev 0x01: msi, xHCI 1.20
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 2 not configured
> xhci1 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x20: msi, xHCI 
> 1.20
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> "Intel 500 Series Shared SRAM" rev 0x20 at pci0 dev 20 function 2 not 
> configured
> iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x20, msix
> dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2 int 
> 27
> iic0 at dwiic0
> dwiic1 at pci0 dev 21 function 2 "Intel 500 Series I2C" rev 0x20: apic 2 int 
> 29
> iic1 at dwiic1
> "Intel 500 Series HECI" rev 0x20 at pci0 dev 22 function 0 not configured
> ppb2 at pci0 dev 28 function 0 "Intel 500 Series PCIE" rev 0x20
> pci3 at ppb2 bus 3
> ppb3 at pci0 dev 28 function 2 "Intel 500 Series PCIE" rev 0x20: msi
> pci4 at ppb3 bus 4
> re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H 
> (0x5400), msi, address 8c:8c:aa:64:9e:63
> rgephy0 at re0 phy 7: RTL8251, rev. 0
> ppb4 at pci0 dev 29 function 0 "Intel 500 Series PCIE" rev 0x20: msi
> pci5 at ppb4 bus 7
> nvme1 at pci5 dev 0 function 0 "Samsung SM981/PM981 NVMe" rev 0x00: msix, 
> NVMe 1.3
> nvme1: Samsung SSD 970 EVO Plus 2TB, firmware 2B2QEXM7, serial S4J4NM0W330548H
> scsibus2 at nvme1: 2 targets, initiator 0
> sd1 at scsibus2 targ 1 lun 0: <NVMe, Samsung SSD 970, 2B2Q>
> sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors
> pcib0 at pci0 dev 31 function 0 "Intel 500 Series eSPI" rev 0x20
> azalia0 at pci0 dev 31 function 3 "Intel 500 Series HD Audio" rev 0x20: msi
> azalia0: codecs: Realtek ALC257, Intel/0x2812, using Realtek ALC257
> audio0 at azalia0
> ichiic0 at pci0 dev 31 function 4 "Intel 500 Series SMBus" rev 0x20: apic 2 
> int 16
> iic2 at ichiic0
> "Intel 500 Series SPI" rev 0x20 at pci0 dev 31 function 5 not configured
> isa0 at pcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc0 (aux slot)
> wsmouse0 at pms0 mux 0
> pms0: Elantech Clickpad, version 4, firmware 0x6f3001
> wsmouse1 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> wbsio0 at isa0 port 0x4e/2: W83627THF rev 0x27
> vmm0 at mainbus0: VMX/EPT
> efifb at mainbus0 not configured
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> sd2 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1C, 006>
> sd2: 1907728MB, 512 bytes/sector, 3907027583 sectors
> root on sd2a (cb52860e8ae25c1f.a) swap on sd2b dump on sd2b
> inteldrm0: 1920x1080, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> iwx0: hw rev 0x350, fw 77.a20fb07d.0, address fc:b3:bc:59:ad:2b
> ppb5 at pci2 dev 0 function 0 vendor "Intel", unknown product 0x15ef rev 0x06
> pci6 at ppb5 bus 9
> ppb6 at pci6 dev 2 function 0 vendor "Intel", unknown product 0x15ef rev 
> 0x06: msi
> pci7 at ppb6 bus 10
> xhci2 at pci7 dev 0 function 0 vendor "Intel", unknown product 0x15f0 rev 
> 0x06: msi, xHCI 1.10
> usb2 at xhci2: USB revision 3.0
> uhub2 at usb2 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
> addr 1
> ppb7 at pci6 dev 4 function 0 vendor "Intel", unknown product 0x15ef rev 
> 0x06: msi
> pci8 at ppb7 bus 18
> uhub3 at uhub2 port 2 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" 
> rev 2.10/51.53 addr 2
> uhub4 at uhub3 port 1 configuration 1 interface 0 "VIA Labs, Inc. USB2.0 Hub" 
> rev 2.10/51.33 addr 3
> uhub5 at uhub4 port 1 configuration 1 interface 0 "Lenovo USB2.0 HUB" rev 
> 2.00/60.52 addr 4
> uaudio0 at uhub5 port 2 configuration 1 interface 1 "Lenovo ThinkPad 
> Thunderbolt 3 Dock USB Audio" rev 2.01/0.92 addr 5
> uaudio0: class v1, full-speed, sync, channels: 2 play, 1 rec, 4 ctls
> audio1 at uaudio0
> uhidev0 at uhub5 port 2 configuration 1 interface 3 "Lenovo ThinkPad 
> Thunderbolt 3 Dock USB Audio" rev 2.01/0.92 addr 5
> uhidev0: iclass 3/0, 16 report ids
> ucc0 at uhidev0 reportid 1: 6 usages, 3 keys, enum
> wskbd1 at ucc0 mux 1
> wskbd1: connecting to wsdisplay0
> uhid0 at uhidev0 reportid 2: input=2, output=0, feature=0
> uhid1 at uhidev0 reportid 3: input=0, output=2, feature=0
> uhid2 at uhidev0 reportid 4: input=0, output=38, feature=0
> uhid3 at uhidev0 reportid 5: input=34, output=0, feature=0
> uhid4 at uhidev0 reportid 6: input=0, output=36, feature=0
> uhid5 at uhidev0 reportid 7: input=32, output=0, feature=0
> uhid6 at uhidev0 reportid 16: input=2, output=0, feature=0
> ugen0 at uhub3 port 5 "VIA Labs, Inc. 40AN" rev 2.01/10.30 addr 6
> uhub6 at uhub2 port 4 configuration 1 interface 0 "VIA Labs, Inc. USB3.1 Hub" 
> rev 3.10/51.53 addr 7
> uhub7 at uhub6 port 1 configuration 1 interface 0 "VIA Labs, Inc. USB3.1 Hub" 
> rev 3.10/51.33 addr 8
> ure0 at uhub7 port 2 configuration 1 interface 0 "Realtek ThinkPad TBT 3 
> Dock" rev 3.00/31.01 addr 9
> ure0: RTL8153B (0x6010), address 08:3a:88:59:9a:18
> rgephy1 at ure0 phy 0: RTL8251, rev. 0
> uhub8 at uhub1 port 5 configuration 1 interface 0 "GenesysLogic USB2.1 Hub" 
> rev 2.10/76.33 addr 2
> uhidev1 at uhub8 port 2 configuration 1 interface 0 "Logitech USB Receiver" 
> rev 2.00/12.01 addr 3
> uhidev1: iclass 3/1
> ukbd0 at uhidev1: 8 variable keys, 6 key codes
> wskbd2 at ukbd0 mux 1
> wskbd2: connecting to wsdisplay0
> uhidev2 at uhub8 port 2 configuration 1 interface 1 "Logitech USB Receiver" 
> rev 2.00/12.01 addr 3
> uhidev2: iclass 3/1, 8 report ids
> ums0 at uhidev2 reportid 2: 16 buttons, Z and W dir
> wsmouse2 at ums0 mux 0
> ucc1 at uhidev2 reportid 3: 652 usages, 20 keys, array
> wskbd3 at ucc1 mux 1
> wskbd3: connecting to wsdisplay0
> uhid7 at uhidev2 reportid 4: input=1, output=0, feature=0
> uhid8 at uhidev2 reportid 8: input=1, output=0, feature=0
> uhidev3 at uhub8 port 2 configuration 1 interface 2 "Logitech USB Receiver" 
> rev 2.00/12.01 addr 3
> uhidev3: iclass 3/0, 33 report ids
> uhidpp0 at uhidev3 device 1 keyboard "K800", device 2 mouse "M510", device 3 
> mouse "MX Anywhere 2S"
> uhid9 at uhidev3 reportid 32: input=14, output=14, feature=0
> uhid10 at uhidev3 reportid 33: input=31, output=31, feature=0
> uhidev4 at uhub8 port 4 configuration 1 interface 0 "Razer Razer DeathAdder 
> Essential" rev 2.00/2.00 addr 4
> uhidev4: iclass 3/1
> ums1 at uhidev4: 5 buttons, Z dir
> wsmouse3 at ums1 mux 0
> uhidev5 at uhub8 port 4 configuration 1 interface 1 "Razer Razer DeathAdder 
> Essential" rev 2.00/2.00 addr 4
> uhidev5: iclass 3/0, 5 report ids
> ukbd1 at uhidev5 reportid 1: 8 variable keys, 6 key codes
> wskbd4 at ukbd1 mux 1
> wskbd4: connecting to wsdisplay0
> ucc2 at uhidev5 reportid 2: 573 usages, 20 keys, array
> wskbd5 at ucc2 mux 1
> wskbd5: connecting to wsdisplay0
> uhid11 at uhidev5 reportid 3: input=15, output=0, feature=0
> uhid12 at uhidev5 reportid 4: input=15, output=0, feature=0
> uhid13 at uhidev5 reportid 5: input=15, output=0, feature=0
> uhidev6 at uhub8 port 4 configuration 1 interface 2 "Razer Razer DeathAdder 
> Essential" rev 2.00/2.00 addr 4
> uhidev6: iclass 3/0
> ukbd2 at uhidev6: 8 variable keys, 6 key codes
> wskbd6 at ukbd2 mux 1
> wskbd6: connecting to wsdisplay0
> uhidev7 at uhub8 port 6 configuration 1 interface 0 "Prolific Technology Inc. 
> USB-I2C Controller" rev 2.00/2.05 addr 5
> uhidev7: iclass 3/0, 163 report ids
> uhid14 at uhidev7 reportid 128: input=0, output=0, feature=2
> uhid15 at uhidev7 reportid 129: input=0, output=0, feature=1
> uhid16 at uhidev7 reportid 130: input=0, output=0, feature=2
> uhid17 at uhidev7 reportid 131: input=0, output=0, feature=1
> uhid18 at uhidev7 reportid 132: input=0, output=0, feature=2
> uhid19 at uhidev7 reportid 133: input=0, output=0, feature=1
> uhid20 at uhidev7 reportid 134: input=0, output=0, feature=2
> uhid21 at uhidev7 reportid 162: input=0, output=63, feature=0
> uhid22 at uhidev7 reportid 163: input=63, output=63, feature=0
> 
> << --- cut here -- >>
> 

Reply via email to