You are not logged in.

#1 2017-10-30 20:50:30

asw_
Member
Registered: 2017-10-30
Posts: 2

[SOLVED] Kernel panic.

Hello everyone.

I go over straight to the point.
I use the machine emulator QEMU to emulate Arch Linux with this command :

qemu-system-x86_64 -cdrom archlinux-2017.10.01-x86_64.iso -boot order=d -drive file=opsys,format=raw

Note that I have verified the hash in this way ( sha1sums.txt took here ) :

sha1sum -c sha1sums.txt --ignore-missing
archlinux-2017.10.01-x86_64.iso: OK

But I can't reach the shell prompt due to this trouble :

Probing EDD (edd=off to disable)... ok
[     ...] Initramfs unopacking failed: write error
[     ...] Failed to execute /init (error -2)
[     ...] Kernel panic - not syncing: No working init found. Try passing init = option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[     ...] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.3-1-ARCH #1
[     ...] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[     ...] Call Trace:
[     ...]   dump_stack+0x63/0x8b
[     ...]   ? rest_init+0x50/0xe0
[     ...]   panic+0xe4/0x23d
[     ...]   ? putname+0x4b/0x50
[     ...]   ? rest_init+0xe0/0xe0
[     ...]   kernel_init+0xeb/0xfc
[     ...]   ret_form_fork+0x25/0x30
[     ...] Kernel offset: 0x16000000 from 0xfffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[     ...] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.

What is the cause of that ?
Thank you for offering your time, and sorry for the potentially writing mistakes done.

Last edited by asw_ (2017-11-01 12:10:34)

Offline

#2 2017-10-30 23:45:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Kernel panic.

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

and remove the redundant [newbie] tage from your post title: https://wiki.archlinux.org/index.php/Co … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-10-31 22:11:00

GenkiSky
Member
From: This account is henceforth dis
Registered: 2017-04-04
Posts: 82

Re: [SOLVED] Kernel panic.

I know the error message "Initramfs unpacking failed: write error" is not obvious, but it is easily searchable online smile. You will find people suggesting to give qemu more ram (see -m flag in manpage), it "only" has default 128 mb.

Offline

#4 2017-11-01 12:12:52

asw_
Member
Registered: 2017-10-30
Posts: 2

Re: [SOLVED] Kernel panic.

My apologies jasonwryan, and thank you GenkiSky. It was the problem ! And it solved.
I was focused on the message error No working init found thus compromised my researches.
I hope that this isn't a No power-posting/empty posts.

Last edited by asw_ (2017-11-01 12:25:30)

Offline

Board footer

Powered by FluxBB