Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28288 - ati-drivers don't compile on 2.6.0-test5 (patch)
Summary: ati-drivers don't compile on 2.6.0-test5 (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 28318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-09 13:06 UTC by Wedge_
Modified: 2003-09-21 19:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
should apply to 3.2.0, 3.2.4, and 3.2.5 (fglrx-2.6-test5.patch,721 bytes, patch)
2003-09-09 13:07 UTC, Wedge_
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wedge_ 2003-09-09 13:06:55 UTC
CC [M] 
/var/tmp/portage/ati-drivers-3.2.5/work/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-3.2.5/work/lib/modules/fglrx/build_mod/firegl_public.c:
In function `firegl_stub_open':
/var/tmp/portage/ati-drivers-3.2.5/work/lib/modules/fglrx/build_mod/firegl_public.c:423:
error: called object is not a function
/var/tmp/portage/ati-drivers-3.2.5/work/lib/modules/fglrx/build_mod/firegl_public.c:
In function `__ke_inode_rdev_minor':
/var/tmp/portage/ati-drivers-3.2.5/work/lib/modules/fglrx/build_mod/firegl_public.c:849:
warning: implicit declaration of function `minor'

Reproducible: Always
Steps to Reproduce:
1. emerge a 2.6.0-test5 kernel
2. emerge ati-drivers
3.
Comment 1 Wedge_ 2003-09-09 13:07:25 UTC
Created attachment 17356 [details, diff]
should apply to 3.2.0, 3.2.4, and 3.2.5
Comment 2 Luca Barbato gentoo-dev 2003-09-10 06:48:37 UTC
*** Bug 28318 has been marked as a duplicate of this bug. ***
Comment 3 LuisMi Garcia 2003-09-11 07:54:39 UTC
I'm trying to do this with 2.6.0-test5-mm1. With your patch I can build the module, but later it complains that fglrx.ko cannot be inserted in the kernel:

bash-2.05b# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.0-test5-mm1/kernel/drivers/char/drm/fglrx.ko): Invalid module format
Comment 4 Luca Barbato gentoo-dev 2003-09-14 11:37:52 UTC
here is working fine

(the patch is in portage now)
Comment 5 LuisMi Garcia 2003-09-20 12:06:20 UTC
It compiles well but don't load on mm-sources.

This is the last part of my dmesg with 2.6.0-test5-mm3. The same with mm1:


Linux agpgart interface v0.100 (c) Dave Jones
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.5 [Aug  6 2003] on minor 0
[fglrx:firegl_unlock] *ERROR* Process 3729 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
Comment 6 Luca Barbato gentoo-dev 2003-09-21 18:49:32 UTC
as I said here is working fine, please attach some other infos (eg emerge info) and your hardware specs.