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 792A4158046 for ; Wed, 9 Oct 2024 22:09:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CF17E2A77; Wed, 9 Oct 2024 22:09:10 +0000 (UTC) Received: from cichlid.ash.relay.mailchannels.net (cichlid.ash.relay.mailchannels.net [23.83.222.36]) (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 7F93FE2A71 for ; Wed, 9 Oct 2024 22:09:09 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 36562418F6 for ; Wed, 9 Oct 2024 22:09:07 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1728511746; a=rsa-sha256; cv=none; b=y3f4yZmhd9e6joh9njq0NopCXdqC19zbV0cr/AFnqsXvj2QouyCgGXpU8FyJPkfZYv1tYy p6id4T5K8yqy0p38oNdUe1nflJubH1LC8foWsf7xLlrrYIBphuQxiO6062mOIunKYD4Bl4 TaDxv5mxBGLvVTIS3rPzNTv9mv2tP4lIgIaHQ8+orRVs5v3wOZWIUM3dckp8BDDZDOIpiA pjqytHK0Zp4bTbE6QuV+Yp1yR78J15JH0SmesVaiwbokiNRtAkV7lE3NgbMJzwvDX2+U6Y A9ljiw8cU9zq3D88uZkc2t+tmpuDaGsLiBd3ZAh8wYuyfYb46wO2yu+B6Ym54A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1728511746; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=oY43PpF3xa7pBCXqhFWDBVhfergp8KSsViW1zpGIgnk=; b=NQnUSnC3KATCrom1v3zyGZUlN9RM0EHs30cXwqrd34IFweZc2orO1Y7/nlVQyls1edT9rR Qqr+wSbrHcYUDNvVguC172fR5BstjNybZoXiImy4rNTZSbzJ1hwxWjUbPZOznNiSIuT/ub FqBpytg60I0qndO+ZqEeIUwGysgu33/9syG/vvbx34uj+hDdx9a57GGoFwEHX3shrXaH1o p6tyfz0uy9YC+ncb6xRO0SN167Q2S3vsHEwovjl1AMafyxXGBct38I7Y/wzWMypty3lcDr V0uMRq+lx9JkxQkjM/trowK0V7IpR9m2ssl2kjTMBtzZSOxdkNJLf4rN8+xRSg== ARC-Authentication-Results: i=1; rspamd-585564d48b-vxvcg; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Thoughtful-Madly: 631bd0356f62cef4_1728511747092_3680087532 X-MC-Loop-Signature: 1728511747092:2528937034 X-MC-Ingress-Time: 1728511747092 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.101.175.207 (trex/7.0.2); Wed, 09 Oct 2024 22:09:07 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id B86A81E0002 for ; Wed, 9 Oct 2024 23:09:04 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Fwd: Creating a custom kernel from a -bin kernel Date: Wed, 09 Oct 2024 23:08:46 +0100 Message-ID: <2717394.BddDVKsqQX@rogueboard> In-Reply-To: References: <379cf455-3ff3-47ad-4d0e-7d4a38920e37@wht.com.au> 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 Content-Type: multipart/signed; boundary="nextPart1842211.TLkxdtWsSY"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <172851174392.221450.1693971660624777595@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: B86A81E0002 X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.976]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: ee722b0d-3b51-42b9-85a5-a29f19ce97c2 X-Archives-Hash: 2dc073b390cda1318258339a8ae03279 --nextPart1842211.TLkxdtWsSY Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Wed, 09 Oct 2024 23:08:46 +0100 Message-ID: <2717394.BddDVKsqQX@rogueboard> In-Reply-To: MIME-Version: 1.0 Hi Andrew, On Sunday 6 October 2024 15:16:46 BST Andrew Lowe wrote: > 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 Have a look at this page: https://wiki.gentoo.org/wiki/Kernel/Configuration In particular, take notice of 'make localmodconfig'. Once you have a customised kernel as you like it and it boots successfully, you can copy your good /usr/src/linux/.config to any subsequently emerged new gentoo-source kernel trees and run 'make oldconfig' thereafter, to only have to deal with new kernel options. --nextPart1842211.TLkxdtWsSY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmcG/u4ACgkQseqq9sKV Zxmtzg/9E8HGG0exCoeaiajQa77xq39n7i6jaa5FBJAVz17zR1d4IQsl+9Glnnsh yQvAXA28sVrIOFDAfpnJ7zHJwV/AwCOepoCBX6EmyAoQYBnZcSNQj7lkuvl0pEkL HBWdffReYuiGxDBC0ws6IH97YsJPBEJHO5FrOxcwHJFl4bmzU0E4/MmZQeFV28vW J2ieSr3s662iMAGN5G0nzRvfiScmQ4ZZdNzeRt0juV19d+WV8ZaX3Ki2kG7r2Z5y zW0Ny4DIGnymsOxxWB89Rh0+AT/+/apzJ1nzebi1K+XB8BI69XfRJrhJb/UKHk1k XCZAR7u1nGO2syVn2rFtqtxyhXBse+Q+Sh8nbjsQE4MYy4PKURmiDs2xWXFsHJwx 19N04HArGP08s+AFX2ZsoOQAoY6AJEFiiU1ogBYSPDv5bilyQHM01SloDqRERclh jcjMiorT8BYN1raT7HuTOcStV64vRdVB44iNcwOd6YNDRxtYBu8usQtUV4D+GSDf e5qxJeqd5IoDt7ioKz7ZpZl3Vyu1IQMeRH5gQ2CfKKZeD6Qj5WDtnxkmRDu+0n14 uhXYIQ7SGo81ujhjfpnfr9ltOUYC/spMpNbMBpppYCeusUNQvgw838S/oYEphy9x Hv7QSd1ucFjxgTV2c69jmQ7z/LEyCLcNPmrEqCsGjeX2MS7kivQ= =VDLH -----END PGP SIGNATURE----- --nextPart1842211.TLkxdtWsSY--