Subject: large MEMORY_DISK_ROOT_SIZE (>200MB)
To: None <netbsd-users@netbsd.org>
From: Petar Bogdanovic <list+2007@smokva.net>
List: netbsd-users
Date: 10/15/2007 01:12:39
Hi,
I just tried to boot various `generic' RC2-kernels with [1]large memory
disks and got the following results:
GENERIC + MEMORY_DISK_ROOT_SIZE=204800 (aka 100MB):
freeze (qemu) or reboot (IBM T42)
GENERIC.NOACPI + MEMORY_DISK_ROOT_SIZE=204800 (aka 100MB):
works
GENERIC.NOACPI + MEMORY_DISK_ROOT_SIZE=409600 (aka 200MB):
freeze (qemu) or reboot (IBM T42)
INSTALL_TINY + MEMORY_DISK_ROOT_SIZE=409600 (aka 200MB):
works
Should I take a look at some options or has it something to do with the
`effective' kernel-size? Here is the linker-output of INSTALL_TINY -- it
is just 10% of GENERIC's size:
text data bss dec hex filename
1068050 209745220 65752 210879022 c91c22e netbsd
Thanks,
Petar
[1] Basically, I just added these five lines:
options MEMORY_DISK_HOOKS
options MEMORY_DISK_IS_ROOT
options MEMORY_DISK_SERVER=1
options MEMORY_DISK_ROOT_SIZE=... (see above)
options MEMORY_RBFLAGS=0