NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56677: radeon firmware cannot load with root on zfs



Hej,

> Am 30.01.2022 um 02:30 schrieb matthew green <mrg%eterna.com.au@localhost>:
> 
> The following reply was made to PR kern/56677; it has been noted by GNATS.
> 
> From: matthew green <mrg%eterna.com.au@localhost>
> To: gnats-bugs%netbsd.org@localhost, oskar%fessel.org@localhost
> Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
>    netbsd-bugs%netbsd.org@localhost
> Subject: re: kern/56677: radeon firmware cannot load with root on zfs 
> Date: Sun, 30 Jan 2022 12:27:17 +1100
> 
> this is an entirely separate issue.  can you file a new PR?  thanks.

You mean a new PR for the missing accel?

>> When not booting to the ifs root, the card works, but without accelerati=
> on.  =
> 
>> kern info: [drm] ring test on 0 succeeded in 1 usecs
>> kern error: [drm:(/hurz/src/sys/external/bsd/drm2/dist/drm/radeon/radeon=
> _r600_dma.c:274)r600_dma_ring_test] *ERROR* radeon: ring 3 test failed (0x=
> CAFEDEAD)
>> radeon0: autoconfiguration error: error: disabling GPU acceleration
> 
> i see this on a radeon 5450 on a ryzen 5600G system.  fortunately
> the CPU is fast enough that mostly i don't notice/care but i've
> not figured out what is going wrong -- the test is waiting for a
> different value to come from the write, and it never doesn't, but
> i don't know anything about how this ring is supposed to work.
> 
> what is your CPU/mb/etc?

This is a HP Z240 with one Xeon E3-1270v6

should the complete dmesg pasted into the PR?
And, should there be a separate PR for the 4 detected connectors when there are actually only two (no DP available…

Cheers
	Oskar

— excerpt—
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020, 2021 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 9.99.92 (GENERIC) #0: Sun Dec 12 05:08:10 CET 2021
        root%dweezil.lessef.de@localhost:/hurz/obj/sys/arch/amd64/compile/GENERIC
total memory = 32687 MB
avail memory = 31648 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
RTC BIOS diagnostic error 0xbd<clock_battery,config_unit,memory_size,fixed_disk,invalid_time>
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
efi: systbl at pa bd7cdf18
mainbus0 (root)
ACPI: RSDP 0x00000000BDEFE014 000024 (v02 HPQOEM)
ACPI: XSDT 0x00000000BDEC2188 0000D4 (v01 HPQOEM SLIC-WKS 00000000      01000013)
ACPI: FACP 0x00000000BDEED000 0000F4 (v05 HPQOEM SLIC-WKS 00000000 HP   00000001)
ACPI: DSDT 0x00000000BDEC9000 0209E4 (v02 HPQOEM 802F     00000000 INTL 20121018)
ACPI: FACS 0x00000000BDE5A000 000040
ACPI: SSDT 0x00000000BDEFC000 000108 (v02 HP     ShmTable 00000001 INTL 20121018)
ACPI: TCPA 0x00000000BDEFB000 000032 (v02 HPQOEM EDK2     00000002      01000013)
ACPI: SSDT 0x00000000BDEFA000 00038A (v02 HPQOEM Tpm2Tabl 00001000 INTL 20121018)
ACPI: TPM2 0x00000000BDEF9000 000034 (v03 HPQOEM EDK2     00000002      01000013)
ACPI: UEFI 0x00000000BDE6A000 000042 (v01 HPQOEM EDK2     00000002      01000013)
ACPI: CELI 0x00000000BDEF8000 000028 (v03 HPQOEM EDK2     00000002      01000013)
ACPI: SSDT 0x00000000BDEF2000 0051FA (v02 SaSsdt SaSsdt   00003000 INTL 20121018)
ACPI: SSDT 0x00000000BDEF1000 0005B1 (v01 Intel  PerfTune 00001000 INTL 20121018)
ACPI: MSDM 0x00000000BDEF0000 000055 (v03 HPQOEM SLIC-WKS 00000000 HP   00000001)
ACPI: SLIC 0x00000000BDEEF000 000176 (v01 HPQOEM SLIC-WKS 00000001 HP   00000001)
ACPI: WSMT 0x00000000BDEEE000 000028 (v01 HPQOEM 802F     00000001 HP   00000001)
ACPI: HPET 0x00000000BDEEC000 000038 (v01 HPQOEM 802F     00000001 HP   00000001)
ACPI: APIC 0x00000000BDEEB000 0000BC (v01 HPQOEM 802F     00000001 HP   00000001)
ACPI: MCFG 0x00000000BDEEA000 00003C (v01 HPQOEM 802F     00000001 HP   00000001)
ACPI: SSDT 0x00000000BDEC8000 00019A (v02 HPQOEM Sata0Ide 00001000 INTL 20121018)
ACPI: SSDT 0x00000000BDEC7000 000729 (v01 HPQOEM PtidDevc 00001000 INTL 20121018)
ACPI: SSDT 0x00000000BDEC6000 000E73 (v02 CpuRef CpuSsdt  00003000 INTL 20121018)
ACPI: DMAR 0x00000000BDEC5000 000070 (v01 INTEL  SKL      00000001 INTL 00000001)
ACPI: ASF! 0x00000000BDEC4000 0000A5 (v32 HPQOEM  UYA     00000001 TFSM 000F4240)
ACPI: FPDT 0x00000000BDEC3000 000044 (v01 HPQOEM EDK2     00000002      01000013)
ACPI: BGRT 0x00000000BDEFD000 000038 (v01 HPQOEM EDK2     00000002      01000013)
ACPI: 8 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 120 pins
x2APIC available but disabled by DMAR table
cpu0 at mainbus0 apid 0
cpu0: Use lfence to serialize rdtsc
cpu0: CPU base freq 3800000000 Hz
cpu0: CPU max freq 4200000000 Hz
cpu0: TSC freq CPUID 3792000000 Hz
cpu0: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz, id 0x906e9
cpu0: node 0, package 0, core 0, smt 0

[…]
root on dk1 dumps on dk2
root file system type: ffs
kern.module.path=/stand/amd64/9.99.92/modules
kern info: [drm] initializing kernel modesetting (CEDAR 0x1002:0x68F2 0x1002:0x0126).
kern info: [drm] register mmio base: 0xd4100000
kern info: [drm] register mmio size: 131072
kern info: ATOM BIOS: CEDAR
radeon0: info: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
radeon0: info: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
kern info: [drm] Detected VRAM RAM=200M, BAR=256M
kern info: [drm] RAM width 64bits DDR
Zone  kernel: Available graphics memory: 11081336 kiB
Zone   dma32: Available graphics memory: 2097152 kiB
kern info: [drm] radeon: 512M of VRAM memory ready
kern info: [drm] radeon: 1024M of GTT memory ready.
kern info: [drm] Loading CEDAR Microcode
kern info: [drm] Internal thermal controller with fan control
kern info: [drm] radeon: dpm initialized
kern info: [drm] GART: num cpu pages 262144, num gpu pages 262144
kern info: [drm] PCIE GART of 1024M enabled (table at 0x000000000025E000).
radeon0: info: WB enabled
radeon0: info: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x0xffffb5d400bf9c00
radeon0: info: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0x0xffffb5d400bf9c0c
radeon0: info: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0x0xffff90827295c418
kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kern info: [drm] Driver supports precise vblank timestamp query.
radeon0: info: radeon: MSI limited to 32-bit
radeon0: info: radeon: using MSI.
allocated pic msi7 type edge pin 0 level 6 to cpu1 slot 2 idt entry 98
radeon0: interrupting at msi7 vec 0 (radeon0)
kern info: [drm] radeon: irq initialized.
kern info: [drm] ring test on 0 succeeded in 1 usecs
kern error: [drm:(/hurz/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r600_dma.c:274)r600_dma_ring_test] *ERROR* radeon: ring 3 test failed (0xCAFEDEAD)
radeon0: autoconfiguration error: error: disabling GPU acceleration
kern info: [drm] Radeon Display Connectors
kern info: [drm] Connector 0:
kern info: [drm]   DP-1
kern info: [drm]   HPD3
kern info: [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
kern info: [drm]   Encoders:
kern info: [drm]     DFP1: INTERNAL_UNIPHY1
kern info: [drm] Connector 1:
kern info: [drm]   DP-2
kern info: [drm]   HPD1
kern info: [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 0x645c 0x645c
kern info: [drm]   Encoders:
kern info: [drm]     DFP2: INTERNAL_UNIPHY
kern info: [drm] Connector 2:
kern info: [drm]   DVI-I-1
kern info: [drm]   HPD2
kern info: [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
kern info: [drm]   Encoders:
kern info: [drm]     DFP3: INTERNAL_UNIPHY1
kern info: [drm]     CRT2: INTERNAL_KLDSCP_DAC2
kern info: [drm] Connector 3:
kern info: [drm]   DVI-I-2
kern info: [drm]   HPD4
kern info: [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
kern info: [drm]   Encoders:
kern info: [drm]     DFP4: INTERNAL_UNIPHY
kern info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
radeondrmkmsfb0 at radeon0
radeondrmkmsfb0: framebuffer at 0xc045f000, size 1680x1050, depth 32, stride 6912
warning: /hurz/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_evergreen.c:4620: Can't enable IRQ/MSI because no handler is installed
wsdisplay0 at radeondrmkmsfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index