by StaticMove » Mon May 05, 2014 6:14 pm
Hi WarheadsSE,
after extensive testing with 2 different SD cards and 6 versions of the kernel from the rollback machine I am starting to suspect my RPi SD card slot.
When installing the different kernel versions with pacman, sometimes the kernel was totally unbootable (stuck at the coloured splashscreen), sometimes I got kernel panic errors like "Unable to handle kernel NULL pointer dereference at virtual address xxxxxx" or "Alignment trap", sometimes the Pi booted fine.
When I got any of the problems mentioned above, the simple solution was to manually copy the kernel.img from the right linux-raspberrypi archive in /var/cache/pacman/pkg to /boot partition and everything was OK. I have to remark that I always did fsck on both SD card partitions (the filesystem was always clean) and trying to copy the pacman "created" kernel.img with appropriate modules directory to different location to test if it was readable was always successful too.
But since all the fsck, reading and most importantly manual copying of the kernel.img from the archive to /boot partition was made on a Linux desktop computer (which means different SD card slot) and I was using 2 different SD cards (and both behaved the same), I think the problem has to be in the Pi.
Sorry to bother you and thanks for pointing me the right direction with the ARM rollback machine.
Cheers