nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Nvidia 5336 driver with Fedora Core 2 (http://www.nvnews.net/vbulletin/showthread.php?t=26745)

RLNave 03-31-04 03:43 PM

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

LordMorgul 04-01-04 04:49 PM

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.

del 04-03-04 01:10 PM

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.

LordMorgul 04-03-04 03:58 PM

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)

jhawk 04-03-04 10:20 PM

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"

LordMorgul 04-03-04 10:49 PM

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

jhawk 04-03-04 10:53 PM

Re: Nvidia 5336 driver with Fedora Core 2
 
Thanks I'm off to build!

jhawk 04-04-04 12:27 AM

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

frli8848 04-04-04 10:40 AM

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.

del 04-04-04 02:39 PM

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 :)

Eddy 04-05-04 08:42 AM

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

carwyn 04-05-04 07:29 PM

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 :-)


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

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