Re: Panic with latest git kernel
From: Richard Weinberger
Date: Sun Jan 26 2014 - 10:00:44 EST
Am 26.01.2014 15:47, schrieb Harald Arnesen:
> Richard Weinberger [2014-01-26 14:36]:
>
>>> $ 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...
>
> Okay, I did. On the non-working kernel/initrd, the working ditto, and
> the Debian-provided files. And ls shows contents that seem sane.
>
> None of the initrds have a switch_root in them, neither in /sbin or
> anywhere else. They all have a /bin/pivot_root, which may be the same?
Your image shows that the kernel looses the init process because /init seems
to be unable to exec switch_root.
Find out what is going on in your initrd.
So far it has zero to do with the kernel itself.
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/