From: Paul v. G. <pau...@ri...> - 2003-06-14 01:52:35
|
When I now try to load the snd-ice1724 module, i get: PCI: Setting latency timer of device PCI device 1412:1724 to 64 bad PC-like io name for port 0x33 at 0x8c01b108 Fault in unaligned fixup: 0000 PC : 8c01d12a SP : 8e03be7c SR : 40000100 TEA : c01a72b0 Not tainted R0 : 00000030 R1 : 00000000 R2 : 40000100 R3 : 00000001 R4 : 8c132a68 R5 : 00000001 R6 : 00000001 R7 : 00000001 R8 : 00000033 R9 : 8c246c00 R10 : 8c132b2c R11 : 8c246c00 R12 : 8e03bec0 R13 : 8c246a00 R14 : 8c132afc MACH: 0877c629 MACL: 00000000 GBR : 07a44b8e PR : 8c01d14c Can somebody explain what this means? Thanks in advance. Paul On Fri, Jun 13, 2003 at 04:20:10PM -0700, Paul van Gool wrote: > That solved. One step closer to getting it to run... ;-). > > Thanks. > > Paul > > On Fri, Jun 13, 2003 at 07:10:33PM -0400, Paul Mundt wrote: > > On Fri, Jun 13, 2003 at 03:54:09PM -0700, Paul van Gool wrote: > > > But when I try to load one of the resulting modules, I get: > > > > > > # insmod snd > > > Using snd > > > insmod: unresolved symbol disable_dma > > > insmod: unresolved symbol release_dma_lock > > > insmod: unresolved symbol get_dma_residue > > > insmod: unresolved symbol set_dma_mode > > > insmod: unresolved symbol enable_dma > > > insmod: unresolved symbol set_dma_addr > > > insmod: unresolved symbol set_dma_count > > > insmod: unresolved symbol claim_dma_lock > > > > > > Those functions are defined in arch/sh/kernel/dma.c. Any thoughts? > > > > > Looks like these symbols aren't being exported for module use. Try this patch, > > it should fix that up. > > > > Index: arch/sh/kernel/Makefile > > =================================================================== > > RCS file: /cvsroot/linuxsh/linux/arch/sh/kernel/Makefile,v > > retrieving revision 1.1.1.1.2.5 > > diff -u -r1.1.1.1.2.5 Makefile > > --- arch/sh/kernel/Makefile 8 May 2003 03:57:34 -0000 1.1.1.1.2.5 > > +++ arch/sh/kernel/Makefile 13 Jun 2003 23:08:18 -0000 > > @@ -12,7 +12,8 @@ > > > > O_TARGET := kernel.o > > > > -export-objs := io.o io_generic.o io_hd64461.o setup_hd64461.o sh_ksyms.o > > +export-objs := io.o io_generic.o io_hd64461.o setup_hd64461.o sh_ksyms.o \ > > + dma.o > > > > obj-y := process.o signal.o entry.o traps.o irq.o irq_ipr.o \ > > ptrace.o setup.o time.o sys_sh.o semaphore.o \ > > Index: arch/sh/kernel/dma.c > > =================================================================== > > RCS file: /cvsroot/linuxsh/linux/arch/sh/kernel/Attic/dma.c,v > > retrieving revision 1.1.1.1 > > diff -u -r1.1.1.1 dma.c > > --- arch/sh/kernel/dma.c 15 Oct 2001 20:44:47 -0000 1.1.1.1 > > +++ arch/sh/kernel/dma.c 13 Jun 2003 23:08:31 -0000 > > @@ -10,6 +10,7 @@ > > #include <linux/init.h> > > #include <linux/irq.h> > > #include <linux/interrupt.h> > > +#include <linux/module.h> > > > > #include <asm/signal.h> > > #include <asm/dma.h> > > @@ -137,6 +138,25 @@ > > return 0; > > } > > > > +static void __exit exit_dma(void) > > +{ > > +#ifdef CONFIG_CPU_SH4 > > + free_irq(DMAE_IRQ); > > +#endif > > +} > > + > > module_init(init_dma); > > +module_exit(exit_dma); > > + > > +MODULE_LICENSE("GPL"); > > + > > +EXPORT_SYMBOL(setup_dma); > > +EXPORT_SYMBOL(claim_dma_lock); > > +EXPORT_SYMBOL(release_dma_lock); > > +EXPORT_SYMBOL(enable_dma); > > +EXPORT_SYMBOL(disable_dma); > > +EXPORT_SYMBOL(set_dma_mode); > > +EXPORT_SYMBOL(set_dma_addr); > > +EXPORT_SYMBOL(set_dma_count); > > +EXPORT_SYMBOL(get_dma_residue); > > > > -/**/ > > > > -- > Paul van Gool Rincon Networks > pau...@ri... (805)-705-1442 > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev -- Paul van Gool Rincon Networks pau...@ri... (805)-705-1442 |