Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 17 Jan 2003 09:36:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 17 Jan 2003 09:36:32 -0500 Received: from chaos.physics.uiowa.edu ([128.255.34.189]:38563 "EHLO chaos.physics.uiowa.edu") by vger.kernel.org with ESMTP id ; Fri, 17 Jan 2003 09:36:31 -0500 Date: Fri, 17 Jan 2003 08:44:22 -0600 (CST) From: Kai Germaschewski X-X-Sender: kai@chaos.physics.uiowa.edu To: Mikael Pettersson cc: rusty@rustcorp.com.au, Subject: Re: 2.5.59 vmlinux.lds.S change broke modules In-Reply-To: <15911.64825.624251.707026@harpo.it.uu.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jan 2003, Mikael Pettersson wrote: > What happens is that __find_symbol() oopses because the kernel's > symbol table is in la-la land. (Note the bogus kernel adress > 2220c021 it tried to dereference above.) > > Reverting 2.5.59's patch to arch/i386/vmlinux.lds.S cured the > problem and modules now load correctly for me. That's interesting. It doesn't happen for me, but I'm using older binutils. The patch really only changes two things (except for ARM): o whitespace o It adds AT(ADDR(section) - 0) Both of these should be NOPs, but apparently not. Could you try removing the AT(...) from include/asm-generic/vmlinux.lds.h? Also, what does objdump -h vmlinux and grep __start_ System.map say? --Kai - 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/