Newsgroup: it.comp.os.linux.iniziare
Titolo: Driver Ati e kernel 2.6.11.xx

Ciao.
Stavo cercando di far funzionare sta maledetta accelerazione 3d e ho
scoperto che con qualsiasi kernel 2.6.11 i driver ati non
compilano!!!!
Ho scaricato sia i driver 8.10.19 che quelli precedenti 8.8....
Un tempo con il 2.6.7 mi funzionava....ora no, mi da due errori quando
faccio sh make.sh
Questo è il log (cmq il server X parte...solo che fglrxinfo mi da
ancora Mesa e...)
ATI module generator V 2.0
==========================
initializing...
build_date =mer mar 16 17:11:09 CET 2005
uname -a =Linux n@poleone 2.6.11.4 #1 Wed Mar 16 16:46:27 CET 2005
i686 unknown unknown GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.11.4
uname -v =#1 Wed Mar 16 16:46:27 CET 2005
uid=0(root) gid=0(root)
gruppi=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),17(audio),18(video),19(cdrom),102(burning)
.
drwxr-xr-x  124 root root 12712 2005-03-16 16:30 /usr/include
.
totale 3
drwxr-xr-x   2 root root   128 2005-03-16 16:30 ATI
lrwxrwxrwx   1 root root    14 2005-03-16 16:31 linux ->
linux-2.6.11.4
drwxrwxr-x  18 1001 users  712 2005-03-16 15:17 linux-2.6.11.2
drwxrwxr-x  19 1001 users 1216 2005-03-16 16:58 linux-2.6.11.4
drwxr-xr-x  19 root root  1216 2005-03-09 17:34 linux-2.6.7
.
file /lib/modules/
2.6.11.4/build/include/linux/agp_backend.h
 says:
AGP=1
assuming default: SMP=0
assuming default: MODVERSIONS=0
.
CC=gcc
cc_version=3.3.5
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx  1 root root 20 2005-03-16 17:11 ./libfglrx_ip.a ->
./libfglrx_ip.a.GCC3
.
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/
2.6.11.4/build
SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.11.4'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:509: warning:
`inter_module_put' is deprecated (declared at
include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:511: warning:
`inter_module_unregister' is deprecated (declared at
include/linux/module.h:574)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:531: warning:
`inter_module_register' is deprecated (declared at
include/linux/module.h:573)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:562: warning:
`inter_module_put' is deprecated (declared at
include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_get_vm_phys_addr':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1673: warning:
passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`do_vm_shm_nopage':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2204: warning:
passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_vm_phys_addr_str':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2574: warning:
passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2662: warning:
initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_vm_map':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2723: warning:
implicit declaration of function `remap_page_range'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2877: error: parse
error before '*' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2877: warning: type
defaults to `int' in declaration of `drm_agp_module_stub'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2877: warning: data
definition has no type or storage class
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agpgart_available':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3019: error:
`drm_agp_t' undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3019: error: (Each
undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3019: error: for
each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3019: error: parse
error before ')' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3040: error:
request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3042: error:
request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3045: error:
request for member `allocate_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3047: error:
request for member `allocate_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3050: error:
request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3052: error:
request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3055: error:
request for member `unbind_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3057: error:
request for member `unbind_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3060: error:
request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3062: error:
request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3065: error:
request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3067: error:
request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3070: error:
request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3072: error:
request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3075: error:
request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3077: error:
request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_uninit':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3148: warning:
`inter_module_put' is deprecated (declared at
include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_free_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3181: error:
request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3182: error:
request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_allocate_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3191: error:
request for member `allocate_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3192: error:
request for member `allocate_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_bind_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3202: error:
request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3203: error:
request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_unbind_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3213: error:
request for member `unbind_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3214: error:
request for member `unbind_memory' in something not a structure or
union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_enable':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3224: error:
request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3226: error:
request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_acquire':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3272: error:
request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3273: error:
request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_release':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3283: error:
request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3284: error:
request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function
`__ke_agp_copy_info':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3297: error:
request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3304: error:
request for member `copy_info' in something not a structure or union
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o]
Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.4'
make: *** [kmod_build] Error 2
build failed with return value 2
Ciao
N@poleone

 faccio sh make.sh
C'e' una patch in giro, vedi su google. se vuoi posso spedirti la mia.
.a.
-- 
Il mattino ha l'oro in bocca. Il MATTino ha l'OrO In bOcca.
i lma tt ino ha l'o roin bocc a.ilmattinohal'oroinbocca. il ma tt in
oh al' or oi nb oc ca. il matti noha l'oroinbocca. IL MATtiNO Ha l'ORO
InBOCCa. I l m a t t i n o  h a l' o r o i n b o c c a . ilmattinohal'oroin
BoCcA. iLmAtTiNoHaL'oRoInBoCcA.

 .a.
Guarda ho "googolato" molto....
se vuoi o mi spedisci la tua o mi dici la chiave di ricerca su
google...io ho provato con:
2.6.11. + driver ati
kernel 2.6.11 driver ati
quello di prima + slackware...
Se mi fai sto favore mi aiuteresti molto...
Grazie
Ciao
N@poleone