From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#22548: Kernel panic after system reconfiguration Date: Thu, 04 Feb 2016 15:55:37 +0300 Message-ID: <87powcvdme.fsf@gmail.com> References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> <56B26C33.1010101@fripost.org> <87lh71qw5x.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRJSA-00055t-Oo for bug-guix@gnu.org; Thu, 04 Feb 2016 07:56:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRJS6-0008SP-Lu for bug-guix@gnu.org; Thu, 04 Feb 2016 07:56:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRJS6-0008SJ-ID for bug-guix@gnu.org; Thu, 04 Feb 2016 07:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRJS6-0004oS-8P for bug-guix@gnu.org; Thu, 04 Feb 2016 07:56:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lh71qw5x.fsf@netris.org> (Mark H. Weaver's message of "Wed, 03 Feb 2016 17:14:02 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Mark H Weaver Cc: Albin , 22548@debbugs.gnu.org Mark H Weaver (2016-02-04 01:14 +0300) wrote: > Albin writes: > >> Hi again, >> >> I got rid of the kernel panic by removing the following from the config >> and reconfiguring (as suggested by Mark Weaver): >> >>> (swap-devices '("/swapfile")) >> >> It would be nice to be able to enable swap again though. On my system it >> needs to be done with a swap file. > > I suspect this never worked, but that before the error was silently > ignored. In my case, I had: > > (swap-devices '("/dev/disk/by-label/jojen-swap")) > > and /dev/disk went away at some point due to another problem. For a > long time, I simply had no swap. With the dmd -> shepherd transition, > it started causing a fatal error during boot, leading to a kernel panic. > Unfortunately, the error message scrolled off the screen very quickly, > obscured by a useless kernel backtrace. I faced the same kernel panic as I also had "/dev/disk/..." swap device. Obviously it didn't work for some time when dmd was the init system (because on GuixSD there is no "/dev/disk/" since=E2=80=A6 I don't know whe= n as I've never noticed it before). And as reported by several people on #guix (I count at least 4 including me and Mark) a wrong swap device leads to a kernel panic if shepherd is used as the init system. Until I realized that it was a wrong swap, I made bisecting on shepherd to find out which commit introduced this bug. It gave me commit 852341e=C2=B9: when I reconfigured my system (with a wrong swap) using shepherd on this commit, I had a kernel panic, while with shepherd on the previous commit the system booted successfully. =C2=B9 http://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=3D852341ed0= c08941cbdd022135f8bef7be2d7ec54 --=20 Alex