From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KNVFNdlJXWYctgAAqHPOHw:P1 (envelope-from ) for ; Mon, 03 Jun 2024 06:43:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KNVFNdlJXWYctgAAqHPOHw (envelope-from ) for ; Mon, 03 Jun 2024 06:43:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=io6aFNCR; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717389785; 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=DIxdizzwMHJpEIftGsKijGCnZOGba2QJt71hNpObIVU=; b=TpRySUdxwyOVk9oMn5gCx1Sed4NOTAuPWWpPllU2fWcn2E6ZqIhYA01Oc/c0bPy14EL/cQ zlcAOJ3gGEXdUvLMvD/e6/BZidXU3VmoNL18gnvHrT13PTiA8JpyCpGOy5HXCdNcVff6B/ HlJAmEQAnd5ede1j/gTCdZsUOrxmOVj2JafF2/4zkS/S3UoytrYVRQGzh7zQScCfMYxY6Q lXTNwI5Llgbd2u1GjLybjATA7DHVdnaNSnZGJhkMp01E20kyhEOiC4Tz5IWH0acUqIa7U5 WjJ3LbGqnZd4EFWoh1UiezkrpjaAEo45L+Ge5DT4OAP3WL+8EBZrIIkJ/xtmKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=io6aFNCR; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717389785; a=rsa-sha256; cv=none; b=evFtER9IuVGunY28uSqv1VNVR8mNLgxG0q0OUhy3GAev32ng2aHbVJzqJ5sVoXbEiXZzDF VXtxqCKzoyhmL59A23T03dn5pujdtUVgCxmvnTjh/YR5TS2ubLWGhUXAi27UNiB0VC8LEN 3LQ7+RsQgQ73G7/YdQK/FOeK03ormdmEJNl+NH7dQJdtMnylctlgwWPEDWBftxJvyI6zsD fJSHgoS3M4Rs4Gq2RSDRkmcJdc9H94YWzq+wEA1JlKxL1fcKhnOj04zrthNf/WwsEYAO3O JTT9nyojE+UfYvk2Umu+hgjnboZUTDgfxd0UtVCTE+6IlibWwvu5bAY4EF7WEw== 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 95947CE7E for ; Mon, 3 Jun 2024 06:43:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDyba-0006f8-Sh; Sun, 02 Jun 2024 23:43:30 -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 1sDybY-0006eL-3e; Sun, 02 Jun 2024 23:43:28 -0400 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDoPc-0004YN-Ig; Sun, 02 Jun 2024 12:50:29 -0400 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-250ca14422aso256086fac.0; Sun, 02 Jun 2024 09:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717347027; x=1717951827; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DIxdizzwMHJpEIftGsKijGCnZOGba2QJt71hNpObIVU=; b=io6aFNCRTa9QrV9L65RVknX4FMWj0SKxAp/jkKm9v2gLJ9R0D/7BK+GD2ixTQctf42 /QbW+T+R9S7zAKOoGWEUtSrXsd70THaCwqigrWamQU0irbTpUKXWwpk8BFQXJg2qPB1j sHZSZk/3yykMWa1otTPNV/Gq2WUUYMv7IQr+dOFgDnYhIvPBFKjBQzn7wLtAab5z/SOb FhXtmzq/E5ZcIqvwE40k/w3Ty+RcFM5/U+P9WXHdYF4wol8nUvHz+kVDsH5bi5rUNsJJ fqCXAQb5NlBQGTgQsrvJLL/+77rs//x11hhUXx6v4UJvVU7+zxHxSi8gBy5Ekm7ZTH+Q IIsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717347027; x=1717951827; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DIxdizzwMHJpEIftGsKijGCnZOGba2QJt71hNpObIVU=; b=Q6wri/bXiShgYVGjt+XWpzPhuq1NKw+9+aSMQyomC3GovAsBtNvcP0/4mZOHvjEqZl DZaWUCW6IOMwUrWD6bZyUFtWKjF7m8Wg1DPxFPFd0UySJ/h37w6wU/8OnO42aGddZTEx saIPdjoGsHy9PfRwvYhOcj1r5QgXCe59HG1UCHVbH6MckH20JobXthSe7u0uKJUTMqph KoY9rKaRrCjrx2LXn4Qgt3Jrp07WunF8kGM5iILoQu0uA1YaWjKo4Yr+gXkOV53capFf TyxCaHH3bCMSvzZWnFTGPltX7ZU9NkUCMAOYAm9CmyIBTcLyJd2mtxROVhQPrFkMpS+9 wmqg== X-Forwarded-Encrypted: i=1; AJvYcCUo7dfc0JV/evG4CGJ/K+QvBjEuCxzRJ4Wwl9JeAMfJkzuF8EJ7Tl4y3IQ3IvL5XMhbJf8h0Uo2xV0aulEvqe9Khuks6TbJNsnxXIOJSuY855HIdvw= X-Gm-Message-State: AOJu0Ywu418tAmVkibNcOkbtbfUGtJlJNLUy2mkr+vL2mWHnfL98FyxF uKXHBhikQdRkODjCs3oBQh8S/OfyzyMOGUq+hEnPR82H1GpgL+WGwlUsUtE8NFXXSAVn7XL5EmY /75Fqk9/TB+lSNG4RdnZljuP0RUA= X-Google-Smtp-Source: AGHT+IH224EwtXcnK8UOqqskmIDYaIKNu5ewFlMPk+IOp7Y0UqqzvUeQ6nYAWYjfwhiOUVNgnQ2IEFg/LOl/S5581tY= X-Received: by 2002:a05:6871:68c:b0:250:8970:499d with SMTP id 586e51a60fabf-2508b7de0cdmr7769772fac.3.1717347026470; Sun, 02 Jun 2024 09:50:26 -0700 (PDT) MIME-Version: 1.0 References: <8734pxp5nj.fsf@web.de> <8734pw9x4r.fsf_-_@dismail.de> In-Reply-To: <8734pw9x4r.fsf_-_@dismail.de> From: Sergey Bugaev Date: Sun, 2 Jun 2024 19:50:15 +0300 Message-ID: Subject: Re: Come watch a live stream coding session for the Hurd Video To: Joshua Branson Cc: "Dr. Arne Babenhauserheide" , Nathan Dehnel , bug-hurd@gnu.org, matt@excalamus.com, liberamenso10000@gmail.com, guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=bugaevc@gmail.com; helo=mail-oa1-x34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.67 X-Migadu-Queue-Id: 95947CE7E X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.67 X-TUID: SdYSYVdT0zQv On Sun, Jun 2, 2024 at 12:22=E2=80=AFAM Joshua Branson = wrote: > So we had an awesome time today watching Sergey code a trivial translator= (1) and do > some glibc hacking (2). Sergey coded and chatted for 4 and 1/2 hours! T= hree cheers > for that kind of commitment! Thanks pal! > > In the livestream today, Sergey wrote caesar.c, which implements a simple= caeser > cipher. It's a toy. A caesar cipher is EASY to break, but it was fun watc= hing > him code it out! Hi all, thanks for attending, and thanks Joshua for organizing it! Let's do this again sometime? -- hopefully with less technical issues related to recording/audio/video. I've got plenty of exciting ideas of things to do. There are projects I started but haven't completed, like the new bootstrap process (that Josh keeps calling "serverboot v2") or the new in-tree, Hurd-native libfuse (which is an full translator framework in its own right, a peer to libdiskfs/libnetfs/libtrivfs, but mostly API-compatible with the Linux libfuse), or epoll/Wayland (which is mostly complete, but it needs to be updated / cleaned up, and published). Or, we could get started on writing that shiny new translator framework in Rust :) We ended the stream on a somewhat of a cliffhanger: can we run caesarfs (see, Joshua misspelled it too, so it's not just me!) on the aarch64-gnu system? The process was getting created, but then it crashed before it got a chance to handshake with its parent translator (root ext2fs), and thus fake-console-run.c was getting EDIED trying to open the file. Turns out, we need to explicitly null-terminate the last argv entry too when setting a static translator record from my GNU/Linux host, so instead of $ sudo setfattr -n gnu.translator -v '/hurd/caesar\000/libexec/hello-world.txt' /mnt/libexec/hello-world.txt.csr I should have done $ sudo setfattr -n gnu.translator -v '/hurd/caesar\000/libexec/hello-world.txt\000' /mnt/libexec/hello-world.txt.csr It was crashing inside ld-arrach64.so.1 trying to parse its argv, since it expected them to be in the argz format, so null-terminated. (Did I mention how incredibly useful being able to backtrace through syscall/fault/interrupt boundaries is for debugging?) With that fixed (no changes to the translator itself, but the translator record changed as shown above), I do get: GNU Mach 1.8 Kernel command line: foo=3Dbar Booting in EL1 vm_page: page table size: 262144 entries (20480k) vm_page: DMA: pages: 262144 (1024M), free: 221873 (866M) vm_page: DMA: min:13107 low:15728 high:26214 Model name: linux dummy-virt module 0: rootfs $(rootfs-device=3Dramdisk-create) rd0: 36700160 bytes @ffff000083424000 module 1: ld-aarch64.so.1 /hurd/exec $(exec-task=3Dtask-create) module 2: ext2fs --host-priv-port=3D${host-port} --device-master-port=3D${device-port} --exec-server-task=3D${exec-task} --multiboot-command-line=3D${kernel-command-line} -T device ${rootfs-device} $(task-create) $(task-resume) 3 bootstrap modules task loaded: ld-aarch64.so.1 /hurd/exec task loaded: ext2fs --host-priv-port=3D1 --device-master-port=3D2 --exec-server-task=3D3 --multiboot-command-line=3Dfoo=3Dbar -T device rd0 start ext2fs: Hello world! fread () -> 5 Uryyb "Uryyb" is of course "Hello" with ROT13 applied :) So we were very close. Sergey