LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-10-2007, 10:32 AM   #1
oribd
LQ Newbie
 
Registered: Aug 2004
Location: Israel
Distribution: Debian
Posts: 14

Rep: Reputation: 0
fglrx problems


I know that I might could find the answer for my question by googling, but I'v searched for too many hours and decided to post here.

I am trying to install the fglrx kernel module (for my radeon 9250) and when running the make_install.sh file which is in the modules library /lib/modules/fglrx/ I get the message:

Error inserting fglrx (/lib/modules/2.6.18.1-my1/misc/fglrx.ko): Invalid module format

In dmesg:

fglrx: version magic '2.6.18-3-686 SMP mod_unload 686 REGPARM gcc-4.1' should be '2.6.18.1-my1 mod_unload PENTIUM4 gcc-4.0'

I installed packages with headers which I didn't need, I saw it on some site and thought I need it.
I removed the packages, but no luck. I also edited a few version.h files...
It's a real mess in my system.

My main gole now is to make 3D acceleration enabled (I think the mess will remain for ever... :-P).

Help will be accepted with joy.

Last edited by oribd; 01-10-2007 at 10:37 AM.
 
Old 01-10-2007, 11:30 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,701
Blog Entries: 1

Rep: Reputation: 219Reputation: 219Reputation: 219
You can't use kernel modules compiled against one set of headers with a kernel compiled against a different set of headers. Messing around with the header files isn't the answer. Compiling both the kernel and the module against the same set of headers is the answer.
 
Old 01-10-2007, 11:57 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
If you've been editing .h files and things like that, you may have already messed things up beyond repair, but this is a "from scratch" scenario I wrote a while back. The only things that have probably changed is references to Sid. All that stuff should be in Testing by now.
 
Old 01-10-2007, 02:53 PM   #4
oribd
LQ Newbie
 
Registered: Aug 2004
Location: Israel
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I can always choose the Windows way and reinstall Debian... (JUST KIDDING... I'll never ever get to that point...).

I think I'm going to compile a new kernel, erase all fglrx stuff and install again.
The only .h files I edited are the "version.h" files. I think that it helped with compiling the "make.sh" file at /lib/modules/fglrx/build_mod/, since I had problems with compiling it, and I saw somewhere someone suggested to edit those "version.h" files to solve some problem with that file.
I backed them up before editing (of course), so maybe it's not that bad (I don't know if backing up can help with .h files...).

Thanks for the replys. I'll check the "'from scratch' scenario" and reply as soon as I can (don't have much time since I have to study at the horrible place called "highschool").

And of course, I'll be more than happy to receive more replys.
 
Old 01-10-2007, 03:45 PM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
Quote:
Well, I can always choose the Windows way and reinstall Debian... (JUST KIDDING...
That's not really the end of the world. I always tell my Newbie friends to go ahead and reinstall a few times. It's a great learning experience. About the only time I get to do an installation now is when I'm setting up someone else's computer, but I still learn things every time.

Quote:
..."highschool"
That explains the propensity to mess around with the fonts. lol.
 
Old 01-11-2007, 01:27 AM   #6
oribd
LQ Newbie
 
Registered: Aug 2004
Location: Israel
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
That explains the propensity to mess around with the fonts. lol.
Should I take that as a compliment? :-P

I had installed Debian a few times till today, and I do believe I learned a lot.
What I meant is that Linux, apart from Windows, is almost always fixable.
And, I'm not going to reinstall a Debian installation that's been running for more than 8 years (my big brother installed it and I'm the heir :-P).

(All the things I said at the last message apply here too - this is just a quick reply before going to school)

Last edited by oribd; 01-11-2007 at 01:28 AM.
 
  


Reply


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
From 2.6.16 to 2.6.19: problems with fglrx and net interfaces simopal6 Linux - General 9 01-05-2007 04:13 AM
problems with fglrx bl0tt0 Slackware 1 10-29-2005 11:51 PM
Fglrx console=>X changing problem and fglrx resume zbychdm Linux - Hardware 2 09-21-2004 12:58 PM
Radeon 9200 fglrx problems podge_mcgee Linux - Hardware 2 05-21-2004 11:58 PM
fglrx problems in suse 8.2 pottyscum101 Linux - Hardware 1 10-17-2003 03:47 PM


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