LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-04-2002, 01:56 AM   #1
shanlz
LQ Newbie
 
Registered: Sep 2002
Posts: 14

Rep: Reputation: 0
Simple x windows config problem for Linux Gurus......


Hi,

I'm re-posting my problems with configuring X-windows...no luck still.

Here's a recap
1. Processor : AMD Athlon, Chip is NVIDIA GeForce2 (Integrated with the motherborad)
Monitor : Samsung Synchmaster 753s

2. Installing RH Linux 7.3 shows probes the NVIDIA chip correctly. But monitor is not probed.
I've tried selecting Generic Monitor and also the nearest Samsung on the list ( 750s ).

3. Doing 'startx', the screen goes blank / apparently the OS has crashed. Have to restart.

4. I then installed the following files (which I understand to be the latest drivers for NVIDIA)
a) NVIDIA_kernel-1.0-3123.rh73up.i686
Message while RPM........

Preparing... ########################################### [100%]
1:NVIDIA_kernel ########################################### [100%]
depmod: *** Unresolved symbols in /lib/modules/2.4.18-3/kernel/drivers/video/NVdriver
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: unresolved symbol irq_stat_R51b43718
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.18-3/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.18-3/kernel/drivers/video/NVdriver: insmod NVdriver failed


b) NVIDIA_GLX-1.0-3123.i386 (I understand this is not an error)
Message while RPM........

Preparing... ########################################### [100%]
--- WARNING!!
libglx.a
libGLcore.a
libGL.so.1.2
--- The above file(s) possibly belong to a conflicting MESA rpm,
--- or to a previous stale NVIDIA distribution.
--- They have been renamed to xxx.<originalFile>.RPMSAVE to
--- avoid conflicting with the files contained within this
--- package.
--- Please see the FREQUENTLY ASKED QUESTIONS section of
--- /usr/share/doc/NVIDIA_GLX-1.0/README for more details.
1:NVIDIA_GLX ########################################### [100%]

5. I went ahead and changed the XF86Config-4 as mentioned in the README file

6. Did startx, got the following error........(but no more crashes !)
.....
.....
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
.....
.....
.....
compiled for 4.0.2, module version = 1.0.3123
Module class: XFree86 Video Driver
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
(==) NVIDIA(0): RGB weight 565
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD8000000
(--) NVIDIA(0): MMIO registers at 0xE0000000
(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

7. I've seen the README file FAQ section for this error. It says.........

Nothing will work if the NVdriver kernel module doesn't function
properly. If you see anything in the X log file like "(EE) NVIDIA(0):
Failed to initialize the NVdriver kernel module!" then there is
most likely a problem with the NVdriver kernel module. First, you
should verify that if you installed from rpm that the rpm was built
specifically for the kernel you are using. You should also check
that the module is loaded ('/sbin/lsmod'); if it is not loaded try
loading it explicitly with 'insmod' or 'modprobe' (be sure to exit the
X server before installing a new kernel module). If you receive errors
about unresolved symbols, then the kernel module has most likely been
built using header files for a different kernel revision than what
you are running. You can explicitly control what kernel header files
are used by building NVdriver from the NVIDIA_kernel tar file with:
'make install SYSINCLUDE=/path/to/kernel/headers'.


8. Then downloaded NVchooser.sh script and it says (!)....
Please download and install the following files:
NVIDIA_kernel-1.0-2313.src.rpm
NVIDIA_GLX-1.0-2313.i386.rpm

On the NVIDIA homepage, the Kernel file is only available for RH Linux 7.2 so, I can't
install it on my RH Linux 7.3 (tried it).

9. Checked the NVchooser script. The file has something like constant defined so it will
only show RH Linux 7.2 !!

Where do I go from here ?
What headers can I include to make resolve the symbols while Kernel installation ?
Is there an NVIDIA_kernel-1.0-2313.src.rpm for RH7.3 ?
Whats 686 and 386 ?

I've written a mail to xfree86@xfree86.org but no reply so far.

Help this lost being looking to shift OS base to Linux.

Thanks !

ps my previous posts contain the entire log files.
 
Old 11-04-2002, 03:11 AM   #2
sharkyr0lz
Member
 
Registered: Oct 2002
Location: spain :)
Distribution: Gentoo (Old redhat and debian user)
Posts: 112

Rep: Reputation: 15
Download NVIDIA_kernel-1.0-3123.src.rpm or NVIDIA_kernel-1.0-3123.src.tgz, ... uncompress it, ... compile and install,...

Your problem is that you are using a newer kernel than the provided by redhat and a precompiled module.

You can't use diferent versions of modules + kernels, thats the reason you haven unsolved symbols.
 
Old 11-04-2002, 08:15 AM   #3
shanlz
LQ Newbie
 
Registered: Sep 2002
Posts: 14

Original Poster
Rep: Reputation: 0
How do I compile the RPM. I've only done unzip in windows...

Won't compiling still result in unresolved symbols since the required headers may not be present.
 
Old 11-04-2002, 08:18 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Do you have kernel source and headers installed on your system, does /usr/src/linux-2.4.* exist on your system? If there are no kernel source and headers installed on your system you won't be able to compile drivers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WHY an't LINUX be SIMPLE like windows!@!!!!!!@%$^%&*#%^(($)^)( figfighter General 121 12-05-2005 05:26 PM
Help me fix this simple network config problem! jbeedham Linux - Networking 8 08-22-2003 04:28 AM
Anyone gurus offering there services for contract work? (samba config) amaze Linux - General 3 08-07-2003 03:03 PM
A Simple IP / smba problem for the IP gurus shassouneh Linux - Networking 32 04-28-2003 05:23 AM
Any X-windows gurus help me please?? chrislip Linux - Software 1 09-21-2001 11:55 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration