LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-02-2010, 06:09 AM   #1
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Unhappy ati in -current upgrade


First, thanks to Pat and his team for their hard work.
Next, I have an Ati Radeon Xpress 200M on my laptop, and since Ati droped support for it, I depend on the radeon module from the kernel. Since todays upgrade, I am unable to start X (there are errors with "modprobe radeon"). Has anyone else experienced this problems?

This is the error I get:

Code:
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33-smp/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
WARNING: Error inserting ttm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/ttm/ttm.ko): Invalid module format
FATAL: Error inserting radeon (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/radeon/radeon.ko): Invalid module format

Last edited by LordAnta; 03-02-2010 at 06:15 AM.
 
Old 03-02-2010, 08:19 AM   #2
iharob
LQ Newbie
 
Registered: Nov 2009
Posts: 14

Rep: Reputation: 0
Need more information!

It would be useful to know which distro you are using, or if it is a custom distro like (LFS), and did you compile the kernel or just download it from your distro repos?
 
Old 03-02-2010, 08:25 AM   #3
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
I said -current, so it is Slackware 13 Current, since we are in the Slackware forums. Plus in my signature, is posted the distribution I use.
 
Old 03-02-2010, 09:40 AM   #4
razb
LQ Newbie
 
Registered: Oct 2009
Location: Ukraine
Distribution: Slackware
Posts: 9

Rep: Reputation: 1
I have the same issue with intel driver. Perhaps someone knows the solution?
 
Old 03-02-2010, 10:20 AM   #5
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 495

Rep: Reputation: 81
When you upgraded the modules, you also upgraded the kernel, right?

Last edited by BrZ; 03-02-2010 at 10:21 AM.
 
Old 03-02-2010, 10:29 AM   #6
razb
LQ Newbie
 
Registered: Oct 2009
Location: Ukraine
Distribution: Slackware
Posts: 9

Rep: Reputation: 1
yes.
 
Old 03-02-2010, 10:37 AM   #7
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 495

Rep: Reputation: 81
Strange... I only saw this happens when loading a module compiled against another kernel version. Look if you are booting from 2.6.33 (uname -r). Check if, for some distraction, you installed the modules for the right architecture (32 or 64bit).
 
Old 03-02-2010, 10:41 AM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Well I can assure you that the radeon driver loads and works fine in 2.6.33 as I'm using that currently on two workstations. Are you using a kernel you built yourself or a packaged one (I'm not sure what -current currently uses as I'm still on 13.0)? Does anything else show up in 'dmesg'?

Adam
 
Old 03-02-2010, 10:48 AM   #9
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Check that you have the same version kernel and modules packages. It can happen sometimes.
 
Old 03-02-2010, 01:29 PM   #10
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Original Poster
Rep: Reputation: 17
I upgraded full, even reinstalled all the kernel packages.
 
Old 03-02-2010, 02:32 PM   #11
danielldaniell
Member
 
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 42

Rep: Reputation: 15
Exact same problem

Today's upgrade totally trashed the radeon/drm/ttm etc... kernel modules.
Using the -smp kernel image + modules from -current gives the following errors (other modules loads fine, except radeon and its dependencies)

# modprobe drm
FATAL: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
# modprobe radeon
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33-smp/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
WARNING: Error inserting ttm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/ttm/ttm.ko): Invalid module format
FATAL: Error inserting radeon (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/radeon/radeon.ko): Invalid module format

The installed and relevant packages versions are:
kernel-firmware-2.6.33-noarch-1
kernel-headers-2.6.33_smp-x86-1
kernel-huge-smp-2.6.33_smp-i686-1
kernel-modules-smp-2.6.33_smp-i686-1
kernel-source-2.6.33_smp-noarch-1
module-init-tools-3.11.1-i486-1
 
Old 03-02-2010, 02:38 PM   #12
stormtracknole
Member
 
Registered: Aug 2005
Location: The Big Easy
Distribution: Slackware, RHEL
Posts: 817

Rep: Reputation: 104Reputation: 104
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.

Hope this helps!
 
Old 03-02-2010, 03:16 PM   #13
dolphin77
Member
 
Registered: May 2009
Posts: 200

Rep: Reputation: 54
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.
 
Old 03-02-2010, 03:43 PM   #14
jovanoti
LQ Newbie
 
Registered: Mar 2010
Distribution: Slackware
Posts: 25

Rep: Reputation: 2
Quote:
Originally Posted by razb View Post
I have the same issue with intel driver. Perhaps someone knows the solution?
Well, I can say just +1. My workstation (dell optiplex 760) has intel video using intel 915 video module and it fails with the same "Invalid module format" warnings. There are warnings about failures for other modules, but I'm not sure about them - one was for button.ko. Later I can provide more information.
 
Old 03-02-2010, 04:52 PM   #15
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 495

Rep: Reputation: 81
how about lilo?

Last edited by BrZ; 03-02-2010 at 05:01 PM.
 
  


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


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