[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for compile failures!




Le Jeudi 15 Septembre 2005 13:52, Matthew Tippett a écrit :
It means you have another 3D module loaded.  
Look for the radeon kernel module or other 3D drivers.  
In the /lib/modules/...kernel.../drivers/char/drm subdirectory in the kernel tree will have all the drm modules.  

amd64:/lib/modules/2.6.13-10sep2005/kernel/drivers/char/drm\> ls -la
total 132
-rw-r--r--  1 root root 120257 2005-09-10 20:02 radeon.ko
-rw-r--r--  1 root root   7143 2005-09-10 20:02 tdfx.ko

yes, modules exists but not loaded (at least lsmod doesn't list them).
maybe loaded by X 
edit /etc/X11/XF86Config-4
Section "Module"
    Load    "GLcore"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"	<---- need to look at this
    Load    "int10"
    Load    "record"
    Load    "speedo"
    Load    "type1"
    Load    "vbe"
EndSection

I need to go. Thanks for advice. I will try this evening.
I will kill X and try to load modules from console.



Regards...  Matthew

--
Blackberry-Sent
Matthew Tippett
Engineering Manager, Linux Software Engineering
ATI Technologies Inc.
Ph: +1 905 882 2600 x8014 Cell: +1 416 671 0673

-----Original Message-----
From: jeanluc Jeanneau <jeanluctux at numericable dot fr>
To: flavio-fglrx at stanchina dot net <flavio-fglrx at stanchina dot net>
Sent: Thu Sep 15 07:48:49 2005
Subject: Re: [fglrx] patch for compile failures!

Thanks for your patch, now i'm able to compile the debs and also the 
modules. Unfortunately i'm getting this error whenever trying to 
modprobe the created module.
manage to compile 2.6.13 as well.


FATAL: Error inserting fglrx 
(/lib/modules/2.6.11.12-050714-vanilla/misc/fglrx.ko): Invalid module format

As well no manage to insert :
amd64:/lib/modules/2.6.13-10sep2005# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.13-10sep2005/kernel/drivers/video/fglrx.ko): Operation not permitted

amd64:/lib/modules/2.6.13-10sep2005# dmesg
[fglrx:firegl_stub_register] *ERROR* Unable to the open some already present DRM kernel module!

What that means ?
Does it mean I need to install a DRM kernel module ?
or
Does it mean I have already a DRM module disturbing ?

As well, I don't know why, but modinfo -p gives no output.
But anyway, the kernel and modules, and the fglrx modules were
all compiled together with same compiler.

For info :
amd64:~\> lsmod
Module                  Size  Used by
ipv6                  270208  10
e100                   40576  0
sk98lin               191908  1
i2c_viapro             10772  0
mousedev               13156  1
evdev                  11904  0
snd_via82xx            29696  0
snd_mpu401_uart         8640  1 snd_via82xx
snd_rawmidi            28640  1 snd_mpu401_uart
snd_seq_device          9424  1 snd_rawmidi
snd_ac97_codec         89112  1 snd_via82xx
snd_pcm                99340  2 snd_via82xx,snd_ac97_codec
snd_page_alloc         11280  2 snd_via82xx,snd_pcm
snd_timer              27784  1 snd_pcm
snd                    61288  7 snd_via82xx,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore              11744  1 snd
sr_mod                 19428  0
psmouse                33668  0
mii                     5824  1 e100
ide_disk               17920  0
ide_cd                 44360  0
cdrom                  41512  2 sr_mod,ide_cd
unix                   31352  250

amd64:~/src/linux\> grep -i drm .config
CONFIG_DRM=y
CONFIG_DRM_TDFX=m
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set




-- 
Jean-Luc