From owner-freebsd-current Fri Mar 8 22:59: 4 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 A707037B405 for ; Fri, 8 Mar 2002 22:59:00 -0800 (PST) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.6/8.11.4) id g296wo921097 for freebsd-current@freebsd.org; Fri, 8 Mar 2002 22:58:50 -0800 (PST) (envelope-from sgk) Date: Fri, 8 Mar 2002 22:58:29 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Subject: linprocfs.ko and kld loader problem? Message-ID: <20020308225829.A21023@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 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