Your message dated Fri, 14 Nov 2008 18:57:54 +0100
with message-id <[EMAIL PROTECTED]>
and subject line 2.6.8 kernel removed from Debian
has caused the Debian Bug report #304721,
regarding Sorce-Code error in
kernel-source-2.6.8/drivers/char/drm/radeon_state.c
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
304721: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=304721
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kernel-source-2.6.8
Version: 2.6.8-15
Hello!
I think there is an error in kernel-source, i'm not able to compile it whit
module DRM_RADEON built in:
CC drivers/char/drm/radeon_irq.o
drivers/char/drm/radeon_state.c: In Funktion »radeon_cp_cmdbuf«:
drivers/char/drm/radeon_state.c:2316: Warnung: implicit declaration of
function `drm_alloc'
drivers/char/drm/radeon_state.c:2316: Warnung: Zuweisung erzeugt Zeiger von
Ganzzahl ohne Typkonvertierung
drivers/char/drm/radeon_state.c:2416: Warnung: implicit declaration of
function `drm_free'
Whit DRM_RADEON as module, compiling works, but the same error is shown in the
make-messages and XF86 is not able to load the module "radeon". I've tryed it
manualy:
linux-server:/home/hannes# modprobe radeon
FATAL: Error inserting radeon
(/lib/modules/2.6.8/kernel/drivers/char/drm/radeon.ko): Unknown symbol in
module, or unknown parameter (see dmesg)
dmesg:
radeon: Unknown symbol drm_free
radeon: Unknown symbol drm_alloc
I've modyfied the kernel-souce and now it works:
diff radeon_state.c radeon_state-original.c
2316c2316
< kbuf = DRM(alloc)(cmdbuf.bufsz, DRM_MEM_DRIVER);
---
> kbuf = drm_alloc(cmdbuf.bufsz, DRM_MEM_DRIVER);
2416c2416
< DRM(free)(kbuf, orig_bufsz, DRM_MEM_DRIVER);
---
> drm_free(kbuf, orig_bufsz, DRM_MEM_DRIVER);
2424c2424
< DRM(free)(kbuf, orig_bufsz, DRM_MEM_DRIVER);
---
> drm_free(kbuf, orig_bufsz, DRM_MEM_DRIVER);
--- End Message ---
--- Begin Message ---
The 2.6.8 kernel is no longer supported by Debian so I'm closing
your bug report. Please try the 2.6.26 kernel from Debian lenny.
If this issue is still present, let me know.
Thanks.
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---