From owner-freebsd-ports@freebsd.org  Wed Oct 25 10:00:54 2017
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@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 93774E44E6E;
 Wed, 25 Oct 2017 10:00:54 +0000 (UTC) (envelope-from hps@selasky.org)
Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2])
 (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 5B9A065768;
 Wed, 25 Oct 2017 10:00:54 +0000 (UTC) (envelope-from hps@selasky.org)
Received: from hps2016.home.selasky.org (unknown [62.141.128.70])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mail.turbocat.net (Postfix) with ESMTPSA id 4E3F42601F1;
 Wed, 25 Oct 2017 12:00:51 +0200 (CEST)
Subject: Re: Okular or any pdf reader
To: blubee blubeeme <gurenchan@gmail.com>
Cc: FreeBSD Ports <freebsd-ports@freebsd.org>,
 FreeBSD current <freebsd-current@freebsd.org>
References: <CALM2mEmAM_qqqLSvCcsV-oJik+ngPfhenN=kaxjThWuY_47fnw@mail.gmail.com>
 <aaa13ce9-3d9f-368b-57bb-e5ea5d257fdd@selasky.org>
 <CALM2mE=xjXAacgpcBz0+0NcEUqeFzq8o7v+ppQCADoRXBa1BfQ@mail.gmail.com>
 <090f8659-b88b-dc6d-ea8d-de6ee4661fc2@selasky.org>
 <CALM2mEn0yxO5zSAogY2TSMiWaS_u9Un99N9pa2srARCwr28Oqw@mail.gmail.com>
From: Hans Petter Selasky <hps@selasky.org>
Message-ID: <9b7e2698-444c-585e-e11a-b24ab5afdb17@selasky.org>
Date: Wed, 25 Oct 2017 11:58:13 +0200
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <CALM2mEn0yxO5zSAogY2TSMiWaS_u9Un99N9pa2srARCwr28Oqw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Oct 2017 10:00:54 -0000

On 10/25/17 11:55, blubee blubeeme wrote:
> "os.lock_mtx"
> Oct 25 17:52:58 blubee kernel: 1st os.lock_mtx @ nvidia_os.c:841
> Oct 25 17:52:58 blubee kernel: 2nd os.lock_mtx @ nvidia_os.c:841
> Oct 25 17:52:58 blubee kernel: stack backtrace:
> Oct 25 17:52:58 blubee kernel: #0 0xffffffff80ab6f30 at
> witness_debugger+0x70
> Oct 25 17:52:58 blubee kernel: #1 0xffffffff80ab6e23 at
> witness_checkorder+0xe23
> Oct 25 17:52:58 blubee kernel: #2 0xffffffff80a35293 at
> __mtx_lock_flags+0x93
> Oct 25 17:52:58 blubee kernel: #3 0xffffffff82f4097b at
> os_acquire_spinlock+0x1b
> Oct 25 17:52:58 blubee kernel: #4 0xffffffff82c45b15 at _nv012002rm+0x185
> Oct 25 17:52:58 blubee kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM:
> Argument #4 type mismatch - Found [Buffer], ACPI requires [Package]
> (20170531/nsarguments-205)
> Oct 25 17:52:59 blubee kernel: nvidia-modeset: Allocated GPU:0
> (GPU-54a7b304-c99d-efee-0117-0ce119063cd6) @ PCI:0000:01:00.0
> 
> 

Hi,

Try: CTRL+ALT+F1
Or SSH into this machine.

Then do:

procstat -ak

It will reveal any hangs and deadlocks.

Further I note you're using 12-current with the NVIDIA driver. That 
might not be a supported configuration :-( Especially nowadays some core 
kernel structures are changing, which means NVIDIA needs to recompile 
their binary blob aswell!

--HPS