public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Adam Carter <adamcarter3@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Kernel panic - not syncing: No working init found.
Date: Sat, 6 Jun 2020 15:54:59 +1000	[thread overview]
Message-ID: <CAC=wYCEfDuzkG93ynuQ=8dEt++Xy5BUyrQ78qsL_zAfaW8T15g@mail.gmail.com> (raw)
In-Reply-To: <CAC=wYCFSDcJVCFpgcVMOBT=JiGTcHTsS-rcFMJEeb6bBz4ksRA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

>
> On my boxes with swap files, kernel 5.7.0 barfs;
>
> # file /swapfile
> /swapfile: Linux/i386 swap file (new style), version 1 (4K pages), size
> 2097151 pages, no label
> # swapon -a
> swapon: /swapfile: swapon failed: Invalid argument
>
> I havent looked into it yet as they're rarely used at all. What kernel are
> you using?
>

FYI this issue is due to fallocate creating files with holes (found via
dmesg | grep -i swap). Once I recreated the files with dd if=/dev/zero they
were good.

[-- Attachment #2: Type: text/html, Size: 835 bytes --]

      reply	other threads:[~2020-06-06  5:55 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
2020-06-04  3:10 ` Adam Carter
2020-06-06  5:54   ` Adam Carter [this message]

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='CAC=wYCEfDuzkG93ynuQ=8dEt++Xy5BUyrQ78qsL_zAfaW8T15g@mail.gmail.com' \
    --to=adamcarter3@gmail.com \
    --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