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 536DD15802E for ; Tue, 25 Jun 2024 09:34:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31B41E2A46; Tue, 25 Jun 2024 09:34:49 +0000 (UTC) Received: from zebra.cherry.relay.mailchannels.net (zebra.cherry.relay.mailchannels.net [23.83.223.195]) (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 A16FBE2A3F for ; Tue, 25 Jun 2024 09:34:48 +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 92EB2142E8E for ; Tue, 25 Jun 2024 09:34:47 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1719308087; a=rsa-sha256; cv=none; b=9efYTOva/VbsSzMTeGymJ+vdhVbtqQQXDVb4k+YhQ9bBZXr0qawPe70ZIwbzwUfE4QsHtF HlZjsQcvQrMzqmG+Hg1x7j2S1hcYxHv5xxS/tDaZjCoG6cQ4VAP7xTQT1gxajaJfuZkm6i udCXDxjIQ9FFU1DWkdwvASiNBsCljuvJLbw/B7+FapY4A8D3ahIn/O1fLC1HNZv0Ex3Unx Yj9hif9/6jp9C3nDXIzwbXkX/pQ1TR9MK+PuYoBD9OcBTE47XQ1DkR7elMdP70xCxu5NhK jHUCFFIMdOTt0OKfbURPz+JL1S/D9Kok+KRCncrXmmbPPmUbc+mTyxrFgAjtHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1719308087; 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=ziBBVCEDIAPsDEP737kdAerfWcN68M1M2fG+lUNQT8g=; b=DLWBnsZl8tA5v9CtYaODe8ZCh5bGvasSA67AugHkyPfVbKb9JJnqGwtAmtlprJ+1cMpbI9 5IwCzG2vRx26st2rcLy/4NNYeBuxRNZDNfmt6S3YA5Z0LHywV3kPH4h2tsAYz0lxGyR1Lq 2OZBz5SsD0C03bzC5g/xyQBYJpDNv6kojzLjwEeGCfMUWgbL9HnRIwa7f+4IvYMRg6uc8n k4QU+rWorfH7iQma+6dJp8fPgEvWzfTmopV8oQLWgk1QjE3j+BZFOxJ/MFU8RJAyR4UO+s MBvfQxinPByl5fbH+Ei8/9ovZAuIoiY6L7t5JyZ95MPMtQ4pYaNhPd16LWVbyQ== ARC-Authentication-Results: i=1; rspamd-7f76976655-wzn7l; 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-Inform-Broad: 34e2682647ff67e3_1719308087223_453589036 X-MC-Loop-Signature: 1719308087223:4283850076 X-MC-Ingress-Time: 1719308087222 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.218.71 (trex/6.9.2); Tue, 25 Jun 2024 09:34:47 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id C3B9F1E0002 for ; Tue, 25 Jun 2024 10:34:44 +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] Can't get the GUI to stay up for more than a minute or so before crashing Date: Tue, 25 Jun 2024 10:34:20 +0100 Message-ID: <1896954.CQOukoFCf9@rogueboard> In-Reply-To: References: <22333755.EfDdHjke4D@rogueboard> 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="nextPart23557691.6Emhk5qWAg"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171930808427.2216114.822314277615838419@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com 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.998]; 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-Rspamd-Queue-Id: C3B9F1E0002 X-Archives-Salt: 832c338f-99d8-4a0a-b4ee-bccaef4780c6 X-Archives-Hash: 607c460f45fa48ec92be4d87710be6d0 --nextPart23557691.6Emhk5qWAg Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Tue, 25 Jun 2024 10:34:20 +0100 Message-ID: <1896954.CQOukoFCf9@rogueboard> In-Reply-To: MIME-Version: 1.0 On Tuesday, 25 June 2024 00:47:07 BST Dale wrote: > Michael wrote: > > The first option in the man page explains what you did: > >=20 > > https://linux.die.net/man/8/dracut > >=20 > > -f, --force > > overwrite existing initramfs file. > >=20 > > Did you have an initramfs already in there? >=20 > I had the kernel and the config file on /boot. Did these files arrived in /boot/ by installing them yourself manually, or = by=20 having them installed automatically by calling 'make install', which utilis= ed=20 'sys-kernel/installkernel' to do it with? If the latter, did 'sys-kernel/installkernel' have the right USE flags set = for=20 your system? > I did not have anything > else there except grub and the CPU microcode file. I didn't save the > init thingy when I was copying files over from previous install. I just > saved the config and kernel. I suspect you may have overlaid manual and automated kernel installation=20 procedures, resulting in one trying to over-write the other. Then you run= =20 dracut and it complained, until you used --force to overwrite whatever file= s=20 had already been installed in /boot. > > No don't start over! Have you read through this: > >=20 > > https://wiki.gentoo.org/wiki/Dracut [snip ...] > Yep. I saw that too. Thing is, it confuses me. On the main install > page, it shows /efi mounted on the / partition. In other words, the > same place /boot, /usr and /var are mounted too. In the page you link > to it seems to show the efi partition mounted inside /boot. Like this:=20 > /boot/efi. The main page I think says this is no longer recommended.=20 > Which am I to follow? If it being inside /boot is discouraged, someone > needs to update the page.=20 Err ... you lost me there. Where in the 'https://wiki.gentoo.org/wiki/Drac= ut'=20 wiki page does it state what you mention above?! o_O The ESP partition's mountpoint is /efi. Some time ago the ESP mountpoint u= sed=20 to be /boot/efi, but this is no longer recommended. The boot partition's mountpoint for your installation is /boot. The directories for /usr, /var, et al. will be found in the / partition. I= f=20 you have chosen for your /var directory to be stored on a different partiti= on,=20 then its mountpoint would be /var. > I'm continuing on with the install but still puzzled about the dracut > error. Is this what /efi should look like?=20 >=20 >=20 > (chroot) livecd / # tree /efi/ > /efi/ > =E2=94=94=E2=94=80=E2=94=80 EFI > =E2=94=94=E2=94=80=E2=94=80 gentoo > =E2=94=94=E2=94=80=E2=94=80 grubx64.efi >=20 > 3 directories, 1 file > (chroot) livecd / # Yes, this looks good. The MoBo's UEFI firmware will load grubx64.efi, whic= h=20 in turn will fetch your kernel & initrd images from /boot. > I never looked in the directory on the last install. Nothing reported a > error so I just went with it. ;-) I'm guessing, in your last install you had not mixed up manual and automate= d=20 kernel installation steps, but in this one you did. ;-) You probably want to spend some quality time reading this at your leisure: https://wiki.gentoo.org/wiki/Installkernel Regarding the microcode file '/boot/amd-uc.img', this is created by the 'sy= s- kernel/linux-firmware' package if it has USE=3D"initramfs" set. GRUB will = find=20 pick up this image file and include it along with any other initramfs image= s=20 when you run grub-mkconfig, or when grub-mkconfig is run by 'make install'.= =20 Then GRUB will load it at boot time. However, you can built both the AMD C= PU=20 microcode and any other firmware needed by your machine in the kernel. Jus= t=20 add them in your kernel: # Firmware loader CONFIG_EXTRA_FIRMWARE=3D"....." before you build it. Regarding Nvidia's module, I don't think you need an initramfs for this. W= hen=20 the kernel loads it will fetch the Nvidia module from /lib/modules/, provid= ed=20 it can mount the root partition. --nextPart23557691.6Emhk5qWAg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ6jxwACgkQseqq9sKV Zxm05w//RQFpspPjdbt11cOqlZu+1pkX9tY4Cqkh04pK3vVUlIFPlQYPk8/LLD2Y Ne64nzhEJsTwFupaexNdGraV8V4b4OuT8+i75l4c1zGtVuXBNOcEVkNjsVfROSXJ hu6KDf5KyMkwqy8M17yaHVVn7+45RfeMdRUPSiYCK/NagrcwjV1XozZNCTqdJKoE mLX7YXqi3Rmfc8YFfMKj6Mya2vi1V67iko/vycFs7jC2cCTcfoQ7LEB5Q/SqLF95 0fFJEQx3qbUg/K0zbKQ87ljjgEK7wvwDJ1mtCT96hy7WZBkUA+0wIU5f7MQGfWeW KWbxs6Fli7H3RL63mnCDtxi4V8c9+LuMS6DBvDOObG2FiuR6C5c14+3yjlU60Fzc esdEJZrbQ5J7Z0esU8HBtwPnDFxxWMzlJ4FN0qKAkMba6V9HS0C6ytDTOB5+oM2b EnbC+ueo5jsKEFBxytC86kbVQnDk/kXoW0rgz+vQzi306ZOTcyx9+g2pLIaTIhZc HH06Yeb3cK8ulGb1UB18XMY3ZT0iAwSpPZzTExV1uhOdIcL7HY1Vxzd/a9Kq1IW0 uMKmU97vEISyGOPVbBGnSERMUCl4DQ6/SWRTvl14ehq8gr9cPXieI5yVDC+ClHu2 TaQqjrTRObE2h8J9EHwzu403zLwEbCb8IoTux7SXD32+FlP8rY8= =7Gj4 -----END PGP SIGNATURE----- --nextPart23557691.6Emhk5qWAg--