Re: initramfs fails for medium sized cpio archives

Trammell Hudson (hudson@osresearch.net)
Wed, 19 Mar 2003 19:12:00 -0700


On Tue, Mar 18, 2003 at 06:03:50PM -0800, Andrew Morton wrote:
> Trammell Hudson <hudson@osresearch.net> wrote:
> > I've added a sanity check in get_dirty_limits() that initialized
> > total_pages if it is still zero and things seem to work, but
> > should some of the memory management modules be initialized first?
>
> This is fixed in 2.5.65, with the below patch.

Thanks. I had missed it in the 2.5.65 change log since it didn't
mention initramfs, but now see the "Early page_writeback initialization"
entry. The patch does fix the divide by zero error.

> [...] Neat. Nice to see it working.

I'm working on a custom system that can only send a single file to
the nodes (over a custom interconnect) when they boot, so neither
tftping a ramdisk or a PXE boot loader would work for me. Having
the initramfs image be bundled into the kernel is a real life saver.

Trammell

-- 
  -----|----- hudson@osresearch.net                   W 240-283-1700
*>=====[]L\   hudson@rotomotion.com                   M 505-463-1896
'     -'-`-   http://www.swcp.com/~hudson/                    KC5RNF

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/