I have installed freebsd6.1/i386 on the following computer:
motherboard: asus a8n-sli deluxe
processor: athlon 64 4000+ san diego 90nm
video card: pci express/GeForce 6600 GT
BIOS setting: PCIPnP: Plug&Play O/S [No]
And I'm having trouble installing NVIDIA-FreeBSD-x86-1.0-8762 driver.
The driver installation part of the script below produces the error message:
nvidia0: <GeForce 6600 GT> mem 0xc8000000-0xcbffffff, 0xc0000000-0xc7ffffff, 0xcc000000-ccffffff irq 18 at device 0.0 on pci1
nvidia0: NVRM: NVIDIA IRQ resource alloc failed.
nvidia0: NVRM: NVIDIA driver alloc failed.
device_attach: nvidia0 attach returned 6
I suspect that the nontraditional irq 18 may be the problem, although being a freebsd newbie I am not at all sure, and I would much appreciate an opinion from a freebsd/nvidia expert.
I have gentoo linux 2005.1/i386 with the gentoo i386 "nvidia" (not "nv") driver on another partition of the hard disk of the same machine working perfectly. Also, under freebsd, if I use the "nv" driver (by giving the command 'cp /nv/xorg.conf.nv /etc/X11/xorg.conf', and then the command 'startx'), the kde gui comes up perfectly without error.
Attached are the 5 most pertinent files in the script (.txt added to xorg.conf.nvidia to have a valid attachment extension).
#!/bin/csh
# The directory /nv contains:
# localedata-5.4.tbz
# compat5x-i386-5.4.0.8_5.tbz
# NVIDIA-FreeBSD-x86-1.0-8762
# nvidia-settings-1.0
# xorg.conf.nvidia
# xorg.conf.nv
#
# compat5x-i386-5.4.0.8_5.tbz and its dependency localedata-5.4.tbz (which do
# not appear on the freebsd6.1 distribution disks) were downloaded from:
#
ftp://ftp.freebsd.org/pub/FreeBSD/re.../packages/All/
#
# NVIDIA-FreeBSD-x86-1.0-8762 and nvidia-settings-1.0 are the directories
# obtained by extracting:
#
ftp://download.nvidia.com/XFree86/nv...ngs-1.0.tar.gz
#
ftp://download.nvidia.com/freebsd/1.....0-8762.tar.gz
#
# xorg.conf.nvidia and xorg.conf.nv are the xorg configuration files for the
# respective drivers, the former being obtained from the latter by deleting
# the line 'Load "dri"' from the "Module" section, and changing "nv" to
# "nvidia" in the "Device" section.
cd /nv
mkdir nvdata
pkg_add localedata-5.4.tbz >& nvdata/lcd.txt
pkg_add compat5x-i386-5.4.0.8_5.tbz >& nvdata/c5x.txt
echo 'compat5x_enable="YES"' >> /etc/rc.conf
cd NVIDIA-FreeBSD-x86-1.0-8762
make install >& ../nvdata/nvd.txt
cd ../nvidia-settings-1.0
gmake >& ../nvdata/nvsgm.txt
install nvidia-settings /usr/X11R6/bin/ >& ../nvdata/nvsin.txt
cd ..
cp xorg.conf.nvidia /etc/X11/xorg.conf
echo 'exec startkde' > /root/.xinitrc
startx >& nvdata/stx.txt
cp /var/log/Xorg.0.log nvdata
dmesg > nvdata/dmesg.txt
# end of script