From owner-freebsd-ports@freebsd.org Tue Apr 7 09:35:04 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 183442B08CF for ; Tue, 7 Apr 2020 09:35:04 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48xMh71CQgz4MTg for ; Tue, 7 Apr 2020 09:35:02 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 0379Z1F5079970 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 7 Apr 2020 09:35:01 GMT (envelope-from list1@gjunka.com) Subject: Re: amdgpu panics To: freebsd-ports@freebsd.org References: <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> <9bc766aa-b17f-e8bc-bea2-11431972cf5d@selasky.org> <2ddfe444-7a20-9835-0875-6f93aa0f6ab3@gmx.de> <5fb0aa95-9aa1-e170-15fe-ba5ce77869db@gjunka.com> <72befef2-16f2-a452-9e36-a3986988c556@gjunka.com> <16501c75-24b0-54f6-972c-1a03dfe50276@selasky.org> <2c1d5679-811f-0b01-f032-7261e9f57259@gjunka.com> <69c05fe9-29a6-4160-4f4a-ae6f939a187b@selasky.org> From: Grzegorz Junka Message-ID: <4b5b26ce-1c0c-8204-5c71-a3e24682b4de@gjunka.com> Date: Tue, 7 Apr 2020 09:35:01 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <69c05fe9-29a6-4160-4f4a-ae6f939a187b@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48xMh71CQgz4MTg X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-5.86 / 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)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com]; IP_SCORE(-3.56)[ip: (-9.34), ipnet: 88.98.192.0/18(-4.67), asn: 56478(-3.74), country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; 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: Tue, 07 Apr 2020 09:35:04 -0000 On 07/04/2020 09:21, Hans Petter Selasky wrote: > Try: > > sysctl -a | grep linuxkpi That finally crashed the system. After restart I loaded the modules again and tried without grep. This is how far it goes: root@venus:/home/g # sysctl -a kern.ostype: FreeBSD kern.osrelease: 12.1-RELEASE-p3 kern.osrevision: 199506 kern.version: FreeBSD 12.1-RELEASE-p3 GENERIC kern.maxvnodes: 1164970 kern.maxproc: 70804 kern.maxfiles: 2093468 kern.argmax: 262144 Then nothing. I am loading the modules with: kldload /boot/modules/drm.ko /boot/modules/admgpu.ko as you told me in an earlier email. Without loading the modules this is what I am getting: root@venus:~ # sysctl -a | grep linuxkpi -> nothing root@venus:~ # sysctl -a | grep compat kern.features.compat_freebsd7: 1 kern.features.compat_freebsd6: 1 kern.features.compat_freebsd5: 1 kern.features.compat_freebsd4: 1 kern.features.geom_part_ebr_compat: 1 kern.features.compat_freebsd_32bit: 1 hw.snd.compat_linux_mmap: 0 dev.uart.0.%desc: 16550 or compatible dev.vgapci.0.%desc: VGA-compatible display compat.linux32.maxvmem: 0 compat.linux32.maxssiz: 67108864 compat.linux32.maxdsiz: 536870912 compat.linux.oss_version: 198144 compat.linux.osrelease: 2.6.32 compat.linux.osname: Linux compat.ia32.maxvmem: 0 compat.ia32.maxssiz: 67108864 compat.ia32.maxdsiz: 536870912 root@venus:~ # sysctl -a kern.ostype: FreeBSD kern.osrelease: 12.1-RELEASE-p3 kern.osrevision: 199506 kern.version: FreeBSD 12.1-RELEASE-p3 GENERIC kern.maxvnodes: 1164970 kern.maxproc: 70804 kern.maxfiles: 2093468 kern.argmax: 262144 kern.securelevel: -1 ... (and so on, cutting as it's too long) GrzegorzJ