From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Kernel panic - not syncing: No working init found.
Date: Wed, 03 Jun 2020 20:53:15 +0200 [thread overview]
Message-ID: <DBD798B2-8C09-4ADF-B9AC-8E54DF8F0260@antarean.org> (raw)
In-Reply-To: <03357a07-5cf4-f1cc-99e7-569ab76fb1d2@sys-concept.com>
On 3 June 2020 20:38:49 CEST, thelma@sys-concept.com wrote:
>On 06/03/2020 12:06 PM, J. Roeleveld wrote:
>> On 3 June 2020 18:24:47 CEST, thelma@sys-concept.com wrote:
>>> When I try to boot I'm getting an error:
>>>
>>> "Kernel panic - not syncing: No working init found. Try passing
>init=
>>> option to kernel."
>>>
>>> I am running very low on disk space, I think.
>>> I've tried to boot strap the system and remove some files but boot
>>> strap
>>> is not working. When I boot from minimal-install gentoo CD I try:
>>>
>>> swapon /dev/sda3
>>> swapon: /dev/sda3: read swap header failed: Input/output error
>>>
>>> Any solution?
>>
>> Is this on a new system? Or on an existing system that started
>showing this issue after working correctly for a while?
>>
>> --
>> Joost
>>
>
>The system is old and was working for some time, it has a SSD drive, it
>just recently this error showed up.
>
>--
>Thelma
How old are the SSDs?
Were they used for swap?
How are they connected?
The dmesg you sent in the other email makes me think the SSDs are connected to old ATA ports as they mention UDMA instead of Sata speeds.
I would definitely suspect:
- the drives (incl. SSDs)
- other hardware (incl. the disk controller(s))
- memory
- PSU
As the issue is recent and intermittent, either a recent addition is causing issues, or there is a timing issue occuring during boot. And these can also occur during kernel initialisation. An initramfs with failover to a simple shell could help here as then you can get a dmesg of when the init fails.
There is a kernel commandline option that forces the kernel to wait an X amount of time before trying to access the root-partition and starting "init". This is usually needed for USB-boot, but might also be necessary when disks take a bit longer to initialize.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
next prev parent reply other threads:[~2020-06-03 18:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 16:24 [gentoo-user] Kernel panic - not syncing: No working init found thelma
2020-06-03 16:31 ` Dale
2020-06-03 16:52 ` thelma
2020-06-03 16:57 ` tedheadster
2020-06-03 17:12 ` thelma
2020-06-03 17:15 ` tedheadster
2020-06-03 17:28 ` Dale
2020-06-03 17:51 ` Michael
2020-06-03 18:35 ` thelma
2020-06-03 18:10 ` J. Roeleveld
2020-06-03 18:06 ` J. Roeleveld
2020-06-03 18:38 ` thelma
2020-06-03 18:53 ` J. Roeleveld [this message]
2020-06-04 3:10 ` Adam Carter
2020-06-06 5:54 ` Adam Carter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DBD798B2-8C09-4ADF-B9AC-8E54DF8F0260@antarean.org \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox