LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ati in -current upgrade (https://www.linuxquestions.org/questions/slackware-14/ati-in-current-upgrade-792578/)

LordAnta 03-02-2010 06:09 AM

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


iharob 03-02-2010 08:19 AM

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?

LordAnta 03-02-2010 08:25 AM

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.

razb 03-02-2010 09:40 AM

I have the same issue with intel driver. Perhaps someone knows the solution?

BrZ 03-02-2010 10:20 AM

When you upgraded the modules, you also upgraded the kernel, right?

razb 03-02-2010 10:29 AM

yes.

BrZ 03-02-2010 10:37 AM

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

adamk75 03-02-2010 10:41 AM

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

dive 03-02-2010 10:48 AM

Check that you have the same version kernel and modules packages. It can happen sometimes.

LordAnta 03-02-2010 01:29 PM

I upgraded full, even reinstalled all the kernel packages.

danielldaniell 03-02-2010 02:32 PM

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

stormtracknole 03-02-2010 02:38 PM

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!

dolphin77 03-02-2010 03:16 PM

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.

jovanoti 03-02-2010 03:43 PM

Quote:

Originally Posted by razb (Post 3882682)
I have the same issue with intel driver. Perhaps someone knows the solution?

Well, I can say just +1. :D 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.

BrZ 03-02-2010 04:52 PM

how about lilo?


All times are GMT -5. The time now is 01:43 AM.