From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albin Subject: bug#22548: Kernel panic after system reconfiguration Date: Wed, 3 Feb 2016 23:45:39 +0100 Message-ID: <56B28313.2010209@fripost.org> 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: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR6ak-0005Ky-0Z for bug-guix@gnu.org; Wed, 03 Feb 2016 18:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR6ag-0001JP-Lf for bug-guix@gnu.org; Wed, 03 Feb 2016 18:12:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR6ag-0001JL-Ew for bug-guix@gnu.org; Wed, 03 Feb 2016 18:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aR6ag-00035Y-8l for bug-guix@gnu.org; Wed, 03 Feb 2016 18:12:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lh71qw5x.fsf@netris.org> 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: 22548@debbugs.gnu.org Hi, Den 2016-02-03 kl. 23:14, skrev Mark H Weaver: > 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. > > Mark > Mark is correct: swap was never enabled in the first place. I tested this by booting an old configuration and entering `cat /proc/swaps`, which returned an empty table. Case closed, I guess! Albin