On Mon, Oct 14, 2019 at 08:10:36PM +0200, Sebastien Marie wrote: > Hi, > > I recently tested OpenBSD on a system with a "ATI Radeon Vega", and I have > problem on initialization: the system hangs. > > If I disable amdgpu* it boots fine. > > Here the dmesg of the system without firmware installed (it permits to have > amdgpu* enabled and a responsive system for grabbing dmesg). > > I should be able to get a serial ddb once I figured how to plug a serial port > on > the connector on the mainboard if it helps.
Yes, serial is needed for diagnosing such problems. dmesg with firmware present trace/ps etc if it is in ddb or send a break over serial to enter ddb with ddb.console=1 then get trace/ps > > Thanks. > -- > Sebastien Marie > > > > OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT 2019 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 14941458432 (14249MB) > avail mem = 14475911168 (13805MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe6cc0 (23 entries) > bios0: vendor American Megatrends Inc. version "P2.00" date 03/04/2019 > bios0: ASRock A320M-HDV R4.0 > acpi0 at bios0: ACPI 6.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT MCFG AAFT HPET UEFI > SSDT CRAT CDIT SSDT SSDT WSMT SSDT > acpi0: wakeup devices GPP0(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4) GPP6(S4) > GP17(S4) XHC0(S4) XHC1(S4) GP18(S4) PS2K(S3) GPP1(S4) PTXH(S4) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Athlon 220GE with Radeon Vega Graphics, 3394.17 MHz, 17-11-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,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 24MHz > cpu0: mwait min=64, max=64, C-substates=1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: AMD Athlon 220GE with Radeon Vega Graphics, 3393.59 MHz, 17-11-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,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: AMD Athlon 220GE with Radeon Vega Graphics, 3393.60 MHz, 17-11-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,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: AMD Athlon 220GE with Radeon Vega Graphics, 3393.60 MHz, 17-11-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,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu3: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB > 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache > cpu3: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative > cpu3: smt 1, core 1, package 0 > ioapic0 at mainbus0: apid 5 pa 0xfec00000, version 21, 24 pins > ioapic1 at mainbus0: apid 6 pa 0xfec01000, version 21, 32 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318180 Hz > 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 56 (GP17) > acpiprt8 at acpi0: bus 57 (GP18) > acpiprt9 at acpi0: bus 21 (GPP1) > 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 > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > acpicmos0 at acpi0 > acpibtn0 at acpi0: PWRB > "AMDI0030" at acpi0 not configured > "AMDIF030" at acpi0 not configured > "PNP0C14" at acpi0 not configured > acpivideo0 at acpi0: VGA_ > acpivideo1 at acpi0: VGA_ > cpu0: 3394 MHz: speeds: 3400 2300 1600 MHz > pci0 at mainbus0 bus 0 > ksmn0 at pci0 dev 0 function 0 "AMD AMD64 17h/1xh Root Complex" rev 0x00 > pchb0 at pci0 dev 1 function 0 "AMD AMD64 17h PCIE" rev 0x00 > ppb0 at pci0 dev 1 function 2 "AMD AMD64 17h/1xh PCIE" rev 0x00: msi > pci1 at ppb0 bus 21 > xhci0 at pci1 dev 0 function 0 vendor "AMD", unknown product 0x43bc rev 0x02: > 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 > ahci0 at pci1 dev 0 function 1 vendor "AMD", unknown product 0x43b8 rev 0x02: > msi, AHCI 1.3.1 > ahci0: port busy after first PMP probe FIS > ahci0: port busy after first PMP probe FIS > ahci0: port 0: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, LDLC, R083> t10.ATA_LDLC_03302219C0199_ > sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin > ppb1 at pci1 dev 0 function 2 vendor "AMD", unknown product 0x43b3 rev 0x02 > pci2 at ppb1 bus 22 > ppb2 at pci2 dev 4 function 0 "AMD 300 Series PCIE" rev 0x02: msi > pci3 at ppb2 bus 27 > ppb3 at pci2 dev 6 function 0 "AMD 300 Series PCIE" rev 0x02: msi > pci4 at ppb3 bus 29 > ppb4 at pci2 dev 7 function 0 "AMD 300 Series PCIE" rev 0x02: msi > pci5 at ppb4 bus 30 > re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H > (0x5400), msi, address 70:85:c2:d6:76:a4 > rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0 > pchb1 at pci0 dev 8 function 0 "AMD AMD64 17h PCIE" rev 0x00 > ppb5 at pci0 dev 8 function 1 "AMD AMD64 17h/1xh PCIE" rev 0x00 > pci6 at ppb5 bus 56 > amdgpu0 at pci6 dev 0 function 0 "ATI Radeon Vega" rev 0xcb > drm0 at amdgpu0 > amdgpu0: msi > azalia0 at pci6 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi > azalia0: no supported codecs > ccp0 at pci6 dev 0 function 2 "AMD AMD64 17h/1xh Crypto" rev 0x00 > xhci1 at pci6 dev 0 function 3 "AMD AMD64 17h/1xh 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 > xhci2 at pci6 dev 0 function 4 "AMD AMD64 17h/1xh 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 pci6 dev 0 function 6 "AMD AMD64 17h/1xh HD Audio" rev 0x00: apic > 6 int 30 > azalia1: codecs: Realtek/0x0887 > audio0 at azalia1 > ppb6 at pci0 dev 8 function 2 "AMD AMD64 17h/1xh PCIE" rev 0x00 > pci7 at ppb6 bus 57 > ahci1 at pci7 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1 > scsibus2 at ahci1: 32 targets > "AMD FCH SMBus" rev 0x61 at pci0 dev 20 function 0 not configured > pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 > pchb2 at pci0 dev 24 function 0 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb3 at pci0 dev 24 function 1 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb4 at pci0 dev 24 function 2 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb5 at pci0 dev 24 function 3 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb6 at pci0 dev 24 function 4 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb7 at pci0 dev 24 function 5 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb8 at pci0 dev 24 function 6 "AMD AMD64 17h/1xh Data Fabric" rev 0x00 > pchb9 at pci0 dev 24 function 7 "AMD AMD64 17h/1xh 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 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (6bb7ffab3d187e8c.a) swap on sd0b dump on sd0b > initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1002:0x15DD 0xCB). > drm:pid0:amdgpu_device_parse_gpu_info_fw *ERROR* Failed to load gpu_info > firmware "amdgpu/raven_gpu_info.bin" > drm:pid0:amdgpu_attachhook *ERROR* Fatal error during GPU init > drm0 detached > amdgpu0 detached > vga1 at pci6 dev 0 function 0 "ATI Radeon Vega" rev 0xcb > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation), using wskbd0 > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >
