Subject: port-i386/24978: Can't boot NetBSD with large MEMORY_DISK_ROOT_SIZE
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/30/2004 17:57:23
>Number:         24978
>Category:       port-i386
>Synopsis:       Can't boot NetBSD with large MEMORY_DISK_ROOT_SIZE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 30 17:58:00 UTC 2004
>Originator:     Aymeric Arnoud
>Release:        NetBSD-1.6ZI
NetBSD 1.6ZI NetBSD 1.6ZI (FLAT) #0: Tue Mar 30 19:53:03 CEST
2004 i386
I built a kernel with following options:
options     MEMORY_DISK_IS_ROOT         # force root on memory disk
options     MEMORY_DISK_SERVER=0        # make the ramdisk writeable
options     MEMORY_DISK_ROOT_SIZE=32768 # 16 Mo
options     MEMORY_RBFLAGS=0            # don't force single user

The boot process stops quickly after some addresses display and PC reboots:
set options     MEMORY_DISK_ROOT_SIZE=32768 in kernel config file like DISKLESS.

kernel is boot from hard disk and install with
/netbsd/tool/nbinstallboot -v -o resetvideo,console=com0,speed=9600,timeout=15 /dev/ad0s1a /netbsd/dest/usr/mdec/bootxx_ffsv1


 >> NetBSD/i386 BIOS Boot, Revision 3.1
 >> (, Fri Jan 30 13:35:07 CET 2004)
 >> Memory: 640/261040 k
 Press return to boot now, any other key for boot menu
 booting hd0a:netbsd - starting in 0
 2419392+16832132+168860 [167664+148010]=0x12d3888
 >> NetBSD/i386 BIOS Boot, Revision 3.1
 Kernel is compiled with tool chain on FreeBSD4.8
 May be not specific to i386.
 uname is done on same kernel without MEMORY_DISK options.