mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.59 Oops with insmod aironet4500_proc
@ 2003-02-10  0:14 Ookhoi
  2003-02-10  1:50 ` Rusty Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Ookhoi @ 2003-02-10  0:14 UTC (permalink / raw)
  To: elmer, rusty; +Cc: linux-kernel

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?

Can this have something to do with my patch for aironet4500_core.c ?
(I don't think so, but still ..)


Unable to handle kernel paging request at virtual address a0c02ee7
 printing eip:
c0125978
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0060:[<c0125978>]    Not tainted
EFLAGS: 00010093
EIP is at __find_symbol+0x38/0x70
eax: 00000001   ebx: c02e2f05   ecx: c037c9a0   edx: 00000000
esi: a0c02ee7   edi: c88f06c1   ebp: 00000624   esp: c7681ec8
ds: 007b   es: 007b   ss: 0068
Process insmod (pid: 161, threadinfo=c7680000 task=c771f2c0)
Stack: c7680000 c88f06c1 c88fa260 c88e4780 c012627d c88f06c1 c7681ee8 00000001 
       00000010 c88f014c 00000021 0000006a c01264de c88e4780 00000010 c88f05dc 
       c88f06c1 c88fa260 00000000 c88f05dc c88d6000 c88e4780 00000007 000002d0 
Call Trace:
 [<c012627d>] resolve_symbol+0x2d/0x80
 [<c01264de>] simplify_symbols+0xae/0x110
 [<c0126c41>] load_module+0x461/0x880
 [<c01270c9>] sys_init_module+0x69/0x1d0
 [<c0109157>] syscall_call+0x7/0xb

Code: ac ae 75 08 84 c0 75 f8 31 c0 eb 04 19 c0 0c 01 85 c0 74 16 
 <6>note: insmod[161] exited with preempt_count 1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.59 Oops with insmod aironet4500_proc
  2003-02-10  0:14 2.5.59 Oops with insmod aironet4500_proc Ookhoi
@ 2003-02-10  1:50 ` Rusty Russell
  2003-02-10 21:14   ` Ookhoi
  0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2003-02-10  1:50 UTC (permalink / raw)
  To: ookhoi; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.59 Oops with insmod aironet4500_proc
  2003-02-10  1:50 ` Rusty Russell
@ 2003-02-10 21:14   ` Ookhoi
  0 siblings, 0 replies; 3+ messages in thread
From: Ookhoi @ 2003-02-10 21:14 UTC (permalink / raw)
  To: Rusty Russell; +Cc: ookhoi, linux-kernel

Rusty Russell wrote (ao):
> In message <20030210011418.O19693@humilis> you write:
> > 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

Hi Rusty,

Sorry for the delay. A pentium 133 compiles as fast as you would expect
it to.

Your patch fixes my oops-on-insmod. Of course you knew this already,
didn't you ;-)

Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-10 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10  0:14 2.5.59 Oops with insmod aironet4500_proc Ookhoi
2003-02-10  1:50 ` Rusty Russell
2003-02-10 21:14   ` Ookhoi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®