From owner-freebsd-questions@FreeBSD.ORG Tue May 29 16:03:11 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 2116D16A41F for ; Tue, 29 May 2007 16:03:11 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.freebsd.org (Postfix) with ESMTP id B413A13C448 for ; Tue, 29 May 2007 16:03:10 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1Ht4A7-0000hw-6l; Tue, 29 May 2007 17:03:07 +0100 Received: from [62.31.10.181] (helo=[192.168.23.2]) by asmtp-out1.blueyonder.co.uk with esmtp (Exim 4.52) id 1Ht4A6-0001Wl-Ch; Tue, 29 May 2007 17:03:06 +0100 Message-ID: <465C4EB9.6070405@dial.pipex.com> Date: Tue, 29 May 2007 17:03:05 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: Vittorio De Martino References: <200705281518.08238.vittorio@de-martino.it> <200705282003.47681.vittorio@de-martino.it> <465B1C7E.1020904@u.washington.edu> <200705291716.03208.vittorio@de-martino.it> In-Reply-To: <200705291716.03208.vittorio@de-martino.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 29 May 2007 16:03:11 -0000 Vittorio De Martino wrote: >>> 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 >>> >>> >Still doen't work! I mean, to put it in a nutshell: > >1) kldstat shows the nvidia.ko module BUT no /dev/nvidia0 nor /dev/nvidiactl >is present and this seems to cause the failure of startx > >2) I have the following which seems far less than what I can see surfing the >net (e.g. something like Idontremember.nvidia.0.%desc, and the likes): > > I don't have an answer for you, but some info that *may* point in the right direction. 1) I see nvidia.ko but not agp.ko. I don't know if that's important or not. I need it on my machine (AMD64 processor and i386 FreeBSD). This is also an old nvidia version as newer ones lock up the machine :-( 2) Here are my sysctls for reference (and yes I do get the /dev/nvidia* devices which you do not; this is still 5.4 which may make some small difference). I get a similar list on another machine where nvidia is loaded but X is not running. Are there any errors when you kldload nvidia? Try taking out of loader.conf and then loading manually from the command line after a reboot. hw.nvidia.agp.card.rates: 8x 4x hw.nvidia.agp.card.fw: supported hw.nvidia.agp.card.sba: supported hw.nvidia.agp.card.registers: 0xff000e1b:0x00000000 hw.nvidia.agp.status.status: disabled hw.nvidia.agp.status.driver: n/a (unused) hw.nvidia.agp.status.rate: n/a (disabled)Aslo it's after X has started which again may make a difference and I can't really reboo hw.nvidia.agp.status.fw: n/a (disabled) hw.nvidia.agp.status.sba: n/a (disabled) hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module 1.0-8178 Wed Dec 14 17:04:30 PST 2005 hw.nvidia.registry.EnableVia4x: 0 hw.nvidia.registry.EnableALiAGP: 0 hw.nvidia.registry.NvAGP: 3 hw.nvidia.registry.EnableAGPSBA: 0 hw.nvidia.registry.EnableAGPFW: 0 hw.nvidia.registry.SoftEDIDs: 1 hw.nvidia.registry.Mobile: 4294967295 hw.nvidia.registry.ResmanDebugLevel: 4294967295 hw.nvidia.registry.FlatPanelMode: 0 hw.nvidia.registry.DevicesConnected: 0 hw.nvidia.registry.VideoEnhancement: 0 hw.nvidia.registry.RmLogonRC: 1 hw.nvidia.registry.DetectPrimaryVga: 0 hw.nvidia.cards.0.model: GeForce 6600 GT hw.nvidia.cards.0.irq: 16 hw.nvidia.cards.0.vbios: 05.43.02.66.00 hw.nvidia.cards.0.type: AGP dev.nvidia.0.%desc: GeForce 6600 GT dev.nvidia.0.%driver: nvidia dev.nvidia.0.%location: slot=0 function=0 dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x00f1 subvendor=0x1458 subdevice=0x3150 class=0x030000 dev.nvidia.0.%parent: pci1 3) Try the NVidia support forum (searching first, posting if you find nothing). http://www.nvnews.net/vbulletin/forumdisplay.php?f=47 --Alex