Re: 2.5.59 Oops with insmod aironet4500_proc

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Sun Feb 09 2003 - 20:50:50 EST


In message <20030210011418.O19693@humilis> you write:
> Hi,
>
> When I try to insmod aironet4500_proc, I get an Oops. The driver
> itself is buildin (pci).
>
> Kernel (2.5.59) is build with gcc (GCC) 3.2.2 20030131 (Debian prerelease)
>
> module-init-tools version 0.9.9
>
> Is there more info I should provide?

Looks like you need the following patch (or moreal equiv).

Hope this helps!
Rusty.

diff -Nru a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
--- a/include/asm-generic/vmlinux.lds.h Fri Feb 7 21:21:02 2003
+++ b/include/asm-generic/vmlinux.lds.h Fri Feb 7 21:21:02 2003
@@ -13,18 +13,18 @@
         } \
                                                                         \
         /* Kernel symbol table: Normal symbols */ \
- __start___ksymtab = .; \
         __ksymtab : AT(ADDR(__ksymtab) - LOAD_OFFSET) { \
+ __start___ksymtab = .; \
                 *(__ksymtab) \
+ __stop___ksymtab = .; \
         } \
- __stop___ksymtab = .; \
                                                                         \
         /* Kernel symbol table: GPL-only symbols */ \
- __start___gpl_ksymtab = .; \
         __gpl_ksymtab : AT(ADDR(__gpl_ksymtab) - LOAD_OFFSET) { \
+ __start___gpl_ksymtab = .; \
                 *(__gpl_ksymtab) \
+ __stop___gpl_ksymtab = .; \
         } \
- __stop___gpl_ksymtab = .; \
                                                                         \
         /* Kernel symbol table: strings */ \
         __ksymtab_strings : AT(ADDR(__ksymtab_strings) - LOAD_OFFSET) { \

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:24 EST