From owner-freebsd-questions@FreeBSD.ORG Mon May 28 18:40:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 360E116A534 for ; Mon, 28 May 2007 18:40:50 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1C913C4B8 for ; Mon, 28 May 2007 18:40:50 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4SIelo6023964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 May 2007 11:40:47 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4SIekfN007896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 May 2007 11:40:47 -0700 Message-ID: <465B222E.5010304@u.washington.edu> Date: Mon, 28 May 2007 11:40:46 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Vittorio De Martino References: <200705281518.08238.vittorio@de-martino.it> <200705281051.04823.lists@jnielsen.net> <200705282003.47681.vittorio@de-martino.it> <465B1C7E.1020904@u.washington.edu> In-Reply-To: <465B1C7E.1020904@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.28.112535 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_MEDIA_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-questions@freebsd.org Subject: Re: Nvidia doesn't start on cryptic errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 18:40:50 -0000 Garrett Cooper wrote: > Vittorio De Martino wrote: >> Il Monday 28 May 2007 14:51:04 John Nielsen ha scritto: >>> On Monday 28 May 2007 11:18:07 Vittorio De Martino wrote: >>>> On my newly bought HP pavillion 6366 notebook with freebsd 6.2 - p4 and >>>> one of the latest portsnap I have an nvidia go 7400 card, *** fully *** >>>> supported by the nvidia driver according to the docs. >>>> >>>> I followed the minimal configuration by nvidia-xconfig and just taiored >>>> the language for the keyboard....BUT >>>> startx fails to load X and in the log file I find I find the below >>>> reported errors. >>>> >>>> Being a beginner I find myself somewhat disorientated by these errors >>>> that I couldn't find surfing the net. >>>> >>>> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please >>>> ensure (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this >>>> system, and (EE) NVIDIA(0): that the NVIDIA device files have been >>>> created properly. (EE) NVIDIA(0): Please consult the NVIDIA README >>>> for details. >>>> (EE) NVIDIA(0): *** Aborting *** >>> Not too cryptic. Make sure that the nvidia kernel module is loaded >>> and try >>> again. To verify, type "kldstat". If nvidia.ko is not listed, type >>> "kldload >>> nvidia". To load it automatically on boot (which is the only way for >>> it to >>> load successfully), add a line like this to /boot/loader.conf: >>> >>> nvidia_load="YES" >>> >>> Then reboot. >>> >> >> Actually the nvidia.ko mdule was and is loaded >> hpbsd# kldstat >> Id Refs Address Size Name >> 1 24 0xc0400000 5b33d8 kernel >> .................................. >> 4 3 0xc0a7e000 1e058 linux.ko >> 5 1 0xc0a9d000 435c acpi_video.ko >> 6 3 0xc0aa2000 61ba0 acpi.ko >> 7 1 0xc0b04000 6d4de0 nvidia.ko >> 8 1 0xc11d9000 aed4 cpufreq.ko >> 9 1 0xc11e4000 4a2c acpi_ibm.ko >> .................................. >> 15 1 0xc7245000 2000 rtc.ko >> >> I was able to eliminate the following error >> -------------------- >> (II) LoadModule: "wfb" >> (II) Loading /usr/X11R6/lib/modules/libwfb.so >> dlopen: Shared object "librpcsvc.so.2" not found, required by "libwfb.so" >> (EE) Failed to load /usr/X11R6/lib/modules/libwfb.so >> ------------------ >> because the required librpcsvc.so.2 has become (and is presente as) >> librpcsvc.so.3. Therefore I linked ln -s librpcsvc.so.3 librpcsvc.so.2 >> >> That's ok now BUT >> >> NVIDIA: could not open the device /dev/nvidiactl (II) Setting vga for >> screen 0. >> (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 >> (==) NVIDIA(0): RGB weight 888 >> (==) NVIDIA(0): Default visual is TrueColor >> (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) >> (**) NVIDIA(0): Enabling RENDER acceleration >> (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please >> ensure >> (EE) NVIDIA(0): that there is a supported NVIDIA GPU in this >> system, and >> (EE) NVIDIA(0): that the NVIDIA device files have been created >> properly. (EE) NVIDIA(0): Please consult the NVIDIA README for >> details. >> >> still something incorrect prevents startx to fire X. >> The problems seems to be /dev/nvidiactl! >> >> Please help - Vittorio > > Add yourself to the video group and chown/mod the /dev node until you > have read, write, and executable access. > > -Garrett Vittorio, Hint: Everything in the Xorg.0.log file with... ...(EE) right before it, generally means that it's a problem ;). ...(WW) sometimes mean you should consider what's being said. -Garrett