From unknown Tue Jun 24 01:37:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22548 <22548@debbugs.gnu.org> To: bug#22548 <22548@debbugs.gnu.org> Subject: Status: Kernel panic after system reconfiguration Reply-To: bug#22548 <22548@debbugs.gnu.org> Date: Tue, 24 Jun 2025 08:37:30 +0000 retitle 22548 Kernel panic after system reconfiguration reassign 22548 guix submitter 22548 Albin severity 22548 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 13:31:30 2016 Received: (at submit) by debbugs.gnu.org; 3 Feb 2016 18:31:30 +0000 Received: from localhost ([127.0.0.1]:58376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR2DC-0001q5-33 for submit@debbugs.gnu.org; Wed, 03 Feb 2016 13:31:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34777) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR216-0001Vx-JS for submit@debbugs.gnu.org; Wed, 03 Feb 2016 13:19:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR20x-0007iD-FX for submit@debbugs.gnu.org; Wed, 03 Feb 2016 13:18:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR20x-0007i8-Bv for submit@debbugs.gnu.org; Wed, 03 Feb 2016 13:18:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR20w-0000FJ-Dt for bug-guix@gnu.org; Wed, 03 Feb 2016 13:18:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR20r-0007hA-Eq for bug-guix@gnu.org; Wed, 03 Feb 2016 13:18:50 -0500 Received: from giraff.fripost.org ([178.16.208.44]:35276 helo=outgoing.fripost.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR20r-0007gt-4o for bug-guix@gnu.org; Wed, 03 Feb 2016 13:18:45 -0500 Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id D33503CB799 for ; Wed, 3 Feb 2016 19:18:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=20140703; t=1454523523; x= 1456337924; bh=1LPkNT+VObEYCfDfV19EULOIuear/F+OcLut05oStyA=; b=E 7rzv7F865ISJY6MO46GkcPHkD63+31JPWkYy/pmXYKN9YGl0V+Lx/Pj5gvCr5sNP WLB1/R/jX82P6m9dc+a0oiTTOuWDiG/WJss1iOOnCdXMFYZ+G3nJtx6uZvLvUEB4 N148CNKw/pA1XturGzVLRSVSYDgU8gIwtv7kN21eA0= X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id ruEToyV-YFDV for ; Wed, 3 Feb 2016 19:18:43 +0100 (CET) Received: from smtp.fripost.org (mistral.fripost.org [178.16.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mistral.fripost.org", Issuer "mistral.fripost.org" (not verified)) by outgoing.fripost.org (Postfix) with ESMTPS id ABEB03CB793 for ; Wed, 3 Feb 2016 19:18:43 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 8C966BF797C for ; Wed, 3 Feb 2016 19:18:43 +0100 (CET) Subject: Kernel panic after system reconfiguration References: <56B22F15.8050207@fripost.org> To: bug-guix@gnu.org From: Albin X-Forwarded-Message-Id: <56B22F15.8050207@fripost.org> Message-ID: <56B24481.40009@fripost.org> Date: Wed, 3 Feb 2016 19:18:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <56B22F15.8050207@fripost.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 03 Feb 2016 13:31:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) Hi, With no other changes I just ran guix pull and guix system reconfigure on my MacBook2,1 which created an unbootable system. After having completed the reconfiguration I tried to halt and reboot the system but got this error message each time : > error: connect: /var/run/shepherd/socket: file or directory does not exist I did a hard shutdown and rebooted. Here is a picture of the kernel panic screen: https://lut.im/h3kmF9hN8D/pnbWoVVQWj7QYPkr.jpg This is my system configuration: http://paste.lisp.org/display/306452 The OS was quite bootable after my last reconfiguration on January 26. Albin From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 16:06:51 2016 Received: (at control) by debbugs.gnu.org; 3 Feb 2016 21:06:51 +0000 Received: from localhost ([127.0.0.1]:58420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR4dW-000752-Rg for submit@debbugs.gnu.org; Wed, 03 Feb 2016 16:06:50 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:48092) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR4dV-00074u-2p for control@debbugs.gnu.org; Wed, 03 Feb 2016 16:06:49 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AE6F969D1 for ; Wed, 3 Feb 2016 22:06:47 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MoYbVVQd-Z-x for ; Wed, 3 Feb 2016 22:06:47 +0100 (CET) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 51DD56A2 for ; Wed, 3 Feb 2016 22:06:47 +0100 (CET) Date: Wed, 03 Feb 2016 22:06:46 +0100 Message-Id: <87zivh7bbt.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #22548 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) merge 22548 22545 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 16:28:20 2016 Received: (at 22548) by debbugs.gnu.org; 3 Feb 2016 21:28:20 +0000 Received: from localhost ([127.0.0.1]:58458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR4yK-0000kR-AP for submit@debbugs.gnu.org; Wed, 03 Feb 2016 16:28:20 -0500 Received: from giraff.fripost.org ([178.16.208.44]:42309 helo=outgoing.fripost.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR4eu-00077J-7q for 22548@debbugs.gnu.org; Wed, 03 Feb 2016 16:08:16 -0500 Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id C85533CC028 for <22548@debbugs.gnu.org>; Wed, 3 Feb 2016 22:08:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=20140703; t=1454533690; x= 1456348091; bh=UXDo2eJDczBtR0Y1ovKPSpRDQgEMdc4/BJCLFjW2B7A=; b=q 43iK1eF3+Mnm7qSPHO7niEzN5njKRsLsEg+h2Huxoe3U9bAqcAztFY9tjLwVtU4A VXrjIMqYJa4x1s2aJqMMWHJgNUIxTp9u9EwnZuQpASmHR8/r7yj9qpwZD/6mpiPA frTJtc7EUoO781cg33TatzKSPblymoADpk1gRo1lCE= X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id Eb8H-pZKN0Az for <22548@debbugs.gnu.org>; Wed, 3 Feb 2016 22:08:10 +0100 (CET) Received: from smtp.fripost.org (mistral.fripost.org [178.16.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mistral.fripost.org", Issuer "mistral.fripost.org" (not verified)) by outgoing.fripost.org (Postfix) with ESMTPS id 6A7043CC025 for <22548@debbugs.gnu.org>; Wed, 3 Feb 2016 22:08:10 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 0C0FABF93E1 for <22548@debbugs.gnu.org>; Wed, 3 Feb 2016 22:08:03 +0100 (CET) Subject: Re: Kernel panic after system reconfiguration To: 22548@debbugs.gnu.org References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> From: Albin X-Enigmail-Draft-Status: N1110 Message-ID: <56B26C33.1010101@fripost.org> Date: Wed, 3 Feb 2016 22:08:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <56B24481.40009@fripost.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 22548 X-Mailman-Approved-At: Wed, 03 Feb 2016 16:28:19 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) 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. Albin Den 2016-02-03 kl. 19:18, skrev Albin: > Hi, > > With no other changes I just ran guix pull and guix system reconfigure > on my MacBook2,1 which created an unbootable system. > > After having completed the reconfiguration I tried to halt and reboot > the system but got this error message each time : > >> error: connect: /var/run/shepherd/socket: file or directory does not exist > > I did a hard shutdown and rebooted. > > Here is a picture of the kernel panic screen: > https://lut.im/h3kmF9hN8D/pnbWoVVQWj7QYPkr.jpg > > This is my system configuration: > http://paste.lisp.org/display/306452 > > The OS was quite bootable after my last reconfiguration on January 26. > > Albin > > > From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 17:05:32 2016 Received: (at 22548) by debbugs.gnu.org; 3 Feb 2016 22:05:32 +0000 Received: from localhost ([127.0.0.1]:58481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR5YK-0001bG-1y for submit@debbugs.gnu.org; Wed, 03 Feb 2016 17:05:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40311) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR5YI-0001b3-Fy for 22548@debbugs.gnu.org; Wed, 03 Feb 2016 17:05:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR5Y9-000250-CV for 22548@debbugs.gnu.org; Wed, 03 Feb 2016 17:05:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_00, RAZOR2_CF_RANGE_51_100, RAZOR2_CF_RANGE_E8_51_100, RAZOR2_CHECK, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR5Y9-00024i-9G; Wed, 03 Feb 2016 17:05:21 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:56584 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aR5Y8-00006e-Ll; Wed, 03 Feb 2016 17:05:21 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Albin Subject: Re: bug#22548: Kernel panic after system reconfiguration References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> Date: Wed, 03 Feb 2016 23:05:18 +0100 In-Reply-To: <56B24481.40009@fripost.org> (albin@fripost.org's message of "Wed, 3 Feb 2016 19:18:41 +0100") Message-ID: <87io254fhd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 22548 Cc: 22548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Albin skribis: > With no other changes I just ran guix pull and guix system reconfigure > on my MacBook2,1 which created an unbootable system. > > After having completed the reconfiguration I tried to halt and reboot > the system but got this error message each time : > >> error: connect: /var/run/shepherd/socket: file or directory does not exi= st > > I did a hard shutdown and rebooted. Apologies, that=E2=80=99s the aftermath of the dmd =E2=86=92 shepherd trans= ition. The solution was to run /run/booted-system/profile/sbin/reboot, which would have been able to the running dmd (whereas after reconfiguration, =E2=80=98reboot=E2=80=99 was the new Shepherd client, which cannot talk to = the old dmd.) > Here is a picture of the kernel panic screen: > https://lut.im/h3kmF9hN8D/pnbWoVVQWj7QYPkr.jpg > > This is my system configuration: > http://paste.lisp.org/display/306452 > > The OS was quite bootable after my last reconfiguration on January 26. I don=E2=80=99t see anything immediately obvious. I tried your config in = =E2=80=98guix system vm=E2=80=99 and it works fine, so perhaps the problem has to do with device mapping or similar. How did you set up the encrypted root partition? Did you use =E2=80=98guix system reconfigure --no-grub=E2=80=99 and a hand-made grub.cfg? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 17:14:11 2016 Received: (at 22548) by debbugs.gnu.org; 3 Feb 2016 22:14:11 +0000 Received: from localhost ([127.0.0.1]:58486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR5gg-0001mt-VO for submit@debbugs.gnu.org; Wed, 03 Feb 2016 17:14:11 -0500 Received: from world.peace.net ([50.252.239.5]:56470 ident=hope5) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR5gf-0001ml-R2 for 22548@debbugs.gnu.org; Wed, 03 Feb 2016 17:14:10 -0500 Received: from [10.1.10.78] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aR5gZ-0003cg-I0; Wed, 03 Feb 2016 17:14:03 -0500 From: Mark H Weaver To: Albin Subject: Re: bug#22548: Kernel panic after system reconfiguration References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> <56B26C33.1010101@fripost.org> Date: Wed, 03 Feb 2016 17:14:02 -0500 In-Reply-To: <56B26C33.1010101@fripost.org> (albin@fripost.org's message of "Wed, 3 Feb 2016 22:08:03 +0100") Message-ID: <87lh71qw5x.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22548 Cc: 22548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 18:11:28 2016 Received: (at 22548) by debbugs.gnu.org; 3 Feb 2016 23:11:28 +0000 Received: from localhost ([127.0.0.1]:58506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR6a7-00034l-S1 for submit@debbugs.gnu.org; Wed, 03 Feb 2016 18:11:28 -0500 Received: from giraff.fripost.org ([178.16.208.44]:42440 helo=outgoing.fripost.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aR6Be-0002VW-Ex for 22548@debbugs.gnu.org; Wed, 03 Feb 2016 17:46:11 -0500 Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id C8B603CC365; Wed, 3 Feb 2016 23:46:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=20140703; t=1454539563; x= 1456353964; bh=4LlHD0Q9hE74KktqZZ5FEeHo7k0t1pXKRbWrs/Cx8Pg=; b=f dvU3QqgiXlL6yCziXhl+qiGG1EIClfeMJ7c/7hkKJAIW70MG5XwK86evcyZSgpUz C5JLxQDyekfNytGVBmmlOLlb/8fN2s8b8Jv7IuZ2dBua6toRchtkxD1tCriDxPUe OYYYxsZWZa1hzxBzH4jtQ0juZV2R7CJrmFYPBKImJk= X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id s4TAgtaNfz1G; Wed, 3 Feb 2016 23:46:03 +0100 (CET) Received: from smtp.fripost.org (mistral.fripost.org [178.16.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mistral.fripost.org", Issuer "mistral.fripost.org" (not verified)) by outgoing.fripost.org (Postfix) with ESMTPS id AF6FA3CC362; Wed, 3 Feb 2016 23:45:57 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 14AC5BF987C; Wed, 3 Feb 2016 23:45:39 +0100 (CET) Subject: Re: bug#22548: Kernel panic after system reconfiguration To: Mark H Weaver References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> <56B26C33.1010101@fripost.org> <87lh71qw5x.fsf@netris.org> From: Albin X-Enigmail-Draft-Status: N1110 Message-ID: <56B28313.2010209@fripost.org> Date: Wed, 3 Feb 2016 23:45:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <87lh71qw5x.fsf@netris.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 22548 X-Mailman-Approved-At: Wed, 03 Feb 2016 18:11:26 -0500 Cc: 22548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 07:55:44 2016 Received: (at 22548) by debbugs.gnu.org; 4 Feb 2016 12:55:44 +0000 Received: from localhost ([127.0.0.1]:59021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRJRo-0004nx-1F for submit@debbugs.gnu.org; Thu, 04 Feb 2016 07:55:44 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33780) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRJRm-0004ni-5W for 22548@debbugs.gnu.org; Thu, 04 Feb 2016 07:55:42 -0500 Received: by mail-lb0-f169.google.com with SMTP id x4so31107068lbm.0 for <22548@debbugs.gnu.org>; Thu, 04 Feb 2016 04:55:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=Cx1LVf/ldKfgNDPLgtx10LaSqGLVWXmj+erhsaMSI7U=; b=UIYS+kWeayZvfjXXfZTw8HBflfTiYvh9ZSHV7Tt7As5NxTd9kYkUSg5UOfubEWVBj0 x4owtrmggQk3AKhHbVoLumPbBa8BuQz/KHfwt+7cLkNjKBEiSk3S3jMPc8VChCO1tali PBzs7zk5igQSyma3VDY/LVAHIPwphGtbZgPOLZl3E4+3MspUBkPoY8KuX+SwluTJcZgq R+GQDQggkwpNm6ZmQv2r1r+SktFayi5Ntpj0Q6ya1zmrLxElVTaqW4kZxvM5MbwVGD62 rJeo6Pl7ftC8DYFaJDCxT88av2wU5JmoT6hFWHwARw9jGDS0CfJBB5zqGw2YRAE86pV6 w+Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=Cx1LVf/ldKfgNDPLgtx10LaSqGLVWXmj+erhsaMSI7U=; b=j53cYzPdzzunkfyCcpbZl5EkYBgULPmTVssTSS8EjTOYb55o/QqzX2iKgf8UvHTwYa 3KiOJ5VcGD+FHpCoWSRL23Q3dIWMtJR0+Tu8MlPeKxsqyz3fzvzx3akvZAp/Uo00d0iT Xj71o5diMSogw531GEq1xoOiGn9sowgmQqpyU/EIkb6L+dccOOY9VRw9rifDtk2k1wc2 zBlwzdTcqpdvTVvvUMMwk6fAucHX4tTUhqoFNKfkNjbd4b7hp93wXMkeHU2Dw5ATv4t9 GpV2a4N3zJfpIbBERrj6/1vxw8MHVkCQK8GLQWsLv8DrTaL+cBM76ABFK6SA/ggNslBb Jdtg== X-Gm-Message-State: AG10YOSNVg9wF7fpAGks71Nui6RneLFXTTKx6epnxUqAJFu4SW7NeJBZ36je0gkoV8Ntmg== X-Received: by 10.112.164.97 with SMTP id yp1mr3348188lbb.30.1454590536286; Thu, 04 Feb 2016 04:55:36 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id l66sm635948lfb.16.2016.02.04.04.55.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2016 04:55:35 -0800 (PST) From: Alex Kost To: Mark H Weaver Subject: Re: bug#22548: Kernel panic after system reconfiguration References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> <56B26C33.1010101@fripost.org> <87lh71qw5x.fsf@netris.org> Date: Thu, 04 Feb 2016 15:55:37 +0300 In-Reply-To: <87lh71qw5x.fsf@netris.org> (Mark H. Weaver's message of "Wed, 03 Feb 2016 17:14:02 -0500") Message-ID: <87powcvdme.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22548 Cc: Albin , 22548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 04 17:50:43 2016 Received: (at 22548) by debbugs.gnu.org; 4 Feb 2016 22:50:43 +0000 Received: from localhost ([127.0.0.1]:60722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRSjb-00070Q-9p for submit@debbugs.gnu.org; Thu, 04 Feb 2016 17:50:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37626) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRSjZ-00070E-Sy for 22548@debbugs.gnu.org; Thu, 04 Feb 2016 17:50:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRSjR-0001Si-9Q for 22548@debbugs.gnu.org; Thu, 04 Feb 2016 17:50:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSjR-0001Se-5h; Thu, 04 Feb 2016 17:50:33 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:59420 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRSjQ-0003WX-CO; Thu, 04 Feb 2016 17:50:32 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Kost Subject: Re: bug#22548: Kernel panic after system reconfiguration References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> <56B26C33.1010101@fripost.org> <87lh71qw5x.fsf@netris.org> <87powcvdme.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 04 Feb 2016 23:50:29 +0100 In-Reply-To: <87powcvdme.fsf@gmail.com> (Alex Kost's message of "Thu, 04 Feb 2016 15:55:37 +0300") Message-ID: <87k2mkjdje.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 22548 Cc: Albin , Mark H Weaver , 22548@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Alex Kost skribis: > 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=3D852341e= d0c08941cbdd022135f8bef7be2d7ec54 Ooooh, it took me a while but I see how this happens. This is because we start services directly from the config file, and anything that goes wrong there is uncaught, which leads to this: --8<---------------cut here---------------start------------->8--- Service udev has been started. srfi-34(# 184b150> ac= tion: start key: system-error arguments: ("swapon" "~S: ~A" ("/dev/disk/foo= bar" "No such file or directory") (2))] 1ea24c0>) [ 6.856167] Kernel panic - not syncing: Attempted to kill init! exitcode= =3D0x00000100 [ 6.856167]=20 [ 6.856869] CPU: 0 PID: 1 Comm: shepherd Not tainted 4.4.1-gnu #1 [ 6.857319] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS = rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 08:05:40 2016 Received: (at 22548-done) by debbugs.gnu.org; 5 Feb 2016 13:05:40 +0000 Received: from localhost ([127.0.0.1]:32890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRg4x-0004lJ-Vy for submit@debbugs.gnu.org; Fri, 05 Feb 2016 08:05:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50860) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRg4w-0004l7-7q for 22548-done@debbugs.gnu.org; Fri, 05 Feb 2016 08:05:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRg4n-0007HT-P4 for 22548-done@debbugs.gnu.org; Fri, 05 Feb 2016 08:05:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRg4n-0007HP-Lj; Fri, 05 Feb 2016 08:05:29 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:33984 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRg4m-0006eB-R3; Fri, 05 Feb 2016 08:05:29 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Alex Kost Subject: Re: bug#22548: Kernel panic after system reconfiguration References: <56B22F15.8050207@fripost.org> <56B24481.40009@fripost.org> <56B26C33.1010101@fripost.org> <87lh71qw5x.fsf@netris.org> <87powcvdme.fsf@gmail.com> <87k2mkjdje.fsf@gnu.org> Date: Fri, 05 Feb 2016 14:05:25 +0100 In-Reply-To: <87k2mkjdje.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 04 Feb 2016 23:50:29 +0100") Message-ID: <871t8rmhnu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 22548-done Cc: Albin , 22545-done@debbugs.gnu.org, 22548-done@debbugs.gnu.org, Mark H Weaver X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Alex Kost skribis: > >> 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=3D852341= ed0c08941cbdd022135f8bef7be2d7ec54 > > Ooooh, it took me a while but I see how this happens. This is because > we start services directly from the config file, and anything that goes > wrong there is uncaught, which leads to this: > > Service udev has been started. > srfi-34(# 184b150> = action: start key: system-error arguments: ("swapon" "~S: ~A" ("/dev/disk/f= oobar" "No such file or directory") (2))] 1ea24c0>) > [ 6.856167] Kernel panic - not syncing: Attempted to kill init! exitco= de=3D0x00000100 > [ 6.856167]=20 > [ 6.856869] CPU: 0 PID: 1 Comm: shepherd Not tainted 4.4.1-gnu #1 > [ 6.857319] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIO= S rel-1.8.2-0-g33fbe13 by qemu-project.org 04/01/2014 Commit 081bd3b fixes it. Commit 234ea8a defensively wraps all the configuration file in =E2=80=98call-with-error-handling=E2=80=99, which spa= wns a REPL upon error. Thanks for the detailed investigation! Ludo=E2=80=99. From unknown Tue Jun 24 01:37:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 05 Mar 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator