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 2M9/Lan0x2RUsQAASxT56A (envelope-from ) for ; Mon, 31 Jul 2023 19:51:37 +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 SNBuLan0x2Qe5AAA9RJhRA (envelope-from ) for ; Mon, 31 Jul 2023 19:51:37 +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 1F07A54DAD for ; Mon, 31 Jul 2023 19:51:37 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=jJAXlqz5; 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=pass (policy=none) header.from=riseup.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690825897; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OZ+fgnkk33mvQvTuhbt4wEpsSnMxHY+lbhF8kF0p0YY=; b=eV7Axr5HJQBkaS4tdbpbFaKblDZZWqDE6VER/kk5i6GUBff4kiQxFytonBniOfnt0KO5c/ CqijNAAokXAYr488a3CLo0GAgQ1xhv+9hSNIt/xGdZJCzBl3Lv3SZAGRDnAuM/KnaFak+j D2hjp+zLCnMpDWE0MuYQofLD9Lq4CCWfj9O66aYK/2IqBJTMB0qz21OYoPJZ9K3y4ZOW9c /k8Y2kQndYXHTwVXtvFekYCBhy/LfNmrZVE7lEDABNsj4ueuEE/3tFdV3fENN8ietZtC/1 E/r0HAOqIPj8hgdMMC7imL/Ff8ii2cM8sooR4c6ZSllof3ZTRH7dlkeUgznsfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690825897; a=rsa-sha256; cv=none; b=MryUTB9fAGwb+kwyGLqylgE/T/iCQpa9yCUjtPnAF74p6eAShTIwWEE3DermL6/AaYnLA7 wJrHB94C2mM/synCMoCE04l+oxVzzHF2fcf/RQFQ7VEeuSIiaGhGJSO9S35MVGSw3fI/4s YQZpO82d+fUmBLZy5G+DoiHHvnZ70IjHrj65OY3/9pbtd6FJl5HQstbpYP2gQ0Hj26BipF K77Z64M+Cei+E1digFZ44bkhL+I7LDaPUnyT1PgJlatlFmfnnTgEKEw0Ix0SOemoaZr97W aMKX5LZ7sjsS1zDvUjzjtgE5ZRqqF/i1GC71ffxt3LQsgG6u3UHexpiA617/Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=jJAXlqz5; 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=pass (policy=none) header.from=riseup.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQX2o-0006JK-7V; Mon, 31 Jul 2023 13:50:58 -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 1qQX2m-0006J9-Ui for guix-devel@gnu.org; Mon, 31 Jul 2023 13:50:57 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQX2l-0000K2-3k for guix-devel@gnu.org; Mon, 31 Jul 2023 13:50:56 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4RF5Pn3MCBz9tGk; Mon, 31 Jul 2023 17:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690825853; bh=XrcMtRtcTA7O/CQ13Edtwo3/g9Cu7oVIC5Z2JEy/8K8=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=jJAXlqz5wdTiaXDx2WiOOdfcwOezkZtfcKg22OEjtJEiWE1gnyUJYHfR8Iparv2z7 oohUxHd9Yr9y0te5t9yItIH+LBegSImPVRWDxwALsbdgJlgDGrd4PPMDmg0cgANu/l YIiLjOJ2I68M9X924Yvt9Mb6Hz8DdKEbGPKMK5is= X-Riseup-User-ID: 12768B37CC89AEB940173079E435A7B323C3B7CB9FEC6A1B67BF23222C1BA2EB Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4RF5Pm5jdNzJp2F; Mon, 31 Jul 2023 17:50:52 +0000 (UTC) References: <7b70e742-73e0-7171-1167-f5690bc634f7@mutix.org> From: Csepp To: Christina O'Donnell Cc: guix-devel@gnu.org Subject: Re: Kdump Date: Mon, 31 Jul 2023 19:45:10 +0200 In-reply-to: <7b70e742-73e0-7171-1167-f5690bc634f7@mutix.org> Message-ID: <87leew9dhj.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.39 X-Spam-Score: -9.39 X-Migadu-Queue-Id: 1F07A54DAD X-Migadu-Scanner: mx1.migadu.com X-TUID: yB7Eu9inQ6cv Christina O'Donnell 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.