[OpenBIOS] [PATCH 2/3] sparc64: claim memory mapped by startup code

Blue Swirl blauwirbel at gmail.com
Sun Dec 27 10:30:25 CET 2009

On Sat, Dec 26, 2009 at 10:07 PM, Igor V. Kovalenko
<igor.v.kovalenko at gmail.com> wrote:
> From: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
> - claim both physical and virtual address ranges
>  while walking boot memory mappings

With this patch applied, SILO can't find enough memory. For example:
SILO Version 1.4.13

                  Welcome to Debian GNU/Linux etch!

This is a Debian installation CDROM, built on 20070407-11:37.
Keep it once you have installed your system, as you can boot from it
to repair the system on your hard disk if that ever becomes necessary.

WARNING: You should completely back up all of your hard disks before
  proceeding. The installation procedure can completely and irreversibly
  erase them! If you haven't made backups yet, remove the rescue CD from
  the drive and press L1-A to get back to the OpenBoot prompt.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
by applicable law.

[ ENTER - Boot install ]   [ Type "expert" - Boot into expert mode ]
                           [ Type "rescue" - Boot into rescue mode ]
Could not find any available memory
Could not find any available memory
Loaded kernel version 2.6.18
Could not find any available memory

Fatal error: You do not have enough continuous available memory for
such initial ramdisk.
0 >

Without the patch, I get:
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.18
Loading initial ramdisk (3879265 bytes at 0xC00000 phys, 0x40C00000 virt)...
Remapping the kernel... done.
Booting Linux...
Inconsistent console: input 5, output 5
123 >

More information about the OpenBIOS mailing list