Ubuntu 14.04 host: kernel panic

Robert Markula robert at markula.org
Thu Jun 12 23:39:38 CEST 2014


Hi list,

after a few days of unsuccessful troubleshooting I'm afraid I have to
ask for your help :-)

I'm using FAI quite a lot mainly installing Ubuntu 10.04 and Ubuntu
12.04-based servers and hosts. The FAI server itself is currently an
Ubuntu 12.04-based machine. Basefiles are used to install different host
flavours. All works as expected.

Now I tried installing Ubuntu 14.04 using FAI. All classes have been
adapted [1], install finishes without any relevant errors [2], but upon
first reboot of the newly installed host, I get an ugly kernel panic:

<snip>
[...]
EXT4-fs (vda2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
CPU: 0 PID: 1 Comm: init Not tainted 3.13.0-29-generic #53 Ubuntu
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
[...]
</snip>

As you can see, this is a kvm-based virtual machine. Now for the
important thing:
If I use the same FAI setup to install Ubuntu 12.04 (using the 12.04
base.tgz image and sources.list) on the same machine, everything works
out perfectly fine.
But if I switch to the 14.04 base.tgz image, using the otherwise the
same config [1] and the same disk layout [3] (using LVM), the kernel
chickens out.

Any idea what might be wrong? Or where to look at? Does anybody have a
setup where installing Ubuntu 14.04 actually works?

Cheers,

Robert


[1] The only difference in the config is:
* the 14.04 basefile
* the apt sources.list
* and all apt GPG keys

[2] Here is the FAI error.og:
<snip>
dmesg.log:[    0.246039] HEST: Table not found.
dmesg.log:[    0.488455] ERST: Table is not found!
dmesg.log:[   56.008513] EXT4-fs (dm-0): mounted filesystem with ordered
data mode. Opts: errors=remount-ro
dmesg.log:[   56.045362] EXT4-fs (vda1): mounted filesystem with ordered
data mode. Opts: errors=remount-ro
fai.log:Can't exec "mdadm-startall": No such file or directory at
/usr/sbin/setup-storage line 138, <$config_file> line 1.
format.log:Can't exec "mdadm-startall": No such file or directory at
/usr/sbin/setup-storage line 138, <$config_file> line 1.
shell.log:chroot: failed to run command `install-keymap': No such file
or directory
shell.log:cat: /boot/grub/video.lst: No such file or directory
shell.log:Warning: Setting GRUB_TIMEOUT to a non-zero value when
GRUB_HIDDEN_TIMEOUT is set is no longer supported.
shell.log:Warning: Setting GRUB_TIMEOUT to a non-zero value when
GRUB_HIDDEN_TIMEOUT is set is no longer supported.
</snip>

[3] And the disk config:
<snip>
# Physical disks
disk_config vda    bootable:1 fstabkey:uuid
primary            /boot        1G    ext4    defaults,errors=remount-ro
primary            -        35G-    -    -

# LVM setup
disk_config lvm
vg            vgmain        vda2
vgmain-sys_root        /        10G    ext4    defaults,errors=remount-ro
vgmain-sys_var        /var        10G-20G    ext4    defaults,nosuid
vgmain-sys_vartmp    /var/tmp    1G    ext4    defaults,noexec,nosuid,nodev
vgmain-sys_tmp        /tmp        1G    ext4    defaults,noexec,nosuid,nodev
vgmain-sys_home        /home        1G    ext4   
defaults,noexec,nosuid,nodev
vgmain-sys_swap        swap        2G    swap    sw
vgmain-storage_srv    /srv        1G-    ext4   
defaults,noexec,nosuid,nodev
</snip>



More information about the linux-fai mailing list