Date: Sat, 9 Mar 2002 12:57:47 -0800 (PST) From: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/35712: kern_linker.c rev. 1.75 and newer break module loading Message-ID: <200203092057.g29Kvlg27662@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
>Number: 35712 >Category: kern >Synopsis: kern_linker.c rev. 1.75 and newer break module loading >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 09 13:00:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Steven G. Kargl >Release: FreeBSD 5.0-CURRENT i386 >Organization: apl/uw >Environment: System: FreeBSD troutmask.apl.washington.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Feb 14 11:34:33 PST 2002 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/TROUTMASK i386 >Description: This revision 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 - Massive style fixup. Reviewed by: mike Approved by: dfr breaks the loading of at least linprocfs.ko after a reboot. 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. >How-To-Repeat: reboot kldload linprocfs >Fix: Revert to revision 1.74 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203092057.g29Kvlg27662>