nvidia drivers with kernel 2.6.6 howto (resolved)
Installed lernel-source-2.6.6 and kernel-headers-2.6.6-1 386 using kpackage. (edited from gozar's helpfull post)
cd /usr/src
tar xjf kernel kernel-source-2.6.6.tar.bz2
rm linux
ln -s kernel-source-2.6.6 linux
cd linux
mrproper (command not recognised Gozar?)
cp /boot/config-2.6.6 ./.config
export CC=gcc-2.95
make
(**** help, i thoghut copying the knoppix kernal config would mean all questions would have been settup as per the orriginal knoppix kernel copile, but no, it asks ....
486 emulation (X86_EMU486) ?
Local APIC support on uniprcessors (X86_UP_APIC)?
IO-APIC support on uniprocessors (X86_UP_IOAPIC) ?
SCSI media changer support (CHR_DEV_SCH)?
Enable /dev/psaux device by default (INPUT_MOUSEDEV_PSAUX_ENABLE)?
everything else has been answered by the script, i answered yes to the questions it still asks above, but i would like to know how the knoppix kernel was compiled exactly.
Download Nvidia driver from http://www.sh.nu/download/nvidia/
(2.6 kernel drives now in root of this page, older drivers in sub dirs)
/etc/init.d/kdm stop
export SYSSRC=/usr/src/linux
cd to where you downloaded the nvidia driver
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
*** here's the flaw
nvidia : version magic '2.6.6 preempt 386 gcc-2.95' should be '2.6.6 SMP preempt 386 gcc-2.95'
stops compiling..
(thinks... checks) right, i'd forgotten that i HAD seen SMP packages on kpackage to download but ignored them as id don't run SMP here....
arg... double checked kpackage, the SMP sources are seperate packages entirely, ! but the 2.6.6-386-SMP packages aren't there! :o(
help ?
Re: nvidia drivers with kernel 2.6.6 partial howto (needshel
Quote:
Originally Posted by Yakumo
Installed lernel-source-2.6.6 and kernel-headers-2.6.6-1 386 using kpackage. (edited from gozar's helpfull post)
cd /usr/src
tar xjf kernel kernel-source-2.6.6.tar.bz2
rm linux
ln -s kernel-source-2.6.6 linux
cd linux
mrproper (command not recognised Gozar?)
That's: make mrproper
Quote:
cp /boot/config-2.6.6cp / ./.config
export CC=gcc-2.95
try cat /proc/version
This should tell witch gcc version tha's uset to compile kernel 2.6.6
[quote]
make
(**** help, i thoghut copying the knoppix kernal config would mean all questions would have been settup as per the orriginal knoppix kernel copile, but no, it asks ....
[/quite]
Are you sure you copyed the right kernel config?
Quote:
486 emulation (X86_EMU486) ?
Local APIC support on uniprcessors (X86_UP_APIC)?
IO-APIC support on uniprocessors (X86_UP_IOAPIC) ?
SCSI media changer support (CHR_DEV_SCH)?
Enable /dev/psaux device by default (INPUT_MOUSEDEV_PSAUX_ENABLE)?
everything else has been answered by the script, i answered yes to the questions it still asks above, but i would like to know how the knoppix kernel was compiled exactly.
Download Nvidia driver from
http://www.sh.nu/download/nvidia/
(2.6 kernel drives now in root of this page, older drivers in sub dirs)
/etc/init.d/kdm stop
export SYSSRC=/usr/src/linux
cd to where you downloaded the nvidia driver
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
*** here's the flaw
nvidia : version magic '2.6.6 preempt 386 gcc-2.95' should be '2.6.6 SMP preempt 386 gcc-2.95'
stops compiling..
(thinks... checks) right, i'd forgotten that i HAD seen SMP packages on kpackage to download but ignored them as id don't run SMP here....
arg... double checked kpackage, the SMP sources are seperate packages entirely, ! but the 2.6.6-386-SMP packages aren't there! :o(
help ?
run make menuconfig
before you run make and enable smp
If i could get my hands in the 2.6.6 config file, maby i could take a look at it!
Sincerley
Gozar
Re: nvidia drivers with kernel 2.6.6 partial howto (needshel
Quote:
Originally Posted by Gozar
Quote:
Originally Posted by Yakumo
cp /boot/config-2.6.6cp / ./.config
export CC=gcc-2.95
try
cat /proc/version
This should tell witch gcc version tha's uset to compile kernel 2.6.6
Are you sure you copyed the right kernel config?
the gcc version (2.95) is correct, i'd learnt which versio from an error message when i'd first tried to compile it.
the config cp was abit of a typo, i've corrected it to 'cp /boot/config-2.6.6 ./.config'
and it is the correct config, the only other one there is "config-2.4.26"
Quote:
If i could get my hands in the 2.6.6 config file, maby i could take a look at it!
i'll try send it to you in a PM. i'll try your other suggestions in the morning thoguh as i can't leave the machine on overnight, it keeps me awake, and it takes a good hour or two to compile..
thanks for your help, i'm very new to linux as you must have guessed :)
Re: nvidia drivers with kernel 2.6.6 partial howto (needshel
problem.... :
Code:
make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
and i hadn't realised PM's were disabled, i can't send the config-2.6.6 file that way, it's 53k so i'd think little too lrge to just paste here in the forum also.... ?
Re: nvidia drivers with kernel 2.6.6 partial howto (needshel
Quote:
Originally Posted by Yakumo
problem.... :
Code:
make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
cd into include and do a ln -s asm-i386 asm
Quote:
and i hadn't realised PM's were disabled, i can't send the config-2.6.6 file that way, it's 53k so i'd think little too lrge to just paste here in the forum also.... ?
(removed)
Sincerley
Gozar
Re: nvidia drivers with kernel 2.6.6 partial howto (needshel
mail you the full config.
i guess it has something to do with
CONFIG_BROKEN_ON_SMP=y
or
CONFIG_X86_FIND_SMP_CONFIG=y
?