From owner-freebsd-ports@FreeBSD.ORG Wed Jan 4 08:11:49 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8687D106566B for ; Wed, 4 Jan 2012 08:11:49 +0000 (UTC) (envelope-from tamgya@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 43B6B8FC16 for ; Wed, 4 Jan 2012 08:11:49 +0000 (UTC) Received: by iadj38 with SMTP id j38so40502112iad.13 for ; Wed, 04 Jan 2012 00:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:organization:references:user-agent :x-envelope-to:mail-followup-to:date:message-id:mime-version :content-type; bh=SgJu8qWUklli+CS3hxe8FXpYYgzoYxUeCv7oM6d2yVk=; b=XAI5kEFEJbtbD1/XYp62UiJYY9muAt01pv2m38b/ocIIwzdIMFZROJPxyVDT5224P/ zkJC4Sj7w747KI7WQEmwdqrlKypNT+wvJjT5YgRAh9M3fr+55TGildrmyG142521FjD3 6B06y89euI5E7dnzIkXiVnQQczMY5/glWmGUs= Received: by 10.50.195.164 with SMTP id if4mr65904636igc.11.1325663092007; Tue, 03 Jan 2012 23:44:52 -0800 (PST) Received: from localhost ([58.129.165.156]) by mx.google.com with ESMTPS id r18sm186345070ibh.4.2012.01.03.23.44.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 23:44:50 -0800 (PST) From: tamgya@gmail.com (Denise H. G.) To: "O. Hartmann" In-Reply-To: <4F02D538.1020109@mail.zedat.fu-berlin.de> (O. Hartmann's message of "Tue, 03 Jan 2012 11:15:20 +0100") Organization: Pluto The Planet References: <4F02D538.1020109@mail.zedat.fu-berlin.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) X-Envelope-To: ohartman@mail.zedat.fu-berlin.de Mail-Followup-To: "O. Hartmann" , FreeBSD Stable Mailing List , Ports FreeBSD Date: Wed, 04 Jan 2012 15:44:42 +0800 Message-ID: <86vcorud1x.fsf@mars.xbsd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Stable Mailing List , Ports FreeBSD Subject: Re: x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 08:11:49 -0000 On 2012/01/03 at 18:15, "O. Hartmann" wrote: > > On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG > built), equipted with a nVidia GT760Ti graphics board, loading the > nvidia module via /boot/loader.conf results in a page fault with random > error messages before rebooting. > > Booting the box without the nvidia.ko module loaded in he preboot phase, > results in a stable system. I can then load the module via kldload and > the system jumps then into X11-screen as usual. > > I recompile x11/nvidia-driver on a regular basis when recompiling the > kernel, so the module is always up to date and en par with the kernel > sources. > > The problem occurs idendependently of having kernel module drm.ko loaded > or not. I also tried falling back to the older nvidia driver 285.05.09 > (I use at the moment successfully 290.10). > > Before issuing a PR and doing a full debug reconfiguration of my box, > I'd like to ask whether this is a commong, well known problem since with > FreeBSD 9.0, I'd like to stay with STABLE rather than with RELEASE. No. But build your x11/nvidia-driver with no more than -O. Better with gcc (clang may be OK, but I'm not sure). Furthermore, if you use x11/nvidia-driver, you have no need to load drm.ko, which is for, e.g. radeon cards. > > Regards, > Oliver > > -- It is impossible for an optimist to be pleasantly surprised.