You are not logged in.

#1 2008-12-23 17:43:58

dmatthews
Member
Registered: 2008-12-23
Posts: 6

kernel panic after system upgrade

I've used Arch for 3 years or so and this is the first time I have a problem. The previous upgrade was  a couple of months ago so its not a big jump in kernel versions.

error message:-

Freeing unused kernel memory: 288K freed
Failed to execute /init
Kernel panic - not syncing: no init found. Try passing init= option to kernel

I've tried to upgrade x3, each time rolling back by reimaging. There is a problem in the upgrade as all the klibc files are already on the system. I get around this by uninstalling klibc of course  checking it is reinstalled after the upgrade completes. The kernel upgrade reports no problem.

The grub set up looks fine and the mkinitcpio config is the same as before the upgrade. Not sure why I get /init instead of /sbin/init, so I pass init=/sbin/init to the kernel, but just get an extra error (Failed to execute /sbin/init).

Any ideas?

Offline

#2 2008-12-23 18:17:22

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Re: kernel panic after system upgrade

Perhaps fs crashed? Mount it with a livecd and check if everything is here. (Got that error after messing around with jfs, which lead to some data corruption hmm )

Offline

#3 2008-12-23 18:34:14

flowheat
Member
From: Pittsburgh, PA
Registered: 2008-09-23
Posts: 94

Re: kernel panic after system upgrade

Instead of uninstalling/reinstalling klibc, just use this:

http://www.archlinux.org/news/411/

Offline

#4 2008-12-23 20:29:50

dmatthews
Member
Registered: 2008-12-23
Posts: 6

Re: kernel panic after system upgrade

@flowheat
Thanks that fixes the kernel panic, but now I have no keyboard or mouse!

The xorg.conf is not changed, so at first sight its not an X issue.

I'll check this more carefully, but if I missed something else as flowheat pointed out, please tell.

Up to now, I've always been astonished that pacman -Syu has never given rise to a bag of problems; may be my luck has run out!

Offline

#5 2008-12-23 20:40:48

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: kernel panic after system upgrade

The xorg.conf is not changed, so at first sight its not an X issue.

That is exactly your problem, xorg 7.4 has important changes you need to take care of, you need to update your xorg.conf

http://www.archlinux.org/news/424/

read the wiki link

Last edited by jacko (2008-12-23 20:42:28)

Offline

#6 2008-12-24 17:53:06

dmatthews
Member
Registered: 2008-12-23
Posts: 6

Re: kernel panic after system upgrade

@jacko
Yes and thanks for pointing me to the solution; I just needed to stop hotplugging of input devices.

All problems are now fixed

Offline

#7 2009-01-01 17:03:44

dmatthews
Member
Registered: 2008-12-23
Posts: 6

Re: kernel panic after system upgrade

xlin, you have the same problem that I had

flowheat (see above) pointed me to the solution

Offline

#8 2009-01-01 17:13:59

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: kernel panic after system upgrade

Standard procedure in case of KP at boot:
1) Boot into the system using either fallback image or install cd + root= method; booting install cd all the and chrooting also works.
2) Just to be safe you can add root filesystem module in "MODULES" array in /etc/mkinitcpio.conf, though it shouldn't be necessary.
2) Regenerate initrd images (run mkinitcpio -p kernel26)
3) If mkinitcpio runs correctly -- reboot;  This usually fixes the problem for me.

Last edited by fwojciec (2009-01-01 17:15:18)

Offline

Board footer

Powered by FluxBB