[SoaS] Kernel Panic on EXT4 in SoaS when installing GCC

Peter Robinson pbrobinson at gmail.com
Sun Jun 27 11:16:02 EDT 2010


On Sun, Jun 27, 2010 at 1:39 PM, Peter Lambrechtsen
<plambrechtsen at gmail.com> wrote:
> On Mon, Jun 28, 2010 at 12:27 AM, Sascha Silbe
> <sascha-ml-ui-sugar-soas at silbe.org> wrote:
>>
>> Excerpts from Peter Lambrechtsen's message of Sun Jun 27 12:54:13 +0200
>> 2010:
>>
>> > As soon as it's finished installing the gcc-common update, I get a
>> > Kernel
>> > Panic in EXT4.
>> There are two issues here:
>> 1. ext4 read errors
>> 2. the kernel attempting to kill init
>>
>> #1 looks like overlay corruption [1], whereas #2 is probably due to the
>> kernel going crazy on OOM (Out-Of-Memory). Allocating more RAM to the VM
>> and/or adding swap might help with #2.
>
> It was a fresh build with nothing in the Journal using:
> ./livecd-iso-to-disk --overlay-size-mb 200 --home-size-mb 200 --delete-home
> --unencrypted-home /dev/live /dev/sda1
>
> The VM has 1GB of ram, but no swap, i'll try adding swap and ram and see how
> I go.

I would add more RAM and swap but more importantly if you want to use
it as a full VM you would be better off attaching the ISO to the
virtual CD drive, boot the VM using the CD drive as the boot drive.
When sugar runs launch the terminal Activity and run the command
'liveinst' which will do a proper install to hard disk of the live
image. This then will have a proper install and not one with an
overlay. A overlay of 200 Mb will be the cause of the ext4 crash.

Peter


More information about the SoaS mailing list