LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 01:37 AM   #16
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 55

Rep: Reputation: 16

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 01:45 AM.
 
Old 03-03-2010, 02: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, 03:09 AM   #18
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Original Poster
Rep: Reputation: 18
@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 03:43 AM. Reason: forgot
 
Old 03-03-2010, 03:10 AM   #19
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 55

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

Rep: Reputation: 121Reputation: 121
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, 06:51 AM   #21
lightx
LQ Newbie
 
Registered: Jan 2008
Posts: 2

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, 08:14 AM   #22
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
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, 08:18 AM   #23
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 55

Rep: Reputation: 16
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, 09:13 AM   #24
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Original Poster
Rep: Reputation: 18
recompiling the kernel CONFIG_PREEMPT_NONE=y did the trick. Thanks guys!
 
Old 03-03-2010, 09:17 AM   #25
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

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

Rep: Reputation: 17
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, 10:36 AM   #27
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Rep: Reputation: 18
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, 10:40 AM   #28
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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, 10:45 AM   #29
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Rep: Reputation: 17
DEAMN! Then where can I download the old 2.6.32 package ... it worked ok ...
 
Old 03-03-2010, 11:16 AM   #30
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Rep: Reputation: 18
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, 29 views)
 
  


Reply

Tags
drm, kernel, radeon, slackware



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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