Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 22:58:29 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   linprocfs.ko and kld loader problem?
Message-ID:  <20020308225829.A21023@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
I'm stumped by the following.  My /boot/loader.conf contains

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"

After booting, kldstat shows that everthing is loaded.

root[201] kldstat
Id Refs Address    Size     Name
 1   12 0xc0100000 26714c   kernel
 2    1 0xc0368000 18330    linux.ko
 3    2 0xc0381000 15480    miibus.ko
 4    1 0xc0397000 7798     if_rl.ko
 5    2 0xc039f000 1a14c    snd_pcm.ko
 6    1 0xc03ba000 9538     snd_maestro3.ko
 7    1 0xc03c4000 c860     agp.ko
 8    1 0xc14a5000 2000     blank_saver.ko

Now, the problem.

root[202] kldload linprocfs
kldload: can't load linprocfs: Exec format error

The following message is on the system console:

  KLD linprocfs.ko: depends on linux - not available

root[203] kldunload linux
root[204] kldload linux
root[205] kldload linprocfs
root[206] kldstat
Id Refs Address    Size     Name
 1   15 0xc0100000 26714c   kernel
 3    2 0xc0381000 15480    miibus.ko
 4    1 0xc0397000 7798     if_rl.ko
 5    2 0xc039f000 1a14c    snd_pcm.ko
 6    1 0xc03ba000 9538     snd_maestro3.ko
 7    1 0xc03c4000 c860     agp.ko
 8    1 0xc14a5000 2000     blank_saver.ko
 9    2 0xc15f8000 14000    linux.ko
10    1 0xc1612000 5000     linprocfs.ko

This is with current sources from 2200 PST, 07 Mar 02 .  The following
procedure was used to build the system
rm -rf /usr/obj/*
cd /usr/src
make cleandir && make cleandir
make buildworld
make -DNO_WERROR buildkernel KERNCONF=HOTRATS
make installkernel
make installworld
mergemaster

-- 
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?20020308225829.A21023>