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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-31-04, 03:43 PM   #1
RLNave
Registered User
 
Join Date: Mar 2004
Posts: 22
Default Nvidia 5336 driver with Fedora Core 2

I have installed the latest Fedora Core 2 Beta test 2 ISO disks and
encountered problems running the NVIDIA 5336 driver.

Based on comments from this forum I have made the following changes

I downloaded the latest 2.6.5-rc3-bk1 kernel sources from kernel.org.
( 2.6.4 + patch-2.6.5-rc3 + patch-2.6.5-rc3-bk1 )

I configured the kernel such that the parameters
CONFIG_4STACKS = n ( no )
and
CONFIG_REGPARMS = n ( no )

I then built and installed the 2.6.5-rc3-bk1 kernel.

The system came up with the 2.6.5-rc3-bk1 kernel

I next edited /boot/grub/grub.conf and set default=0
so that the 2.6.5-rc3-bk1 kernel is selected as the default.

Next I ran the NVIDIA build script

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

After the script completed , I edited XF86Config and changed the
video driver from nv to nvidia.

I also edited /etc/inittab and set the start up option from
3 ( command line )
to 5 ( Xwindows )

Finally I rebooted the system , and Fedora Core 2 Test 2 came up
running the 2.6.5-rc3-bk1 kernel , with the NVIDIA driver and Xwindows/
GNOME desktop.

In short the 2.6.3 kernel shipped with the latest Fedora Core 2 Test 2
beta ISO install disk set is not compatible with the NVIDIA 5336 driver.

The problem can be solved , by building a NON red hat 2.6.x kernel from
source and setting
CONFIG-4STACKS=n
and
CONFIG_REGPARM=n
RLNave is offline   Reply With Quote
Old 04-01-04, 04:49 PM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Nvidia 5336 driver with Fedora Core 2

This is correct, all test (rawhide) kernels from around 2.6.4-1.253.2 have 4K stacks enabled and will not work with the driver. You can install the matching kernel-source package and rebuild it (after copying the correct config from the 'configs' directory and making the 4K stack change) with the 'make rpm' target.. creating a usable kernel rpm. The version will be appended with 'custom'.

This allows you to test / use the latest Rawhide kernels for Fedora testing, with this one exception to the configuration.
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-03-04, 01:10 PM   #3
del
Registered User
 
Join Date: Apr 2004
Posts: 2
Unhappy Re: Nvidia 5336 driver with Fedora Core 2

I built 2.6.5-rc3-bk1 ( 2.6.4 + patch-2.6.5-rc3 + patch-2.6.5-rc3-bk1 ), and in my .config file I got
Code:
# CONFIG_REGPARM is not set
and nothing about 4STACKS or 4KSTACKS. I rebooted with it, built nvidia driver 5336, running sh NVIDIA-Linux-x86-1.0-5336-pkg1.run, it went fine; I changed XF86Config nv to nvidia, commented out DRI and X still crashes.
del is offline   Reply With Quote
Old 04-03-04, 03:58 PM   #4
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Nvidia 5336 driver with Fedora Core 2

Best suggestion I can give is to slowly back down on kernel version until you see it working again.. this is (as I'm sure you know) a volatile development process in Fedora testing. Was the driver used previously in a 'stable' state for that machine? Do you have SELinux enabled? (if so have you tried disabling it and / or using permissive mode?)
kernel boot options: selinux=0 enforcing=0 (boolean values, 0/1)
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-03-04, 10:20 PM   #5
jhawk
Registered User
 
Join Date: Apr 2004
Posts: 6
Default Re: Nvidia 5336 driver with Fedora Core 2

The above post tells us the kernel version and patches but leaves out some info.
Is it working in the new xorg ? SELINUX enforce? permissive?
All my attempts lead to a non "elf" header error post what looks to be a good build.

Any additional information would be appreciated. "SELINUX=1 selinux=passive"
jhawk is offline   Reply With Quote
Old 04-03-04, 10:49 PM   #6
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Nvidia 5336 driver with Fedora Core 2

With the default policy enforcing mode still has issues for me, but running in SELinux permissive mode works. The audits created when you try running in enforcing mode (if it does not work for you) could be useful in fixing this, so try it and send the selinux audits to the fedora-selinux mailing list or post them on fedora forum.

kernel parameters: selinux=1 enforce=0
or set these settings in /etc/sysconfig/selinux
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 04-03-04, 10:53 PM   #7
jhawk
Registered User
 
Join Date: Apr 2004
Posts: 6
Default Re: Nvidia 5336 driver with Fedora Core 2

Thanks I'm off to build!
jhawk is offline   Reply With Quote
Old 04-04-04, 12:27 AM   #8
jhawk
Registered User
 
Join Date: Apr 2004
Posts: 6
Default Re: Nvidia 5336 driver with Fedora Core 2

Update built with stock kernel 2.6.4-1.305 and kernel changes CONFIG-4STACKS=n + CONFIG_REGPARM=n That's all folks! Time to go play UT2004
jhawk is offline   Reply With Quote

Old 04-04-04, 10:40 AM   #9
frli8848
Registered User
 
Join Date: Nov 2003
Posts: 4
Default Re: Nvidia 5336 driver with Fedora Core 2

As del above I can't find the CONFIG-4STACKS option in the stock kernels (2.6.4 and 2.6.5). I use RH9 and the 5336 driver hungs at the nvidia splash screen.
frli8848 is offline   Reply With Quote
Old 04-04-04, 02:39 PM   #10
del
Registered User
 
Join Date: Apr 2004
Posts: 2
Default Re: Nvidia 5336 driver with Fedora Core 2

It works fine with 2.6.4 from kernel.org and disabled SELinux. Today 2.6.5 is out, will try with it
del is offline   Reply With Quote
Old 04-05-04, 08:42 AM   #11
Eddy
Registered User
 
Join Date: Apr 2004
Posts: 1
Default Re: Nvidia 5336 driver with Fedora Core 2

Hi,

Sorry if this is a daft question.., but how do I
configure the following having rebuilt the latest Kernel..

CONFIG_4STACKS = n ( no )
and
CONFIG_REGPARMS = n ( no )

Thanks
Eddy
Eddy is offline   Reply With Quote
Old 04-05-04, 07:29 PM   #12
carwyn
Registered User
 
Join Date: Apr 2004
Posts: 1
Default Re: Nvidia 5336 driver with Fedora Core 2

Does anyone know if the 4K stack issues in the Nvidia driver will be resolved soon? I'm sure there are pleanty here that would be willing to Beta test :-)
carwyn 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
nvidia driver quality decrease? legluondunet NVIDIA Linux 17 06-26-12 10:03 AM
NVIDIA Driver Installation flores.facundo NVIDIA Linux 2 06-24-12 08:37 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

All times are GMT -5. The time now is 11:17 PM.


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