Originally Posted by AaronP
That's strange. That doesn't sound like a relocatable binary problem, it sounds like your kernel sources are messed up but I'll have to defer to zander on that.
This is on a Gentoo hardened system.
You were right about the nv driver not initializing the card. I managed to get the nvidia driver to compile by going in the directory
and then changing part of the file conftest.sh to the following
#if [ -f conftest$$ ]; then
# ./conftest$$ > /dev/null 2>&1
# if [ $? = "0" ]; then
rm -f conftest$$
#if [ -f $MAKEFILE -a -f $CONFIG ]; then
# This source tree is not configured, but includes
# a Makefile and a .config file. If this is a 2.6
# kernel older than 2.6.6, that's all we require to
# build the module.
#PATCHLEVEL=$(grep "^PATCHLEVEL =" $MAKEFILE | cut -d " " -f 3)
#SUBLEVEL=$(grep "^SUBLEVEL =" $MAKEFILE | cut -d " " -f 3)
#if [ -n "$PATCHLEVEL" -a $PATCHLEVEL -ge 6 \
# -a -n "$SUBLEVEL" -a $SUBLEVEL -le 5 ]; then
then I did "make module"
That compiled the nvidia.ko module.
Next I copied the file
to the directory
Then insmod nvidia.ko
That allowed X to start at 2560x1600 resolution.
Then I did "rmmod nvidia" so that I could use the nv driver.
One problem remaining is that video looks blocky. Is that a problem with the nv driver or some problem with initializing the card?
Thanks for your suggestion.