Subject: Re: Quick kernel question.
To: Joshua Lee <yid@softhome.net>
From: S. N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 12/22/2002 07:20:09
Good morning,
I looked at the memory usage on GENERIC_LAPTOP and my customized kernel. =
=20
Indeed, the whole kernel gets loaded into the memory regardless of you ha=
ve=20
the devices in your system or not. When I booted with the GENERIC_LAPTOP=
=20
kernel, dmesg indicates I have 350 Meg of free system RAM. But when I bo=
ot=20
with my customized kernel, i.e., taking off any devices that I don't have=
=20
from the kernel config, dmesg indicates that I have 353 Meg of free syste=
m=20
RAM. The GENERIC_LAPTOP kernel is about 4.3 Meg and my custimozed kernel=
is=20
about 1.4 Meg in kernel size. Therefore I am now back to the old ways,=20
reconfiguring the kernel with only the devices I have and booting from th=
e=20
customized kernel. Thanks for your help.
Yours sincerely,
S. N. Cho,
Saturday, Dec. 22, 2002.
On Sunday 22 December 2002 06:16 am, Joshua Lee wrote:
> On Fri, Dec 20, 2002 at 10:24:34AM +0000, S. N. Cho wrote:
> > recompile the kernel with omitting every devices I do not have. On t=
he
> > other
>
> Try adjustkernel if you want to disable devices you don't have. The res=
ult
> may need some tweaking but it takes most of the gruntwork out of editin=
g
> a kernel config file.