From owner-freebsd-ports@freebsd.org Mon Apr 6 07:21:33 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A3B52A5854 for ; Mon, 6 Apr 2020 07:21:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48whmW5ZZBz4cbj for ; Mon, 6 Apr 2020 07:21:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 12F90260133; Mon, 6 Apr 2020 09:21:24 +0200 (CEST) Subject: Re: amdgpu panics To: Grzegorz Junka , freebsd-ports@freebsd.org References: <6b0092f3-8d90-f1bc-b2ae-cf2fa2f029e0@gjunka.com> <47774b7a-0a6d-8806-6dee-4f0036651ace@gjunka.com> <20200312163447.GB42880@phouka1.phouka.net> <8d8ae2c8-1ecd-5c8c-2437-4e47cf48bd60@gmx.de> <96c03c59-b28e-3af1-e98b-e95517c20010@gjunka.com> <83bfb6f7-0a84-2905-7849-e4e93d9f6fb1@selasky.org> <9426b9bb-4fe6-37ba-ecb4-13a1ade47f92@gjunka.com> From: Hans Petter Selasky Message-ID: <9bc766aa-b17f-e8bc-bea2-11431972cf5d@selasky.org> Date: Mon, 6 Apr 2020 09:21:18 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <9426b9bb-4fe6-37ba-ecb4-13a1ade47f92@gjunka.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48whmW5ZZBz4cbj X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.42 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.12)[ip: (-9.29), ipnet: 88.99.0.0/16(-4.70), asn: 24940(-1.57), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 07:21:33 -0000 > > They don't match, and they can't. > > Files in /boot/modules have been installed by drm-fbsd12.0-kmod and > files in /boot/kernel have been installed by FreeBSD-kernel-venus-12.1_3 > (venus is the name I gave the kernel configuration). Is drm-fbsd12.0-kmod built using the same sources as FreeBSD-kernel-venus-12.1_3. Can you try this: 1) Build and install a fresh 12-stable kernel, not release kernel, from /usr/src 2) Build and install /usr/ports/graphics/gpu-firmware-kmod 3) Build and install /usr/ports/graphics/drm-fbsd12.0-kmod > > I built the ports and the kernel on the same system but at different > times. First I updated all sources (/usr/src and /usr/ports) then I > built packages. When that didn't work, few days later I built the kernel > and world. No updates to the sources have been made between those two. > > kldload /boot/modules/drm.ko /boot/modules/amdgpu.ko  <- doesn't work, > system halts after loading one of the vega10 modules. --HPS