From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kE3rGMO9ymSbyAAASxT56A (envelope-from ) for ; Wed, 02 Aug 2023 22:34:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SPvQGMO9ymQoewAA9RJhRA (envelope-from ) for ; Wed, 02 Aug 2023 22:34:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D220759877 for ; Wed, 2 Aug 2023 22:34:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691008451; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=DHYGJPVLHiT00nAlsPW6OYSBrz4Z+92poryo/Jlo6PQ=; b=FbN6wF8tTimEtCwG8bprefVOvFyFgKioe0gHOFeWGusKv69OaGt46TLr30iTRePCoDE3KR 2l4uNe1lhQdlzLcWl2z36Vx9dC7yI3cQaejG7EC3A6o/9IVZ/qiT2OZkENp3hiYiZafHte mvqpteGujKCx2CyyRJjKjTTMsHD2jr1gA7VHQe4NgQJ1GLNnPbeZ/y19lXC4BnW3PvGAyW +pSSsCHTd98hNqx3kgVL3w4HoIGyQIDOC2CCCKg+lnUJXm3wksn09Vs81xOWa8CPtJtlWG 0bfcFnE/r0/4wuqH+lAE7k1DlOJlflo8WxxuC5BaTjLQbbQSEr3RbQLNFAqZhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691008451; a=rsa-sha256; cv=none; b=aYM/uLBfLpEexpveBLHV/9YZd0N3AXX8Apr1muh6d2gL+UZuhlAovog6nBSDLteCgT4V2l 42sU3aWWyM3W84jRiYbC/czQbaOTU+adQbpAtl12z+skvT5rgcdVh9N3C0d9bxu9enL8bX f4XYqkc4XqaCkkmo3FqifqnTBIlxOoK00OuMWVgqBkRHnxjRvvFU79aP6zgoF+ceeoW1Cd 7EZP4ZJYX2R6H+uKACtYFRvjeIGw7IFgNOEYAdi+ZA1ZsDqMkjneWMSqqI0meW6yGI/tAQ pDrHsDh1VhlRZhwqZIgzbB4zt15rdNTNr3F9q0vXDCz6EyZPIlgxlrKjHRJe6g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRIXZ-000296-8O; Wed, 02 Aug 2023 16:33:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRIXQ-00028W-QZ for guix-devel@gnu.org; Wed, 02 Aug 2023 16:33:45 -0400 Received: from vmi993448.contaboserver.net ([194.163.141.236] helo=mutix.org) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRIXP-0008DK-02 for guix-devel@gnu.org; Wed, 02 Aug 2023 16:33:44 -0400 Received: from [192.168.0.29] (cpc149474-cmbg20-2-0-cust1003.5-4.cable.virginm.net [82.4.199.236]) (Authenticated sender: cdo) by mutix.org (Postfix) with ESMTPSA id 724D9A604B8; Wed, 2 Aug 2023 22:33:37 +0200 (CEST) Message-ID: <399377ee-635c-c8a3-6cbe-fe28acae33e5@mutix.org> Date: Wed, 2 Aug 2023 21:33:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 From: Christina O'Donnell Subject: Re: Kdump Content-Language: en-US To: Csepp Cc: guix-devel@gnu.org References: <7b70e742-73e0-7171-1167-f5690bc634f7@mutix.org> <87leew9dhj.fsf@riseup.net> In-Reply-To: <87leew9dhj.fsf@riseup.net> Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=194.163.141.236; envelope-from=cdo@mutix.org; helo=mutix.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, NICE_REPLY_A=-0.102, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.40 X-Spam-Score: -5.40 X-Migadu-Queue-Id: D220759877 X-Migadu-Scanner: mx1.migadu.com X-TUID: svUylE9Qw3ra
On 31/07/2023 18:45, Csepp wrote:
Christina O'Donnell <cdo@mutix.org> writes:

Hi guix and guixesses,

I'm still enjoying my guix machine crashing every other week despite changing all the software and half the hardware. So I'm trying to get kdump
working so I can get to the real reason behind it. However I see that kdump-tools haven't been packaged yet. I see this as an opportunity for me to
contribute to Guix, but it'll be my first time.

- How interested would people be in me packaging kdump and related tools?
More debugging tools (and docs!) are always welcome IMHO.

- Is there a reason why it's not there already?

- Has it been tried before?
Searching the mailing lists doesn't turn up much, so I assume no one has
tried it:
https://yhetil.org/guix/?q=kdump

The scope seems to be around 3-4 packages and a system service. Does that sound about right or could there be more I'm missing?

On Debian there's:

crash/testing,now 8.0.2-1 amd64 [installed,automatic]
  kernel debugging utility, allowing gdb like syntax

kdump-tools/testing,now 1:1.8.1 amd64 [installed]
  scripts and tools for automating kdump (Linux crash dumps)

libkdumpfile-dev/testing 0.5.1-1 amd64
  libkdumpfile development libraries and header files

libkdumpfile-doc/testing,testing 0.5.1-1 all
  Kernel coredump file access (documentation)

libkdumpfile10/testing 0.5.1-1 amd64
  Kernel coredump file access

python3-libkdumpfile/testing 0.5.1-1 amd64
  Python bindings for libkdumpfile

I'd want to package all of these except the python bindings. I see that kexec-tools is already in guix which is good!

Is this a sensible direction?

Kind regards,
 - Christina
I'd say go for it!  If they are mostly written in C then you probably
don't have to package a lot of transitive dependencies.  Looking in
gnu/packages/linux.scm could be a good starting point for packaging
kernel related tools.

Ah I must have missed this in my inbox. Thanks for the feedback! I'll have a go at this once some more time appears in my day.