Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
this one has held me in thrall for about a week now - i cant install the Nvidia drivers, and the graphic acceloeration dosent work any more - initially i thought my recientally updated xorg.conf was the problem but this was discounted with some reserch.
It appears the old kenrel module wonrt work with 2.6.10 - which makes sence.
however, trying to reinstall the driver yealds some pritty ood errors:
Code:
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error:
-> Kernel messages:
[<c012c628>] sys_init_module+0x148/0x1f0
[<c014e62f>] filp_close+0x4f/0x80
[<c0102f87>] syscall_call+0x7/0xb
Code: 24 04 83 c4 08 c3 8b 1c 24 8b 74 24 04 83 c4 08 e9 59 cb 21 00 89 f6
8d bc 27 00 00 00 00 55 57 56 53 83 ec 08 89 d3 89 44 24 04 <8b> 48 48 8b 50
08 ff 4a 68 0f 88 c9 00 00 00 8b 51 0c 8d 6a fc
the previous module IS unloaded when i run the install program and i am certin the source files are correct.
after this, lsmod shows that a new nvidia.ko is loaded, but x dosent work.
this module cant be unloaded (device or reasource buissey)
and when i try to reboot i get a kernel panic and have to reboot manually
uppon restart the old module loads and i have graphics if not any 3d.
I have tried patching the kernel using a cko patch which makes the old driver compile, i also tried patching the driver files using patches found on the nvidia forums,
boath patchings report that there is a previously installed patch, and then give errors and needles to say, dont work at all.
This problem may occur if you have altered the "/usr/src/<kernel version>/.config" file of the kernel you use. If you have the original configuration file of the installed kernel, do a make xconfig, choose load configuration from a file, load the config file of the installed kernel,then save configuration, and try to reinstall the driver. This is why I always save the configuration file in /boot under the same name with the kernel, as it is done by default In slackware:
What does 'uname -r' say. Does it match,
/usr/src/<kernel-version>
as well as the directory before the build link.
lib/modules/<example 2.6.9>/build
Also, does the build link point to the correct source directory?
The nvidia installer actually uses the uname -r command to determine the directory. /lib/mocules/`uname -r`/build/
Originally posted by jschiwal
What does 'uname -r' say. Does it match,
/usr/src/<kernel-version>
actually no, it dosent :S - fixing that using cp -r linux-2.6.10 ./linux-2.6.10-cko3
....
unfortunitally this kernel has been re-compiled so meny times i have actually forgotton to keep a log of the .config files - espically not from the origional kernal version.
come on, don't loose hope.
What is the kernel name, (uname -r).
Make a /usr/src/linux-'uname -r' directory.
Have you added an extra version field or is it just 2.6.10?
Why don't you recompile the kernel.
Do you have 2 kernels?
this is not what i meant. What is the version of the kernel? is it just 2.6.10? do uname -r
Because if you want to recompile the same kernel and have them both you add something in the extra version field of the /usr/src/linux<version>/Makefile. Mine looks like this:
Is your kernel version 2.6.10-ck03?.
If not and you have just renamed the bzImage to linux-2.6.10-cko3 make sure your kernel source is in /usr/src/linux-2.6.20/. If Not then /usr/src/linux-2.6.20-cho3/.
I don't know for certain what the nvidia installer checks, but make sure that everythink matches. Where are your modules stored?
they should be in /lib/modules/<version>. Do you have more than one of those directories?
/usr/src/linux link points to the right directory,
I don't think the installer checks the /usr/src/linux link.
I think you need to have a /usr/src/linux-2.6.10-cko3/.
Also do a make xconfig, in the 2.6.10-cko3 source, open a config file and then save it again.
I had this kind of problems when i recompiled my default 2.4.26 kernel and named it 2.4.26-1, but it's fixable.
The difference is that i did keep the .config files for every kernel. Is your kernel patched?
yes - the cko3 patch for rieser fs 4 - will that majke a difference?
also: i implemented your load-save config... its quite late and ive been out having fun most of the weekend so ui wil ltry and rebuild the nvidia driver tomorrow and see if it works *fingers crossed in sleep*
ok, that didnt work at all:
here are the logs in full if they help:
Code:
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error:
-> Kernel messages:
[<c012c628>] sys_init_module+0x148/0x1f0
[<c014e62f>] filp_close+0x4f/0x80
[<c0102f87>] syscall_call+0x7/0xb
would a re-install of the kernel, source and patches help?
is anyone else having this problem?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.