View previous topic :: View next topic |
Author |
Message |
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Fri Jul 05, 2002 8:52 am Post subject: The Nvidia drivers dont work "NVdriver" not instal |
|
|
OK. I emerged the newest Xfree86 running on a t-bird 1.33Ghz w/ geforce 2 GTS 32DDR.
When I go to "emerge nvidia-kernel" it tells me that I don't have somthing called "NVdriver" installed. I try and run the .sh script it tells me to, but It doesn't seem to do anything.
I then tried to emerge the "nvidia-glx" and it enables the GLX libraries... but I cant get them to work for some reason.
I also get the same problems when I try and use the souce .tgz from www.nvidia.com
I edit my /etc/X11/XF86Config file correctly, but it keeps telling me that I dont have the "NVdriver" somthing or other.
If more information is required just ask for whatever you need to help me out. I'm in Windows right now, so I can't tell you the exact messages I got.
Iff'n you need me to get more specific just tell me what you need.
Thanks _________________ --Hamking |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jul 05, 2002 9:01 am Post subject: Re: The Nvidia drivers dont work "NVdriver" not in |
|
|
Hamking wrote: | When I go to "emerge nvidia-kernel" it tells me that I don't have somthing called "NVdriver" installed. |
NVdriver is the kernel module built by the media-video/nvidia-kernel ebuild. If it is not being found, perhaps its compile did not complete successfully. Were there any errors earlier in the process? You could try calling "ebuild compile" manually to check just this stage of the process. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Jul 05, 2002 9:02 am Post subject: |
|
|
also - do "emerge search nvidia" and see if it reports both nvidia-kernel and nvidia-glx installed.
If you've got them installed, then I'll post my xf86config-4 so you can see how it works - I just installed it here, without any problems _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
|
Klavs Guru
Joined: 22 May 2002 Posts: 536 Location: Denmark
|
Posted: Fri Jul 05, 2002 9:13 am Post subject: |
|
|
that shouldn't be necessary, as long as it has been setup in /etc/modules.conf (char-major-195) - and the emerge process handled that automagically for me.
remember to change the driver in your xfree86config from nv to nvidia.
here's the relevant parts from my xf86config-4:
Section "Module"
Load "xie"
Load "pex5"
Load "dri"
Load "record"
Load "xtrap"
Load "speedo"
# This loads the DBE extension module.
Load "dbe"
# modules for NVIDIA driver
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "Device"
Identifier "NVIDIA GeForce2 DDR (generic)"
VendorName "Unknown"
BoardName "Unknown"
# this is the builtin XFree driver
# Driver "nv"
Driver "nvidia"
# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"
Option "DPMS" "on"
EndSection
the options I added to the screen section:
Option "DigitalVibrance" "3"
Option "TwinView"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1152x864,800x600 @1152x864; 1024x768,800x600 @1024x768;"
Option "TVStandard" "PAL-B"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "crt,TV"
Option "Xinerama" "on" _________________ Best regards,
Klavs Klavsen
Denmark
Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38. |
|
Back to top |
|
|
ColdPack n00b
Joined: 19 Jun 2002 Posts: 60 Location: Madison, WI
|
Posted: Fri Jul 05, 2002 1:32 pm Post subject: |
|
|
Yeah, but has anyone else had the problem of Konqueror crashing your system (except for mouse movement -- clicking doesn't work, though) entirely?
I've read of others who use the NVidia drivers who are having the same problems. Anyone else experience this and find a solution?
I like Konqueror. Sure, I don't mind using Mozilla and Galeon but...
I hate that Konqueror or reading HTML mail in Kmail can crash the whole show, ya know?
Someone suggested to me that it may not be a bug in the NVidia driver but in KDE's handling of HTML, etc.
CP |
|
Back to top |
|
|
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Fri Jul 05, 2002 9:32 pm Post subject: |
|
|
Quote: |
size NVdriver
text data bss dec hex filename
783138 52052 52396 887586 d8b22 NVdriver
depmod: *** Unresolved symbols in /lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: unresolved symbol mtrr_del_Rsmp_272d394e
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: unresolved symbol mtrr_add_Rsmp_56179c5f
/lib/modules/2.4.19-r1/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.19-r1/kernel/drivers/video/NVdriver: insmod /lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver failed
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: insmod NVdriver failed
make: *** [package-install] Error 255
|
There is the error message I get. I will do a forum search for it aswell. I seem to have everything right in my /etc/modules.autoload and my /etc/modules.conf
I have noticed that when linux starts up it says "NVdriver failed to load"
I will emerge unmerge nvidia-kernel & nvidia-glx as well and try again.
I know the process of installing the nvidia drivers pretty well (all the files to edit my xfree86 config file and whatnot), but this error is a new one to me. So any more help will be apreciated.
Thanks so far _________________ --Hamking |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jul 05, 2002 9:43 pm Post subject: |
|
|
Hamking wrote: |
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: unresolved symbol mtrr_del_Rsmp_272d394e
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: unresolved symbol mtrr_add_Rsmp_56179c5f
|
Please post the section of your kernel configuration file surrounding MTRR and SMP. I have:
Code: |
# CONFIG_MTRR is not set
# CONFIG_SMP is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_UP_IOAPIC is not set
|
...on a first-generation uniprocessor Athlon, and the NVdriver module loads correctly. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Fri Jul 05, 2002 10:19 pm Post subject: |
|
|
where is my kernel config file located? I will post it.
I actually think that I didn't configure my kernel correctly... but thats just a hunch right now _________________ --Hamking |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jul 05, 2002 10:32 pm Post subject: |
|
|
Hamking wrote: | where is my kernel config file located? |
It is called '.config' in the topmost directory of your kernel source tree, which is wherever you put it - probably /usr/src/linux.
Debian's kernel-package puts a copy of the config file for each kernel it builds in /boot, and personally I think this is a great idea and I do it manually when installing new kernels on Gentoo machines. It also appears that kbuild 2.5 will have a kernel config option to do this automagically. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Fri Jul 05, 2002 11:36 pm Post subject: |
|
|
Quote: |
CONFIG_MTRR=y
# CONFIG_SMP is not set
# CONFIG_X86_UP_APIC is not set
# CONFIG_X86_UP_IOAPIC is not set
|
is that bad? _________________ --Hamking |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Jul 06, 2002 12:02 am Post subject: |
|
|
Hamking wrote: | is that bad? |
Well, it's completely uninformed rampant speculation on my part, but it might be the case that the NVdriver is expecting that the only time MTRR support in the kernel is present is when you are on an SMP (multi-CPU system). It may be trying to enable some code that it is using for SMP and not finding it. Were I you, I would try either turning MTRR off or SMP on, recompile your kernel and see if anything changes.
But don't forget to rebuild the nvidia driver after doing so, in case it is picking things up from your kernel sources.
The fact that your settings are different from mine gives me more confidence that we are on the right track here. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Sat Jul 06, 2002 3:00 am Post subject: |
|
|
ok thanks.... haha... wait... whats the command to recompile the kernel? menuconfig or somthin? ha I forgot already _________________ --Hamking |
|
Back to top |
|
|
trythil Tux's lil' helper
Joined: 06 Jun 2002 Posts: 123 Location: RHIT, Terre Haute, IN, USA
|
Posted: Sat Jul 06, 2002 3:19 am Post subject: |
|
|
I have MTRR support enabled. This machine is an Athlon Thunderbird 850 using the VIA KT133 Apollo chipset, on Linux kernel 2.4.18-xfs, compiled with GCC 3.1. (In other words, if there's a problem, I should be the first one to hit it )
Code: |
trythil@lothlann trythil $ gcc --version
gcc (GCC) 3.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
trythil@lothlann / $ uname -a
Linux lothlann 2.4.18-xfs #1 Tue Jun 25 16:21:54 MDT 2002 i686 AuthenticAMD
trythil@lothlann / $ dmesg | grep NV
BIOS-e820: 0000000017fff000 - 0000000018000000 (ACPI NVS)
nvidia: loading NVIDIA NVdriver Kernel Module 1.0-2960 Tue May 14 07:41:42 PDT 2002
NVRM: AGPGART: VIA Apollo KT133 chipset
NVRM: AGPGART: aperture: 64M @ 0xe4000000
NVRM: AGPGART: aperture mapped from 0xe4000000 to 0xd9a53000
NVRM: AGPGART: mode 4x
NVRM: AGPGART: allocated 16 pages
trythil@lothlann boot $ cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size= 256MB: write-back, count=1
reg01: base=0x10000000 ( 256MB), size= 128MB: write-back, count=1
reg02: base=0xd8000000 (3456MB), size= 128MB: write-combining, count=1
reg07: base=0xe4000000 (3648MB), size= 64MB: write-combining, count=1
trythil@lothlann linux $ cat .config | grep MTRR
CONFIG_MTRR=y
|
I have my doubts about the problem being MTRR-related. In fact, that's kinda funny that those two symbols should even appear; I get the feeling that somewhere, your compiler threw a hissy fit. Do you happen to have two versions of GCC installed alongside each other?
Code: |
root@lothlann boot # cat System.map | grep mtrr
c010fc80 t set_mtrr_prepare
c010fd00 t set_mtrr_done
c010fe20 t intel_get_mtrr
c010fff0 t amd_get_mtrr
c0110060 T mtrr_centaur_report_mcr
c0110110 t intel_set_mtrr_up
c01102e0 t amd_set_mtrr_up
c01106a0 T mtrr_add_page
c0110a70 T mtrr_add
c0110af0 T mtrr_del_page
c0110d00 T mtrr_del
c0110d80 t mtrr_file_add
c0110ea0 t mtrr_file_del
c0110f50 t mtrr_read
c0111010 t mtrr_write
c01113e0 t mtrr_ioctl
c01119f0 t mtrr_close
c0111d3d t _text_lock_mtrr
c02c2e60 ? __kstrtab_mtrr_add
c02c2e73 ? __kstrtab_mtrr_del
c02cd488 ? __ksymtab_mtrr_add
c02cd490 ? __ksymtab_mtrr_del
c02d1400 d mtrr_strings
c02d141c D mtrr_if
c02d1440 d mtrr_fops
c02ebdf0 t mtrr_setup
c02ebfb0 T mtrr_init
c02fe200 d mtrr_if_name
c0325fe4 b get_mtrr
c0325fe8 b set_mtrr_up
c0325fec b proc_root_mtrr
|
Anyway, to answer another question:
make menuconfig is one command to re-build a kernel. You can do make config (I don't recommend it unless your time is worthless), make xconfig (eh...), or make oldconfig (use the old configuration file and prompt only for unresolved items; kinda useful in some cases). |
|
Back to top |
|
|
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Sat Jul 06, 2002 4:47 am Post subject: |
|
|
ok thanks I'll try some of that "grep" stuff you tried in your post _________________ --Hamking |
|
Back to top |
|
|
Hamking n00b
Joined: 05 Jul 2002 Posts: 67 Location: MN
|
Posted: Sat Jul 06, 2002 7:35 am Post subject: |
|
|
oh... I noticed that your running gcc3.1 I wonder if it would be causing the problem if i'm running 2.95 instead? _________________ --Hamking |
|
Back to top |
|
|
trythil Tux's lil' helper
Joined: 06 Jun 2002 Posts: 123 Location: RHIT, Terre Haute, IN, USA
|
Posted: Sat Jul 06, 2002 9:41 am Post subject: |
|
|
Actually, with you running 2.95, you should have LESS problems than me. A lot of stuff builds perfectly with gcc 3.1; then again, some things do not. The only reason why I use it is because I need a mostly-functional C++ compiler (as opposed to the broken 2.95) to do my code.
Anyway, all that text-searching was just to illustrate (1) my current setup; (2) that NVIDIA drivers do work with MTRRs on uniprocessor systems; and (3) how I can't find those two symbols anywhere in my kernel. I'd check the way you're compiling the NVIDIA drivers, or your kernel. Are you sure that you don't have SMP support compiled in by accident?
I am most interested in the fact that the symbols
Code: |
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: unresolved symbol mtrr_del_Rsmp_272d394e
/lib/modules/2.4.19-r1/kernel/drivers/video/NVdriver: unresolved symbol mtrr_add_Rsmp_56179c5f
|
do not appear anywhere in my kernel; this leads me to think that you have enabled SMP support by accident. This usually doesn't hurt anything; however, if SMP support IS on, it can't hurt to turn it off, and it might just solve your problem. (Besides, kernels running on uniprocessor systems run faster with SMP off.) |
|
Back to top |
|
|
|