Re: Panic with latest git kernel
From: Richard Weinberger
Date: Sun Jan 26 2014 - 08:37:41 EST
Am 26.01.2014 14:34, schrieb Harald Arnesen:
> Richard Weinberger [2014-01-26 14:03]:
>
>> On Sun, Jan 26, 2014 at 1:50 PM, Harald Arnesen <skogtun.linux@xxxxxxxxx> wrote:
>>>> Today I compiled the latest kernel (3.13.0-08526-gb2e448e), and got the
>>>> panic you can see in the attached picture.
>> Are you sure that you initrd is sane?
>> Your /init terminates because the script was unable to find switch_root.
>
> Well, I haven't changed anything to do with the initrd since I compiled
> the last working kernel (as far as I know, maybe there's a Debian update
> that broke something).
Please make sure that your userspace is sane. :)
> How do I see what's in the initrd? 'file' shows it to be a cpio archive,
> and cpio shows the following contents, both in the working and
> non-working one:
>
> $ cpio --list </boot/initrd.img-3.13.0-03477-gdf32e43
> kernel
> kernel/x86
> kernel/x86/microcode
> kernel/x86/microcode/GenuineIntel.bin
> 50 blocks
> $
Looks very strange.
Add rdinit=/bin/sh to your commandline such that you get a shell within
the initrd...
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/