ATI Radeon Mobility 9600 + fglrx: Failed Module Load
Dear Penguins:
Ok, here's the deal. I'm using an eMachines M6805, the most notorious of them all, and I'm trying to get 3D acceleration. I've heard several people discussing the fact that the actual Radeon driver that runs the normal 9600 WILL run the Mobility 9600, but whether that's true or not, I want to see for myself. I've installed the modules and built them correctly. I had to retrograde to an earlier version of X, but I'll survive. Here's the interesting thing: Whenever I try to insmod the module, or modprobe it even, it claims that the module does not exist. The file is named: /lib/modules/2.6.6/kernel/drivers/char/drm/fglrx.ko And it does exist. 'insmod fglrx': insmod: can't read 'fglrx': No such file or directory And, 'modprobe fglrx': FATAL: Module fglrx not found. I've tried to depmod, no results. Tried insmod with the full filepath: insmod: error inserting '/lib/modules/2.6.6/kernel/drivers/char/drm/fglrx.ko': -1 Operation not permitted I don't need a lot of information about whether or why the driver will or won't work . . . I just want to see if anyone could help me understand why this module won't load. I DO have loadable module support enabled in my kernel. Thanks in advance. ~Treth |
Re: ATI Radeon Mobility 9600 + fglrx: Failed Module Load
Quote:
Quote:
In the surprising case that depmod doesn't even show one sucky line mentioning this module, you might want to double-check if you're running the 2.6.6 kernel at the moment. Dunno how generously your boot menu is endowed with all kinds of different kernels after all. To be safe you can also explicitly tell depmod which kernel version module directory to scour for modules. Quote:
Once you are positive that depmod did it's job fine, forget about insmod altogether and exclusively try to get modprobe fglrx to work. It's much more clever than it's cousin. Good luck! Gyroplast |
I'm getting the same error with pretty much the same setup. here is some output:
[eric@smeagol eric]$ sudo strace modprobe fglrx execve("/sbin/modprobe", ["modprobe", "fglrx"], [/* 43 vars */]) = 0 uname({sys="Linux", node="smeagol", ...}) = 0 brk(0) = 0x807a000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=128445, ...}) = 0 old_mmap(NULL, 128445, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40000000 close(3) = 0 open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\353"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1455084, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000 old_mmap(0xa7a000, 1158124, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xa7a000 old_mmap(0xb8f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x115000) = 0xb8f000 old_mmap(0xb93000, 7148, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb93000 close(3) = 0 mprotect(0xb8f000, 8192, PROT_READ) = 0 mprotect(0xa72000, 4096, PROT_READ) = 0 set_thread_area({entry_number:-1 -> 6, base_addr:0x40020580, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0x40000000, 128445) = 0 uname({sys="Linux", node="smeagol", ...}) = 0 uname({sys="Linux", node="smeagol", ...}) = 0 fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0 brk(0) = 0x807a000 brk(0x809b000) = 0x809b000 brk(0) = 0x809b000 open("/etc/modprobe.conf.dist", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=5466, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000 read(3, "# default modutils aliases\nalias"..., 4096) = 4096 read(3, "l net-pf-3 /bin/true\ninstall net"..., 4096) = 1370 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40000000, 4096) = 0 open("/etc/modprobe.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=343, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000 read(3, "alias eth0 e1000\nalias snd-card-"..., 4096) = 343 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40000000, 4096) = 0 open("/lib/modules/2.6.6/modules.dep", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=41318, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000 read(3, "/lib/modules/2.6.6/linux-wlan-ng"..., 4096) = 4096 read(3, "ules/2.6.6/kernel/net/ipv4/netfi"..., 4096) = 4096 read(3, "4/netfilter/ip_conntrack.ko\n/lib"..., 4096) = 4096 read(3, "kernel/net/bridge/netfilter/ebta"..., 4096) = 4096 read(3, "d.ko\n/lib/modules/2.6.6/kernel/s"..., 4096) = 4096 read(3, "s/fat/fat.ko\n/lib/modules/2.6.6/"..., 4096) = 4096 read(3, "lib/modules/2.6.6/kernel/drivers"..., 4096) = 4096 read(3, "base/firmware_class.ko\n/lib/modu"..., 4096) = 4096 read(3, "les/2.6.6/kernel/drivers/usb/ser"..., 4096) = 4096 read(3, ".ko:\n/lib/modules/2.6.6/kernel/d"..., 4096) = 4096 close(3) = 0 munmap(0x40000000, 4096) = 0 open("/proc/modules", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000 read(3, "snd_pcm_oss 49828 0 - Live 0xf8a"..., 1024) = 1024 read(3, "68 1 - Live 0xf89eb000\ne1000 789"..., 1024) = 520 read(3, "", 1024) = 0 close(3) = 0 munmap(0x40000000, 4096) = 0 open("/lib/modules/2.6.6/kernel/drivers/char/drm/fglrx.ko", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=270644, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 16384 _llseek(3, 0, [16384], SEEK_CUR) = 0 read(3, "U\211\345\203\354\30\241\f\0\0\0\213\25\24\0\0\0\17\266"..., 16384) = 16384 read(3, "\201\372$q\0\0\17\2056\367\377\377\307\4$\206\200\0\000"..., 32768) = 32768 mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40021000 read(3, "\213\25\0\0\0\0\205\355\17\205\216\3\0\0f\205\322t\35\307"..., 65536) = 65536 mremap(0x40021000, 135168, 266240, MREMAP_MAYMOVE) = 0x40021000 read(3, "l i810 E Chipset.\n\0\0<3>agpgart: "..., 131072) = 131072 mremap(0x40021000, 266240, 528384, MREMAP_MAYMOVE) = 0x40021000 read(3, "k.c\0sig_notifier\0firegl_mutex.c\0"..., 262144) = 8500 read(3, "", 249856) = 0 read(3, "", 249856) = 0 close(3) = 0 munmap(0x40000000, 4096) = 0 init_module("ELF", 0x42134) = -1 EPERM (Operation not permitted) write(2, "FATAL: Error inserting fglrx (/l"..., 108FATAL: Error inserting fglrx (/lib/modules/2.6.6/kernel/drivers/char/drm/fglrx.ko): Operation not permitted ) = 108 exit_group(1) = ? |
Same problem!
I have exactly the same problem. Went through a HOWTO on some website - can't remember which at the moment - and got down to the final line, modprobe fglrx, and it failed with that FATAL error.
Is it anything to do with not having EXACTLY the same source code downloaded as the kernel version you have compiled the fglrx module for? I can't seem to find exactly the same kernel source on apt and had to settle for a (very) close version. |
I just gopt mine working today!
YAY glx_gears is pulling over 2000 FPS [eric@smeagol eric]$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: MOBILITY RADEON 9600 Generic OpenGL version string: 1.3 (X4.3.0-3.9.0) I am using 2.6.7 kernel and in order to get it to compile/install/load i needed a patch from: http://www.linux-gamers.net/modules/...hp?storyid=344 i gave up on 2.6.6 but as i recall, you needed a patch for that version too hope that helps! |
I am using debian, at what stage in the process do you apply the patch? I haven't got that directory..
Thanks in advance |
i think it was applied from /lib/modules/fglrx/build_mod/2.6.x if i recall correctly. This is of course after the RPM is installed
|
Hey,
I am having the exact same problem (Although, ATI Radeon 9000). I have had this working properly with the 2.6.7 kernel before, but I had some hardware failure and had to format and such. Anyways, my distro is Slackware 10, and I'm using 2.6.7. I applied the 2.6.7 patch, builed and tried to run ./make_install.sh. The only difference this time is it fails to insert the module. So, I run modprobe fglrx, and I get... root@sg-amd:~# modprobe fglrx FATAL: Error inserting fglrx (/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Operation not permitted root@sg-amd:~# I am root, I have no special kernel security modules, or anything else like that. I also ran the strace you asked for, and got the same error as guzugi. root@sg-amd:~# strace modprobe fglrx execve("/sbin/modprobe", ["modprobe", "fglrx"], [/* 30 vars */]) = 0 brk(0) = 0x8059000 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=88450, ...}) = 0 old_mmap(NULL, 88450, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360Y\1"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=1250840, ...}) = 0 old_mmap(NULL, 1237892, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000 mprotect(0x40154000, 25476, PROT_NONE) = 0 old_mmap(0x40154000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x128000) = 0x40154000 old_mmap(0x40158000, 9092, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40158000 close(3) = 0 munmap(0x40016000, 88450) = 0 create_module(umovestr: Input/output error 0, 0) = -1 ENOSYS (Function not implemented) uname({sys="Linux", node="sg-amd", ...}) = 0 fstat64(2, {st_mode=S_IFCHR|0720, st_rdev=makedev(136, 2), ...}) = 0 brk(0) = 0x8059000 brk(0x805a000) = 0x805a000 brk(0) = 0x805a000 open("/etc/modprobe.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40016000, 4096) = 0 open("/lib/modules/2.6.7/modules.dep", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1146, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 read(3, "/lib/modules/2.6.7/kernel/lib/li"..., 4096) = 1146 close(3) = 0 munmap(0x40016000, 4096) = 0 open("/proc/modules", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 read(3, "", 1024) = 0 close(3) = 0 munmap(0x40016000, 4096) = 0 brk(0) = 0x805a000 brk(0x805e000) = 0x805e000 brk(0) = 0x805e000 brk(0x8062000) = 0x8062000 brk(0) = 0x8062000 brk(0x8065000) = 0x8065000 brk(0) = 0x8065000 brk(0x806d000) = 0x806d000 open("/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=271101, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"..., 16384) = 16384 _llseek(3, 0, [16384], SEEK_CUR) = 0 brk(0) = 0x806d000 brk(0x8075000) = 0x8075000 read(3, "\0\0\307\5|\0\0\0\0\0\0\0\307\5\200\0\0\0\0\0\0\0\307\5"..., 16384) = 16384 brk(0) = 0x8075000 brk(0x8085000) = 0x8085000 read(3, "$\350\374\377\377\377\307D$\10p\0\0\0\213D$\20\213\25\24"..., 32768) = 32768 old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4015b000 read(3, "\4$\0M\0\0\350\374\377\377\377\211^\10\213\3\213L$$\213"..., 65536) = 65536 mremap(0x4015b000, 135168, 266240, MREMAP_MAYMOVE) = 0x4015b000 read(3, "<3>[fglrx:%s] *ERROR* no root\n\0\0"..., 131072) = 131072 mremap(0x4015b000, 266240, 528384, MREMAP_MAYMOVE) = 0x4015b000 read(3, "nc__.11\0drm_agp_module_stub\0fire"..., 262144) = 8957 read(3, "", 249856) = 0 read(3, "", 249856) = 0 close(3) = 0 munmap(0x40016000, 4096) = 0 brk(0) = 0x8085000 brk(0) = 0x8085000 brk(0x8062000) = 0x8062000 brk(0) = 0x8062000 init_module("ELF", 0x422fd) = -1 EPERM (Operation not permitted) write(2, "FATAL: Error inserting fglrx (/l"..., 108FATAL: Error inserting fglrx (/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Operation not permitted ) = 108 exit_group(1) = ? root@sg-amd:~# Can anyone point me in the right direction to this? The upgrade you explained previously was most likely not the fix, but something in the kernel settings may have been changed that we are unaware of. Any pointers would be muchly appericated. Thanks :) -SomeGuy |
Any way to send or post your fix as an RPM?
your solution could save alot of us suckers who bought the M68xx line some trouble. I had to rma my M6809 to Best Buy, who just swapped it out with the M6811 model, i kept my HD, and she is back to work. Can you email it maybe? New to linux/suse 9.1 and couldn't compile to fix it either. thanks for your posting
|
Actualy, instead of directly emailing it.. Posting here would be the easiest and most helpful (as I'm sure other Linux users can benifit from this). Thanks Again :)
|
just running the rpm installed my m10 drivers fine
|
I appericate the reply, however, running the RPM simply will follow the instructions defined by ATI.. It does things no differently (Simply builds/installs using the make.sh, and make_install.sh). I have had this working flawless with no problems before, so there should be a simple reason why this is failing now.
Also, i ran strace modprobe fglrx as a user as well as root, and I got the exact same errors... Both root and a userlevel account got premission denied on init_module. ROOT: init_module("ELF", 0x422fd) = -1 EPERM (Operation not permitted) write(2, "FATAL: Error inserting fglrx (/l"..., 108FATAL: Error inserting fglrx (/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Operation not permitted ) = 108 exit_group(1) = ? root@sg-amd:~# USER: init_module("ELF", 0x422fd) = -1 EPERM (Operation not permitted) write(2, "FATAL: Error inserting fglrx (/l"..., 108FATAL: Error inserting fglrx (/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Operation not permitted ) = 108 exit_group(1) = ? bash-2.05b$ Any new ideas why both root and user are being denied access to inserting this module? I tested inserting a random driver module, and it went in fine... So The problem points to the ATI driver specifically... I don't think modules can conflict with echother, but I am not to experienced. I am going to try and removing all ATI Radeon drivers that are included with the kernel, and move from there... I have spoken to alot of people, and noone has a clue on why its acting like it is.. So I really want to find out why it is doing this. The only hardware changes I have gone through since my working 2.6.7 w/ fglrx was a harddrive upgrade (I had a 40gb and 60gb... Removed the 40, and now I have a 120gb and 60gb). Also, the ATI drivers were working on 2.4.26 flawless, so its not like the card is damaged or anything. I've narrowed it down as much as possible.. Just the User and Root having the same operation not premitted problem is quite confusing. Any ideas??? Thanks again, lol. :) |
FIXED!
-- Okay, I am still not entirly sure why there was an Operation Not Premitted error... but the solution to my problem, was re-compiling the kernel, but removing my ATI drvers under the DRM. DRM is still embeded in the kernel, but the ATI drivers are no longer. Maybe, the Operation Not Premitted, was being displayed as fglrx was trying to unload an embeded module... I don't know, I know very little about the Linux kernel. Remove the ATI Drivers from the DRM support, re-compile, and then modprobe fglrx again :). |
the only problem I've had is that those drivers don't work with the -15SMP kernel.
if you aren't running that kernel I'm outta ideas :) |
Hello everyone!
I had the same problem until I discovered that I had the radeon driver installed. So.... I simply rebooted into single user mode and ran "rmmod radeon" and "modprobe fglrx" then rebooted. And wolha! Now I got the fglrx drivers in my system. I recommend that you check if you have the "ati" or "radeon" driver installed. To do this you can run following command lines "lsmod | grep ati" and "lsmod | grep radeon". I wish you all luck! greetings zzarr |
All times are GMT -5. The time now is 01:31 PM. |