Subject: Re: NMBCLUSTERS and sysctl
To: Martti Kuparinen <martti.kuparinen@nomadiclab.com>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 12/13/2000 10:40:24
	You should be able to fix this with gdb.

	See:

	http://www.NetBSD.org/Documentation/kernel/#mclpool-limit

	The FAQs are your friend :)

		David/absolute		-- www.netbsd.org: No hype required --


On Wed, 13 Dec 2000, Martti Kuparinen wrote:

> Hi!
>
> I was trying to install NetBSD 1.5 on a PC with four PCI network cards
> (using the ex driver). I couldn't install without moving the disk to
> another PC because I got the famous "mclpool limit reached; increase
> NMBCLUSTERS" message even when trying to install from CD-ROM. The
> installation worked fine so I moved the disk back to the router PC.
> That was a BIG mistake!
>
> The system doesn't come up, it hangs when trying to go to the multi-user
> mode. On console I see again the "mclpool limit reached" message.
>
> "Ok, so boot into single-user mode and use sysctl to increase the
> nmbclusters and recompile the kernel" I thought. This is what I get:
>
>     # sysctl kern.mbuf.nmbclusters
>     kern.mbuf.nmbclusters = 256
>     # sysctl -w kern.mbuf.nmbclusters=1000
>     sysctl: sysctl() for kern.mbuf.nmbclusters failed: Operation not permited
>     # sysctl -w kern.mbuf.nmbclusters=256
>     sysctl: sysctl() for kern.mbuf.nmbclusters failed: Operation not permited
>     # sysctl kern.securelevel
>     kern.securelevel = -1
>
> What should I do? I don't like the idea of moving the disk back to the
> installation PC...
>
> Martti
>
> ---
> Ericsson Research / NomadicLab
> Martti Kuparinen <martti.kuparinen@nomadiclab.com>
> http://www.iki.fi/~kuparine/
>
>