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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-25-04, 12:51 AM   #13
rda
Registered User
 
Join Date: Aug 2003
Location: Tucson, AZ
Posts: 4
Default Re: Black screen with kernel-2.6.4

I can confirm that 4KSTACKS is the problem. I used the kernel source
for Fedora development kernel-smp-2.6.3-2.1.253.2.1, and rebuilt it without
CONFIG_4KSTACKS, and now I'm up and running again. The Option "NvAgp" "1"
didn't help (say it take effect in XFree86.0.log, but still a lock-up and black screen).

Here's how I rebuilt; I copied the source, then started with a config file
from the configs directory that matched my machine (i686 SMP). Turned off
the problem flag. Then edited the Makefile to make a more reasonable
version (bump the number, maintian "smp"). Also uncomment /boot
line so the kernel install puts it in /boot - where redhat likes it.
Reboot, try new kernel, build nvidia driver, and I'm back to UT2004!
The old kernel (and modules) are still there.

Details:

Installed kernel-source-2.6.3-2.1.253.2.1.i386.rpm

cd /usr/src
cp -a linux-2.6.3-2.1.253.2.1 linux-2.6.3-2.1.253.2.2
cd linux-2.6.3-2.1.253.2.2
make mrproper
edit "Makefile"
change
EXTRAVERSION = -2.1.253.2.1custom
to EXTRAVERSION = -2.1.253.2.2.smp
Uncomment the line:
export INSTALL_PATH=/boot

cp configs/kernel-2.6.3-i686-smp.config .config
make xconfig
click "Kernel Hacking"
uncheck "Use 4Kb for kernel stacks instead of 8Kb"
save

(the following takes a while ...)
make modules
make modules_install
make install

examine /etc/grub.conf. The new kernel should be at the top, but
it won't be the default. If you're bold, change default=0. Otherwise reboot.

On reboot, select the new kernel, hit "e" (or "p" if password protected).
Edit the kernel line, adding a 3 at the end (don't want to start the Xserver
yet). Then escape, and hit "b" to boot. At runlevel 3, log in, and rebuild
and install the NVidia driver as normal. Test it with XFree86. It should
give a blank XServer with a mouse that works (after flashing nvidia logo).
Success! Use ctrl-alt-backspace to kill the xserver, and then "init 5" to
continue the boot into runlevel 5.

Hope this helps someone else. Happy gaming.
rda is offline   Reply With Quote
Old 03-25-04, 06:37 AM   #14
andefeldt
Linuxoholic
 
Join Date: Mar 2004
Posts: 74
Default Re: Black screen with kernel-2.6.4

Very good, that you just need to turn of 4K stacks. That's all very good and usefull if you're running kernel < 2.6.4. In the 2.6.4 version of the kernel (which I'm running), you cannot disable 4K stacks. It's not an option anymore, it's simply build into the kernel and will problably stay there until someone makes an even better stack.

When does NVidia come with a new Beta version that works with 4K stacks?

Anders
andefeldt is offline   Reply With Quote
Old 03-25-04, 08:18 AM   #15
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Black screen with kernel-2.6.4

Which 2.6.4 kernel are you referring to, specifically? The CONFIG_4KSTACKS option is enforced in current -mm* kernels, but can still be disabled with little effort (i.e. revert the patch that forcibly enables the option). The vanilla 2.6.4 and 2.6.5-rc* x86 kernels use 8K kernel stacks.
zander is offline   Reply With Quote
Old 03-25-04, 08:31 AM   #16
andefeldt
Linuxoholic
 
Join Date: Mar 2004
Posts: 74
Default Re: Black screen with kernel-2.6.4

I downloaded the 2.6.3 kernel (latest stable at that time) from kernel.org. Then later downloaded the patch for the 2.6.4 stable kernel and installed that. So it's the "pure" 2.6.4 kernel I'm running. Maybe I'd better get my self the -mm patch then

Anders
andefeldt is offline   Reply With Quote
Old 03-25-04, 08:48 AM   #17
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Black screen with kernel-2.6.4

Please note that whatever problem you're experiencing may not necessarily be the result of a CONFIG_4KSTACKS kernel; to the best of my knowledge, no vanilla kernel to date offers or even hard-codes CONFIG_4KSTACKS/CONFIG_4K_STACK.
zander is offline   Reply With Quote
Old 03-25-04, 10:39 AM   #18
andefeldt
Linuxoholic
 
Join Date: Mar 2004
Posts: 74
Default Re: Black screen with kernel-2.6.4

I just tried patching to 2.6.4-mm2. Still the same result! I just get the f**king black screen and a computer that's freezed.

I've tried all the options for the NVagp in XF86Config, no luck. When manually loading the nvidia module I get:

nvidia: modules taints kernel (or something like that)

When looking in the XF86 log I can see that it loaded the glx module and then stops. No errors or anything. The last lines written in the log is:

(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/libglx.so

The file (libglx.so) exists. I really don't get this.

When I tried loading the nvidia module manually it didn't even reach the glx section. Then it only came to:

(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a

and then it stopped.

Anyone?

Anders
andefeldt is offline   Reply With Quote
Old 03-25-04, 11:18 AM   #19
tokn
Registered User
 
Join Date: Mar 2004
Posts: 3
Default Re: Black screen with kernel-2.6.4

Hi I had the same problem for Mandrake 10 community release. Here is what I did to resolve it. I added the option listed below.

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 3 (generic)"
Option "IgnoreDisplayDevices" "DFP, TV"
EndSection

this is only if you aren't using an LCD or tv. Look in the readme located at "/usr/share/doc/NVIDIA_GLX-1.0/README" for more info on this option.


hope this helps and good luck!!
tokn is offline   Reply With Quote
Old 03-26-04, 05:41 AM   #20
andefeldt
Linuxoholic
 
Join Date: Mar 2004
Posts: 74
Default Re: Black screen with kernel-2.6.4

That did the trick! Amazing!

Thanks!
andefeldt is offline   Reply With Quote

Old 03-26-04, 06:03 AM   #21
andefeldt
Linuxoholic
 
Join Date: Mar 2004
Posts: 74
Default Re: Black screen with kernel-2.6.4

Hm. I just can't use my TV-card anymore! I get seg. fault. I tried disabling just DFP and removing the TV part from the option line, but then I get back to my old problem.

Ok, I have to live without TV for a while on my computer then :-(

Anders
andefeldt 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
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM
kernel 2.4.19 and 2960 -> black screen osterhase NVIDIA Linux 7 08-22-02 06:24 PM

All times are GMT -5. The time now is 07:23 AM.


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