Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2021 18:51:52 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        Hans Petter Selasky <hps@selasky.org>, FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject:   Re: amdgpu.ko crashes on Radeon Vega
Message-ID:  <dcc21718-26bc-99b8-3b6b-4803d3f499e0@m5p.com>
In-Reply-To: <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org>
References:  <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com> <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV
Content-Type: multipart/mixed; boundary="Qyc55NO3uJ7x2Bjm08o05aoY7S40OTHnD";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: Hans Petter Selasky <hps@selasky.org>,
 FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Message-ID: <dcc21718-26bc-99b8-3b6b-4803d3f499e0@m5p.com>
Subject: Re: amdgpu.ko crashes on Radeon Vega
References: <36c9234e-4c1e-b7db-7905-c67e68c87bf6@m5p.com>
 <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org>
In-Reply-To: <107fa9e2-8096-7bc5-b53d-8de8956899ac@selasky.org>

--Qyc55NO3uJ7x2Bjm08o05aoY7S40OTHnD
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

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:=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x030000 card=3D0x=
d0001458 chip=3D0x15dd1002=20
>> rev=3D0xc8 hdr=3D0x00
>> =C2=A0=C2=A0=C2=A0=C2=A0 vendor=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Advanced =
Micro Devices, Inc. [AMD/ATI]'
>> =C2=A0=C2=A0=C2=A0=C2=A0 device=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'Raven Rid=
ge [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."=C2=A0 After a coupl=
e
>> more seconds, the screen goes blank and the machine is as frozen as
>> can be, and I have to cycle power to recover.=C2=A0 I've tried all fou=
r
>> combinations of hw.vga.textmode and hw.syscons.disable, but it
>> crashes each time.=C2=A0 Help!=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- George
>>
>=20
> Hi,
>=20
> If you hook up a USB serial adapter and redirect the console to it usin=
g:
>=20
> hw.usb.ucom.cons_baud: 9600
> hw.usb.ucom.cons_subunit: 0
> hw.usb.ucom.cons_unit: -1
>=20
>=20
> Then you might get the prints from the panic which is happening. Also=20
> try to build a kernel with debugging support to get an automatic core d=
ump.
>=20
> It is also recommended to try 13-stable. The DRM code there is much new=
er.
>=20
> --HPS

Thanks -- trying 13-stable sounds simpler, but for the moment I may
just stick with VESA mode ...                            -- George


--Qyc55NO3uJ7x2Bjm08o05aoY7S40OTHnD--

--pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAmCXFggFAwAAAAAACgkQwRES3m+p4flK
RQ//UW+Karwn4dYa3kgd4sY7PsgfvFRJNWFDtlDKMOK+Are9Eev0n4+A19Kc01uiOTbTP7vg5Oe8
KKVsxYBGcq8uZJziXC1CDiTbDJ3s8DwhL/jfSqjtRI/yhwX2LvVLG5lEMpF+MleLVpQK59C2QgZd
lvVozE9Mxs5cW7wwd5LmlS2pUKl7H2eFuMqmCfpg1SA4eALy3CNOriXba1eIbg1jSRLuXWSXijhu
O0UpvCGvN5bvNZ1DnovFHQ7ycLBiN4S6Tci150VN6iK5OQgzfY+X0sJXfW4j8BVKQzpBBPMC61H9
tnOK6J1RkeoJBwM2sVFBkJsCCWkm8G/0AqYwSHw9TUkjLEEhGAO9wewjRdhZFUctplA4d8WQ1dYB
htNIR8ZiR4mTXEdxGBZjvSNIxTjfUkg1/TQcQSUUP2dP6tP3CuMSXI45pFr8Rs/6yMfa1HfsLiIh
JSpVb4oVC3gwN7YxBL16N4JEqONJ+s3PwG3I4XTMpul6QMqUbVwoaGA7L4KL6aDwLYep8BdB2uMP
dXY9secbV0LCk7t0T/TFDtKbMGPtpnvHLkxtSDKixUZbPYPBWuIYtNuUJgy080KBTA3ZAT1L2IAy
RhpQL9CY6aqATeXiuHhNhzOULt2y8HH6VXC6yyYI1I4Kf6J8QewEHapE/eAELotDRW4ZPN/Y9DiR
cko=
=A/OG
-----END PGP SIGNATURE-----

--pRA8Uj1NoWo64GrqwTMrd4FnngXkxbmJV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dcc21718-26bc-99b8-3b6b-4803d3f499e0>