amdgpu.ko crashes on Radeon Vega
George Mitchell
george+freebsd at m5p.com
Sat May 8 22:52:00 UTC 2021
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20210508/8020c2ff/attachment.sig>
More information about the freebsd-hackers
mailing list