On Tuesday 07 July 2009 14:42:03 Fábio Gomes dos Santos wrote:
> A muito pouco tempo o kernel linux quebrou o paradigma de uma imagem de
> tamanho limitado para boot (initrd).
> Antigamente não era usado o cpio, e esta imagem tinha limite de no
> máximo 15mb. Atualmente este limite é bem maior (não sei ao certo quanto).
[cut]


fiz um teste aqui (initramfs cpio+gzip):

# uname -rm
2.6.30.1 x86_64

# cat /proc/meminfo | grep -i total | head -3
MemTotal:     33247488 kB
HighTotal:    32610572 kB
LowTotal:       636916 kB

# du -sh initrd.gz
149M    initrd.gz

ao executar o lilo:

Warning: The initial RAM disk is too big to fit between the kernel and
   the 15M-16M memory hole.  It will be loaded in the highest memory as
   though the configuration file specified "large-memory" and it will
   be assumed that the BIOS supports memory moves above 16M.

Não testei se o sistema carrega ou não com essa imagem (mais tarde faço).

Até onde recordo as limitações eram por arquitetura (na documentação oficial 
ainda é 16M, vide ramdisk.txt) e também como o kernel foi configurado, ou seja:

CONFIG_BLK_DEV_RAM_SIZE=16384

Já vi gente recompilando com o parâmetro acima maior (com 32M) e funcionando 
com sucesso e também já vi alguns overflows seguidos de kernel panic.

Aparentemente, com o hardware suportando e o kernel configurado de acordo, a 
limitação será a quantidade disponível na RAM.

--
Herbert


--~--~---------~--~----~------------~-------~--~----~
GUS-BR - Grupo de Usuários de Slackware Brasil
http://www.slackwarebrasil.org/
http://groups.google.com/group/slack-users-br

Antes de perguntar:
http://www.istf.com.br/perguntas/

Para sair da lista envie um e-mail para:
[email protected]
-~----------~----~----~----~------~----~------~--~---

Responder a