Subject: re: port-i386/17494: Accessing disk from bootloader causes system to hang
To: None <netbsd-bugs@netbsd.org, gnats-bugs@gnats.netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 11/30/2003 21:26:03
The problem here is that the standalone filesystem code uses 'block' sized
buffers to access the disk. With the filesystem:
> # size offset fstype [fsize bsize cpg/sgs]
> a: 6144768 0 4.2BSD 8192 65536 4272 # (Cyl. 0 - 6095)
this required several 64k buffers - which there wasn't space for.
The 'current' standalone filesystem code uses a single buffer, so has
a smaller footprint.
However the 'new' bootxx code also uses the standalone filesystem code and
is constrained (without a lot of work) to the lowest 64k of memory - so
doesn't stand a chance.... (it will work with 32k blocks).
David
--
David Laight: david@l8s.co.uk