Subject: i386 NetBSD2.0_BETA failed to boot with 8M memory root embedded in kernel
To: None <netbsd-bugs@NetBSD.org>
From: Pilipovic Josip <J.Pilipovic@flarion.com>
List: netbsd-bugs
Date: 06/24/2004 17:24:34
Built a i386 Netbsd 2.0_BETA kernel with in memory root disk. Here are
options in config file:=20
options MEMORY_DISK_IS_ROOT=20
MEMORY_DISK_SERVER=3D0=20
MEMORY_DISK_ROOT_SIZE=3D16384 # 8M=20
MEMORY_RBFLAGS=3D0 =20
The boot process stops quickly after some addresses display and PC =
reboots if
boot load netbsd.gz, Adding some debug to secondary boot image trying =
to
load netbsd (no compression) find that pread() function is failing when =
it
try to read 8M image from file to memory. If MEMORY_DISK_HOOKS =3D 8192 =
(4M).
Kernel boots without any problem. Any help will be very appreciated.
Best regards
Josip
I
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
This email may contain confidential and privileged material for the sole =
use
of the intended recipient. Any review or distribution by others is =
strictly
prohibited. If you are not the intended recipient please contact the =
sender
and delete all copies.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D