public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Kernel panic - not syncing: No working init found.
  @ 2020-06-06  5:54 99%   ` Adam Carter
  0 siblings, 0 replies; 1+ results
From: Adam Carter @ 2020-06-06  5:54 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-06-03 16:24     [gentoo-user] Kernel panic - not syncing: No working init found thelma
2020-06-04  3:10     ` Adam Carter
2020-06-06  5:54 99%   ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox