On 04/02/09 20:04, Dave Miner wrote: > jan damborsky wrote: >> Hi Dave, >> >> >> On 04/02/09 00:12, Dave Miner wrote: >>> This note is just an early warning of changes that are expected to >>> arrive in build 111a, in order to fix >>> >>> 6440 Build 106 installer fails to start in 512 MB environment >>> http://defect.opensolaris.org/bz/show_bug.cgi?id=6440 >>> >>> Briefly, we're splitting the boot archive for the live CD into >>> separate 32- and 64-bit archives, which buys back a large chunk of >>> memory, sufficient to overcome the bloat that's crept in since 2008.11. >> >> With respect to separating boot archives, I am thinking if there >> might be a >> case when both might be needed during early stage of boot process. I am >> referring to 'min_mem64' GRUB option - it boots kernel in 32-bit mode >> even >> on 64-bit capable machines if there is not sufficient amount of memory >> (I think 1GB is required for LiveCD), since 32-bit kernel is less >> memory hungry. >> I am not sure what is the order of related actions GRUB takes, so >> this might >> not be issue for this fix - just wanted to bring this up in order to >> be sure. >> > > Not an issue. GRUB picks the kernel and archive pair consistently by > using the kernel$ and module$ constructs and accounts for the > min_mem64 setting in that selection, so you'll only need the modules > that go with the kernel's ISA.
I see - I was curious how it is implemented and the implementation is straightforward: if (is_amd64() AND (mem_size > min_mem64)) $ISADIR="amd64" else $ISADIR="" Jan