From owner-freebsd-questions@FreeBSD.ORG Sat Feb 19 09:18:34 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AF4516A4D0 for ; Sat, 19 Feb 2005 09:18:34 +0000 (GMT) Received: from mail.psoft.lviv.ua (ext.psoft.net [194.44.204.1]) by mx1.FreeBSD.org (Postfix) with SMTP id E49B443D2F for ; Sat, 19 Feb 2005 09:18:32 +0000 (GMT) (envelope-from skif@psoft.lviv.ua) Received: (qmail 24139 invoked from network); 19 Feb 2005 09:18:29 -0000 Received: from unknown (HELO skif.psoft) (192.168.112.151) by monster.psoft with SMTP; 19 Feb 2005 09:18:29 -0000 From: "Dmitry M." To: questions@freebsd.org Date: Sat, 19 Feb 2005 11:18:29 +0200 User-Agent: KMail/1.6.2 References: <200502180728.07622.skif@psoft.lviv.ua> <20050218085213.GC34810@mail.oss.uswest.net> In-Reply-To: <20050218085213.GC34810@mail.oss.uswest.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200502191118.29338.skif@psoft.lviv.ua> Subject: Re: unknown option "MAXUSERS" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 09:18:34 -0000 On Friday 18 February 2005 10:52, Jamie Novak wrote: > On 02/17, Dmitry M. rearranged the electrons to read: > > -bash-2.05b# config MYKERNEL > > MYKERNEL: unknown option "MAXUSERS" > > It's probably because "maxusers" is a lowercase-only option in the > config, right along with the ident, machine, and cpu lines. Change it to > lowercase and you should be fine. > > Also, from the handbook: > > Note: As of FreeBSD 4.5, setting MAXUSERS to 0 in your > kernel configuration file will choose a reasonable default > value based on the amount of RAM present in your system. > > In 5.x and beyond, I believe the option is omitted entirely, even in > GENERIC. > > Hope that helps. > > -Jamie I forgot to add that it is FreeBSD 5.3 kernel :) As yopu can see I haven't "MAXUSERS" or "maxusers" option in MYKERNEL file: ---------------------------------------- -bash-2.05b# pwd /usr/src/sys/i386/conf -bash-2.05b# ls -la total 72 drwxr-xr-x 2 root wheel 512 Feb 18 04:05 . drwxr-xr-x 13 root wheel 512 Feb 18 02:36 .. -rw-r--r-- 1 root wheel 9798 Oct 24 21:02 GENERIC -rw-r--r-- 1 root wheel 1982 Apr 2 2004 GENERIC.hints -rw-r--r-- 1 root wheel 9798 Feb 18 04:05 GENERIC2 lrwxr-xr-x 1 root wheel 22 Feb 18 02:40 MYKERNEL -> /root/kernels/MYKERNEL -rw-r--r-- 1 root wheel 120 Feb 27 2003 Makefile -rw-r--r-- 1 root wheel 33470 Oct 24 21:02 NOTES -rw-r--r-- 1 root wheel 469 Jul 13 2004 OLDCARD -rw-r--r-- 1 root wheel 1763 Oct 12 02:59 PAE -rw-r--r-- 1 root wheel 218 Oct 23 23:04 SMP -rw-r--r-- 1 root wheel 3991 Jul 26 2002 gethints.awk -bash-2.05b# grep "MAXUSERS" * -bash-2.05b# grep "maxusers" * -bash-2.05b# config MYKERNEL MYKERNEL: unknown option "MAXUSERS" -bash-2.05b# ---------------------------------------- The same problem I have with GENERIC2 (copy of GENERIC) and GENERIC too: ---------------------------------------- -rw-r--r-- 1 root wheel 9798 Oct 24 21:02 GENERIC -rw-r--r-- 1 root wheel 9798 Feb 18 04:05 GENERIC2 ---------------------------------------- -bash-2.05b# config GENERIC2 GENERIC2: unknown option "MAXUSERS" -bash-2.05b# config GENERIC GENERIC: unknown option "MAXUSERS" -bash-2.05b# ---------------------------------------- Even if I tried to add maxusers 0 or MAXUSERS 0 in MYKERNEL it didn't work. If I try to use second metod: ----------------------------------------- -bash-2.05b# cd /usr/src -bash-2.05b# make buildkernel KERNCONF=MYKERNEL make: don't know how to make buildkernel. Stop -bash-2.05b# ----------------------------------------- Any ideas? Thank you in any case. :) Skif. PS: Also as you can see there is a lot of other persons who have these problems: http://www.google.com/search?hl=ru&q=unknown+option+ %22MAXUSERS%22&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&lr= and http://www.google.com/search?hl=ru&q=don%27t+know+how+to+make+buildkernel. +Stop&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&lr=