From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qF4hBewhXGKR0gAAgWs5BA (envelope-from ) for ; Sun, 17 Apr 2022 16:19:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aO9pAuwhXGKFAwEA9RJhRA (envelope-from ) for ; Sun, 17 Apr 2022 16:19:24 +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 714821C9D4 for ; Sun, 17 Apr 2022 16:19:23 +0200 (CEST) Received: from localhost ([::1]:50072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ng5kI-0004vq-9f for larch@yhetil.org; Sun, 17 Apr 2022 10:19:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng5k7-0004vR-9U for help-guix@gnu.org; Sun, 17 Apr 2022 10:19:11 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1]:41970 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ng5k5-0007Rj-1x for help-guix@gnu.org; Sun, 17 Apr 2022 10:19:10 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id c294eedf; Sun, 17 Apr 2022 14:14:23 +0000 (UTC) Received: from primarylaptop.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 4420ef12; Sun, 17 Apr 2022 14:14:23 +0000 (UTC) Date: Sun, 17 Apr 2022 03:14:40 +0200 From: Denis 'GNUtoo' Carikli To: Andy Tai Subject: Re: Guix on 32-bit x86 systems Message-ID: <20220417031440.055ba642@primary_laptop> In-Reply-To: References: X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=oDkTbzcKCo55T8p3PrAHZS"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650205163; 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; bh=6Gr+gZlaHDmOExZRfzsNTaaZwO7h/6ueTYXuoNeQxsk=; b=el4hiWVcWvWhRbBLO1cVh78OEaMPyNQlMRQwhHLRqObbNFsyGhQV5SaqEz3duv8vDRbqG6 xvnAX39ng+gCxuKhITymTnnWam+w4/vV9xkQaqtE34LQWukSXKTdk9KURmjbel8d2PiIak Xme6lUe5YbvpXVqrc+EA/Gb8G05jkT8dNwwGD+bPrA5KaIR4JDxXne2ofhl/ol4lvJABGc 2tq2iWh58CYa9+gIN6Cb3jwYFFX4S9A/N7NW5FcyaVPILWL0VAsMVe4bPe73I/vpcIhL+I Mx7ZqAT7IBRkSosaDzW1Es67rr/s+MVpxMTTNY6d9jDXvR4TKbeTJgVm0ooSHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650205163; a=rsa-sha256; cv=none; b=EYwoda+Bgr1yy0FX5fkA06mQJqp7/V/TxdIYlMGGMbVkJ6ozhetyzfmmoZLFMOyB5fN3LK azd2QjVej2gWsADASHpn3+mZnFu41cZAPMFfs56t6+5dvW/oKH6qpQ2P2JVqYyRz/cF6KQ XssOWYZSp5/gQfCjZ3S2SVF5nJfaRin01z+QSaR3xFTTVipAjawl/CClHeuJK9kxYVskfY wF6ty+jhosCcmMDtMr1SVoxhGUHhYjDzm8Wr6Ybo5zOkyXdGcDPEqvHzI81USiOOW8ABCH tTha0HNuj5tVAktq4H+YJEtPRhnAK2zxrIie6uE/A6ZBFpaYdum7IXcbJld1vA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 714821C9D4 X-Spam-Score: -4.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1Rd+mGWojq00 --Sig_/=oDkTbzcKCo55T8p3PrAHZS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 5 Apr 2022 14:43:57 -0700 Andy Tai wrote: > Hi, I wonder do people recommend running Guix as the primary OS on > 32-bit x86 systems? I have some old 32-bit 80x86 (Pentium) PCs that > were running Fedora and of course Fedora had dropped support for > 32-bit x86 some time ago. >=20 > I am curious how would Guix work on such hardware. These old PCs may > have memory of 4 GB or less. Would that be an issue for running Guix > as Guix tries to build software from sources and the build process > may not be possible on systems without much RAM. Thanks for info on > this I'm still (mostly) using Parabola i686 on my main computer. =46rom time to time I boot on Guix, do the updates and try to configure more things and/or do tests and/or fix things. When I boot on Guix, I've also a script to chroot in Parabola. So at least I can still use software that is not packaged in Guix yet, but I'd prefer having everything integrated like in my Parabola installation. And I share some configuration and the home between the two systems to keep them in sync. Here's the chroot script: > #!/bin/sh > # GPLv3+ > root=3D"/path/to/parabola-i686/mount/directory" > username=3Dgnutoo >=20 > for d in dev dev/pts dev/shm etc/machine-id proc sys tmp/.X11-unix ; > do > mount | grep " on ${root}/$d" > /dev/null || \ > mount -o bind /$d ${root}/$d=20 > done >=20 > if [ -f ${XAUTHORITY} ] ; then > mount | grep " on ${root}/${XAUTHORITY}" > /dev/null || \ > mount -o bind ${XAUTHORITY} ${root}/${XAUTHORITY} > fi >=20 > chroot "${root}" /bin/bash --login -c \ > "sudo XAUTHORITY=3D${XAUTHORITY} DISPLAY=3D${DISPLAY} -i -u > ${username};" It enables to run graphical applications, and sound probably works too but I can't use udisksctl in that chroot yet as it expects to talk to a deamon that is only launched in Guix. One of the issue I found with Guix on i686 that x86_64 doesn't have is that the per process address space is limited to 3GiB on GNU/Linux with an i686 kernel (even with pae and 8GiB of RAM). And it's limited to 4GiB with an x86_64 kenrel and a 32bit userspace. The issue I had with that is that rust doesn't compile yet under 3GiB of RAM (but I managed at some point to make it compile under 4GiB with some help of the people working on mrustc) though. So it might be possible (with some work) to fix that to get substitute as the substitute servers have 64bit kenrels, but yet not being able to compile them yourself on i686. Though for now for some applications you can remove the depedency on rust by using the older librsvg that isn't written in rust, however gdm won't work without rust, so now I use sddm. And some software isn't available (like iceweasel), so I use the Parabola chroot for that, but I mainly use it to read the Guix manual offline, so at some point I might find another browser that is fast enough to do text search in the complete manual. But at the end of the day it's more other limitations that are probably also present in the x86_64 Guix that are preventing me from using Guix as my main operating system.=20 For instance right now I need to launch seatd manually in a screen before being able to launch sway through sddm as seatd service support has not been merged yet. Once booted and logged and so on I can do almost everything I do in Parabola (as I also have a Parabola chroot) but I often need extra steps to do many of these things (like using the chroot, or doing the network setup by hand, etc). So my main usage of Guix is usually for other things like unit testing / integration testing of a library I work on, working arround software not working or missing in Parabola i686, etc. Denis. --Sig_/=oDkTbzcKCo55T8p3PrAHZS Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmJbagEACgkQX138wUF3 4mM6sw/+IdlU2axz9Dn/Enn2i/BkxH/eb8GD/LFmaVH3M50GQ1DxBVGD1nr9/ghn JVOxtYx+YQkejNh//8KVvVk76lre80S6pIO8LiD+3URecYSrIUfoqm+tPYMhFjas E6yxZTg9zOxMJ1RXlbUWVRlzABHnN8QVcCSwxSVB9ytLjrGMFPwz/KqUsGVB1LCw K5J5UKPJ3QNpl/WAMaYXdVszwmNJd6o+DuGKyriH0uZwAVdLkhylaAnvmBLYWUM9 zuhNNA/eXL/Ard37tVx5iM/6h6jSiZIifNv+gbMRB1/6shnsXy3vX7xlAnGSz2Y4 hPiuKypGJ/OdO5x2WOIcr0yud5fhOftAhRpyjb5m7f2lkGe8N0Yy/qPr7uKBDQaT NAaiJf3DMf6iI003RZGUHEPvGmWNV6wZGE0dPTKMaDcmKEP83FQJ1YC2oRl9qPps 02bUbh7WOwFjmF4LI6q38d3+/wURMqvfqm8hIu5hXeZfOzikDkcVUp4kFuakQ+h1 YmNdN8H0YnImUauVFgBNz0z+LXjpzyCRdTbCGK/pPPa0kzb6XGl2IV8nSGEbpFmk BIsKoG88rokb+nH/UJakJY41pimpIYbl7LZEu+QMUOsl0rhdFyAYwvmBnR3gFTl4 QO8OhZjbo9d+yQMU4mYhMz4bZx9yFGm2tQ6WvLI98d2o9jZ/Ai0= =LbHT -----END PGP SIGNATURE----- --Sig_/=oDkTbzcKCo55T8p3PrAHZS--