You are not logged in.

#1 2013-01-22 19:37:21

Plaristote
Member
Registered: 2012-02-07
Posts: 38

[SOLVED] Kernel Panic at boot

Hi,

I made an update today and suddenly I have a Kernel panic at boot, apparently related to the init system.
I haven't seen any news in the mailing list or the website's news feed.

Is there some recent activity justifying this issue ?
Last time I updated was last sunday.
And I am using the testing repo. Any clue about what happened to me ?

Thanks !

Last edited by Plaristote (2013-01-23 11:14:08)

Offline

#2 2013-01-22 19:54:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Kernel Panic at boot

Not with the lack of info you provided.  If you are booting with the 'quiet' parameter enabled, disable it and post some details to help us help you.

Offline

#3 2013-01-22 20:06:51

Plaristote
Member
Registered: 2012-02-07
Posts: 38

Re: [SOLVED] Kernel Panic at boot

How do I provide this data ?
I can't read the complete backtrace.

I do not use the quiet parameter but it doesn't change much since the kernel panic is the first thing that happens:
There are the two lines that appear just after the grub line has been selected (initramfs thingy I believe), and whatever is supposed to happen just after that doesn't happen. So the last not-error output that I have is actually from grub, not from the kernel (am I right ?).

Then, two things can happen:

- Sometimes it says 'no init found' and asks me to pass the init option to kernel. For the record I do pass this option with the value /usr/lib/systemd/systemd which used to work just fine this morning.

- Usually it does not say that, and instead I have a crash at warn_slowpath_common.

My hard drive and partitions are fine as far as I can tell. They mount properly at least.

Last edited by Plaristote (2013-01-22 20:34:56)

Offline

#4 2013-01-23 08:38:21

Plaristote
Member
Registered: 2012-02-07
Posts: 38

Re: [SOLVED] Kernel Panic at boot

Alright, I suppose the only solution given the lack of details for this issue is to reinstall.
But I don't want to reinstall everything. From the little information we can get (that is, the kernel crashes before even starting anything), it must be a Grub conf issue. At least I suppose so.
What if I started everything with a whole new grub and whatever packages are needed for the boot, would it maybe work ?

The other solution is to just save the list of the top level installed package, reinstall the whole thing and then reinstall the packages.

Is it worth It to try to only reinstall the boot thing ? And if so, the only thing I would need to reinstall would be Grub, am I right ?

Offline

#5 2013-01-23 08:43:01

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Kernel Panic at boot

Why not boot with a live CD and troubleshoot from there?  You will be able to see your logs (e.g. pacman.log) and check what was updated etc.  If the problem was caused by an update you will at least be able to see which one is the likely cause.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2013-01-23 10:10:43

Plaristote
Member
Registered: 2012-02-07
Posts: 38

Re: [SOLVED] Kernel Panic at boot

Well I know that the kernel was updated, so it probably is this. After checking here are the potentiel trouble makers:

linux-api-headers (3.7.1-1 -> 3.7.4-1)
linux (3.7.3.1 -> 3.7.4.1)
linux-headers (3.7.3.1 -> 3.7.4.1)
filesystem (2012.12-01 -> 2013.01-01) (there was a warning about permission issues in /srv/http but I doubt it's related to any of this)

So of course initramfs-linux and initramfs-linux-fallback were both successfully generated.

I checked my /boot folder and grub.cfg. Everything seems to be in place, it points to the right initramfs and vmlinuz, it mounts the right filesystems...
I can't chroot right now because I stupidly downloaded an i686 livecd. Any advice what might be the first thing I should do once I chroot ?

EDIT: I just thought about it, but there might be a clue in the following statement: after the package update, I used pm-suspend to put the laptop to sleep. When I woke it up, it crashed (X only showed a black screen with a working mouse cursor, trying to open a tty only led to a black screen).

Last edited by Plaristote (2013-01-23 10:39:07)

Offline

#7 2013-01-23 10:38:56

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] Kernel Panic at boot

Kernel panic linux 3.7.4-1
Kernel unable to boot linux 3.7.4-1-ck

init images not recognized with xz compression

I have to chroot and run

# mkinitcpio -p linux

to recreate them and boot "normally"

whithout upgrading or downgrading anything.

weird!

Offline

#8 2013-01-23 11:13:53

Plaristote
Member
Registered: 2012-02-07
Posts: 38

Re: [SOLVED] Kernel Panic at boot

Yay, thanks a bunch !

It worked ! Although for some reason, my main entry in the grub menu doesn't work anymore... it pretends that it doesn't find UUID=8693f179-09ce-42a1-9424-2111c0a8ca62 (which is my root partition).
However, the fallback entry does work. Even though it uses the same UUID.

Weird indeed.

Last edited by Plaristote (2013-01-23 11:21:22)

Offline

#9 2013-01-23 11:20:49

rg_arc
Member
Registered: 2011-03-20
Posts: 523

Re: [SOLVED] Kernel Panic at boot

https://wiki.archlinux.org/index.php/Mk … ated_hooks
I had a kernel panic too about a month ago... turns out I needed to make sure all of my hooks were setup properly.

Last edited by rg_arc (2013-01-23 11:22:48)

Offline

#10 2013-01-23 13:28:40

ontobelli
Member
From: Mexico City
Registered: 2011-02-06
Posts: 127

Re: [SOLVED] Kernel Panic at boot

rg_arc wrote:

https://wiki.archlinux.org/index.php/Mk … ated_hooks
I had a kernel panic too about a month ago... turns out I needed to make sure all of my hooks were setup properly.

No. This is other issue. Something went wrong with recent updates.

Offline

Board footer

Powered by FluxBB