From owner-freebsd-current Sun Mar 10 9:19: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 0D34837B404; Sun, 10 Mar 2002 09:19:05 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.6/8.11.4) id g2AHIxV34049; Sun, 10 Mar 2002 09:18:59 -0800 (PST) (envelope-from sgk) Date: Sun, 10 Mar 2002 09:18:53 -0800 From: Steve Kargl To: "Crist J. Clark" Cc: freebsd-current@FreeBSD.ORG, arr@FreeBSD.ORG, dfr@FreeBSD.ORG, mike@FreeBSD.ORG Subject: Re: kern_linker.c rev. 1.75 and newer cause loading problem Message-ID: <20020310091853.A33945@troutmask.apl.washington.edu> References: <20020309101325.A26358@troutmask.apl.washington.edu> <20020310003528.M57999@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020310003528.M57999@blossom.cjclark.org>; from cjc@FreeBSD.ORG on Sun, Mar 10, 2002 at 12:35:28AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 10, 2002 at 12:35:28AM -0800, Crist J. Clark wrote: > On Sat, Mar 09, 2002 at 10:13:25AM -0800, Steve Kargl wrote: [snip] > > root[203] kldstat > > Id Refs Address Size Name > > 1 12 0xc0100000 262e40 kernel > > 2 1 0xc0363000 18330 linux.ko > ^^^^^ > > 9 2 0xcb425000 14000 linux.ko > ^^^^^ > > Are you sure the same module is being loaded? > > $ find -x / -name linux.ko Yes, I am sure. kargl[204] kldconfig -r /boot/kernel;/boot/kernel;/boot/modules;/modules kargl[205] ls /boot/modules/ kargl[206] ls /modules/ ls: /modules/: No such file or directory kargl[208] ls -l /boot/kernel/lin* -rw------- 1 root wheel 15432 Mar 9 09:50 /boot/kernel/linker.hints -r-xr-xr-x 1 root wheel 19581 Mar 9 09:50 /boot/kernel/linprocfs.ko* -r-xr-xr-x 1 root wheel 97319 Mar 9 09:50 /boot/kernel/linux.ko* kargl[213] find /boot -name linux\* /boot/kernel/linux.ko <-- Built at same time as 1.75 /boot/kernel.old/linux.ko <-- Built at same time as 1.74 /boot/sgk/linux.ko <-- not relevant see search path /boot/kargl/linux.ko <-- not relevant see search path kargl[214] cmp /boot/kernel/linux.ko /boot/kernel.old/linux.ko kargl[215] cmp /boot/kernel/linprocfs.ko /boot/kernel.old/linprocfs.ko As I said, if I backup to revision 1.74 of kern_linker.c, then everything works. If I use revision 1.75 or newer, then you see the above problem. I haven't found the actual problem in kern_linker.c because it is a huge diff. kargl[220] diff -u /root/kern_linker.c-1.74 /root/kern_linker.c-1.75 |wc 2956 12329 102757 -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message