>Synopsis:      xbox 360 controller crash
>Category:      kernel amd64
>Environment:
        System      : OpenBSD 7.3
        Details     : OpenBSD 7.3-current (GENERIC.MP) #1149: Mon Apr 17 
12:04:55 MDT 2023
                         
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        Plugging in xbox 360 controller has a chance of causing a system
        freeze and sending it to ddb. it prints, "panic: b_to_q: tty has
        no clist."

        picture of trace: https://namtsui.com/public/ujoy1.jpg

        This issue seems related to that reported by thfr@ here:
        https://marc.info/?l=openbsd-bugs&m=165136879315845&w=2

        The crash seems to occur frequently on my radeon 6850 desktop
        but does not seem to happen on my intel x230i laptop.

        If I plug in my xbox 360 controller to xhci on top of my
        computer case and have a dac connected to the ehci nearby, it
        can cause it more easily without requiring plugging and
        unplugging. Plugging xbox 360 into the back of the case into
        ehci seems to require plugging and unplugging the
        controller. The crash can occur upon unplugging and plugging in
        the controller, during setting up controls in the sameboy port,
        or upon launching flycast emulator.

>How-To-Repeat:
        It is a bit hard to reproduce, but running sdl-jstest repeatedly
        in conjunction with unplugging and plugging in controllers can
        cause it to crash within a minute or two.

        `while true; do sdl-jstest --list; vmstat;
         sysctl kern.malloc.kmemstat.DRM; sleep 2; done'
        
>Fix:
        There is a patch that I tested by brynet@ that seems to have
        resolved the issue.

dmesg:
OpenBSD 7.3-current (GENERIC.MP) #1149: Mon Apr 17 12:04:55 MDT 2023
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 42829864960 (40845MB)
avail mem = 41512222720 (39589MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe6cf0 (59 entries)
bios0: vendor American Megatrends Inc. version "1.30" date 09/07/2020
bios0: Micro-Star International Co., Ltd. MS-7C84
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SSDT SSDT SSDT FIDT MCFG HPET SSDT IVRS PCCT SSDT CRAT 
CDIT SSDT SSDT SSDT SSDT WSMT APIC SSDT FPDT
acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) 
GPP7(S4) GPP8(S4) GPP9(S4) GPPA(S4) GPPB(S4) GPPC(S4) GPPD(S4) GPPE(S4) 
GPPF(S4) GP10(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-127
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 9 3900X 12-Core Processor, 3800.01 MHz, 17-71-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 4 (application processor)
cpu3: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu3: smt 0, core 4, package 0
cpu4 at mainbus0: apid 5 (application processor)
cpu4: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu4: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu4: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu4: smt 0, core 5, package 0
cpu5 at mainbus0: apid 6 (application processor)
cpu5: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu5: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu5: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu5: smt 0, core 6, package 0
cpu6 at mainbus0: apid 8 (application processor)
cpu6: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu6: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu6: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu6: smt 0, core 8, package 0
cpu7 at mainbus0: apid 9 (application processor)
cpu7: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu7: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu7: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu7: smt 0, core 9, package 0
cpu8 at mainbus0: apid 10 (application processor)
cpu8: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu8: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu8: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu8: smt 0, core 10, package 0
cpu9 at mainbus0: apid 12 (application processor)
cpu9: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu9: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu9: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu9: smt 0, core 12, package 0
cpu10 at mainbus0: apid 13 (application processor)
cpu10: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu10: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu10: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu10: smt 0, core 13, package 0
cpu11 at mainbus0: apid 14 (application processor)
cpu11: AMD Ryzen 9 3900X 12-Core Processor, 3800.00 MHz, 17-71-00
cpu11: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu11: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 
8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu11: smt 0, core 14, package 0
ioapic0 at mainbus0: apid 13 pa 0xfec00000, version 21, 24 pins
ioapic1 at mainbus0: apid 14 pa 0xfec01000, version 21, 32 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (GPP0)
acpiprt2 at acpi0: bus -1 (GPP2)
acpiprt3 at acpi0: bus -1 (GPP3)
acpiprt4 at acpi0: bus -1 (GPP4)
acpiprt5 at acpi0: bus -1 (GPP5)
acpiprt6 at acpi0: bus -1 (GPP6)
acpiprt7 at acpi0: bus -1 (GPP7)
acpiprt8 at acpi0: bus 45 (GPP8)
acpiprt9 at acpi0: bus -1 (GPP9)
acpiprt10 at acpi0: bus -1 (GPPA)
acpiprt11 at acpi0: bus -1 (GPPB)
acpiprt12 at acpi0: bus -1 (GPPC)
acpiprt13 at acpi0: bus -1 (GPPD)
acpiprt14 at acpi0: bus -1 (GPPE)
acpiprt15 at acpi0: bus -1 (GPPF)
acpiprt16 at acpi0: bus -1 (GP10)
acpiprt17 at acpi0: bus 46 (GP12)
acpiprt18 at acpi0: bus 47 (GP13)
acpiprt19 at acpi0: bus -1 (GP30)
acpiprt20 at acpi0: bus -1 (GP31)
acpiprt21 at acpi0: bus 32 (BXBR)
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
acpibtn0 at acpi0: PWRB
amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu1 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu2 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu3 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu4 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu5 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu6 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu7 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu8 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu9 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu10 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu11 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
cpu0: 3800 MHz: speeds: 3800 2800 2200 MHz
pci0 at mainbus0 bus 0
ksmn0 at pci0 dev 0 function 0 "AMD 17h Root Complex" rev 0x00
"AMD 17h IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
pchb0 at pci0 dev 1 function 0 "AMD 17h Host" rev 0x00
ppb0 at pci0 dev 1 function 2 "AMD 17h PCIE" rev 0x00: msi
pci1 at ppb0 bus 32
ppb1 at pci1 dev 0 function 0 "AMD 500 Series PCIE" rev 0x00
pci2 at ppb1 bus 33
ppb2 at pci2 dev 4 function 0 "AMD 500 Series PCIE" rev 0x00: msi
pci3 at ppb2 bus 38
rge0 at pci3 dev 0 function 0 "Realtek RTL8125" rev 0x04: msi, address 
2c:f0:5d:a1:c5:81
ppb3 at pci2 dev 6 function 0 "AMD 500 Series PCIE" rev 0x00: msi
pci4 at ppb3 bus 40
iwx0 at pci4 dev 0 function 0 "Intel Wi-Fi 6 AX200" rev 0x1a, msix
ppb4 at pci2 dev 8 function 0 "AMD 500 Series PCIE" rev 0x00
pci5 at ppb4 bus 42
vendor "AMD", unknown product 0x1485 (class instrumentation unknown subclass 
0x00, rev 0x00) at pci5 dev 0 function 0 not configured
xhci0 at pci5 dev 0 function 1 "AMD 17h xHCI" rev 0x00: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
addr 1
xhci1 at pci5 dev 0 function 3 "AMD 17h xHCI" rev 0x00: msi, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
addr 1
ppb5 at pci2 dev 9 function 0 "AMD 500 Series PCIE" rev 0x00
pci6 at ppb5 bus 43
ahci0 at pci6 dev 0 function 0 "AMD FCH AHCI" rev 0x51: msi, AHCI 1.3.1
scsibus1 at ahci0: 32 targets
ppb6 at pci2 dev 10 function 0 "AMD 500 Series PCIE" rev 0x00
pci7 at ppb6 bus 44
ahci1 at pci7 dev 0 function 0 "AMD FCH AHCI" rev 0x51: msi, AHCI 1.3.1
ahci1: port 1: 6.0Gb/s
ahci1: port 5: 6.0Gb/s
scsibus2 at ahci1: 32 targets
sd0 at scsibus2 targ 1 lun 0: <ATA, ST1000DM003-1ER1, CC43> naa.5000c500677bb0c0
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
sd1 at scsibus2 targ 5 lun 0: <ATA, Samsung SSD 860, RVT0> naa.5002538e09947a58
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors, thin
pchb1 at pci0 dev 2 function 0 "AMD 17h Host" rev 0x00
pchb2 at pci0 dev 3 function 0 "AMD 17h Host" rev 0x00
ppb7 at pci0 dev 3 function 1 "AMD 17h PCIE" rev 0x00: msi
pci8 at ppb7 bus 45
radeondrm0 at pci8 dev 0 function 0 "ATI Radeon HD 6850" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci8 dev 0 function 1 vendor "ATI", unknown product 0xaa88 rev 0x00: 
msi
azalia0: no supported codecs
pchb3 at pci0 dev 4 function 0 "AMD 17h Host" rev 0x00
pchb4 at pci0 dev 5 function 0 "AMD 17h Host" rev 0x00
pchb5 at pci0 dev 7 function 0 "AMD 17h Host" rev 0x00
ppb8 at pci0 dev 7 function 1 "AMD 17h PCIE" rev 0x00
pci9 at ppb8 bus 46
vendor "AMD", unknown product 0x148a (class instrumentation unknown subclass 
0x00, rev 0x00) at pci9 dev 0 function 0 not configured
pchb6 at pci0 dev 8 function 0 "AMD 17h Host" rev 0x00
ppb9 at pci0 dev 8 function 1 "AMD 17h PCIE" rev 0x00
pci10 at ppb9 bus 47
vendor "AMD", unknown product 0x1485 (class instrumentation unknown subclass 
0x00, rev 0x00) at pci10 dev 0 function 0 not configured
ccp0 at pci10 dev 0 function 1 "AMD 17h Crypto" rev 0x00
xhci2 at pci10 dev 0 function 3 "AMD 17h xHCI" rev 0x00: msi, xHCI 1.10
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00 
addr 1
azalia1 at pci10 dev 0 function 4 "AMD 17h HD Audio" rev 0x00: msi
azalia1: codecs: Realtek ALC1200
audio0 at azalia1
piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI
iic0 at piixpm0
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=22 08=00 09=00 
0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000 03=0000 
04=0000 05=c20c 06=1b09 07=2230
iic0: addr 0x1b 00=00 01=00 02=00 03=00 04=00 05=c1 06=1b 07=22 08=00 09=00 
0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000 03=0000 
04=0000 05=c1f6 06=1b09 07=2230
iic0: addr 0x4a 00=7b 01=3d 02=6f 03=a8 82=ff 85=2f 86=05 87=12 88=08 89=ff 
8a=ff 8b=ff 8c=ff 8d=ff 8e=ff 8f=ff 90=ff 91=ff 92=ff 93=ff 94=ff 95=ff 96=ff 
97=ff 98=ff 99=ff 9a=ff 9b=ff 9c=ff 9d=ff 9e=ff 9f=ff a0=ff a1=ff a2=ff a3=ff 
a4=ff a5=ff a6=ff a7=ff a8=ff a9=ff aa=ff ab=ff ac=ff ad=ff ae=ff af=ff b0=ff 
b1=ff b2=ff b3=ff b4=ff b5=ff b6=ff b7=ff b8=ff b9=ff ba=ff bb=ff bc=ff bd=ff 
be=ff bf=ff c0=ff c1=ff c2=ff c3=ff c4=ff c5=ff c6=ff c7=ff c8=ff c9=ff ca=ff 
cb=ff cc=ff cd=ff ce=ff cf=ff d0=ff d1=ff d2=ff d3=ff d4=ff d5=ff d6=ff d7=ff 
d8=ff d9=ff da=ff db=ff dc=ff dd=ff de=ff df=ff e0=ff e1=ff e2=ff e3=ff e4=ff 
e5=ff e6=ff e7=ff e8=ff e9=ff ea=ff eb=ff ec=ff ed=ff ee=ff ef=ff f0=ff f1=ff 
f2=ff f3=ff f4=ff f5=ff f6=ff f7=ff f8=ff f9=ff fa=ff fb=ff fc=ff fd=ff fe=ff 
ff=ff words 00=7b3d 01=3d6f 02=6fa8 03=a800 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x4c 00=24 01=23 02=00 03=25 04=08 05=46 06=d8 07=46 08=d8 09=25 
0a=08 0b=46 0c=d8 0d=46 0e=d8 10=a0 11=00 12=00 13=00 14=00 16=07 19=7b 20=7b 
21=0a 2d=00 2e=00 2f=00 31=00 32=00 33=00 34=00 35=00 36=46 37=00 38=d8 39=00 
3a=7b 40=00 41=00 43=e0 44=80 45=00 46=10 47=a1 48=00 49=50 4a=3c 4b=35 4c=52 
4d=02 4e=02 4f=04 50=0a 51=99 52=1c 53=12 54=05 55=0a 56=0a 57=0a 58=84 59=30 
5a=10 5c=60 5d=00 5e=10 5f=46 60=46 61=2b 62=2b 63=0a 64=14 65=1e 66=28 67=32 
68=3c 69=55 6a=5a 6b=28 6c=50 6d=78 6e=96 6f=b4 70=d2 71=f0 72=19 73=1e 74=23 
75=28 76=2d 77=32 78=37 79=3c 7a=28 7b=50 7c=78 7d=96 7e=b4 7f=d2 80=f0 81=00 
82=00 83=00 bf=00 d6=00 d7=80 d8=00 d9=00 da=11 db=2a dc=28 dd=10 de=00 e0=bb 
e1=bb e4=cc e6=ef e7=ef e8=12 e9=12 ec=12 ed=44 ef=04 f0=00 f1=00 f2=00 f3=00 
f4=00 f5=00 f7=25 f8=80 f9=02 fa=00 fb=30 fc=4c fd=50 fe=50 ff=91 words 00=24ff 
01=23ff 02=80ff 03=25ff 04=08ff 05=46ff 06=d8ff 07=46ff
spdmem0 at iic0 addr 0x51: 8GB DDR4 SDRAM PC4-21300
spdmem1 at iic0 addr 0x52: 16GB DDR4 SDRAM PC4-17000
spdmem2 at iic0 addr 0x53: 16GB DDR4 SDRAM PC4-17000
iic1 at piixpm0
pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
pchb7 at pci0 dev 24 function 0 "AMD 17h Data Fabric" rev 0x00
pchb8 at pci0 dev 24 function 1 "AMD 17h Data Fabric" rev 0x00
pchb9 at pci0 dev 24 function 2 "AMD 17h Data Fabric" rev 0x00
pchb10 at pci0 dev 24 function 3 "AMD 17h Data Fabric" rev 0x00
pchb11 at pci0 dev 24 function 4 "AMD 17h Data Fabric" rev 0x00
pchb12 at pci0 dev 24 function 5 "AMD 17h Data Fabric" rev 0x00
pchb13 at pci0 dev 24 function 6 "AMD 17h Data Fabric" rev 0x00
pchb14 at pci0 dev 24 function 7 "AMD 17h Data Fabric" rev 0x00
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: SVM/RVI
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Wacom Co.,Ltd. Intuos PS" 
rev 2.00/1.00 addr 2
uhidev0: iclass 3/0, 192 report ids
uhid0 at uhidev0 reportid 2: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 3: input=0, output=0, feature=1
uhid2 at uhidev0 reportid 4: input=0, output=0, feature=1
uhid3 at uhidev0 reportid 5: input=0, output=0, feature=1
uhid4 at uhidev0 reportid 7: input=0, output=0, feature=9
uhid5 at uhidev0 reportid 8: input=0, output=0, feature=9
uwacom0 at uhidev0 reportid 16: 3 buttons
wsmouse0 at uwacom0 mux 0
uhid6 at uhidev0 reportid 17: input=0, output=0, feature=16
uhid7 at uhidev0 reportid 19: input=0, output=0, feature=1
uhid8 at uhidev0 reportid 20: input=0, output=0, feature=31
uhid9 at uhidev0 reportid 32: input=0, output=0, feature=5
uhid10 at uhidev0 reportid 33: input=0, output=0, feature=1
uhid11 at uhidev0 reportid 34: input=0, output=0, feature=1
uhid12 at uhidev0 reportid 35: input=0, output=0, feature=14
uhid13 at uhidev0 reportid 36: input=0, output=0, feature=31
uhid14 at uhidev0 reportid 37: input=0, output=0, feature=4
uhid15 at uhidev0 reportid 48: input=0, output=0, feature=2
uhid16 at uhidev0 reportid 49: input=0, output=0, feature=33
uhid17 at uhidev0 reportid 50: input=0, output=0, feature=33
uhid18 at uhidev0 reportid 51: input=0, output=0, feature=1
uhid19 at uhidev0 reportid 64: input=0, output=0, feature=10
uhid20 at uhidev0 reportid 192: input=9, output=0, feature=0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "Wacom Co.,Ltd. Intuos PS" 
rev 2.00/1.00 addr 2
uhidev1: iclass 3/0, 3 report ids
uhid21 at uhidev1 reportid 2: input=63, output=0, feature=0
uhid22 at uhidev1 reportid 3: input=63, output=0, feature=0
uhidev2 at uhub0 port 1 configuration 1 interface 2 "Wacom Co.,Ltd. Intuos PS" 
rev 2.00/1.00 addr 2
uhidev2: iclass 3/1, 1 report id
ums0 at uhidev2 reportid 1: 5 buttons
wsmouse1 at ums0 mux 0
ugen0 at uhub0 port 4 "Intel Bluetooth" rev 2.01/0.01 addr 3
uhidev3 at uhub1 port 5 configuration 1 interface 0 "MSI MYSTIC LIGHT" rev 
1.10/0.01 addr 2
uhidev3: iclass 3/0, 252 report ids
uhid23 at uhidev3 reportid 1: input=63, output=63, feature=0
uhid24 at uhidev3 reportid 2: input=63, output=63, feature=0
uhid25 at uhidev3 reportid 82: input=0, output=0, feature=184
uhid26 at uhidev3 reportid 208: input=63, output=63, feature=0
uhid27 at uhidev3 reportid 250: input=63, output=63, feature=0
uhid28 at uhidev3 reportid 252: input=63, output=63, feature=0
uhub3 at uhub1 port 6 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" 
rev 2.00/60.70 addr 3
uhidev4 at uhub3 port 2 configuration 1 interface 0 "Yoyodyne Consulting 
ODAC-revB" rev 1.10/0.01 addr 4
uhidev4: iclass 3/0
uhid29 at uhidev4: input=19, output=28, feature=0
uaudio0 at uhub3 port 2 configuration 1 interface 3 "Yoyodyne Consulting 
ODAC-revB" rev 1.10/0.01 addr 4
uaudio0: class v1, full-speed, sync, channels: 2 play, 0 rec, 3 ctls
audio1 at uaudio0
uhub4 at uhub2 port 1 configuration 1 interface 0 "NEC hub" rev 2.00/1.00 addr 2
uhidev5 at uhub4 port 1 configuration 1 interface 0 "Topre Corporation HHKB 
Professional" rev 1.10/1.02 addr 3
uhidev5: iclass 3/1
ukbd0 at uhidev5: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev6 at uhub4 port 3 configuration 1 interface 0 "Kingsis Peripherals ZOWIE 
Gaming mouse" rev 2.00/0.01 addr 4
uhidev6: iclass 3/1
ums1 at uhidev6: 6 buttons, Z dir
wsmouse2 at ums1 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd1a (d95383f96415b9a2.a) swap on sd1b dump on sd1b
iwx0: hw rev 0x340, fw 77.2dda880d.0, address 34:c9:3d:c0:2b:5a
radeondrm0: BARTS
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
xhci2: device addr 5 (config 1) exceeds power budget, 500 mA > 100 mA
uhub4: port 2, set config 0 at addr 5 failed
uhub4: device problem, disabling port 2

usbdevs:
Controller /dev/usb0:
addr 01: 1022:0000 AMD, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub0
addr 02: 056a:033b Wacom Co.,Ltd., Intuos PS
         full speed, power 498 mA, config 1, rev 1.00
         driver: uhidev0
         driver: uhidev1
         driver: uhidev2
addr 03: 8087:0029 Intel, Bluetooth
         full speed, self powered, config 1, rev 0.01
         driver: ugen0
Controller /dev/usb1:
addr 01: 1022:0000 AMD, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub1
addr 02: 1462:7c84 MSI, MYSTIC LIGHT
         full speed, power 500 mA, config 1, rev 0.01, iSerial A02019122002
         driver: uhidev3
addr 03: 05e3:0608 Genesys Logic, USB2.0 Hub
         high speed, self powered, config 1, rev 60.70
         driver: uhub3
addr 04: 262a:1048 Yoyodyne Consulting, ODAC-revB
         full speed, self powered, config 1, rev 0.01
         driver: uhidev4
         driver: uaudio0
Controller /dev/usb2:
addr 01: 1022:0000 AMD, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub2
addr 02: 0409:005a NEC, hub
         high speed, power 100 mA, config 1, rev 1.00
         driver: uhub4
addr 03: 0853:0100 Topre Corporation, HHKB Professional
         full speed, power 100 mA, config 1, rev 1.02
         driver: uhidev5
addr 04: 1af3:0001 Kingsis Peripherals, ZOWIE Gaming mouse
         full speed, power 100 mA, config 1, rev 0.01
         driver: uhidev6

Reply via email to