You are not logged in.

#1 2007-02-22 16:43:21

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[solved] kernel-2.6.20.1-1 and ati-fglrx

Hi,
I updated to kernel26-2.6.20.1-1 and reinstalled the ati-fglrx package.
If I try to modprobe the fglrx module I get this error

FATAL: Error inserting fglrx (/lib/modules/2.6.20-ARCH/video/fglrx.ko): Invalid module format

Seems that the current ati-fglrx package was compiled against kernel-2.6.20 and not against the latest kernel (2.6.20.1) cause with the 2.6.20 kernel package it worked...

Last edited by SiD (2007-03-02 10:19:12)

Offline

#2 2007-02-22 16:53:05

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

Do you have abs installed? If you don't have it yet:

pacman -S cvsup
abs

Search for ati-fglrx inside /var/abs and copy its folder to /var/abs/local.
Change the PKGBUILD to match your kernel version and run

makepkg
pacman -U ati-fglrx-*-1.pkg.tar.gz

Cheers Sigi


Haven't been here in a while. Still rocking Arch. smile

Offline

#3 2007-02-22 17:10:44

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

yes I just compiled it and it works.
But changing the PKGBUILD is not neccessary wink

P.S.
I looked at www.archlinux.org/packages and the ati-fglrx package is already flaged out-of-date....

Offline

#4 2007-03-01 13:13:12

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

the ati-fglrx package is updated now, but it seems that it is still compiled against kernel-2.6.20 and not the current 2.6.20.1
should I file a bug-report?

Offline

#5 2007-03-01 21:05:01

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

Yes, in these situations it's best to file a report - it gets to us devs faster that way.  However, since I happened to be perusing the forum, I'll fix that up for you now.

Offline

#6 2007-03-02 07:45:45

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

hmm, I just updated ati-fglrx from 8.34.8-2 to 8.34.8-3 but still get the error...

Offline

#7 2007-03-02 08:36:16

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

can you please post what "modinfo fglrx" shows?

Offline

#8 2007-03-02 09:58:53

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

filename:       /lib/modules/2.6.20-ARCH/video/fglrx.ko
license:        Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
description:    ATI Fire GL
author:         Fire GL - ATI Research GmbH, Germany
depends:        agpgart
vermagic:       2.6.20-ARCH SMP preempt mod_unload 686 
parm:           firegl:charp

and this with the selfcompiled fglrx modul

filename:       /lib/modules/2.6.20-ARCH/video/fglrx.ko
license:        Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
description:    ATI Fire GL
author:         Fire GL - ATI Research GmbH, Germany
depends:        agpgart
vermagic:       2.6.20-ARCH SMP preempt mod_unload PENTIUMM 
parm:           firegl:charp

hmm, I compiled the kernel with abs and changed the config (speedstepping does not work correctly with the stock config).
I changed also the CPU-type to PentiumM. I think that's the problem, isn't it?


p.s.
I have another problem with my printer.
http://bbs.archlinux.org/viewtopic.php?id=30452
Is it possible that the self compiled kernel is the reason for that problem?

Offline

#9 2007-03-02 10:08:54

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

Our provided kernel modules will only work with the coresponding kernel pkg from the repos. Don't file a bugreport if you cannot get them work with a custom kernel.

For custom kernels you will have to recompile the modules.

Offline

#10 2007-03-02 10:16:55

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] kernel-2.6.20.1-1 and ati-fglrx

ok, sorry.
I didn't know that changing the CPU-type breaks the comptibilty with the modules from repos.
hmm

... I used to use a custom kernel (without changing the CPU-type) since I use Arch and the fglrx modul from repos worked always.
kernel-2.6.20.1 was the first one I compiled with changed CPU-type...

Last edited by SiD (2007-03-02 11:15:10)

Offline

Board footer

Powered by FluxBB