Date: Sun, 9 May 2021 00:38:42 +0200 From: Hans Petter Selasky <hps@selasky.org> To: George Mitchell <george+freebsd@m5p.com>, FreeBSD Hackers <freebsd-hackers@FreeBSD.org> Subject: Re: amdgpu.ko crashes on Radeon Vega Message-ID: <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org> In-Reply-To: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> References: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?107fa9e2-8096-7bc5-b53d-8de8956899ac>