Results 1 to 5 of 5

Thread: Help with geForce 4 with Knoppix 3.3

  1. #1
    Member
    Join Date
    Oct 2003
    Location
    Holland
    Posts
    31

    Help with geForce 4 with Knoppix 3.3

    I'm a Newbie....

    I did try everything on this forum , i'm still getting errors.

    last thing i did was NVIDIA_kernel-1.0-4191 compile or make...

    NVIDIA_kernel-1.0-4191# make install
    /usr/bin/gcc-2.95 -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
    In file included from /usr/include/asm/semaphore.h:42,
    from /usr/src/linux/include/linux/fs.h:205,
    from /usr/src/linux/include/linux/capability.h:17,
    from /usr/src/linux/include/linux/binfmts.h:5,
    from /usr/src/linux/include/linux/sched.h:9,
    from /usr/src/linux/include/linux/mm.h:4,
    from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/rwsem.h: In function `down_read_trylock':
    /usr/src/linux/include/linux/rwsem.h:57: warning: implicit declaration of function `__down_read_trylock'
    /usr/src/linux/include/linux/rwsem.h: In function `down_write_trylock':
    /usr/src/linux/include/linux/rwsem.h:79: warning: implicit declaration of function `__down_write_trylock'
    In file included from /usr/src/linux/include/linux/mm.h:4,
    from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/sched.h: At top level:
    /usr/src/linux/include/linux/sched.h:280: parse error before `extern'
    /usr/src/linux/include/linux/sched.h:280: warning: no semicolon at end of struct or union
    In file included from /usr/src/linux/include/linux/mm.h:4,
    from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/sched.h: In function `mmdrop':
    /usr/src/linux/include/linux/sched.h:837: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/sched.h: At top level:
    /usr/src/linux/include/linux/sched.h:875: conflicting types for `kernel_thread'
    /usr/include/asm/processor.h:436: previous declaration of `kernel_thread'
    /usr/src/linux/include/linux/sched.h:1067: warning: This file contains more `{'s than `}'s.
    In file included from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/mm.h: In function `__vma_unlink':
    /usr/src/linux/include/linux/mm.h:582: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/mm.h:583: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/mm.h:584: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/slab.h: At top level:
    /usr/src/linux/include/linux/mm.h:711: warning: This file contains more `{'s than `}'s.
    In file included from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/slab.h:81: warning: This file contains more `{'s than `}'s.
    In file included from nv.c:14:
    nv-linux.h:382: warning: This file contains more `{'s than `}'s.
    nv.c: In function `nv_get_phys_address':
    nv.c:2233: invalid use of undefined type `struct mm_struct'
    nv.c:2235: dereferencing pointer to incomplete type
    nv.c:2218: warning: `pg_dir' might be used uninitialized in this function
    make: *** [nv.o] Error 1

    I allso tried a newer version file: NVIDIA_kernel-1.0-4363

    this is the uotput:
    /usr/bin/gcc-2.95 -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4363 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
    In file included from nv.c:14:
    nv-linux.h:167: #error "Couldn't determine number of arguments expected by remap_page_range!"
    make: *** [nv.o] Error 1

    Please help....

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Have you tried the latest driver the NVIDIA-Linux-x86-1.0-4496-pkg2.run? It will compile the drivers and install them by running the script you can get it here.

  3. #3
    Member
    Join Date
    Oct 2003
    Location
    Holland
    Posts
    31
    Thanks for your fast replay...

    I did try NVIDIA-Linux-x86-1.0-4496-pkg2.run but still got error.
    Error: No precompiled kernel found, and that it's going to try to download one, then error no precompiled kernel found, then progress bar building kernel then a error Error building NVIDIA kernel .....

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by raduen
    Thanks for your fast replay...

    I did try NVIDIA-Linux-x86-1.0-4496-pkg2.run but still got error.
    Error: No precompiled kernel found, and that it's going to try to download one, then error no precompiled kernel found, then progress bar building kernel then a error Error building NVIDIA kernel .....
    What is the exact error you get? Also you should just before you compile export CC=/usr/bin/gcc-2.95 and check to make sure the kernel headers are linked to the /usr/src/linux directory what it looks like on my machine:
    Code:
    [05:29 PM Wed Nov 12: stephen @ ~]
    >$ ll /usr/src/linux
    lrwxrwxrwx    1 root     src            37 2003-10-20 05:07 /usr/src/linux -> /usr/src/kernel-headers-2.4.22.031019
    Yours would of course be linked to the kernel headers you have.

  5. #5
    Member
    Join Date
    Oct 2003
    Location
    Holland
    Posts
    31
    this is the eoor when i do a make install

    export cc=/usr/bin/gcc-2.95
    root@silverdev:/usr/src/NVIDIA_kernel-1.0-4191# export IGNORE_CC_MISMATCH=1
    root@silverdev:/usr/src/NVIDIA_kernel-1.0-4191# make install
    /usr/bin/gcc-2.95 -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
    In file included from /usr/src/linux/include/linux/mm.h:4,
    from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/sched.h:280: parse error before `extern'
    /usr/src/linux/include/linux/sched.h:280: warning: no semicolon at end of struct or union
    In file included from /usr/src/linux/include/linux/mm.h:4,
    from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/sched.h: In function `mmdrop':
    /usr/src/linux/include/linux/sched.h:837: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/mm.h: At top level:
    /usr/src/linux/include/linux/sched.h:1067: warning: This file contains more `{'s than `}'s.
    In file included from /usr/src/linux/include/linux/slab.h:14,
    from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/mm.h: In function `__vma_unlink':
    /usr/src/linux/include/linux/mm.h:582: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/mm.h:583: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/mm.h:584: dereferencing pointer to incomplete type
    /usr/src/linux/include/linux/slab.h: At top level:
    /usr/src/linux/include/linux/mm.h:711: warning: This file contains more `{'s than `}'s.
    In file included from nv-linux.h:63,
    from nv.c:14:
    /usr/src/linux/include/linux/slab.h:81: warning: This file contains more `{'s than `}'s.
    In file included from nv.c:14:
    nv-linux.h:382: warning: This file contains more `{'s than `}'s.
    nv.c: In function `nv_get_phys_address':
    nv.c:2233: invalid use of undefined type `struct mm_struct'
    nv.c:2235: dereferencing pointer to incomplete type
    nv.c:2218: warning: `pg_dir' might be used uninitialized in this function
    make: *** [nv.o] Error 1

    And when i run NVIDIA-Linux-x86-1.0-4496-pkg2.run i get an error's saying: Precompiled Kernel not found. then i hit ok, then comes an error saying: Error building NVIDIA drivers.

Similar Threads

  1. Installation of NVidia GeForce with Knoppix 3.6
    By CKLM in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 11-08-2004, 01:58 AM
  2. Knoppix Fried GeForce 4 Ti 4200!
    By igs in forum Hardware & Booting
    Replies: 15
    Last Post: 10-24-2004, 08:24 AM
  3. Geforce 5200- How to get knoppix to recognize it
    By Dosmaen in forum Hardware & Booting
    Replies: 3
    Last Post: 04-17-2004, 08:36 PM
  4. [b]Knoppix failed MSI GeForce 5600FX
    By threeninja400 in forum Hardware & Booting
    Replies: 2
    Last Post: 09-16-2003, 02:45 AM
  5. GeForce FX 5200 will not work with knoppix
    By adamb10 in forum Hardware & Booting
    Replies: 4
    Last Post: 08-13-2003, 03:09 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
  •  


128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK picture

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK

$799.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



lOT OF 4 SKhynix 8GB (4 x 8GB =32GB) HMA41GR7MFR8N-TF 2R8 PC4-2133P DDR4 MEMORY picture

lOT OF 4 SKhynix 8GB (4 x 8GB =32GB) HMA41GR7MFR8N-TF 2R8 PC4-2133P DDR4 MEMORY

$89.00



Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11 picture

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11

$62.50



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



32GB Micron PC4 – 3200AA DDR4 ECC Registered Server RAM - MTA36ASF4G72PZ-3G2J3 picture

32GB Micron PC4 – 3200AA DDR4 ECC Registered Server RAM - MTA36ASF4G72PZ-3G2J3

$200.00



Microsoft Windows 11 Home 64-Bit USB Flash Drive + Key Retail Box - Original picture

Microsoft Windows 11 Home 64-Bit USB Flash Drive + Key Retail Box - Original

$39.88



Dell Precision 3541 Laptop i5-9300H 2.4GHz 256GB SSD 16GB RAM Win 11 Pro picture

Dell Precision 3541 Laptop i5-9300H 2.4GHz 256GB SSD 16GB RAM Win 11 Pro

$189.99