public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.59 __find_symbol oops
@ 2003-01-30 14:59 Gianni Tedesco
  2003-01-30 19:16 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Gianni Tedesco @ 2003-01-30 14:59 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

Reproduce by loading a module (AFAICS).

Unable to handle kernel paging request at virtual address 2d8c20c0
 printing eip:
c012cee6
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0060:[<c012cee6>]    Not tainted
EFLAGS: 00010093
EIP is at __find_symbol+0x46/0x90
eax: 00000617   ebx: c0383280   ecx: 00000000   edx: e90eb38d
esi: 2d8c20c0   edi: e90eb38d   ebp: c02d5947   esp: cc8d5ec8
ds: 007b   es: 007b   ss: 0068
Process insmod (pid: 722, threadinfo=cc8d4000 task=d4f10040)
Stack: c02e4d70 00000617 e90eaae8 e90ec100 000000a8 e90df8f0 c012da9e e90eb38d 
       cc8d5ef0 00000001 00000001 e90eaae8 00000062 c012dd2a e90df8f0 00000015 
       e90eaf48 e90eb38d e90ec100 00000000 e90eaf48 e90d8000 e90ec100 e90df8f0 
Call Trace:
 [<c012da9e>] resolve_symbol+0x2e/0x70
 [<c012dd2a>] simplify_symbols+0xba/0x120
 [<c012e4d7>] load_module+0x477/0x8d0
 [<c013f609>] do_mmap_pgoff+0x409/0x640
 [<c012e9bc>] sys_init_module+0x8c/0x1c0
 [<c010b153>] syscall_call+0x7/0xb

Code: ac ae 75 08 84 c0 75 f8 31 c0 eb 04 19 c0 0c 01 85 c0 74 24 
-- 
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: 2.5.59 __find_symbol oops
  2003-01-30 14:59 2.5.59 __find_symbol oops Gianni Tedesco
@ 2003-01-30 19:16 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2003-01-30 19:16 UTC (permalink / raw)
  To: Gianni Tedesco; +Cc: linux-kernel

On Thu, Jan 30, 2003 at 02:59:40PM +0000, Gianni Tedesco wrote:
> Reproduce by loading a module (AFAICS).

Bug in asm-generic/vmlinux.lds.h
Apply this patch:

===== vmlinux.lds.h 1.4 vs 1.5 =====
--- 1.4/include/asm-generic/vmlinux.lds.h	Thu Jan 16 17:02:47 2003
+++ 1.5/include/asm-generic/vmlinux.lds.h	Fri Jan 17 17:26:31 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) {	\

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

end of thread, other threads:[~2003-01-30 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 14:59 2.5.59 __find_symbol oops Gianni Tedesco
2003-01-30 19:16 ` Sam Ravnborg

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