From owner-freebsd-x11@freebsd.org Tue Feb 9 06:25:39 2021 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 D7599531FE4; Tue, 9 Feb 2021 06:25:39 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZXvR5BFCz4X4x; Tue, 9 Feb 2021 06:25:39 +0000 (UTC) (envelope-from agh@riseup.net) Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DZXtn6QNMzFfYd; Mon, 8 Feb 2021 22:25:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1612851930; bh=GmjaNXXsjOxNvGRxzDwttNpMissoSBhB7cir1V0O/Vg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MItEd+vrhxa3Iorx6DF1GQ8k+TkRsJh0zkLsgNjpxxkm5aSe2HvOwBHOxQ3CogEY3 gnZXYtX23asCRbbAmmX+iymapAMtrUJhgrhN3KRceIvfhYUmxPZMn4K32+8wb2/JW6 AeNzHB68lyfsLfozG5eHmTsfXhRdRr8WMJMJ85pQ= X-Riseup-User-ID: 15016BC43F606B191940BA37526E673688BA08948E03933242F14C30117AFFF9 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4DZXtj6K8lz1xqV; Mon, 8 Feb 2021 22:25:01 -0800 (PST) MIME-Version: 1.0 Date: Mon, 08 Feb 2021 22:25:01 -0800 From: Alastair Hogge To: Hans Petter Selasky Cc: Emmanuel Vadot , Steve Kargl , Andriy Gapon , freebsd-current@freebsd.org, freebsd-x11@freebsd.org Subject: Re: panic in drm or vt or deadlock on mutex or ... In-Reply-To: References: <20210203050828.GA21823@troutmask.apl.washington.edu> <4581b83f-e048-fb8b-edfe-44332d3dc460@FreeBSD.org> <20210203160324.GA23963@troutmask.apl.washington.edu> <20210204105029.5fc11bed5df0e4283f983fbf@bidouilliste.com> <36a5927f9992ec828a0fe1e9bf480ce3@riseup.net> Message-ID: <952bac7c2d593e175c0733bb542eb0ff@riseup.net> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DZXvR5BFCz4X4x X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Mailman-Approved-At: Tue, 09 Feb 2021 21:41:08 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2021 06:25:39 -0000 On 2021-02-08 21:01, Hans Petter Selasky wrote: > On 2/8/21 1:53 PM, Alastair Hogge wrote: >> Boot to multi-user; login (getty): >> $ doas kldload /boot/modules/amdgpu.ko >> $ sysctl >> [panic] >> >> ..is a guaranteed way to panic my system. > > Hi, > > Maybe you could do a hack and edit the sysctl source code: > > 1) print the sysctl before it is queried. > 2) sleep 1 second between print and query. > > Should be easy to nail this down! This is all I am able to catch via the ssh session: vm.uma.sackhole.size: 32 vm.uma.hostcache.stats.xdomain: 0 vm.uma.hostcache.stats.fails: 0 vm.uma.hostcache.stats.frees: 0 vm.uma.hostcache.stats.allocs: 0 vm.uma.hostcache.stats.current: 0 vm.uma.hostcache.domain.0.wss: 0 vm.uma.hostcache.domain.0.imin: 0 vm.uma.hostcache.domain.0.imax: 0 vm.uma.hostcache.domain.0.nitems: 0 vm.uma.hostcache.limit.bucket_max: 7680 vm.uma.hostcache.limit.sleeps: 0 vm.uma.hostcache.limit.sleepers: 0 vm.uma.hostcache.limit.max_items: 15360 vm.uma.hostcache.limit.items: 0 vm.uma.hostcache.keg.domain.0.free_items: 0 vm.uma.hostcache.keg.domain.0.pages: 0 vm.uma.hostcache.keg.efficiency: 98 vm.uma.hostcache.keg.reserve: 0 vm.uma.hostcache.keg.align: 7 vm.uma.hostcache.keg.ipers: 42 vm.uma.hostcache.keg.ppera: 1 vm.uma.hostcache.keg.rsize: 96 vm.uma.hostcache.keg.name: hostcache vm.uma.hostcache.bucket_size_max: 120 vm.uma.hostcache.bucket_size: 120 vm.uma.hostcache.flags: 0x43010000 vm.uma.hostcache.size: 96 vm.uma.syncache.stats.xdomain: 0 vm.uma.syncache.stats.fails: 0 vm.uma.syncache.stats.frees: 1 vm.uma.syncache.stats.allocs: 1 vm.uma.syncache.stats.current: 0 vm.uma.syncache.domain.0.wss: 3 vm.uma.syncache.domain.0.imin: 0 vm.uma.syncache.domain.0.imax: 0 vm.uma.syncache.domain.0.nitems: 0