From owner-freebsd-current@freebsd.org Tue Mar 21 16:31:57 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19E73D1665D for ; Tue, 21 Mar 2017 16:31:57 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3E5EADF for ; Tue, 21 Mar 2017 16:31:56 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cqMhS-000HmR-Pd; Tue, 21 Mar 2017 17:31:58 +0100 Date: Tue, 21 Mar 2017 17:31:58 +0100 From: Kurt Jaeger To: Hans Petter Selasky Cc: freebsd-current@freebsd.org Subject: Re: sysctl -a hangs ? Message-ID: <20170321163158.GK64587@home.opsec.eu> References: <20170321160407.GJ64587@home.opsec.eu> <20170321161438.GH80268@strugglingcoder.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 16:31:57 -0000 Hi! > >> I have a freshly installed/updated FreeBSD 11.0p8 on a supermicro > >> X11SSZ-TLN4F board, and > >> > >> pkg install intel-ixl-kmod > >> > >> and now: > >> > >> sysctl -a > >> > >> hangs. Any quick ideas how to debug this ? > > > > If it's just not responding to anything, you can try to panic the box, > > got to db> and see if you can find sleepchain/lockchain? > > You can also take a dump and try to look at same with kgdb scripts. > > You'd need kernel with WITNESS. > > Hi, > > procstat -ak > > Will tell you where it is stuck. Here we go: 1489 100739 sysctl - __mtx_lock_sleep sleepq_catch_signals sleepq_wait_sig _sleep AcpiOsAcquireMutex AcpiUtAcquireMutex AcpiExEnterInterpreter AcpiNsEvaluate AcpiUtEvaluateObject AcpiUtExecute_HID AcpiGetObjectInfo acpi_child_pnpinfo_str_method device_sysctl_handler sysctl_root_handler_locked sysctl_root userland_sysctl sys___sysctl amd64_syscall -- pi@opsec.eu +49 171 3101372 3 years to go !