From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14617 invoked from network); 26 Oct 2021 23:46:05 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 26 Oct 2021 23:46:05 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id A584D39EB3 for ; Tue, 26 Oct 2021 19:46:03 -0400 (EDT) (envelope-from bounce.mM76889d95950ce443f66145ab.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 9F81F4428347; Tue, 26 Oct 2021 19:46:03 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=MmX+4rPQ header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f181.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1635291963; bh=veGtsN9XRxPvV0l3 AsAliAN1F5/d/JwMvlAI/dzvVbw=; b=DQANgjjWYrja1qZPvZ0EffhsxzgpLqP7 DlSimWBviwRsMVLKSXwlDDPuAZfwJZErFievxJeSClB5AUSqO7C31tDbiLMQFi0l qu6Kz6RR9dXwkYZbjny/c7Us+Ld1WTDbPm2a0oK6vrD0atwSGkzN+tCBAx0NhD1R 9f3F9dz4k84= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1635291963; b=AZDgVmlRiMxHxLnGxfHPGNpME03L5nYju3WUbeIZl+v7poue9Q m7MTDlfQOsXRwAkm2Xapu2+mvPqWATrFMtORriglPuPL+0yHUJiqZsvac6ifNl7t oJuRML+tO8YrvxbQPO00r8YZhx5pgcSt+d+lXt8QwB4GINxMMEgId9ows= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=MmX+4rPQ header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f181.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=MmX+4rPQ header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.219.181 (mail-yb1-f181.google.com); spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f181.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=DyyC6AAW; x-me-sender=none; x-ptr=pass smtp.helo=mail-yb1-f181.google.com policy.ptr=mail-yb1-f181.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=VSL+FNcLUVEeXv4eBtHRWZTouyM7Sx4CM7HfTceT4uI=; b=AUY0w6B07Mfc wpUVQGNxw/aRlgpsmIRUjYmP6TnUt7PfFHiQ3GtIfwW/KN/dBbfItcU3xTm4iMTR r3BvbI+bzPTCusSocntvM6CQgGX6PsiK/gEcH8htEDPc++xIB+qWm0uDgLuHs4Nt JeJ/NgH7pObpnScOE1x2DhUtH1UCfmc= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 244FE39147D for <9fans@9fans.net>; Tue, 26 Oct 2021 19:45:51 -0400 (EDT) (envelope-from skip.tavakkolian@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 38F0EB358DF; Tue, 26 Oct 2021 19:45:51 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1635291951; b=OrUNm9WjPyanPDvkuF1nyVnRttz59m4MeMD1HDeAjfmV5Pg566 +ElVG7hvSIQbDTGRrH4NveuWMsrHxAvY/MeHpcYclxpqpGp6PRSaTSVauU1AsKOR 2wL3YEND9R4avdz0U60nVK7Ylm2sQE2rCbYo0fVCwXaJNvfuk/xpqd6xuO/hSLuq yk4u11OupgX6R/NBC46qOVr0DAmEoc2ZufRGMHxd68dKraqU20uV7MHS0uSD4YWN ZvlPo4bBXwfjl2WnFmHhCFN1ADBMvLKQzGmIVCU9fgfx4+WrQsS35vQH56MYSfE8 0ltjaQ5VP15HxyiWfr4JQt/lLOXhv45rh6Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1635291951; bh=fYS3wjWz5W9j9ahFdrH7GDKGSaoiEtBT2oyYefWGHlU=; b=AwZZZtwqIm/b DqbVM+mDkt3zPLaIV1wxjSNMUIr+5oA1hb1NIhE5ydkXqD4kuPYguawuKxFWq47I DUDyQgrvCs8fqpxdHuPcc0QfzGipV38oisZy3BPPJLKh9JfZ53e3YUYPaugaVa4M uFjkGjQJ3iKjzvEsKOPnNsFerhgU4mOMQPpPzPgltAy6QqhxexqQXM5tfiuVCVdb Gz1ZfbCNJH5lx5wxQabyKnbW0wAKXQD+DMLO0z1Wcax4hUezi3jUnyNeWX9tI4Pd 6nKWdQgUWfjkY/jO4/Pt51QA5a0AsYtT+Oyb289jObrLqHG4qTG+rGBDINBCFsgr +SsVRPgltA== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=MmX+4rPQ header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.219.181 (mail-yb1-f181.google.com); spf=pass smtp.mailfrom=skip.tavakkolian@gmail.com smtp.helo=mail-yb1-f181.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=DyyC6AAW; x-me-sender=none; x-ptr=pass smtp.helo=mail-yb1-f181.google.com policy.ptr=mail-yb1-f181.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefledgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsehttdertddttdejnecuhfhrohhmpefukhhiphcuvfgrvhgrkhhkohhlihgr nhcuoehskhhiphdrthgrvhgrkhhkohhlihgrnhesghhmrghilhdrtghomheqnecuggftrf grthhtvghrnhepvdehtdfflefggfevieelveeigedvvdetieetkeejhfffvdeitdduuefh jeejgefgnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpthhophhitggsohigrdgtoh hmnecukfhppedvtdelrdekhedrvdduledrudekudenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepihhnvghtpedvtdelrdekhedrvdduledrudekuddphhgvlhhopehmrg hilhdqhigsuddqfhdukedurdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeoshhk ihhprdhtrghvrghkkhholhhirghnsehgmhgrihhlrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'skip.tavakkolian@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="skip.tavakkolian@gmail.com"; helo=mail-yb1-f181.google.com; client-ip=209.85.219.181 Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 26 Oct 2021 19:45:50 -0400 (EDT) (envelope-from skip.tavakkolian@gmail.com) Received: by mail-yb1-f181.google.com with SMTP id b9so1735474ybc.5 for <9fans@9fans.net>; Tue, 26 Oct 2021 16:45:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=fYS3wjWz5W9j9ahFdrH7GDKGSaoiEtBT2oyYefWGHlU=; b=DyyC6AAWOiF5Sp0wE6oQFUJnaDTixs6b/C1Zcv2exAQiqRyxNLABaAs8aAnI5A4LmQ 6/E53mFP66Gxfqq+C4d2BuTl7KS70IfLk//lyZPeoapDZKyAxS42bbr8uq750NebAm2n dEMmQUN02kmK+c135gMY0jQiQ8gopKqIQIlOo4Ycf5eyKOaXXEP/oAkZhHy5lp/cOrtq MsiLTynBRK35jXRmj/bUocAUb5iqU7vQO7pDFalwbOUqFsJYgF8BtWP8hD3POeBMtCbn rUbitIU9LbHwUOCiSJSrV2HNCIlYSebLOVYZXBBRNJAqNHuZ07wQobaCqbGlNK9pm32A Mk6A== X-Gm-Message-State: AOAM53124uM9GhNkyKlTV32CJuRc2ctUygS4Z/opWFabxiPlCROnhe+A H+t9h8WvaDLd2LNEkEg4sEy/prTnL/rfS+wEwsqXvWt+tlZ4rQ== X-Google-Smtp-Source: ABdhPJxBTGE3WLJwykDGVM8J4V5WMwSfJokIDgSXEPp36s70BiQcmG5tEPEN14mbmIq00+/3ITh6n4QDVT9OTMeSRo4= X-Received: by 2002:a25:2d4c:: with SMTP id s12mr7685017ybe.285.1635291949836; Tue, 26 Oct 2021 16:45:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Skip Tavakkolian Date: Tue, 26 Oct 2021 16:45:38 -0700 Message-ID: Subject: Re: [9fans] v9fs vs mmap (not quite SOLVED) To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset="UTF-8" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: dca5f002-36b6-11ec-a086-e288a4a88f96 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYjA2NWY0ZGY2N2E4YmFiOS1NNzY4ODlkOTU5NTBjZTQ0M2Y2NjE0?= =?UTF-8?B?NWFiPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M76889d95950ce443f66145ab:1:8wZ6HjmTHlzW_KksWV7abAEjgjI5nLY9rk-KUfL1vbI I don't know if I'm helping or confusing things, but here's a bit more experimentation; I did the above, and git worked correctly with diod as the file server (=3D> git requires syscalls that 9p2000.l provides). But compiling seems to run into an untested combinatorial case: $ GOROOT_BOOTSTRAP=3D~/SRC/go1.4 GOOS=3Dplan9 GOARCH=3D386 ./all.bash Building Go cmd/dist using /home/fst/SRC/go1.4. (go1.4-bootstrap-20170531 linux/amd64) Building Go toolchain1 using /home/fst/SRC/go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. /mnt/overdiod/go/pkg/tool/linux_amd64/link: mapping output file failed: invalid argument go tool dist: FAILED: /mnt/overdiod/go/pkg/tool/linux_amd64/link -extld=3Dgcc -o /mnt/overdiod/go/pkg/tool/linux_amd64/go_bootstrap /tmp/go-tool-dist-326859795/cmd/go/_go_.a: exit status 2 Building Go toolchain2 using go_bootstrap and Go toolchain1. go tool dist: FAILED: /mnt/overdiod/go/pkg/tool/linux_amd64/go_bootstrap install -gcflags=3Dall=3D -ldflags=3Dall=3D -i cmd/asm cmd/cgo cmd/compile cmd/link: fork/exec /mnt/overdiod/go/pkg/tool/linux_amd64/go_bootstrap: no such file or directory On Tue, Oct 26, 2021 at 12:36 PM Skip Tavakkolian wrote: > > according to diod docs, mounting diod is similar to what you have: > sudo mount -t 9p -n 127.0.0.1 /mnt > -oaname=3D/tmp/9,version=3D9p2000.L,uname=3Droot,access=3Duser > > On Tue, Oct 26, 2021 at 12:33 PM Skip Tavakkolian > wrote: > > > > Sorry, I was suggesting a potential diagnostic. I was thinking (all > > steps are on Linux): > > * clone go > > * run diod, export / over 9P2000.L > > * from the same or another linux box, mount diod-exported fs and > > attempt all.bash > > I am speculating that if that works, the issue might be with > > unsupported fs calls. > > > > On Tue, Oct 26, 2021 at 12:11 PM Richard Miller <9fans@hamnavoe.com> wr= ote: > > > > there is a 9P2000.L variant that seems to > > > > kitchen-sink all Linux fs calls into 9P. There's a file server > > > > (https://github.com/chaos/diod) that implements it. It would be > > > > interesting to know if your case fails using it. > > >=20 > > > Sorry, I've cloned & built diod but I can't quite see how to > > > deploy it for my use case, which is to mount fs from Plan 9 > > > file server onto linux client. The server is 4th edition and > > > thus 9P2000 not 9P2000.L. > > >=20 > > > Here's the incantation I've been using to mount atom's fs > > > using v9fs: > > >=20 > > > $ factotum -n > > > $ srv -a atom > > > $ sudo mount -t 9p -o trans=3Dunix.uname=3Dmiller,dfltuid=3D1000,dflt= gid=3D1000,cache=3Dmmap `namespace`/atom /mnt > > >=20 > > > What would be the equivalent using diod? > > >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tb065f4df67a8bab9-M76889= d95950ce443f66145ab Delivery options: https://9fans.topicbox.com/groups/9fans/subscription