LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2004, 07:01 PM   #1
SpItoS
Member
 
Registered: May 2004
Posts: 47

Rep: Reputation: 15
Disabling 4STACKS in Fedora Core2 test3


Hi, I need to disable 4STACKS in FC2 in order for nvidia drivers to work. I found a website which was hosting patched drivers for use with FC2 test3 and 2.6 kernel because right now the nvidia drivers don't work and they need 4STACKS to be disabled. Anybody knows how?
 
Old 05-16-2004, 07:54 PM   #2
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Well... I had the same problem with my Wireless Card Drivers. I could not find a solution with my existing 2.6.5 kernel provided by Fedora, because (I read somewhere) they have disabled the ability to choose between 4 and 8 k stacks.

What I did was download a fresh 2.6.6 from kernel.org, compiled it with the 4 k stack option disabled... and now i'm happily surfing the net using my wireless card I hope I helped you somehow.
 
Old 05-16-2004, 08:02 PM   #3
SpItoS
Member
 
Registered: May 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Oh you sure did start ! Can you just tell me how I coulld recompile a 2.6.6 kernel with 4STACK disabled? Thanks and sorry for this question I'm quile learning linux

I saw some 2.6.6 kernel patch, is that it? If it is how am I supposed to recompiile it?

Last edited by SpItoS; 05-16-2004 at 08:18 PM.
 
Old 05-16-2004, 08:38 PM   #4
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
For building the 2.6 kernel

Take and read the following:

http://www.linux.org.uk/~davej/docs/...loween-2.6.txt
http://kerneltrap.org/node/view/799

You need to get the module-init-tools.

cp linux-2.6.2.tar.gz /usr/src
tar jfx linux-2.6.2.tar.gz
ln -sf linux-2.6.2 linux
cd linux

Use lspci -v to help select your hardware. This will be helpful for configuring the 2.6 kernel.

make mrproper
make oldconfig
make menuconfig

--- To disable 4K stacks
Select Kernel hacking, you will see a selection for 4K stacks


make
make modules_install
make install

Then modify you lilo.conf or grub.txt

make install installs vmlinuz into the boot directory along with System.map
It creates a symbolic link to you old vmlinuz -> vmlinuz.old and System.old
or
cp System.map /boot/System.map-2.6.5-new
cp arch/i386/boot/bzimage /boot/vmlinuz-2.6.5-new


All you need to do is add entry for the old vmlinuz. I use lilo.conf

This is mine....

image=/boot/vmlinuz
label=Linux2.6
read-only

** This would be you redhat config. **
image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
read-only

If you are using lilo, issue lilo -v or modify you menu.lst for grub.

Hope this helps. The more people use 2.6 the better.

Last edited by ghostwalker; 05-16-2004 at 08:40 PM.
 
Old 05-16-2004, 08:53 PM   #5
SpItoS
Member
 
Registered: May 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Yes thanks you sure did help but I think I'm gonna wait... I thought it would be easier to recompile a kernel I will wait either to be better with linux or for a fix to the nvidia drivers problems in FC2 test3. There's really no other way of disabling 4STACKS without recompiling the kernel? I already have 2.6.5-1.358 kernel.
 
Old 05-17-2004, 06:51 AM   #6
SpItoS
Member
 
Registered: May 2004
Posts: 47

Original Poster
Rep: Reputation: 15
Hmm I guess this is too hard for me... I hope some new drivers will get released soon...
 
Old 05-17-2004, 03:23 PM   #7
SpItoS
Member
 
Registered: May 2004
Posts: 47

Original Poster
Rep: Reputation: 15
bump.. no ideas to disable it without recompiling?
 
Old 05-19-2004, 10:25 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
2.6.5-1.358 kernel
if you have that kernel, then you MUST be suing fedora core 2 final (not a testing release)

the final version apears to be compiled without 4KSTACK.

my nvidia driver didnt work... it just crashes my system.
and i found the same info as you. about the reason it doesnt work, and how to recompile without the offending kernel option.

HOWEVER... from examining my kernel config file (/boot/config-2.6.xxxxxxxx) it looks like the final stable version is NOT compiled with the offending option.

maybe the offending 4KSTACK was removed for the final version after all the hastle it cause the nvidia users in the fedora core 2 TEST 2 version ?
 
Old 05-19-2004, 03:52 PM   #9
SpItoS
Member
 
Registered: May 2004
Posts: 47

Original Poster
Rep: Reputation: 15
I'm using test 3 with updates but I did not make final updates yet anyway final and test 3 seems pretty close and I don't think theres a lot of changes in the final cause some friend of mine has it and can't install drivers neither... He managed to do it using some XF86 option but it didnt work for me...
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
touchpad on fedora core 2(test3) anandj Fedora 11 06-22-2004 09:57 AM
touchpad on fedora core 2(test3) anandj Linux - Laptop and Netbook 20 06-11-2004 12:48 AM
Can't use "ctrl" key in games using Fedora Core2 test3 and nvidia drivers. SpItoS Linux - Games 1 05-17-2004 07:42 PM
Fedora Core2 test3 evensen Linux - Software 1 05-15-2004 11:45 AM
Core2 Test3 strange networking, no internet Espique Fedora 2 05-11-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:10 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