LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-03-2010, 02:37 AM   #16
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Rep: Reputation: 15

Quote:
Originally Posted by dolphin77 View Post
rm -rf /lib/modules/2.6.33
upgradepkg --install-new --reinstall /{path to your local slackware mirror}/slackware64/a/kernel-modules-2.6.33*.t?z should do the trick.
Besides that this example is working on slackware64 only, this won't do the trick.
The error resides in the (kernel-modules or kernel-image) packages itself.

Last edited by danielldaniell; 03-03-2010 at 02:45 AM.
 
Old 03-03-2010, 03:34 AM   #17
stonefly
LQ Newbie
 
Registered: Jul 2009
Location: Oulu, Finland
Distribution: Slackware64-current
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by stormtracknole View Post
I was having similar issues with the nvidia driver. Take a look at your kernel .config file and see if you have this:
Code:
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
If not, then go ahead and make those changes and rebuild your kernel. That's what I had to do in order for the NVIDIA drivers to work.
Seems to work also with the radeon driver.
 
Old 03-03-2010, 04:09 AM   #18
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
@BrZ: what about lilo?

@stormtracknole: did you recompile the kernel from the update or did you download a tarball from kernel.org?

Last edited by LordAnta; 03-03-2010 at 04:43 AM. Reason: forgot
 
Old 03-03-2010, 04:10 AM   #19
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Rep: Reputation: 15
Quote:
Originally Posted by LordAnta View Post
what about lilo?
What about it? Nonsense question...
 
Old 03-03-2010, 05:01 AM   #20
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 500

Rep: Reputation: 83
Check if your lilo is 'pointing' to the new kernel. Sometimes you'll need to rerun it to 'load' the new kernel... pardon my ignorance.
 
Old 03-03-2010, 07:51 AM   #21
lightx
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
I have the same problem. The weird thing is that I can load the drivers with insmod. I load drm.ko and drm_something_else.ko and then I can load i915.ko. I double checked to see if /etc/rc.d/rc.modules was pointing at the right one and it now does. I've rebooted since then but it still did a little booboo. Not sure how or what is broken.. ?
 
Old 03-03-2010, 09:14 AM   #22
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by LordAnta View Post
@BrZ: what about lilo?

@stormtracknole: did you recompile the kernel from the update or did you download a tarball from kernel.org?
I re-compiled the Slackware provided kernel. Follow Alien-Bob's how-to on this link.
 
Old 03-03-2010, 09:18 AM   #23
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Rep: Reputation: 15
Quote:
Originally Posted by stonefly View Post
Seems to work also with the radeon driver.
Apparently this solution is working for me too. Previous kernel configs had that option... weird.
 
Old 03-03-2010, 10:13 AM   #24
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
recompiling the kernel CONFIG_PREEMPT_NONE=y did the trick. Thanks guys!
 
Old 03-03-2010, 10:17 AM   #25
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by LordAnta View Post
recompiling the kernel CONFIG_PREEMPT_NONE=y did the trick. Thanks guys!
Excellent!
 
Old 03-03-2010, 10:48 AM   #26
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 50

Rep: Reputation: 15
I'm recompiling my kernel with CONFIG_PREEMPT_NONE=y and I'll give you feedback, but I think my problem is elsewhere:

I'trying to install fglrx 10-2 and it gives back error:

Unloading radeon module...
Unloading drm module...
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
Error:
kernel includes at /lib/modules/2.6.33-smp/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.33-smp".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
[Error] Kernel Module : Failed to compile kernel module - please consult readme.

Do someone have the same problem?
 
Old 03-03-2010, 11:36 AM   #27
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Rep: Reputation: 16
err, is this right?

I upgraded to the latest -current (kernel 2.6.33) and, after rebooting, I tried to install ATi's latest drivers, 10.2. On CLI, it failed to install. On X, it (at least apparently!) did finished installation and reported no errors.

Should this happen?
 
Old 03-03-2010, 11:40 AM   #28
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
fglrx does not work with 2.6.33. Even if the driver installed, I'm quite certain you will not have 3D acceleration.

Adam
 
Old 03-03-2010, 11:45 AM   #29
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 50

Rep: Reputation: 15
DEAMN! Then where can I download the old 2.6.32 package ... it worked ok ...
 
Old 03-03-2010, 12:16 PM   #30
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Rep: Reputation: 16
Yeah, it did indeed!

Anyway, googleing a bit further, I found these threads on Phoronix Forums (ATi's official forums, I reckon):

1) Fglrx 10.2 fails to install on 2.6.33

2) AMD Catalyst 10.2 for Linux Gets Direct2D

In thread 1, they say that a patch supposedly may be applied to fglrx driver installation and will solve the problem. I took the liberty to attach it here (just rename it from .patch.txt to .patch).

Thread 2 has a link to Gentoo's bugzilla for this very patch.

I tried to apply this patch, but it didn't seem to work. I don't know whether it failed due to the patch been made for 10.1 or whatever. I tried replacing all references from 10.1 to 10.2 on it to run it again, but got no luck at all, as I described here.

Guess I'll have to revert to 2.6.32 as well...
Attached Files
File Type: txt fglrx-2.6.33.patch.txt (8.0 KB, 16 views)
 
  


Reply

Tags
drm, kernel, radeon, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware current 32 bits + ATI LordAnta Slackware 11 08-19-2009 08:47 AM
Upgrade from 12.0 to -current Yalla-One Slackware 2 06-13-2009 07:30 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 02:42 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM
Is there a way to upgrade to current? trey85stang Debian 9 04-10-2004 11:43 PM


All times are GMT -5. The time now is 06:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration