Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 10:13:25 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
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>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309101325.A26358>