Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-25-08, 05:40 PM   #13
agent5
Registered User
 
agent5's Avatar
 
Join Date: Oct 2008
Location: Germany, EU, Earth, Solar-System, Orion-Arm, Milky Way, local group, Virgo-supercluster
Posts: 5
Send a message via MSN to agent5
Thumbs up Re: Kernel 2.6.28 support?

indeed the patch works
also on my x86 machine!

thanks !!
agent5 is offline   Reply With Quote
Old 10-26-08, 03:04 AM   #14
gavron
Registered User
 
Join Date: Apr 2008
Posts: 49
Default Re: Kernel 2.6.28 support?

x86_64 can't get it to build.
There's an error generated during the kernel build but it is NOT included in the log file.

I did go into /usr/src/nv and try make -f Makefile.kbuild module
that was useless.

There is no "Makefile" (just a "makefile")

Do I have a corrupt 177.80 or is all this stuff for x86 (not _64)?

E
gavron is offline   Reply With Quote
Old 10-26-08, 09:12 AM   #15
agent5
Registered User
 
agent5's Avatar
 
Join Date: Oct 2008
Location: Germany, EU, Earth, Solar-System, Orion-Arm, Milky Way, local group, Virgo-supercluster
Posts: 5
Send a message via MSN to agent5
Default Re: Kernel 2.6.28 support?

Quote:
Originally Posted by gavron View Post
x86_64 can't get it to build.
There's an error generated during the kernel build but it is NOT included in the log file.

I did go into /usr/src/nv and try make -f Makefile.kbuild module
that was useless.

There is no "Makefile" (just a "makefile")

Do I have a corrupt 177.80 or is all this stuff for x86 (not _64)?

E
this patch is for x86_64 but also works on x86 (after adapting it)

and Makefile.kbuild is present here
Code:
/177.80/NVIDIA-Linux-x86-177.80-pkg1/usr/src/nv/makefile
/177.80/NVIDIA-Linux-x86-177.80-pkg1/usr/src/nv/Makefile.kbuild
/177.80/NVIDIA-Linux-x86-177.80-pkg1/usr/src/nv/Makefile.nvidia
as well as is the x86_64 package
Code:
/177.80/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/makefile
/177.80/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/Makefile.kbuild
/177.80/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/Makefile.nvidia
greetz agent5
agent5 is offline   Reply With Quote
Old 10-26-08, 10:07 AM   #16
gavron
Registered User
 
Join Date: Apr 2008
Posts: 49
Default Re: Kernel 2.6.28 support?

Quote:
Originally Posted by agent5 View Post
indeed the patch works
also on my x86 machine!

thanks !!
I am at a loss to figure out what I'm doing wrong. Can you assist?

Code:
root@egxps:/usr/local/src# ./NVIDIA-Linux-x86_64-177.80-pkg2.run -x
Creating directory NVIDIA-Linux-x86_64-177.80-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 177.80............................................................................................................................................
root@egxps:/usr/local/src# cd NVIDIA-Linux-x86_64-177.80-pkg2
root@egxps:/usr/local/src/NVIDIA-Linux-x86_64-177.80-pkg2# patch -p1 < ../patch-NVIDIA-2.6.28 
patching file usr/src/nv/nvacpi.c
root@egxps:/usr/local/src/NVIDIA-Linux-x86_64-177.80-pkg2# ./nvidia-installer --no-x-check --no-runlevel-check --kernel-name="2.6.28-rc1-20081026" -sKN

ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
       
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.


ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find
       suggestions on fixing installation problems in the README available on the Linux driver download page at
       www.nvidia.com.

root@egxps:/usr/local/src/NVIDIA-Linux-x86_64-177.80-pkg2# tail /var/log/nvidia-installer.log 
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
A quick glance suggests that the include files (linux, not nvidias) are not properly referencing the files in asm/whatever.

Bitops.h references asm/bitops.h but it's actually in arch/[arch]/asm/bitops.h.

Is there a quick patch for this or shall I just wait for rc2

E
gavron is offline   Reply With Quote
Old 10-26-08, 11:16 AM   #17
agent5
Registered User
 
agent5's Avatar
 
Join Date: Oct 2008
Location: Germany, EU, Earth, Solar-System, Orion-Arm, Milky Way, local group, Virgo-supercluster
Posts: 5
Send a message via MSN to agent5
Default Re: Kernel 2.6.28 support?

i guess you already symlinked the dir as suggested in post #3 #10 and #11 ?
agent5 is offline   Reply With Quote
Old 10-26-08, 05:20 PM   #18
gavron
Registered User
 
Join Date: Apr 2008
Posts: 49
Default Re: Kernel 2.6.28 support?

Quote:
Originally Posted by agent5 View Post
i guess you already symlinked the dir as suggested in post #3 #10 and #11 ?

Yes I think I did so correctly. See below.

E
Code:
gavron@egxps:/home/2.6.28/rc1/include$ pwd
/home/2.6.28/rc1/include
gavron@egxps:/home/2.6.28/rc1/include$ ls -al | grep asm
drwxr-xr-x   4 root root  4096 2008-10-09 15:13 asm-arm
drwxr-xr-x   4 root root  4096 2008-10-24 17:28 asm-cris
drwxr-xr-x   2 root root  4096 2008-10-24 17:28 asm-frv
drwxr-xr-x   3 root root  4096 2008-10-24 17:28 asm-generic
drwxr-xr-x   2 root root  4096 2008-10-24 17:28 asm-h8300
drwxr-xr-x   7 root root  4096 2008-10-24 17:28 asm-m32r
drwxr-xr-x   2 root root  4096 2008-10-24 17:28 asm-m68k
drwxr-xr-x   5 root root  4096 2008-10-24 17:28 asm-mn10300
lrwxrwxrwx   1 root root    38 2008-10-26 15:05 asm-x86 -> /home/2.6.28/rc1/arch/x86/include/asm/
drwxr-xr-x   5 root root  4096 2008-10-24 17:28 asm-xtensa
gavron is offline   Reply With Quote
Old 10-27-08, 02:07 AM   #19
cthulhu
Great Old One
 
cthulhu's Avatar
 
Join Date: Sep 2002
Posts: 124
Default Re: Kernel 2.6.28 support?

Quote:
Originally Posted by gavron View Post
I am at a loss to figure out what I'm doing wrong. Can you assist?
Here are the exact commands I had to execute to make it compile:
Code:
cd <kernel src dir>/include
mv asm-x86/asm-offsets.h ../arch/x86/include/asm
rmdir asm-x86
ln -s ../arch/x86/include/asm asm-x86
After that I could unpack, patch and compile the nVidia kernel module.
__________________
Desktop: Asus P5B Deluxe, Core2Duo E8500, 2GB Corsair 800MHz CL4, Gigabyte GTX460 1024MB
HTPC: Asus P5B-E, Core2Duo 6300, 1GB Corsair 533MHz, Asus 9500GT w/ 512MB DDR3
Server: Gigabyte D510UD, Atom D510, 2GB Corsair 800MHz, Hauppauge NOVA-T500 dual DVB-T tuner, 4x 2TB Samsung F3EG (RAID5)
Laptop: Asus U6V, Core2Duo P8400, 3GB DDR2, 9300M GS
OS on all: Gentoo Linux

Bought a computer bundled with windows? Don't want to use windows? Demand a refund!
cthulhu is offline   Reply With Quote
Old 10-27-08, 12:44 PM   #20
alex88
Registered User
 
Join Date: Oct 2008
Posts: 7
Default Re: Kernel 2.6.28 support?

can someone post the 32 bit version patch?
alex88 is offline   Reply With Quote

Old 10-27-08, 01:00 PM   #21
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Kernel 2.6.28 support?

The adventurous of you are also welcome to try the patch below (provided as-is, please use it at your own risk). It can be applied using the .run installer's --apply-patch option.
Attached Files
File Type: txt NVIDIA_kernel-177.80-2990799.diff.txt (5.9 KB, 1894 views)
zander is offline   Reply With Quote
Old 10-27-08, 01:48 PM   #22
Emopig
Registered User
 
Join Date: Feb 2008
Posts: 19
Default Re: Kernel 2.6.28 support?

Thanks zander, you guys do a great job.
Emopig is offline   Reply With Quote
Old 10-27-08, 04:17 PM   #23
alex88
Registered User
 
Join Date: Oct 2008
Posts: 7
Default Re: Kernel 2.6.28 support?

Quote:
Originally Posted by zander View Post
The adventurous of you are also welcome to try the patch below (provided as-is, please use it at your own risk). It can be applied using the .run installer's --apply-patch option.
Help me please..

I've compiled the kernel 2.6.28-rc2 without any problem, downloaded the NVIDIA-Linux-x86-177.80-pkg1.run file, applied the patch with the command

./NVIDIA-Linux-x86-177.80-pkg1.run --apply-patch NVIDIA_kernel-177.80-2990799.diff.txt

and so created the file NVIDIA-Linux-x86-177.80-pkg1-custom.run, executed with the command

./NVIDIA-Linux-x86-177.80-pkg1-custom.run

in the terminal after stopped gdm, under kernel 2.6.27-7. The installation finishes without any error and all is ok. But when i restart booting the 2.6.28-rc2 kernel it says,

(EE) Failed to load module "type 1" (module does not exist, 0)
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration

so i've entered in the console, stopped the gdm and reinstalled the drivers into the 2.6.28-rc2 kernel using the
./NVIDIA-Linux-x86-177.80-pkg1-custom.run command. But now if i start gdm i've got black screen and nothing else... Any idea?? my xorg.conf file is

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Wed Oct 1 15:09:35 PDT 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
alex88 is offline   Reply With Quote
Old 10-27-08, 04:42 PM   #24
towo|
Registered User
 
Join Date: Feb 2007
Posts: 113
Default Re: Kernel 2.6.28 support?

U should show us the /var/log/nvidia-installer.log
towo| is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 03:45 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.