Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 09:03:53 +0100
From:      David Holm <david@realityrift.com>
To:        current@freebsd.org
Subject:   Re: New NVidia drivers on -current
Message-ID:  <200211180903.53743.david@realityrift.com>
In-Reply-To: <200211180629.gAI6TCEJ015867@aldan.algebra.com>
References:  <200211180629.gAI6TCEJ015867@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <GeForce2 GTS> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211180903.53743.david>