You are not logged in.

#1 2012-12-01 03:19:35

Volunder
Member
Registered: 2012-12-01
Posts: 3

Kernel panic at boot: /usr/lib/systemd/systemd: Exec format error

Hi all,

After upgrading today (which involved both kernel and systemd updates), my system now panics immediately after grub with:
switch_root: failed to execute /usr/lib/systemd/systemd: Exec format error
Kernel panic - not syncing: Attemted to kill init! exitcode=0x00000100

A bit of research on Google hints that you can get this error if you try to run a 64 bit binary with a 32 bit kernel, however this is a 64-bit processor/kernel/system.  If it's any help, it was last updated about a week ago.

I can re-install if needed, but I'd like to understand what went wrong, any help would be appreciated.

Offline

#2 2012-12-04 10:22:03

koyote
Member
From: spain
Registered: 2012-10-10
Posts: 31

Re: Kernel panic at boot: /usr/lib/systemd/systemd: Exec format error

Same with a Arch i686 on Virtualbox. Downgrade to previous systemd and systemd-sysvcompat resolve this.

EDIT: reinstaller 196-2 I removed the shutdown hook from mkinitcpio.conf, regenerate initramfs, rebooted and kernel panic but when reboot using Machine > Reboot, Arch init ok, rebooted again and kernel panic. Back to 195-2 works fine.

Last edited by koyote (2012-12-04 11:02:15)


Desktop: ASUS P5Q · Intel Core2Duo E7400 2.8 Ghz (Asus V72) · nVidia GeForce GT 440 · 8 GB (4x 2GB) Corsair XMS2 DDR2/800 + Kingston KVR800 DDR2/800 · WD RE4 500 GB + WD Green 1 TB · Pioneer DVR-109 · Samsung SyncMaster BX2231

Laptop: Asus F554L - Intel Core i3 4005U 1.7 Ghz · 4 GB Hynix/Hyundai DDR3/1600 · Intel HD Graphics 4400 · HGST Travelstar Z5K500 · HL-DT-ST DVDRAM GUE1N

Offline

#3 2012-12-04 21:05:55

PierreR
Member
Registered: 2008-11-10
Posts: 58

Re: Kernel panic at boot: /usr/lib/systemd/systemd: Exec format error

Same problem here in Arch 64 bits with VirtualBox. After the latest linux kernel upgrade, I have got a similar error message except that it actually says:
switch_root: failed to execute /sbin/init: Exec format error
Kernel panic - not syncing: Attemted to kill init! exitcode=0x00000100

I have also a trace about "switch_root Not tainted 3.6.8-1-ARCH"

I have nothing left in rc.conf and had switched to systemd completely (or so I believe)

Fallback fails with the same message.

Thanks for your help

Last edited by PierreR (2012-12-04 21:13:46)

Offline

#4 2012-12-05 12:19:17

koyote
Member
From: spain
Registered: 2012-10-10
Posts: 31

Re: Kernel panic at boot: /usr/lib/systemd/systemd: Exec format error

With linux-lts works ok, with the last linux (3.6.9) still have kernel panics when reboot / shutdown.


Desktop: ASUS P5Q · Intel Core2Duo E7400 2.8 Ghz (Asus V72) · nVidia GeForce GT 440 · 8 GB (4x 2GB) Corsair XMS2 DDR2/800 + Kingston KVR800 DDR2/800 · WD RE4 500 GB + WD Green 1 TB · Pioneer DVR-109 · Samsung SyncMaster BX2231

Laptop: Asus F554L - Intel Core i3 4005U 1.7 Ghz · 4 GB Hynix/Hyundai DDR3/1600 · Intel HD Graphics 4400 · HGST Travelstar Z5K500 · HL-DT-ST DVDRAM GUE1N

Offline

#5 2012-12-05 13:05:46

PierreR
Member
Registered: 2008-11-10
Posts: 58

Re: Kernel panic at boot: /usr/lib/systemd/systemd: Exec format error

I have tried to restore my guest VM  by using the arch booting iso but with no  luck. First I 've just (naïvely ?) tried to re-install the previous linux kernel in the chroot but then "mkinitcpio -p linux" fails (because of udev, I really didn't bother to look it up further). Then I have tried with the newiest iso (december) and bravely try a "pacstrap /mnt base base-devel" but it fails because many packages were (obviously) already installed.

I have then decided to try a new install from scratch (with the latest december iso). Everything has been working nicely.

Except one little annoyance : using xmonad with the "gnome-terminal" I have got an error whenever I try to launch gnome-terminal (urvt-unicode works ok):
** (gnome-terminal:1102): CRITICAL **: atk_bridge_adaptor_cleanup: assertion `inited' failed

See https://bbs.archlinux.org/viewtopic.php?pid=1202239

Cheers

Last edited by PierreR (2012-12-05 15:50:11)

Offline

Board footer

Powered by FluxBB