From owner-freebsd-current Mon Nov 18 0: 4: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30CAD37B401 for ; Mon, 18 Nov 2002 00:04:05 -0800 (PST) Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F04343E3B for ; Mon, 18 Nov 2002 00:03:59 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by mailf.telia.com (8.12.5/8.12.5) with ESMTP id gAI83v2D011171 for ; Mon, 18 Nov 2002 09:03:58 +0100 (CET) X-Original-Recipient: Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by d1o836.telia.com (8.10.2/8.10.1) with ESMTP id gAI83vH03960 for ; Mon, 18 Nov 2002 09:03:57 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: David Holm To: current@freebsd.org Subject: Re: New NVidia drivers on -current Date: Mon, 18 Nov 2002 09:03:53 +0100 User-Agent: KMail/1.4.3 References: <200211180629.gAI6TCEJ015867@aldan.algebra.com> In-Reply-To: <200211180629.gAI6TCEJ015867@aldan.algebra.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211180903.53743.david@realityrift.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 18 November 2002 07.29, Mikhail Teterin wrote: > Has anyone tried them yet? After removing the #error triggered by > __FreeBSD_version being over 500000, I got the thing nvidia.ko to build= , > but: > > 00:50:30 aldan shutdown: reboot by root: New world, kernel. Nvidia driv= ers > 00:56:12 aldan kernel: Preloaded elf module "/boot/kernel/nvidia.ko" at > 0xc06470b0. 00:56:12 aldan kernel: VESA: NVidia > 00:56:12 aldan kernel: VESA: NVidia Corporation NV15 Reference Board Ch= ip > Rev A0 00:56:14 aldan kernel: nvidia0: mem > 0xf0000000-0xf7ffffff,0xe9000000-0xe9ffffff irq 11 at device 0.0 on pci= 1 > 00:56:14 aldan kernel: pcib1: device nvidia0 requested decoded memory r= ange > 0xe9000000-0xe9ffffff 00:56:14 aldan kernel: pcib1: device nvidia0 > requested unsupported memory range 0x0-0xe9ffffff (decoding > 0xe9000000-0xe9ffffff, 0xf0000000-0xf7ffffff) 00:56:14 aldan kernel: > nvidia0: Unable to allocate NVIDIA memory resource. 00:56:14 aldan kern= el: > device_probe_and_attach: nvidia0 attach returned 6 > > Any clues, or is, indeed, a major porting effort required to get it to > work on -current? Thanks! > > =09-mi > Hi, I suggest you read the following post to this list: http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D1510354+0+/usr/local/www/db= /text/2002/freebsd-current/20021110.freebsd-current It talks about the (now deprecated) kernel config option=20 PCI_ALLOW_UNSUPPORTED_IO_RANGE. This was moved to be a loader tunable=20 instead. If you enable this at boot time you should be able to use nvidia= s=20 driver without any problems on -CURRENT. I haven't had time to try this=20 myself yet so I cannot promise you that it will work.=20 You can find the setting if you try "sysctl -a|grep pci",=20 "hw.pci.allow_unsupported_io_range" should be set to one. Note that this=20 cannot be set during runtime! Hope this helps. //David Holm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message