Date: Sun, 10 Mar 2002 09:18:53 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: "Crist J. Clark" <cjc@FreeBSD.ORG> 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> In-Reply-To: <20020310003528.M57999@blossom.cjclark.org>; from cjc@FreeBSD.ORG on Sun, Mar 10, 2002 at 12:35:28AM -0800 References: <20020309101325.A26358@troutmask.apl.washington.edu> <20020310003528.M57999@blossom.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020310091853.A33945>