From owner-freebsd-current Sat Mar 9 10:13:54 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 668C937B41A; Sat, 9 Mar 2002 10:13:49 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.6/8.11.4) id g29IDii26505; Sat, 9 Mar 2002 10:13:44 -0800 (PST) (envelope-from sgk) Date: Sat, 9 Mar 2002 10:13:25 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Cc: arr@freebsd.org, dfr@freebsd.org, mike@freebsd.org Subject: kern_linker.c rev. 1.75 and newer cause loading problem Message-ID: <20020309101325.A26358@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Well, I finally have narrowed the problem down to Revision 1.75 Fri Feb 22 04:14:49 2002 UTC (2 weeks, 1 day ago) by arr Branch: MAIN Changes since 1.74: +1295 -1271 lines Diff to previous 1.74 (colored) - Massive style fixup. Reviewed by: mike Approved by: dfr To recap: root[202] cat /boot/loader.conf miibus_load="YES" if_rl_load="YES" snd_pcm_load="YES" snd_maestro3_load="YES" linux_load="YES" agp_load="YES" hint.acpi.0.disable="1" root[203] kldstat Id Refs Address Size Name 1 12 0xc0100000 262e40 kernel 2 1 0xc0363000 18330 linux.ko 3 2 0xc037c000 15480 miibus.ko 4 1 0xc0392000 7798 if_rl.ko 5 2 0xc039a000 1a14c snd_pcm.ko 6 1 0xc03b5000 9538 snd_maestro3.ko 7 1 0xc03bf000 c860 agp.ko 8 1 0xcb052000 2000 blank_saver.ko root[204] kldload linprocfs kldload: can't load linprocfs: Exec format error root[206] tail -1 /var/log/messages Mar 9 10:00:27 kernel: KLD linprocfs.ko: depends on \ linux - not available root[209] kldunload linux root[210] kldload linux root[211] kldload linprocfs root[213] kldstat Id Refs Address Size Name 1 15 0xc0100000 262e40 kernel 3 2 0xc037c000 15480 miibus.ko 4 1 0xc0392000 7798 if_rl.ko 5 2 0xc039a000 1a14c snd_pcm.ko 6 1 0xc03b5000 9538 snd_maestro3.ko 7 1 0xc03bf000 c860 agp.ko 8 1 0xcb052000 2000 blank_saver.ko 9 2 0xcb425000 14000 linux.ko 10 1 0xcab88000 5000 linprocfs.ko If I back up to revision 1.74 of kern_linker.c, then this problem of "Exec format error" and "KLD linprocfs.ko: depends on linux - not available" goes away. As the commit message for revision 1.75 states "Massive style fixup", I suspect a typo slipped in. However, this is a +1200 line diff and I haven't been able to find it. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message