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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-08-02, 09:18 AM   #121
CptUnreal
Registered User
 
Join Date: Nov 2002
Location: Greenbelt, Maryland, USA
Posts: 2
Send a message via AIM to CptUnreal
Default X server


Ok - I did it!

Gods of Linux be praised.

I rpm the sets in and did the kernel stuff (to a fresh Linux - my first [old time IRIX user]) and now have RD8 the latest build (2.4.18-17.8.0) with the nvidia drivers per this thread.

BUT. *sigh* KDM is gone?! no longer working and everytime the system boots it complains that x is respawning too quickly and is turned off for 5 minutes. Fine - I am able to log in and do a startx.
But that does not start a window manager. I had been using kdm. I do not see kdm in /etc/X11. I do see twm and gdm (I thought twm stood for "Tom's Window Manager?" not tab. When I start twm the xterm keyboard inputs are hosed. I think my XF86Config is ok - mind you I have a Quadro 4 900 XGL. And I say Quadro 4 (generic) in the Config. But X is hosed - any help?

HELP!

CptUnreal is offline   Reply With Quote
Old 11-08-02, 01:11 PM   #122
Garath
Guest
 
Posts: n/a
Default

for any out there that decide to compile the linux drivers at 1am and find yourself getting massive header problems when you know you have the kernel dev packages installed, here's what happened to me.

I had installed Redhat 8.0 then updated (no installed dev packages at this point) to the new kernel 2.4.18-17.8.0

then I installed the packages off the distro CDs I created.

I then tried to compile the new drivers.. was not working.. got the same header errors that everyone else was getting with the NVIDIA not found thing at the end..

The solution?

Redhat 8.0 flags kernel source and kernel updates for passing over.. the autoupdate did not notify me that it had a new kernel source availible after I installed the packages. I ran the updater manually and checked the kernel source to update. Updated it and voila, compiled just fine.

so make sure the packages you installed are for the same kernel version

after that, the HOWTOs posted here are great.. thanks for the support guys..
  Reply With Quote
Old 11-08-02, 01:20 PM   #123
kgnally
Guest
 
Posts: n/a
Default

Ok, I have cleanly installed RH8 and updated my kernel to the very latest with the autoupdater. I did a make mrproper oldconfig dep as suggested above and then downloaded the GLX and kernel src files. I tried to do a rpmbuild --rebuild on the kernel source, and I got:


In file included from nv-linux.h:24,
from nv.c:14:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.

This of course brought me to a screeching halt on the rebuild. What's wrong?
  Reply With Quote
Old 11-08-02, 01:46 PM   #124
Garath
Guest
 
Posts: n/a
Default

since I'm browsing I'll ask the std questions

did you install the kernel dev packages?

If you did, did you update the kernel dev packages via auto-update?

If you answered no to either of those questions, then that's probably the issue..

edit: from STEEL1.. instructions on installing the kernel dev packages

Step 2> Make sure you have the kernel headers installed along with all other dev tools - these are needed along with other dependencies. The best way to ensure that you have all dependencies is to just go start menu > system settings > packages > and in the development section choose the Kernel development packge and install the whole thing.
  Reply With Quote
Old 11-08-02, 01:52 PM   #125
CptUnreal
Registered User
 
Join Date: Nov 2002
Location: Greenbelt, Maryland, USA
Posts: 2
Send a message via AIM to CptUnreal
Default What I did

yes -

Kernel dev is on.

What I meant by saying I had installed everything included the rpmbuild of the src.rpm package and rpm -ivh of the glx rpm. I had to install of course the kernel dev. I have not installed the gui (Gnome and KDE) dev packages. KDE was my desktop manager. The XF86Config was modified as well - and that seems to work. But KDE does not come on.

========================
System
Dell 530 2 Ghz 1 Gig Ram
Dell Quadro 4 900 XGL
========================

RH8 2.4.18-17.8.0 kernel.

up2date has been recently (yesterday) been installed as well.
CptUnreal is offline   Reply With Quote
Old 11-08-02, 08:08 PM   #126
Fishbulb
Registered User
 
Join Date: Nov 2002
Posts: 2
Unhappy The damn buildmeister error

I apologive for the length of my post but I have read through this entire forum and cant find anything that might solve my problem:

I am one of the many people getting the buildmeister error when trying to build the NVidia kernel source:

It starts with:
-------------------------------------
[root@res00488 Downloads]# rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm
Installing NVIDIA_kernel-1.0-3123.src.rpm
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
-------------------------------------
then comes some weird symbols and stuff followed by about a hundred lines of these errors:
-------------------------------------
/lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:60: parse error before numeric constant
/lib/modules/2.4.18-17.8.0/build/include/linux/kernel.h:61: `panic_R_ver_str' declared as function returning a function
-------------------------------------
and ends pleasantly with:
-------------------------------------
nv.c:2831: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
nv.c:2832: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
make: *** [nv.o] Error 1
-------------------------------------
then some more symbols and
-------------------------------------
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-17.8.0/kernel/drivers/video
install: cannot stat `NVdriver': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.78301 (%install)


RPM build errors:
user buildmeister does not exist - using root
group buildmeister does not exist - using root
user buildmeister does not exist - using root
group buildmeister does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.78301 (%install)
-------------------------------------
After reading some posts here I tried a few things, including seeing if I had the right packages installed...even though I did the full 4 gig install of all packages for the workstation environment:
-------------------------------------
[root@res00488 Downloads]# rpm -qa | grep rpm-build
rpm-build-4.1-1.06
[root@res00488 Downloads]# rpm -qa | grep gcc
compat-gcc-c++-7.3-2.96.110
libgcc-3.2-7
gcc-g77-3.2-7
gcc-java-3.2-7
gcc-c++-3.2-7
compat-gcc-7.3-2.96.110
gcc-3.2-7
compat-gcc-g77-7.3-2.96.110
compat-gcc-java-7.3-2.96.110
gcc-objc-3.2-7
gcc-gnat-3.2-7
compat-gcc-objc-7.3-2.96.110
[root@res00488 Downloads]# rpm -qa | grep binutils
binutils-2.13.90.0.2-2
[root@res00488 Downloads]# rpm -qa | grep glibc-devel
glibc-devel-2.2.93-5
[root@res00488 Downloads]# rpm -qa | grep glibc-kernheaders
glibc-kernheaders-2.4-7.20
[root@res00488 Downloads]# rpm -qa | grep kernel-source
kernel-source-2.4.18-17.8.0
-------------------------------------
In case you couldnt tell I am running kernel version 18-17.8.0 instead of the older 18-14. I tried grep kernel and came up with:
-------------------------------------
[root@res00488 Downloads]# rpm -qa | grep kernel
kernel-2.4.18-14
kernel-doc-2.4.18-17.8.0
kernel-utils-2.4-8.13
kernel-pcmcia-cs-3.1.31-9
kernel-source-2.4.18-17.8.0
kernel-debug-2.4.18-14
kernel-2.4.18-17.8.0
kernel-debug-2.4.18-17.8.0
kernel-uml-2.4.18-14
-------------------------------------
Dont know if the fact that 18-4 is listed before my running kernel, but I am almost sure i am running 18-17 since my login says 18-17. Also, even thought I didnt get that GCC mismatch error I did this anyway:
-------------------------------------
[root@res00488 Downloads]# cat /proc/version
Linux version 2.4.18-17.8.0 (bhcompile@porky.devel.redhat.com) (gcc version 3.2
20020903 (Red Hat Linux 8.0 3.2-7)) #1 Tue Oct 8 11:48:09 EDT 2002
[root@res00488 Downloads]# cc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
-------------------------------------
So it seems my versions are correct.

This is a fresh full install off the 8.0 cds, not an upgrade. It's a fresh install of the drivers as well.

I am clueless ...can anyone help??

THANKS!!!
Fishbulb is offline   Reply With Quote
Old 11-08-02, 11:42 PM   #127
mwgoodman
Registered User
 
Join Date: Nov 2002
Posts: 13
Default

Quote:
Originally posted by Makaveli
I have a little problem here!
"rpmbuild --rebuild NVIDIA_kernel-1.0-3123.src.rpm" give's me this:

Installing NVIDIA_kernel-1.0-3123.src.rpm
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
warning: user buildmeister does not exist - using root
warning: group buildmeister does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.61484

... and in the end...

+ INSTALLPATH=/lib/modules/2.4.18-14/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-14/kernel/drivers/video
+ install -m 0444 NVdriver /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-14/kernel/drivers/video
install: cannot stat `NVdriver': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.10141 (%install)


RPM build errors:
user buildmeister does not exist - using root
group buildmeister does not exist - using root
user buildmeister does not exist - using root
group buildmeister does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.10141 (%install)
[root@rehdat8 makaveli]# cd /usr/src/redhat/RPMS/i386/

Huh? What should i do?

I have AMD k6-2 400MHz, 256Mb,
Gainward GF2 TI 500, RedHat 8.0.
I had the same trouble after I did a make menuconfig and trying to recompile the kernel. Had trouble with the compile on my laptop so I gave up, then tried to install the NVIDIA drivers and got your error.

I Fixed the problem by doing an:
rpm -e glibc-kernelheaders
rpm -e kernel-source

Then re-installed them, I have the updated -17 kernel

rpm -ivh glibc-kernelheaders*
rpm -ivh kernel-source-2.4.18-17*

after that the nvidia driver built ok.
mwgoodman is offline   Reply With Quote
Old 11-09-02, 02:40 AM   #128
Paladiney
Guest
 
Posts: n/a
Default

mwgoodman ;

[root@orkun drivers]# rpm -e glibc-kernelheaders
error: package glibc-kernelheaders is not installed
[root@orkun drivers]# rpm -e kernel-source
error: package kernel-source is not installed
[root@orkun drivers]# rpm -ivh glibc-kernelheaders*
[root@orkun drivers]# rpm -ivh kernel-source-2.4.18-17*
[root@orkun drivers]#


Where is the problem at my Redhat 8.0 ?
  Reply With Quote

Old 11-09-02, 03:07 AM   #129
Paladiney
Guest
 
Posts: n/a
Default

Ok I installed Kernel developer tools and fixed this problem

now My xconfig has problem I think ..

I cant find dri and nv ..


# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

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

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
HorizSync 31.5 - 37.9
VertRefresh 50.0 - 70.0
ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection

Section
Group 0
Mode 0666
EndSection
  Reply With Quote
Old 11-09-02, 09:02 AM   #130
GrahamA
Guest
 
Posts: n/a
Default Still Problematic!

Hi there forum,

I installed the drivers on my Toshiba Satellite 1410 laptop. Read the readme and it works - after a fashion X comes up but approx 1 cm. of the right hand side of the screen is not active. I tried xvidtune but still no luck :-( Any other suggestions. BTW I had to install using GForce 256 drivers initially otherwise just black screen. Thanks in advance.
  Reply With Quote
Old 11-09-02, 06:04 PM   #131
Office_Rabbit
Registered User
 
Join Date: Nov 2002
Posts: 7
Default

When I type $rpmbuild --rebuild NVIDIA_kernel.1.0-1960.src.rpm as you suggested I get the error:

bash : rpmbuild : command not found

Any help would be appreciated...
(ps - if it's relevant i'm a total linux newbie)
Office_Rabbit is offline   Reply With Quote
Old 11-09-02, 06:25 PM   #132
ThorsHammer
Registered User
 
Join Date: Oct 2002
Posts: 32
Default

HI im trying to get the Nvidia driver sworking and these are my files

IT apperars I hav eeverything in place except for the proper kerne and kernel- source
mine is kernel 2.4.18.17.8.0
kernel-source 2.4.18.17.8.0

I did a freashinstall of RD 8.0 then did an update to these kernel files.
Reading throught the other posts I see the only thing wrong is those files. How can I revert back to the right ones.


EDIT: OK I got everythig working. I did a reinstall and did not update . SO now I have the kernel and kernel-source that came on the CDs. My question now is whether I can update or not. IF I update my kernel and kernel source now will it will mess up my
Nvidia driver install.
THnaks

Last edited by ThorsHammer; 11-09-02 at 07:44 PM.
ThorsHammer 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
NVIDIA Showcases GPU Breakthroughs at IBC 2012 News Archived News Items 0 09-07-12 10:10 AM
The Nvidia Forums Are Still Not Available, Finally We Know Why News Archived News Items 0 07-14-12 05:10 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
NVidia Drivers HowTo for RedHat 8.0 needed eduardp NVIDIA Linux 10 10-04-02 03:59 AM
Redhat 8.0, no rpm, can't compile. Ironphil NVIDIA Linux 6 10-02-02 03:13 PM

All times are GMT -5. The time now is 06:24 AM.


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