From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F6E5158046 for ; Wed, 9 Oct 2024 20:34:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71769E2A05; Wed, 9 Oct 2024 20:34:29 +0000 (UTC) Received: from m1.out4.mxs.au (m1.out4.mxs.au [43.250.140.185]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5CE9E29F8 for ; Wed, 9 Oct 2024 20:34:28 +0000 (UTC) Received: from s08ce.syd5.hostingplatform.net.au (s08ce.syd5.hostingplatform.net.au [43.250.142.155]) by out4.mxs.au (Halon) with ESMTPS (TLSv1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 id 9f14d555-83ed-11ef-991c-00163c87da3f for ; Mon, 07 Oct 2024 01:16:47 +1100 (AEDT) Received: from 217.249.70.115.static.exetel.com.au ([115.70.249.217]:48636 helo=[192.168.14.1]) by s08ce.syd5.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1sxS3y-003LMA-3D for gentoo-user@lists.gentoo.org; Mon, 07 Oct 2024 01:16:47 +1100 Message-ID: Date: Sun, 6 Oct 2024 22:16:46 +0800 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: [gentoo-user] Fwd: Creating a custom kernel from a -bin kernel Content-Language: en-AU References: <379cf455-3ff3-47ad-4d0e-7d4a38920e37@wht.com.au> To: gentoo-user@lists.gentoo.org From: Andrew Lowe Organization: Wombat High Tech In-Reply-To: <379cf455-3ff3-47ad-4d0e-7d4a38920e37@wht.com.au> X-Forwarded-Message-Id: <379cf455-3ff3-47ad-4d0e-7d4a38920e37@wht.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s08ce.syd5.hostingplatform.net.au X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - wht.com.au X-Get-Message-Sender-Via: s08ce.syd5.hostingplatform.net.au: authenticated_id: whtcomau/from_h X-Authenticated-Sender: s08ce.syd5.hostingplatform.net.au: agl@wht.com.au X-Source: X-Source-Args: X-Source-Dir: X-Archives-Salt: 2d1bfb78-ad95-40f7-bb2b-45eed029bc55 X-Archives-Hash: f5e0105ac50eb4d93e13a6775ca34a92 For some reason this didn't go through yesterday so, once again...... -------- Forwarded Message -------- Subject: Creating a custom kernel from a -bin kernel Date: Sat, 5 Oct 2024 18:55:50 +0800 From: Andrew Lowe Reply-To: agl@wht.com.au Organization: Wombat High Tech To: gentoo-user@lists.gentoo.org Dear all, I'm in the process of building a new machine. To get things up and running I've decided to go with the gentoo-sources-bin kernel initially, then once I get things basically working as I want I will go back to building my kernels manually. I've now reached that point, "hand rolling" the kernel, but it is a pain, the first time round, getting things right. I have a recollection of reading somewhere online mention of a script that will take the .config file from the "-bin" kernel and then modprobe, I think, each listed module in turn to see if it is actually being used and subsequently writing a new .config file that now only contains the modules/options that the specific machine needs. Is this a mythical script that I have dreamt up after a long day and too much chocolate or does it actually exist and does anyone have a link. Thanks for any thoughts, Andrew