From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GFRnHbpeXWZKyAAAqHPOHw:P1 (envelope-from ) for ; Mon, 03 Jun 2024 08:12:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GFRnHbpeXWZKyAAAqHPOHw (envelope-from ) for ; Mon, 03 Jun 2024 08:12:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="T/XZMRWa"; 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=reject) header.from=dismail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717395130; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4hg5haoN/N16kiJ9oQNxPNXChxKPfSUfZopcRcvbfCU=; b=nqSgSt164/AeF3Gq8w6huD+DxxJHZu/4UKtXjhOaS7E6rwMRyGzqN1EJw4MhXoa+Jwnmi3 e4coUct7EFfx04UTQgLnN+CNrefD2rcZ90a7x8yDMi0IlwDDNy6XAZ7rlCoF+Sny4FNtq0 44DHeZWWu94kTXlrdArZjUbRXMotdxgC42QHz7g7seD588aquex2wGvSnzreBmuIANzkqy qx28UTPQfh1CV7rwqvSMdqLWLZnA9jro1zW5BNESNAkjFUD1AAIGGT97eAIHHg21PT6pHS yhCGqlCcQhjLzylmW3CKsSuZ0zm2RLx/uQKIqA7EnX7zerPNsPd2pCZQjdWp6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="T/XZMRWa"; 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=reject) header.from=dismail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717395130; a=rsa-sha256; cv=none; b=R+3Oek/0kEq33G6Syv8upM8Ikia1kjMgig4TL0BVxvbUbkFr1ZUFhZOi5RaWYfYaoujb/a rppLoyZ3Nq2aSNvkMoMM4ANnSgdRJ99WLYuF1V+jnba1PpB2TwJZOt76AFqVGMmY5g6qmT k9SN8cKUhg3FvLIM+BPYa4XqXhm1inOqQp3dTSqqbSNVaK30ph5af9nJkvH1s7q5e5NEsa oU45TERBi0Py8Q5B5onyeSCi7C6iP++28a7dZqgGOHIkXoZtF3p7tqoz9ITBsLWq0TKMLT KJvCYh3Hn+WSROsfdUPlrYhi0LoGqc8EEuOK8oyws6rDGoXuqCU3DTLTAHq3qw== 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 3772B65627 for ; Mon, 3 Jun 2024 08:12:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE0v1-0003Cp-8T; Mon, 03 Jun 2024 02:11:43 -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 1sE0uy-00039q-D1 for guix-devel@gnu.org; Mon, 03 Jun 2024 02:11:40 -0400 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDrwT-0002vl-SV; Sun, 02 Jun 2024 16:36:41 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 69bcb4e0; Sun, 2 Jun 2024 22:36:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc:in-reply-to:references; s=20190914; bh=HsV9dYNGBHlayrq23Yi5XZlHhRBYtTkzHzCG/NvQh1c=; b=T/XZMRWa5TlC YlOhgZq0TmW07z7dhc36+SkbGY0XYim/LyDPG2lSekcGI8feYcDp9z86NfDQ1Zdi W9lDP0Tv7tUkQSRe32/K4xiWa/Hwgv91EWdcGVrEmwSqoiyMc9QSdztTTTOHfMBH xxDAqH5soQ/p0xBF/KKMXYAI40kindI2GakYaYaPKaLShGC4iWx4l6GkTgc1Ho5+ zyFk9GfB46uAYYlAl/JNm3ExPOKZsxqh7NXKntltJvlblQzfZBZJiJbty3tOAHM5 KbLcTUC3TzcUpjI2syyryWhVovoCFTGHdL1KEusBi3CSX06a1IIdmdwYWphWjX8u 0vpaDhWTaQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 2a52eae1; Sun, 2 Jun 2024 22:36:32 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 9600b7f0; Sun, 2 Jun 2024 22:36:32 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id ae71a404 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 2 Jun 2024 22:36:31 +0200 (CEST) MIME-Version: 1.0 Date: Sun, 02 Jun 2024 20:36:31 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: jbranso@dismail.de Message-ID: <747fef2f416e0f4309c784ecebba1f82d0e424bc@dismail.de> TLS-Required: No Subject: Re: Come watch a live stream coding session for the Hurd Video To: "Sergey Bugaev" Cc: "Dr. Arne Babenhauserheide" , "Nathan Dehnel" , bug-hurd@gnu.org, matt@excalamus.com, liberamenso10000@gmail.com, guix-devel@gnu.org, "Samuel Thibault" In-Reply-To: References: <8734pxp5nj.fsf@web.de> <8734pw9x4r.fsf_-_@dismail.de> Received-SPF: pass client-ip=159.69.191.136; envelope-from=jbranso@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.98 X-Spam-Score: -10.98 X-Migadu-Queue-Id: 3772B65627 X-Migadu-Scanner: mx13.migadu.com X-TUID: 0b+aSmE8/WQw June 2, 2024 at 12:50 PM, "Sergey Bugaev" wrote: >=20 >=20On Sun, Jun 2, 2024 at 12:22 AM Joshua Branson w= rote: >=20 >=20>=20 >=20> So we had an awesome time today watching Sergey code a trivial tran= slator (1) and do > >=20 >=20> some glibc hacking (2). Sergey coded and chatted for 4 and 1/2 hou= rs! Three cheers > >=20 >=20> for that kind of commitment! Thanks pal! > >=20 >=20> In the livestream today, Sergey wrote caesar.c, which implements a= simple caeser > >=20 >=20> cipher. It's a toy. A caesar cipher is EASY to break, but it was f= un watching > >=20 >=20> him code it out! > >=20 >=20 > Hi all, >=20 >=20thanks for attending, and thanks Joshua for organizing it! >=20 >=20Let's do this again sometime? -- hopefully with less technical issues >=20 >=20related to recording/audio/video. I've got plenty of exciting ideas o= f >=20 >=20things to do. There are projects I started but haven't completed, lik= e >=20 >=20the new bootstrap process (that Josh keeps calling "serverboot v2") o= r https://darnassus.sceen.net/~hurd-web/open_issues/serverbootv2/ =20 >=20the new in-tree, Hurd-native libfuse (which is an full translator >=20 >=20framework in its own right, a peer to libdiskfs/libnetfs/libtrivfs, >=20 >=20but mostly API-compatible with the Linux libfuse), or epoll/Wayland >=20 >=20(which is mostly complete, but it needs to be updated / cleaned up, >=20 >=20and published). Or, we could get started on writing that shiny new >=20 >=20translator framework in Rust :) I'm game to watch you code any of those projects! 2pm UTC works really well for me. Shall we have another live hacking session on another Satur= day at 2pm UTC in about two months? Sooner? Later? =20 >=20We ended the stream on a somewhat of a cliffhanger: can we run >=20 >=20caesarfs (see, Joshua misspelled it too, so it's not just me!) on the >=20 >=20aarch64-gnu system? The process was getting created, but then it >=20 >=20crashed before it got a chance to handshake with its parent translato= r >=20 >=20(root ext2fs), and thus fake-console-run.c was getting EDIED trying t= o >=20 >=20open the file. Turns out, we need to explicitly null-terminate the >=20 >=20last argv entry too when setting a static translator record from my >=20 >=20GNU/Linux host, so instead of >=20 >=20$ sudo setfattr -n gnu.translator -v >=20 >=20'/hurd/caesar\000/libexec/hello-world.txt' >=20 >=20/mnt/libexec/hello-world.txt.csr >=20 >=20I should have done >=20 >=20$ sudo setfattr -n gnu.translator -v >=20 >=20'/hurd/caesar\000/libexec/hello-world.txt\000' >=20 >=20/mnt/libexec/hello-world.txt.csr >=20 >=20It was crashing inside ld-arrach64.so.1 trying to parse its argv, >=20 >=20since it expected them to be in the argz format, so null-terminated. >=20 >=20(Did I mention how incredibly useful being able to backtrace through >=20 >=20syscall/fault/interrupt boundaries is for debugging?) >=20 >=20With that fixed (no changes to the translator itself, but the >=20 >=20translator record changed as shown above), I do get: >=20 >=20GNU Mach 1.8 >=20 >=20Kernel command line: foo=3Dbar >=20 >=20Booting in EL1 >=20 >=20vm_page: page table size: 262144 entries (20480k) >=20 >=20vm_page: DMA: pages: 262144 (1024M), free: 221873 (866M) >=20 >=20vm_page: DMA: min:13107 low:15728 high:26214 >=20 >=20Model name: linux dummy-virt >=20 >=20module 0: rootfs $(rootfs-device=3Dramdisk-create) >=20 >=20rd0: 36700160 bytes @ffff000083424000 >=20 >=20module 1: ld-aarch64.so.1 /hurd/exec $(exec-task=3Dtask-create) >=20 >=20module 2: ext2fs --host-priv-port=3D${host-port} >=20 >=20--device-master-port=3D${device-port} --exec-server-task=3D${exec-tas= k} >=20 >=20--multiboot-command-line=3D${kernel-command-line} -T device >=20 >=20${rootfs-device} $(task-create) $(task-resume) >=20 >=203 bootstrap modules >=20 >=20task loaded: ld-aarch64.so.1 /hurd/exec >=20 >=20task loaded: ext2fs --host-priv-port=3D1 --device-master-port=3D2 >=20 >=20--exec-server-task=3D3 --multiboot-command-line=3Dfoo=3Dbar -T device= rd0 >=20 >=20start ext2fs: Hello world! >=20 >=20fread () -> 5 >=20 >=20Uryyb >=20 >=20"Uryyb" is of course "Hello" with ROT13 applied :) So we were very cl= ose. >=20 >=20Sergey Do we want to commit caesarfs the Hurd? It is fairly simple and maybe no= t really useful...but maybe yes just 'cause ? Maybe that should be left as an exercise to me or someone else ? Anyone else need some extra=20 homework? Joshua