Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Oct 2002 20:35:16 -0400
From:      Anclo <anclo@anclo.com>
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        jfm@blueyonder.co.uk, freebsd-newbies@freebsd.org
Subject:   Re: unknown option "ICMP_BANDLIM"
Message-ID:  <5.1.1.6.0.20021008203256.026b5dc0@imap.3dresearch.com>
In-Reply-To: <20021007213724.GA20025@hades.hell.gr>
References:  <5.1.1.6.0.20021007085334.03547fd0@imap.3dresearch.com> <4025.209.195.180.12.1033877525.squirrel@mirror.3dresearch.com> <4025.209.195.180.12.1033877525.squirrel@mirror.3dresearch.com> <5.1.1.6.0.20021007085334.03547fd0@imap.3dresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:37 PM 10/7/2002, you wrote:
>On 2002-10-07 09:02, Anclo <anclo@anclo.com> wrote:
> > At 07:57 AM 10/6/2002, you wrote:
> > >"Anclo" <anclo@anclo.com> wrote:
>
> > > > I'm trying to build my first custom kernel (4.6-RELEASE) and I'm
> > > > getting the message:
> > > > MYKERNEL:56: unknown option "ICMP_BANDLIM"
> > > >
> > > > Any idea why? Should I simply comment out option ICMP_BANDLIM?
> > >
> > > No, don't comment out the option if you need it.  I'd guess the
> > > kernel config file is corrupted probably with Carriage Returns 0D
> > > ^M things.  Have you transferred the file from Windows at some
> > > stage?  Which editor do you use?
> >
> > No, never transferred the file from Windows, and edited it with vim.
> >
> > Since then, I run CVSup and now when I try to run /usr/sbin/config
> > MYKERNEL I get the message: config: MYKERNEL: No such file or
> > directory.
>
>Are you running the config(8) command in the correct directory,
>i.e. the one that the file MYKERNEL exists in?  You might also want to
>note that the recommended way of building kernels (the one suggested
>by /usr/src/UPDATING) is to create a kernel config called MYKERNEL in
>/usr/src/sys/i386/conf and then run:
>
>         # cd /usr/src
>         # make KERNCONF=MYKERNEL buildkernel
>
>--
>keramida@FreeBSD.org -==- FreeBSD: The Power to Serve
>FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST 2002

Giorgos,

Here is what I got:

  /usr/src/sys/i386/conf]$ ls -al
total 64
drwxr-xr-x   2 root  wheel    512 Oct  6 02:08 .
drwxr-xr-x  13 root  wheel    512 Aug 23 07:12 ..
-rw-r--r--   1 root  wheel   8924 Oct  6 02:08 GENERIC
-rw-r--r--   1 root  wheel   1944 May 26  2001 GENERIC.hints
lrwxr-xr-x   1 root  wheel     25 Aug 22 07:12 MONOSTATOS1 -> 
/root/kernels/MONOSTATOS1
-rw-r--r--   1 root  wheel    253 Jul 15 13:48 Makefile
-rw-r--r--   1 root  wheel  31318 Oct  6 02:08 NOTES
-rw-r--r--   1 root  wheel   8555 Oct  6 02:08 OLDCARD
-rw-r--r--   1 root  wheel   3991 Jul 25 23:52 gethints.awk
[root@monostatos /usr/src/sys/i386/conf]$ cd /usr/src
[root@monostatos /usr/src]$ make KERNCONF=MONOSTATOS1 buildkernel &
[1] 24795
[root@monostatos /usr/src]$ make: no target to make.
"/usr/src/Makefile.inc1", line 140: warning: "make -f /dev/null -m 
/usr/src/share/mk  CPUTYPE=dummy -V CPUTYPE" returned non-zero status

--------------------------------------------------------------
 >>> Kernel build for MONOSTATOS1 started on Tue Oct  8 14:14:59 EDT 2002
--------------------------------------------------------------
===> MONOSTATOS1
mkdir -p /usr/obj/usr/src/sys
cd 
/usr/src/sys/i386/conf; 
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
config  -d /usr/obj/usr/src/sys/MONOSTATOS1  /usr/src/sys/i386/conf/MONOSTATOS1
/usr/src/sys/i386/conf/MONOSTATOS1:48: unknown option "USERCONFIG"
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

[1]+  Exit 1                  make KERNCONF=MONOSTATOS1 buildkernel
[root@monostatos /usr/src]$

Can you tell from this what's wrong?

Thanx,

Anclo




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




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