Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need non-existent Big Kernel Lock (BKL) for fglrx driver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
noisymouse
n00b
n00b


Joined: 28 Sep 2010
Posts: 6

PostPosted: Thu May 05, 2011 12:45 pm    Post subject: Need non-existent Big Kernel Lock (BKL) for fglrx driver? Reply with quote

Hi, I've been having an issue for a few months now that has made it impossible for me to have 3d graphics along with a proper portage setup. Basically the problem is that the ati-drivers package checks if the kernel source config has the big kernel lock (CONFIG_BKL) enabled. Unfortunately this is not a config option with newer kernels and as far as I can tell has not been for quite some time now. I personally use git-sources, but even the stable version of gentoo-sources does not have CONFIG_BKL. And what's odd is that older versions of fglrx did support kernels without the BKL. (I think this have changed from the 10.x to 11.x transition.) Anyway, I'm wondering what solutions there might be for this problem. I realize it's more complicated because fglrx is proprietary. For now I'm going to see if I can get an older version working

8)

UPDATE: I've been unable to use any older versions of ati-drivers. (I get a different error with the older versions.)
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu May 05, 2011 1:11 pm    Post subject: Re: Need non-existent Big Kernel Lock (BKL) for fglrx driver Reply with quote

noisymouse wrote:
I personally use git-sources, but even the stable version of gentoo-sources does not have CONFIG_BKL.
8O
This is what I get under my gentoo-sources 2.6.37-r4 :
Code:
Symbol: BKL [=y]
Type  : boolean
Prompt: Big Kernel Lock
Defined at lib/Kconfig.debug:472
Depends on: SMP [=y] || PREEMPT [=y]   
Location:
 -> Kernel hacking   
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2240
Location: Dallas area

PostPosted: Thu May 05, 2011 1:25 pm    Post subject: Reply with quote

It's there under the 2.6.38 series
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
noisymouse
n00b
n00b


Joined: 28 Sep 2010
Posts: 6

PostPosted: Thu May 05, 2011 1:37 pm    Post subject: Reply with quote

Hmm so it is. Git's at 2.6.39 at this point and doesn't have the option. I could have sworn I hadn't seen it a while ago when I configured a gentoo-sources kernel. Anyway, I'll probably compile a new kernel based on gentoo-sources until AMD releases a driver that will work with the latest kernel.
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1338
Location: Bardowick, Germany

PostPosted: Thu May 05, 2011 2:12 pm    Post subject: Reply with quote

Yes, 2.6.39 is the version that is scheduled to remove BKL completely.

But *maybe* you find this interesting: http://thread.gmane.org/gmane.comp.freedesktop.xorg.drivers.ati/18650
_________________
I *do* know that I easily aggravate people due to my condensed writing. Rule of thumb: If I wrote anything that can be understood in two different ways, and one way offends you, then I meant the other! ;)
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8824

PostPosted: Fri May 06, 2011 3:09 am    Post subject: Re: Need non-existent Big Kernel Lock (BKL) for fglrx driver Reply with quote

noisymouse wrote:
And what's odd is that older versions of fglrx did support kernels without the BKL.
The Big Kernel Lock has been with us since Linux gained SMP support. I suspect that the older versions did not check it, because for a long time, it could be assumed that any SMP kernel would have the BKL. With recent kernels, it became optional, because most of the code using it was changed to use more granular locking.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum