From owner-freebsd-x11@freebsd.org Wed Nov 13 08:11:11 2019 Return-Path: Delivered-To: freebsd-x11@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 0C5631AA1E8; Wed, 13 Nov 2019 08:11:11 +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 47Cckj3zy9z3DqB; Wed, 13 Nov 2019 08:11:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.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 EEF11260072; Wed, 13 Nov 2019 09:10:59 +0100 (CET) Subject: Re: unkillable process consuming 100% cpu To: sgk@troutmask.apl.washington.edu Cc: Mark Johnston , freebsd-current@freebsd.org, freebsd-x11@freebsd.org References: <20191107202919.GA4565@troutmask.apl.washington.edu> <20191107203223.GF16978@raichu> <20191108220935.GA856@troutmask.apl.washington.edu> <6a4e5993-623a-ebaa-8180-e11c7d48e706@selasky.org> <20191112173136.GA69344@troutmask.apl.washington.edu> <0961307a-8b14-8240-0466-6bb4edf52788@selasky.org> <20191113003001.GA94074@troutmask.apl.washington.edu> From: Hans Petter Selasky Message-ID: <1de2773b-3f54-472b-65a1-0f1c297aab60@selasky.org> Date: Wed, 13 Nov 2019 09:10:06 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191113003001.GA94074@troutmask.apl.washington.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47Cckj3zy9z3DqB 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.45 / 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)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.15)[ip: (-9.33), ipnet: 88.99.0.0/16(-4.73), asn: 24940(-1.65), country: DE(-0.01)]; 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-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 08:11:11 -0000 On 2019-11-13 01:30, Steve Kargl wrote: > On Tue, Nov 12, 2019 at 06:48:22PM +0100, Hans Petter Selasky wrote: >> On 2019-11-12 18:31, Steve Kargl wrote: >>>> Can you open the radeonkms.ko in gdb83 from ports and type: >>>> >>>> l *(radeon_gem_busy_ioctl+0x30) >>>> >>> % /boot/modules/radeonkms.ko >>> (gdb) l *(radeon_gem_busy_ioctl+0x30) >>> 0xa12b0 is in radeon_gem_busy_ioctl (/usr/ports/graphics/drm-current-kmod/work/kms-drm-2d2852e/drivers/gpu/drm/radeon/radeon_gem.c:453). >>> 448 /usr/ports/graphics/drm-current-kmod/work/kms-drm-2d2852e/drivers/gpu/drm/radeon/radeon_gem.c: No such file or directory. >>> (gdb) >> >> Like expected. >> > > I installed the 2nd seqlock.diff, rebuilt drm-current-kmod-4.16.g20191023, > rebooting, and have been pounding on the system with workloads that are > similar to what the system was doing during the lockups. So far, I > cannot ge the system lock-up. Looks like your patch fixes (or at > least helps). Thanks for taking a look at the problem. > Can you apply the kdb.diff on top and check dmesg for prints? --HPS