[CentOS] Compile a kernel

Wed Dec 9 13:33:38 UTC 2009
gilberto nunes <gilberto.nunes at selbetti.com.br>

hello

The was compile RAM disk and filesystem support and proc filesystem 
suporte too...

Perhaps I need upgrade SysVinit?

Thanks



Eero Volotinen escreveu:
> Quoting gilberto nunes <gilberto.nunes at selbetti.com.br>:
>
>> Hi buddies
>>
>> I attempt to compile a kernel on CentOS 5.3.
>> The kernel version is 2.6.31.6.
>>
>> All make procedure is running ok.
>> I can generate initrd image with no problem too.
>> But, when I try booting this kernel, I get Kernel panic:
>>
>> Setting up other filesystems.
>> Setting up new root fs
>> setuproot: moving /dev failed: No such file or directory
>> no fstab.sys, mounting internal defaults
>> setuproot: error mounting /proc: No such file or directory
>> setuproot: error mounting /sys: No such file or directory
>> Switching to new root and running init.
>> unmounting old /dev
>> unmounting old /proc
>> unmounting old /sys
>> switchroot: mount failed: No such file or directory
>> [    1.732772] init used greatest stack depth: 5168 bytes left
>> [    1.733029] Kernel panic - not syncing: Attempted to kill init!
>> [    1.733291] Pid: 1, comm: init Not tainted 2.6.31.6 #2
>>
>>
>> I don't know what is going on here!!
>>
>
> Something critical is missing from kernel? Proc fs support?
>
> Can you paste your .config to mailinglist or pastebin.ca ..
> -- 
> Eero,
> RHCE
>

-- 
*Gilberto Nunes Ferreira*
*TI*
*Selbetti Gestão de Documentos*
*Telefone: +55 (47) 3441-6004*
*Celular: +55 (47) 8861-6672*



/"Bendita a nação cujo Deus é o SENHOR!"/
*99* <><