Re: unknown option MAXUSERS

2005-02-19 Thread Dmitry M.
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  wheel512 Feb 18 04:05 .
drwxr-xr-x  13 root  wheel512 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  wheel120 Feb 27  2003 Makefile
-rw-r--r--   1 root  wheel  33470 Oct 24 21:02 NOTES
-rw-r--r--   1 root  wheel469 Jul 13  2004 OLDCARD
-rw-r--r--   1 root  wheel   1763 Oct 12 02:59 PAE
-rw-r--r--   1 root  wheel218 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=ruq=unknown+option+
%22MAXUSERS%22btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BAlr=
and
http://www.google.com/search?hl=ruq=don%27t+know+how+to+make+buildkernel.
+StopbtnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BAlr=
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unknown option MAXUSERS

2005-02-18 Thread Jamie Novak
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unknown option MAXUSERS

2005-02-18 Thread Kris Kennaway
On Fri, Feb 18, 2005 at 07:28:07AM +0200, Dmitry M. wrote:
 
 I tried recompile FreeBSD 5.3 kernel with IPFW support and added only two 
 lines:
 options  IPFIREWALL  # Enables the kernel firewall code.
 options  IPFIREWALL_VERBOSE  # Sends logged packets to the system logger.
 
 I've used both methods from your documentation :
 1. metod
 -
 -bash-2.05b# pwd
 /usr/src/sys/i386/conf
 -bash-2.05b# ls -la
 total 72
 drwxr-xr-x   2 root  wheel512 Feb 18 04:05 .
 drwxr-xr-x  13 root  wheel512 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  wheel120 Feb 27  2003 Makefile
 -rw-r--r--   1 root  wheel  33470 Oct 24 21:02 NOTES
 -rw-r--r--   1 root  wheel469 Jul 13  2004 OLDCARD
 -rw-r--r--   1 root  wheel   1763 Oct 12 02:59 PAE
 -rw-r--r--   1 root  wheel218 Oct 23 23:04 SMP
 -rw-r--r--   1 root  wheel   3991 Jul 26  2002 gethints.awk
 -bash-2.05b# config MYKERNEL
 MYKERNEL: unknown option MAXUSERS

Right, if you compare to the GENERIC kernel or NOTES you'll see that
there is in fact no such option listed, it's capitalized differently.

Kris


pgpp4wgwzyYgU.pgp
Description: PGP signature


unknown option MAXUSERS

2005-02-17 Thread Dmitry M.

I tried recompile FreeBSD 5.3 kernel with IPFW support and added only two 
lines:
options  IPFIREWALL  # Enables the kernel firewall code.
options  IPFIREWALL_VERBOSE  # Sends logged packets to the system logger.

I've used both methods from your documentation :
1. metod
-
-bash-2.05b# pwd
/usr/src/sys/i386/conf
-bash-2.05b# ls -la
total 72
drwxr-xr-x   2 root  wheel512 Feb 18 04:05 .
drwxr-xr-x  13 root  wheel512 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  wheel120 Feb 27  2003 Makefile
-rw-r--r--   1 root  wheel  33470 Oct 24 21:02 NOTES
-rw-r--r--   1 root  wheel469 Jul 13  2004 OLDCARD
-rw-r--r--   1 root  wheel   1763 Oct 12 02:59 PAE
-rw-r--r--   1 root  wheel218 Oct 23 23:04 SMP
-rw-r--r--   1 root  wheel   3991 Jul 26  2002 gethints.awk
-bash-2.05b# config MYKERNEL
MYKERNEL: unknown option MAXUSERS
-bash-2.05b#

2. metod

-bash-2.05b# pwd
/usr/src/sys/i386/conf
-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#

I tried to find out the reason of problem and find solution on 
http://www.google.com, but without any success. There are a lot of persons 
who have the same problem...
Any ideas?

Thank you for your time.

Skif.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 0: unknown option MAXUSERS config

2004-01-26 Thread Ben Palumbo
Thanks for the suggestions, now I get a new and different error:
 
palumbo# cd /usr/src
palumbo# make buildkernel KERNCONF=SECONDKERNEL
make: don't know how to make buildkernel. Stop

also I noticed that 
/usr/src/sys/i386/conf/LINT 
is not there. Just wondering if I should re-download some of the /usr/src tree

 

Thanks,

Ben

DavidB [EMAIL PROTECTED] wrote:
Please run method two from the Handbook (which is the preferred way in 
my book) and let us know if the results are the same.

Procedure 2. Building a Kernel the ``New'' Way

1. Change to the /usr/src directory.

# cd /usr/src

2. Compile the kernel.

# make buildkernel KERNCONF=MYKERNEL

3. Install the new kernel.

# make installkernel KERNCONF=MYKERNEL

Thanks,
David


Ben Palumbo wrote:
 Hello, 
 
 I am trying to complie a new kernel for IPsec and having problems with config(8)
 palumbo# /usr/sbin/config SECONDKERNEL
 SECONDKERNEL:0: unknown option MAXUSERS
 
 
 machine i386
 cpu I586_CPU
 ident SECONDKERNEL
 maxusers 15
 
 Looking at past mailing list/newgroups others have suggested setting maxusers to 0, 
 and this still does not work. 
 Any suggestions?
 Thanks,
 Ben Palumbo
 
 
 uname -a 
 FreeBSD mydonmain.net 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Jan 19 20:02:57 EST 
 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/FIRSTKERNEL i386
 
 
 
 -
 Do you Yahoo!?
 Exclusive Video Premiere - Britney Spears
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 0: unknown option MAXUSERS config

2003-10-27 Thread Ben Palumbo
Thanks for the suggestions, now I get a new and different error:
 
palumbo# cd /usr/src
palumbo# make buildkernel KERNCONF=SECONDKERNEL
make: don't know how to make buildkernel. Stop

also I noticed that 
/usr/src/sys/i386/conf/LINT 
is not there. Just wondering if I should re-download some of the /usr/src tree

 

Thanks,

Ben


DavidB [EMAIL PROTECTED] wrote:Please run method two from the Handbook (which is the 
preferred way in 
my book) and let us know if the results are the same.

Procedure 2. Building a Kernel the ``New'' Way

1. Change to the /usr/src directory.

# cd /usr/src

2. Compile the kernel.

# make buildkernel KERNCONF=MYKERNEL

3. Install the new kernel.

# make installkernel KERNCONF=MYKERNEL

Thanks,
David


Ben Palumbo wrote:
 Hello, 
 
 I am trying to complie a new kernel for IPsec and having problems with config(8)
 palumbo# /usr/sbin/config SECONDKERNEL
 SECONDKERNEL:0: unknown option MAXUSERS
 
 
 machine i386
 cpu I586_CPU
 ident SECONDKERNEL
 maxusers 15
 
 Looking at past mailing list/newgroups others have suggested setting maxusers to 0, 
 and this still does not work. 
 Any suggestions?
 Thanks,
 Ben Palumbo
 
 
 uname -a 
 FreeBSD mydonmain.net 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Jan 19 20:02:57 EST 
 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/FIRSTKERNEL i386
 
 
 
 -
 Do you Yahoo!?
 Exclusive Video Premiere - Britney Spears
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


0: unknown option MAXUSERS config

2003-10-26 Thread Ben Palumbo
Hello, 
 
I am trying to complie a new kernel for IPsec and having problems with config(8)
palumbo# /usr/sbin/config SECONDKERNEL
SECONDKERNEL:0: unknown option MAXUSERS
 
Snip from SECONDKERNEL file 
machine i386
cpu I586_CPU
ident   SECONDKERNEL
maxusers15
/end of snip 
Looking at past mailing list/newgroups others have suggested setting maxusers to 0, 
and this still does not work. 
Any suggestions?
Thanks,
Ben Palumbo
 
 
uname -a 
FreeBSD mydonmain.net 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Jan 19 20:02:57 EST 2003 
[EMAIL PROTECTED]:/usr/src/sys/compile/FIRSTKERNEL  i386



-
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.1 -RELEASE: unknown option MAXUSERS

2003-07-19 Thread Joe Warner
Hi,
 
I'm running FreeBSD 5.1 -RELEASE and I'm getting the error in the subject 
after attempting to add a new option to my custom kernel. 
 
I'm trying to add options USER_LDT so I can install the new Nvidia drivers 
but when I issue:
 
 /usr/sbin/config CUSTOM_KERNEL 
 
 ..I get:
 
 custom_kernel: unknown option MAXUSERS
 
 If I issue:
 
 cd /usr/src
 
 make buildkernel KERNCONF=CUSTOM_KERNEL
 
 ..I get:
 
 make: don't know how to make buildkernel. Stop
 
I was able to create a custom kernel and compile it successfully after I 
installed 5.1 so what gives?
 
I've run cvsup a couple of times using the RELENG_5 tag in my supfile but it 
never pulls down any source and I assume this is because there isn't a STABLE 
branch for 5.x yet.
 
Can someone help?
 
Thanks

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 -RELEASE: unknown option MAXUSERS

2003-07-19 Thread Greg J.
On Sat, 19 Jul 2003 08:39:30 -0600
Joe Warner [EMAIL PROTECTED] wrote:

 Hi,
  
 I'm running FreeBSD 5.1 -RELEASE and I'm getting the error in the
 subject after attempting to add a new option to my custom kernel. 
  
 I'm trying to add options USER_LDT so I can install the new Nvidia
 drivers but when I issue:
  
  /usr/sbin/config CUSTOM_KERNEL 
  
  ..I get:
  
  custom_kernel: unknown option MAXUSERS
  
  If I issue:
  
  cd /usr/src
  
  make buildkernel KERNCONF=CUSTOM_KERNEL
  
  ..I get:
  
  make: don't know how to make buildkernel. Stop
  
 I was able to create a custom kernel and compile it successfully after
 I installed 5.1 so what gives?
  
 I've run cvsup a couple of times using the RELENG_5 tag in my supfile
 but it never pulls down any source and I assume this is because there
 isn't a STABLE branch for 5.x yet.
  
 Can someone help?
  
 Thanks
I replied to your post on bsdforums.org..
http://www.bsdforums.org/forums/showthread.php?s=threadid=12302


pgp0.pgp
Description: PGP signature


Re: FreeBSD 5.1 -RELEASE: unknown option MAXUSERS

2003-07-19 Thread Stephen Bader
Don't know how much this applies, but I had the exact same error on 4.8
when trying to build the kernel. I would cd /usr/src and execute 'make
buildkernel KERNCONF=CUSTOM' and it would come back with the 'unknown
option MAXUSERS' error.

I discovered that it was my symlink from /usr/src/sys/i386/conf -
/root/conf that was causing the problem. When I changed the symlink so it
was /usr/src/sys/i386/conf/CUSTOM - /root/conf/CUSTOM, the buildkernel
worked.

Not sure if this will help, but it is a thought! Oh, and I would get the
same error when buidling GENERIC because it was in /root/conf, and was
just a symlink.

-Steve

-
Stephen Bader  JORSM Internet, Regional Internet Services
Systems Administrator  7 Area Codes in Chicagoland and NW Indiana
[EMAIL PROTECTED]   100Mbps+ Connectivity, 56K-DS3, V.90, ISDN
(219) 322-2180 Quality Service, Affordable Prices
http://www.jorsm.com   Serving Gov, Biz, Indivds Since 1995
-

On Sat, 19 Jul 2003, Greg J. wrote:

 On Sat, 19 Jul 2003 08:39:30 -0600
 Joe Warner [EMAIL PROTECTED] wrote:

  Hi,
 
  I'm running FreeBSD 5.1 -RELEASE and I'm getting the error in the
  subject after attempting to add a new option to my custom kernel.
 
  I'm trying to add options USER_LDT so I can install the new Nvidia
  drivers but when I issue:
 
   /usr/sbin/config CUSTOM_KERNEL
 
   ..I get:
 
   custom_kernel: unknown option MAXUSERS
 
   If I issue:
 
   cd /usr/src
 
   make buildkernel KERNCONF=CUSTOM_KERNEL
 
   ..I get:
 
   make: don't know how to make buildkernel. Stop
 
  I was able to create a custom kernel and compile it successfully after
  I installed 5.1 so what gives?
 
  I've run cvsup a couple of times using the RELENG_5 tag in my supfile
  but it never pulls down any source and I assume this is because there
  isn't a STABLE branch for 5.x yet.
 
  Can someone help?
 
  Thanks
 I replied to your post on bsdforums.org..
 http://www.bsdforums.org/forums/showthread.php?s=threadid=12302



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]