Re: unresolved symbols in latest drm-trunk
On Thu, 28 Aug 2003, Jamie Wilkinson wrote: This one time, at band camp, Jamie Wilkinson wrote: willow# depmod -ae depmod: ioremap_bot depmod: local_flush_tlb_all So, while I wait for Ben to respond, does anyone know how to export a symbol? I'd like to fix this (mior looking) problem sometime in the next 24 hours so I can flaunt and brag about the power of Debian PPC during my talk. You add e.g. EXPORT_SYMBOL(ioremap_bot) to the corresponding source file (*.c). And if not already done, you have to add the object file name (*.o) to the export-objs list in the correspondig Makefile. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds
Re: unresolved symbols in latest drm-trunk
This one time, at band camp, Jamie Wilkinson wrote: willow# depmod -ae depmod: ioremap_bot depmod: local_flush_tlb_all So, while I wait for Ben to respond, does anyone know how to export a symbol? I'd like to fix this (mior looking) problem sometime in the next 24 hours so I can flaunt and brag about the power of Debian PPC during my talk. -- [EMAIL PROTECTED] http://people.debian.org/~jaq
Re: unresolved symbols in latest drm-trunk
On Thu, 2003-08-28 at 10:19, Jamie Wilkinson wrote: This one time, at band camp, Jamie Wilkinson wrote: willow# depmod -ae depmod: ioremap_bot depmod: local_flush_tlb_all So, while I wait for Ben to respond, does anyone know how to export a symbol? Try this patch. -- Earthling Michel Dnzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer --- linux-2.4.20-ben8/arch/ppc/kernel/ppc_ksyms.c 2002-11-23 10:52:30.0 +0100 +++ linux-2.4.20-ben8-xfs-lolat/arch/ppc/kernel/ppc_ksyms.c 2003-05-15 17:12:38.0 +0200 @@ -163,6 +163,7 @@ EXPORT_SYMBOL(_outsw_ns); EXPORT_SYMBOL(_insl_ns); EXPORT_SYMBOL(_outsl_ns); EXPORT_SYMBOL(ioremap); +EXPORT_SYMBOL(ioremap_bot); EXPORT_SYMBOL(__ioremap); EXPORT_SYMBOL(iounmap); EXPORT_SYMBOL(iopa); @@ -196,6 +197,7 @@ EXPORT_SYMBOL(flush_dcache_range); EXPORT_SYMBOL(flush_icache_user_range); EXPORT_SYMBOL(flush_icache_page); EXPORT_SYMBOL(flush_dcache_page); +EXPORT_SYMBOL(local_flush_tlb_all); EXPORT_SYMBOL(xchg_u32); #ifdef CONFIG_ALTIVEC EXPORT_SYMBOL(last_task_used_altivec);
Re: unresolved symbols in latest drm-trunk
This one time, at band camp, Geert Uytterhoeven wrote: You add e.g. EXPORT_SYMBOL(ioremap_bot) to the corresponding source file (*.c). And if not already done, you have to add the object file name (*.o) to the export-objs list in the correspondig Makefile. Thanks heaps :-) -- [EMAIL PROTECTED] http://people.debian.org/~jaq
Re: unresolved symbols in latest drm-trunk
This one time, at band camp, Jamie Wilkinson wrote: I've been using the ati module in my XFree86 config for my Powerbook IV, so it doesn't seem to have affected me, but I thought you might be interested in the warning. Actually, it does seem to have affected DRI, glxinfo now reports that no direct rendering is occurring. -- [EMAIL PROTECTED] http://people.debian.org/~jaq
Re: unresolved symbols in latest drm-trunk
On Tue, 2003-08-26 at 13:08, Jamie Wilkinson wrote: I've just upgraded and rebuilt drm-trunk against 2.4.22-ben1 (which I rsync'd just a few moments ago), and after installing the drm-trunk-module package I get the following warning: depmod: *** Unresolved symbols in /lib/modules/2.4.22-ben1/kernel/drivers/char/drm/mga.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-ben1/kernel/drivers/char/drm/r128.o depmod: *** Unresolved symbols in /lib/modules/2.4.22-ben1/kernel/drivers/char/drm/radeon.o The kernel probably needs to export some more symbols. Please post the output of depmod -ae so Ben knows which ones. :) -- Earthling Michel Dnzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer
Re: unresolved symbols in latest drm-trunk
On Tue, 26 Aug 2003 [21:51], Jamie Wilkinson ([EMAIL PROTECTED]) wrote: This one time, at band camp, Jamie Wilkinson wrote: I've been using the ati module in my XFree86 config for my Powerbook IV, so it doesn't seem to have affected me, but I thought you might be interested in the warning. Actually, it does seem to have affected DRI, glxinfo now reports that no direct rendering is occurring. Also noticed that. Don't get the radeon-driver working with the latest drivers. My old 2.4.21-pre4-ben0 works nice, but when upgrading to 2.4.22-rc3-ben0 i can't load them at all. /d -- ... david röhr | o_ .. unix systems consultant | o/ /\ Solaris, AIX, HP-UX . qbranch system management | /|_, \\ and GNU/Linux Certified. www.qbranch.se/ `
Re: unresolved symbols in latest drm-trunk
This one time, at band camp, Michel Dänzer wrote: The kernel probably needs to export some more symbols. Please post the output of depmod -ae so Ben knows which ones. :) willow# depmod -ae depmod: *** Unresolved symbols in /lib/modules/2.4.22-ben1/kernel/drivers/char/drm/mga.o depmod: ioremap_bot depmod: local_flush_tlb_all depmod: *** Unresolved symbols in /lib/modules/2.4.22-ben1/kernel/drivers/char/drm/r128.o depmod: ioremap_bot depmod: local_flush_tlb_all depmod: *** Unresolved symbols in /lib/modules/2.4.22-ben1/kernel/drivers/char/drm/radeon.o depmod: ioremap_bot depmod: local_flush_tlb_all -- [EMAIL PROTECTED] http://people.debian.org/~jaq