LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-29-2004, 09:41 AM   #1
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Rep: Reputation: 30
Kernel 2.6.7 recompiled / Nvidia broken


I am having trouble getting my new 2.6.7 kernel to run X windows properly. It complains that it cannot load the nvidia driver, or there is an improper config. I just upgraded from kernel 2.6.5, and had no problems there so I rebooted into it and everything is still working okay there. After putsing around for a bit, I emerged the latest nvidia kernel drivers, but to no avail. Maybe I am missing something really stupid??!?!? Is it time to move to XOrg or should I wait? Any suggestions would be greatly appreciated :-)

Kristian Hermansen
 
Old 06-29-2004, 10:03 AM   #2
EdwardA
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10 kernel 2.6.7 NVIDIA graphics
Posts: 15

Rep: Reputation: 0
check this

http://www.linuxquestions.org./quest...hreadid=198699
 
Old 06-29-2004, 01:38 PM   #3
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by EdwardA
check this

http://www.linuxquestions.org./quest...hreadid=198699
"Use 4k stack" was already unckecked. What else could be the problem? I get the error "No Screens Found", but this makes no sense as the XF86Config file is the same and works fine with my old 2.6.5 kernel. I don't think that the issue pertains to the 4k stack, but I still may be wrong...

Kristian Hermansen
 
Old 06-29-2004, 03:14 PM   #4
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
After you recompile the kernel with all it takes (don't forget make modules_install like others do (me)), REinstall the NVIDIA kernel module. It should warn U about a recompile. Do it. After it's done, don't restart just yet. If there were no errors, type modprobe nvidia, then attempt to start the X server. Also you should check that Driver="nvidia" is still in the XF86Config-4 file (I had a suprise once ), and you should see the NVIDIA logo. If you did all this, try the next:

Type "modprobe nvidia" in a console, then try restarting the X Server. If modprobe says it can't find the nvidia module, go to /lib/modules/2.6.7-whatever/kernel/drivers/video and you should have an nvidia.ko file there. If it's absent, re-install the NVIDIA module. If it's there, insmod ./nvidia.ko then modprobe nvidia then restart the X. If this works once, and after the restart same thing happens, reinstall NVIDIA. This worked for me .

If the problem persists, post some of the last messages in the /var/log/XFree86.0.log file (the part at the end where the lines start with NVIDIA and complain about the kernel module )
 
Old 06-30-2004, 09:52 AM   #5
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
Here's my /var/log/Xorg.0.log

Using config file /etc/X11/xorg.conf

NV: Could not open control device /dev/nvidiactl (no such file or direct ...)

(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module...aborting

(EE) Screens found, but none have a usable configuration

Fatal Server Error: No Screens Found
 
Old 06-30-2004, 10:27 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Udev deletes the nvidia nodes in /dev and the nvidia module has not been updated to create the entries in the /sys filesystem so that udev becomes aware of it. You need to create the nodes manually with

mknod -m 666 /dev/nvidia0 c 195 0
mknod -m 666 /dev/nvidiactl c 195 255

but udev will delete them again next time you reboot so you have to put those instructions somewhere in a bootscript http://www.reactivated.net/udevrules.php#nvidia http://lists.debian.org/debian-user/.../msg04981.html
 
Old 06-30-2004, 08:44 PM   #7
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
That's seems to have fixed the problem. Now 2.6.7 is working fine with no problems at all and everything is going ok. I just allowed UNMASKED packages to be installed so that could grab the latest NVIDIA driver using "emerge-glx", which also grabs the latest nvidia-kernel and everything is OK! Hope the next guy that reads this thread gets it working too! Thanks for everyone's help :-)

Kristian Hermansen
 
Old 07-01-2004, 06:00 AM   #8
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Good, I'm glad it's fixed. I just thought I'd post back and say that there's a new Nvidia driver NVIDIA-Linux-x86-1.0-6106-pkg1.run which has been fixed to work with udev. I've just downloaded and installed it, I've taken the mknod instructions out of the bootscript and udev is making the nodes automatically.
 
Old 07-01-2004, 09:12 AM   #9
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
I'm using the version 1.0.5336-r4 nvidia-kernel and version 1.0.5336-r2 nvidia-glx, and didn't need to use the boot script. I think the problem has been fixed in thiese versions too. I am running Gentoo and just grabbed them from portage...

Kristian Hermansen
 
Old 07-01-2004, 02:43 PM   #10
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
Kidz, 6106 is out.
 
Old 07-01-2004, 02:53 PM   #11
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
I'll wait until 6106 hits the Gentoo portage as stable and tested :-)

Kristian Hermansen
 
Old 07-22-2004, 02:07 PM   #12
gogiel
LQ Newbie
 
Registered: Apr 2004
Posts: 13

Rep: Reputation: 0
I had 2.6.5, and everything was good (driver 5xxx). Now i recompiled 2.6.7 and uninstalled NVIDIA drivers (i wanted to reinstall them), but i got an error. Well i tried to use 'nv' or 'vesa' driver but i didn't help. Xserver start, but i doesn't start my WM. I switched back on 2.6.5, and vesa works good. But i still cant compile those NVIDIA drivers. I've got error with nvidia.ko. I tried also run it with --kernel-source-path option but it didn't help.
 
Old 07-22-2004, 05:10 PM   #13
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
The new nvidia driver name has changed from "nv" to "nvidia" AFAIK.

About the nividia compilation problems, try unmasking the latest nvidia-glx and nvidia-kernel or just change the line in your /etc/make.conf to allow for the latest packages...

-- /etc/make.conf --
ACCEPT_KEYWORDS="~x86"

Then "emerge nvidia-glx", and that will grab the latest stuff for you including the latest nvidia kernel. Then after that is done, do a "opengl-update nvidia". You should be okay after all that. You might have some more small issues if you are using Xorg, but X11 should be ok. The latest rev for the nvidia drivers is 6106 i believe...

Kristian Hermansen
 
Old 08-08-2004, 07:36 AM   #14
gogiel
LQ Newbie
 
Registered: Apr 2004
Posts: 13

Rep: Reputation: 0
Quote:
The new nvidia driver name has changed from "nv" to "nvidia" AFAIK.
But i've to instal those drivers first

Quote:
Originally posted by khermans


About the nividia compilation problems, try unmasking the latest nvidia-glx and nvidia-kernel or just change the line in your /etc/make.conf to allow for the latest packages...

-- /etc/make.conf --
ACCEPT_KEYWORDS="~x86"

Then "emerge nvidia-glx", and that will grab the latest stuff for you including the latest nvidia kernel. Then after that is done, do a "opengl-update nvidia". You should be okay after all that. You might have some more small issues if you are using Xorg, but X11 should be ok. The latest rev for the nvidia drivers is 6106 i believe...

Kristian Hermansen
I don't have Gentoo.
 
Old 08-10-2004, 11:07 AM   #15
khermans
Member
 
Registered: Sep 2001
Distribution: Ubuntu, Debian, Gentoo
Posts: 162

Original Poster
Rep: Reputation: 30
I think you can get the driver via their website too, so check there. Anyways, you should check out Gentoo as well since it makes application maintainence quite easy...

Kristian Hermansen
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
XFree86 won't with recompiled kernel imwithstupid Mandriva 0 11-01-2004 10:33 AM
recompiled kernel 2.6.3-13 what does this mean? rbonafied Mandriva 8 06-07-2004 12:00 PM
recompiled kernel not in use taoweijia Linux - Newbie 1 01-09-2004 08:33 AM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 01:36 AM
recompiled kernel again get this error when NVIDIA build.. purpleburple Linux - General 4 03-19-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration