Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: nvidia drivers with kernel 2.6.6 howto (resolved)

  1. #1
    Member registered user
    Join Date
    Mar 2003
    Posts
    43

    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 ?

  2. #2
    Senior Member
    Join Date
    Nov 2003
    Posts
    171
    Try linking /usr/src/linux to the full kernel source tree and not the headers.

  3. #3
    Member registered user
    Join Date
    Mar 2003
    Posts
    43
    Quote Originally Posted by kelmo
    Try linking /usr/src/linux to the full kernel source tree and not the headers.
    erm i did 'ln -s kernel-source-2.6.6 linux' which is the 34.8mb bz2 uncompressed, it wasn't linked to the headers.

    the kernel compiles fine, it's just the wrong version (non SMP) , so the nvidia driver wont compile..

  4. #4
    Member registered user
    Join Date
    Jan 2003
    Posts
    37

    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

    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?

    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! (

    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

  5. #5
    Member registered user
    Join Date
    Mar 2003
    Posts
    43

    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"

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

  6. #6
    Member registered user
    Join Date
    Mar 2003
    Posts
    43

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

  7. #7
    Member registered user
    Join Date
    Jan 2003
    Posts
    37

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

  8. #8
    Member registered user
    Join Date
    Mar 2003
    Posts
    43

    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

    ?

  9. #9
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Well this all seems entirely too complicated for me. I do this:
    Code:
    apt-get install kernel-source-2.6.6
    cd /usr/src
    tar xjvf kernel-source-2.6.6.tar.bz2
    ln -s kernel-source-2.6.6 linux
    cd linux
    make menuconfig
    make-kpkg buildpackage -rev your-version kernel_image
    cd ..
    dpkg -i kernel-image-2.6.6_your-version_i386.deb kernel-headers-2.6.6_your-version_i386.deb
    
    Nvidia driver.
    I have had no luck w/ the 5336 driver, 2.6.* and nforce1 Asus mobo.  YMMV
    wget http://kanotix.com/files/install-nvidia-4620-debian.sh
    OR
    wget http://kanotix.com/files/install-nvidia-5336-debian.sh
    chmod +x install-nvidia-4620-debian.sh
    CTRL+ALT+F1
    ./install-nvidia-4620-debian.sh
    voila!

    Works first time everytime and takes about 15 minutes on my XP2200+ w/ 1G system RAM.

    If you can't get Kano's script to work (although I can't imagine why it wouldn't) you can get one of these:
    http://www.sh.nu/download/nvidia/linux-2.6/

    Also works first time everytime.

  10. #10
    Member registered user
    Join Date
    Jan 2003
    Posts
    37
    [quote="mzilikazi"]Well this all seems entirely too complicated for me. I do this:
    Code:
    apt-get install kernel-source-2.6.6
    cd /usr/src
    tar xjvf kernel-source-2.6.6.tar.bz2
    ln -s kernel-source-2.6.6 linux
    cd linux
    make menuconfig
    make-kpkg buildpackage -rev your-version kernel_image
    cd ..
    dpkg -i kernel-image-2.6.6_your-version_i386.deb kernel-headers-2.6.6_your-version_i386.deb
    
    Nvidia driver.
    I have had no luck w/ the 5336 driver, 2.6.* and nforce1 Asus mobo.  YMMV
    wget http://kanotix.com/files/install-nvidia-4620-debian.sh
    OR
    wget http://kanotix.com/files/install-nvidia-5336-debian.sh
    chmod +x install-nvidia-4620-debian.sh
    CTRL+ALT+F1
    ./install-nvidia-4620-debian.sh
    Ofcurse this works. You are replacing the knoppix kernel with your own custum kernel.

    The issue is that tou need the source for the running kernel, as you are making your own kernel you got it.

    However all users is not as advanced as you.

    Sincerley
    Gozar

Page 1 of 2 12 LastLast

Similar Threads

  1. Where is kernel 2.6 source to compile Nvidia drivers?
    By pepe in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 11-09-2004, 05:30 PM
  2. HOWTO: Nvidia drivers after hard drive install
    By robelanator in forum Hdd Install / Debian / Apt
    Replies: 49
    Last Post: 10-06-2004, 10:10 PM
  3. Howto install nvidia driver with kernel 2.6.5
    By Gozar in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-13-2004, 08:03 PM
  4. kernel 2.6.5 Nvidia Drivers install problems
    By 3p0cHx in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 05-10-2004, 11:21 PM
  5. Installing NVIDIA drivers HOWTO
    By kelmo in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 05-09-2004, 09:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



LOT OF 4 MICRON 32GB 4GX72 DDR3 SERVER RAM MTA40ALF4G72MDZ-1G6B1B5AA picture

LOT OF 4 MICRON 32GB 4GX72 DDR3 SERVER RAM MTA40ALF4G72MDZ-1G6B1B5AA

$449.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM 00D3963 00D3962 X3650 X3750 M4 Server Rack Mount Sliding Rails (V6177) picture

IBM 00D3963 00D3962 X3650 X3750 M4 Server Rack Mount Sliding Rails (V6177)

$44.95



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00