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
Bodhisattva
Bodhisattva


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
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
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
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
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
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2283
Location: Adendorf, 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
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

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