Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 11:15:20 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Sergey Mokryshev <mokr@mokr.net>
Cc:        Radko Keves <rado@studnet.sk>, questions@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: question about ipl.ko
Message-ID:  <20020820181519.GA69240@blossom.cjclark.org>
In-Reply-To: <062201c2475f$9f19ab40$0f0010ac@office.tersys.ru>
References:  <20020816130147.GA39907@studnet.sk> <20020816193854.GC47465@blossom.cjclark.org> <062201c2475f$9f19ab40$0f0010ac@office.tersys.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 19, 2002 at 01:05:53PM +0400, Sergey Mokryshev wrote:
> Hello, Crist!
> You wrote to "Radko Keves" <rado@studnet.sk> on Fri, 16 Aug 2002
> 12:38:54 -0700:
> 
>  CJC> On Fri, Aug 16, 2002 at 03:01:47PM +0200, Radko Keves wrote:
>  >> i try to load ipl.ko
> 
>  >> #kldload -v /boot/kernel/ipl.ko kldload: can't load
>  >> /boot/kernel/ipl.ko: Exec format error
> 
>  CJC> [snip]
> 
>  >> it's my problem, for example in the kernel module loading
>  >> sequence, or current problem ?
> 
>  CJC> Both. If you are getting an 'Exec format error,' there is
>  CJC> something wrong at your end. However, ipl.ko has been broken in
>  CJC> CURRENT for a "long time" (over a year at least) and will not
>  CJC> load (albeit with a different error message).
>  CJC> --
> 
> $ uname -a
> FreeBSD amber.mokr.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Aug 14
> 18:41:05 MSD 2002     root@amber.mokr.net:/usr/obj/usr/src/sys/AMBER
> i386
> 
> $ kldstat
> Id Refs Address    Size     Name
>  1   15 0xc0100000 2cc000   kernel
>  2    1 0xc03cd000 5760     vesa.ko
>  3    1 0xc03d3000 5160     snd_ich.ko
>  4    2 0xc03d9000 1a88c    snd_pcm.ko
>  5    1 0xc03f4000 d378     agp.ko
>  6    1 0xc0402000 3cb30    acpi.ko
>  7    1 0xc26f4000 5000     linprocfs.ko
>  8    2 0xc27b9000 14000    linux.ko
>  9    1 0xc27ed000 15000    ipl.ko
> 10    1 0xc28ac000 2000     rtc.ko
> 
> $ grep PFIL /usr/src/sys/i386/conf/AMBER
> options         PFIL_HOOKS
> 
> You need to include "options PFIL_HOOKS" in your kernel configuration to
> be
> able to use ipfilter as a loadable module.

But what's the point? PFIL_HOOKS only used by IPFilter. If you are
going to be recompiling a kernel, you might just as well compile in
"options IPFILTER" and be done with it.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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