Date: Sat, 15 May 2021 14:29:35 -0300 From: "Nenhum_de_Nos" <matheus@eternamente.info> To: freebsd-hackers@freebsd.org Subject: Re: amdgpu.ko crashes on Radeon Vega Message-ID: <f32cf737925db2f752f0b8836468a569.squirrel@10.1.7.11> In-Reply-To: <dcc21718-26bc-99b8-3b6b-4803d3f499e0@m5p.com> References: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org> <dcc21718-26bc-99b8-3b6b-4803d3f499e0@m5p.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f32cf737925db2f752f0b8836468a569.squirrel>