amdgpu.ko crashes on Radeon Vega

Nenhum_de_Nos matheus at eternamente.info
Sat May 15 17:29:44 UTC 2021


On Sat, May 8, 2021 19:51, George Mitchell wrote:
> On 5/8/21 6:38 PM, Hans Petter Selasky wrote:
>> On 5/9/21 12:34 AM, George Mitchell wrote:
>>> I have (per dmesg): AMD Ryzen 3 2200G with Radeon Vega Graphics.
>>> (pciconf -lv reports:
>>> vgapci0 at pci0:6:0:0:     class=0x030000 card=0xd0001458
>>> chip=0x15dd1002
>>> rev=0xc8 hdr=0x00
>>>      vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
>>>      device     = 'Raven Ridge [Radeon Vega Series / Radeon
>>> Vega Mobile
>>> Series]')
>>> I am running FreeBSD 12.2-RELEASE-p6 r369558.
>>> I built amdgpu.ko from drm-fbsd12.0-kmod-4.16.g20201016_1.
>>> When I boot single-user, with only kernel, vboxdrv.ko, and sem.ko
>>> loaded, and I type "kldload amdgpu", I get about six or seven lines
>>> of output, ending with "pci i/o bar is not found."  After a couple
>>> more seconds, the screen goes blank and the machine is as frozen as
>>> can be, and I have to cycle power to recover.  I've tried all four
>>> combinations of hw.vga.textmode and hw.syscons.disable, but it
>>> crashes each time. 
>>> Help!                              --
>>> George
>>>
>>
>> Hi,
>>
>> If you hook up a USB serial adapter and redirect the console to it
>> using:
>>
>> hw.usb.ucom.cons_baud: 9600
>> hw.usb.ucom.cons_subunit: 0
>> hw.usb.ucom.cons_unit: -1
>>
>>
>> Then you might get the prints from the panic which is happening. Also
>> try to build a kernel with debugging support to get an automatic core
>> dump.
>>
>> It is also recommended to try 13-stable. The DRM code there is much
>> newer.
>>
>> --HPS
>
> Thanks -- trying 13-stable sounds simpler, but for the moment I may
> just stick with VESA mode ...                            -- George

George,

I'm about to try this on Ryzen 3400G here, where can I find this step by
step to try to repeat what you did? My box has just basic FreeBSD install,
cause I couldn't use Xorg at all. When I finish something on another OS I
will try this.

Thanks,

matheus


-- 
"We will call you Cygnus,
the God of balance you shall be."



More information about the freebsd-hackers mailing list