View Single Post
Old 07-30-06, 06:59 AM   #1
Registered User
Join Date: Feb 2006
Posts: 3
Default freebsd6.1/i386 & 8762 driver

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).


# The directory /nv contains:
# localedata-5.4.tbz
# compat5x-i386-
# NVIDIA-FreeBSD-x86-1.0-8762
# nvidia-settings-1.0
# xorg.conf.nvidia
# xorg.conf.nv
# compat5x-i386- and its dependency localedata-5.4.tbz (which do
# not appear on the freebsd6.1 distribution disks) were downloaded from:
# NVIDIA-FreeBSD-x86-1.0-8762 and nvidia-settings-1.0 are the directories
# obtained by extracting:
# 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- >& 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
Attached Files
File Type: txt nvd.txt (7.8 KB, 158 views)
File Type: txt xorg.conf.nvidia.txt (1.5 KB, 200 views)
File Type: txt stx.txt (2.4 KB, 303 views)
File Type: log Xorg.0.log (20.8 KB, 170 views)
File Type: txt dmesg.txt (7.0 KB, 174 views)
rko15 is offline   Reply With Quote