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 02-09-2004, 07:04 PM   #1
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Rep: Reputation: 15
2.6.2 fglrx insmod errors


Kernel 2.6.2

Downloaded from ATI, did rmp2tgz, ran make.sh.. then I try to run the make_install.sh and I see this error

FATAL: Error inserting fglrx (/lib/modules/2.6.2/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.

I'm logged into root. No idea why this is happening. I've been having troubles doing insmods.. always fails on me.

Any ideas?
 
Old 02-09-2004, 10:10 PM   #2
thrice
Member
 
Registered: Apr 2003
Distribution: Xubuntu
Posts: 113

Rep: Reputation: 15
when you compiled your kernel, did you enable "Enable loadable module support" in the "Loadable module support" section? that could be your problem
 
Old 02-10-2004, 12:43 PM   #3
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
Yes I did. I have modules loaded currently.

I don't know if it's a kernel compile issue (I did strip it down pretty well), or a ATI + 2.6.2 issue where maybe their driver isn't 2.6.2 ready for some reason.

Right now I have loadable module support + module unloading. I have the AGPGART module as well as the ATI option under AGPGART as a module. DRI is a module as well as the ATI option under DRI. (Sorry, on my work PC so I can't be more specific).

When running make.sh under lib/modules/fglrx it echoed 2.6.x but I can't insmod the fglrx.ko module or another one named fglrx.2.6.2.ko. I get the above referenced issue.


Has anyone else gotten the fglrx drivers to work in 2.6.2?
 
Old 02-10-2004, 02:13 PM   #4
thrice
Member
 
Registered: Apr 2003
Distribution: Xubuntu
Posts: 113

Rep: Reputation: 15
you don't want the ati option under dri. i believe that's the radeon driver, which will conflict with the fglrx module. try it without, it should work

and yes i use 2.6.2 and they work fine for me
 
Old 02-10-2004, 02:30 PM   #5
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
Thrice, thanks. I'll do a quick recompile tonight.

I also saw a message on another board about a patch.

Did you have to patch yours?
 
Old 02-10-2004, 02:33 PM   #6
thrice
Member
 
Registered: Apr 2003
Distribution: Xubuntu
Posts: 113

Rep: Reputation: 15
for 2.6.2? i did back when i had 2.4.20 i think, but that just gave the option to compile the kernel with nvidia chipset support. haven't needed it since. good luck!
 
Old 02-10-2004, 02:40 PM   #7
thrice
Member
 
Registered: Apr 2003
Distribution: Xubuntu
Posts: 113

Rep: Reputation: 15
also, you did install the pkg after rpm2tgz'ing it, right?
 
Old 02-10-2004, 02:46 PM   #8
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
Patch info link http://www.rage3d.com/board/showthre...eadid=33730800

installed package? Yep.

I downloaded the file, ran the rpm2tgz .. did installpkg .. cd'd to /lib/modules/fglrx/build_mod .. did ./make.sh and it compiled just fine.

Then I cd'd back to /lib/modules/fglrx and when I try to do ./make_install.sh it spits out

FATAL: Error inserting fglrx (/lib/modules/2.6.2/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.

so.. I don't know what's up.
 
Old 02-10-2004, 02:49 PM   #9
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
I read MTRR support is needed. I don't beleive I have that compiled in the kernel.

I will try that tonight as well.
 
Old 02-10-2004, 09:26 PM   #10
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
When you get that operation not permitted error -- run dmesg and take a look at the particulars about it at the very end.

It may say something about having a character device module already loaded... Then you'll want to take a look at your kernel config to resolve that.

--Shade
 
Old 02-10-2004, 09:49 PM   #11
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
The error from dmesg is:

[fglrx:firegl_stub_register] *ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module!

Under character devices I have:

Unix 98 PTY support compiled in (it came up as a default)

/dev/agpgart as a module.

that's it.
 
Old 02-11-2004, 01:16 AM   #12
thrice
Member
 
Registered: Apr 2003
Distribution: Xubuntu
Posts: 113

Rep: Reputation: 15
i didn't have mtrr support when it worked for me. however, last night i added (because of a suggestion from xine-check) mtrr support and it killed my nicely running machine... recompiled with it included, started up slack, and only vesa drivers would work after. this opened pandoras box, and now, after a lot of work and troubleshooting, i managed to make my machine unable to get through POST =(

anyways, you say you have agpgart loaded, but do you have the nvidia-agp module loaded as well? you need both. also, i think i remember getting an error like that when trying to install fglrx 3.2.8 drivers in 2.6.2. if you're trying to use 3.2.8, get 3.7. if i could get to my desktop, i have a good link for dealing with the fglrx module. if i get my computer up and running, i'll post the link.
 
Old 02-11-2004, 04:01 AM   #13
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
Thrice, sorry about that.. mine works just fine with MTRR.

I'll keep picking away at it
 
Old 02-11-2004, 08:54 AM   #14
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
Which script denotes what modules are loaded at boot time?

/etc/modules.conf or /rc.d/rc.modules?

I wanted to try just loading fglrx and not loading agpgart.

I don't understand what other DRM module is being loaded before fglrx other than agpgart.

lsmod only shows my ethernet module.

Nothing else was selected as being compiled in. I did a cat proc/dri/0/modules which showed i835 or something. I tried to rmmod i835 which returned an error, and I don't see any other character devices selected as being compiled in/modules.

Argh
 
Old 02-11-2004, 06:32 PM   #15
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Quote:
Originally posted by zigmund555
The error from dmesg is:

[fglrx:firegl_stub_register] *ERROR* Fire GL kernel module has to be loaded prior to any other DRM kernel module!

Under character devices I have:

Unix 98 PTY support compiled in (it came up as a default)

/dev/agpgart as a module.

that's it.
That's exactly what I was looking for.

I think you have agpgart already loaded while you're loading fglrx... Load fglrx first :-D
Either that, or you have DRI compiled in.

edit: Pardon me, I skipped your last post.
Yes, that module you tried to unload is compiled into your kernel from what I can see.
Go through your config and take note around the agpgart section
You'll not want to have any sort of DRI compiled in.

--Shade

Last edited by Shade; 02-11-2004 at 06:34 PM.
 
  


Reply



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
Do insmod errors matter? arubin Slackware 2 11-10-2005 03:24 PM
breezy insmod errors flebber Ubuntu 0 09-29-2005 09:44 AM
insmod errors anacharya Linux - General 5 03-21-2005 05:20 PM
New 2.4.25 kernel, insmod errors davidsrsb Slackware 3 02-27-2004 05:55 AM
insmod errors Dr.Swing Linux - Networking 5 10-09-2002 10:03 AM

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

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