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_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12978 invoked from network); 27 Oct 2021 15:02:58 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 27 Oct 2021 15:02:58 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 0AA01357F9 for ; Wed, 27 Oct 2021 11:02:57 -0400 (EDT) (envelope-from bounce.mM30a0d7f933429868ec22fdd7.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id 0374B38B36E; Wed, 27 Oct 2021 11:02:57 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=FIYBmOMk header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qt1-f172.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1635346976; bh=zsWB+QHNIzt/34Dh Gw1ROXL1aDvcyK95/6BCx0KswLg=; b=T9+r7ynFtzdfKgWR8ZGAvRrmrkgDHfL+ gsEMHPDx03NKu+tu/AyBEFcf9aOBAn4l9U1qywyChsmsQ61bB72jNoyk3E7Wjpdl lBfinz04CFxQ6f4g2rJa8NpF7gzskWUvvTm+Qdfg2HsAilIwIn8L1kvr3XocAb2T +lwk2n5Yjc4= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1635346976; b=BRLN+B1IXkHR7IyHw8+5pNBwJ3RjAjreRyfMZwreTjbdJdL5Wi SFBlNGzEEbnXczbkrs9AWGzmlUICMvobstUHav59dfhta6AGBOzxYWCZ3B56mk3I 9gVEVo39DIZ5o7JQE/cc7QoSfSsnE4IHvgHxs5x4xpLXq3OH31NhcgWVI= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=FIYBmOMk header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qt1-f172.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=FIYBmOMk header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; iprev=pass smtp.remote-ip=209.85.160.172 (mail-qt1-f172.google.com); spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qt1-f172.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=C1FKs97t; x-me-sender=none; x-ptr=pass smtp.helo=mail-qt1-f172.google.com policy.ptr=mail-qt1-f172.google.com; x-return-mx=pass header.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt3.aspmx.l.google.com,alt2.aspmx.l.google.com); x-return-mx=pass smtp.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt3.aspmx.l.google.com,alt2.aspmx.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=from :content-type:content-transfer-encoding:mime-version:subject :date:references:to:in-reply-to:message-id:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=2BqPqEVtvS7osAItqk9FoFBoYNASJLb3KbCuOs0Ivg4=; b=jY1M7SzbEvG/ itt91l6DYNPMF6qhXtESuXEWI/ByAL+VOK9EZSQCwPt28eCGM2rwOux29ooeaZ49 e4lFAMHTFJVk/MgfP/Brdh+/ZZiGjm9JY7TmpNYWznzcX0YQ0HmbHi8dFo7mBDQK hqParJBX1UG/2yfZtjQJ1btb5Nom8rc= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 3F12029D381 for <9fans@9fans.net>; Wed, 27 Oct 2021 11:02:45 -0400 (EDT) (envelope-from bakul@iitbombay.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 9EE2F4D0073; Wed, 27 Oct 2021 11:02:45 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1635346965; b=yMVoBCCaNsUmotSJVZB0ql1+kQgtL7YRiOnLaabG3B3ycXVXa6 8cbvlxLSKZQFcatcIR2POOTI9SnJXazNlGnXEe+iuPtPc3LBAC1+1vof4PN4pH+x yne0+/35nxRS+9thLUeyWzgA10zpi0JDGGASZGSK9TXY840LqoacJpsYOXtnnTeC AO9bo2w+cfMvYdOLChA7mT+rn/26N1COp3ItqM5l8ZR98CK7cNx1Jj1itjWd+UgL poFJowFpDtkijrGrUjQobfpTjcgu8jcE1NoaIiT7S2pRXwrFhaDnJvgAIWtsS21S d+9jgAbsu8aFktZsbhoFi/NYeH9G20Bf/v2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; s=arcseal; t=1635346965; bh=1Uixhwu2wWfFO+b6GhWcJkNKuuyMv8aBCuV XIpdmgPs=; b=Y70Es6xmrzFBfBbPCQgADMWNcWxw/RpfsIAUBwc26hEEpFT5JyL s4wDMsKZCTNqbOI6BRy9psv12OiamiobSPRfRIj4pwT1NjNoVUlwa+71zoeAEiQz I88JYs2+p17J0pFuFpp8jLbfD6B5vmoPrF/dJO12OH84K7JhgSgpn2ccKIGvaXgh 0HpqY32LWzZj6ibrX2SgmfGP68DNdBD3akqAnn6f9csFZVIWpXAmzOFh1Cb8kicr kqCQcSt9I8dCaP01kyRY5Nix8NdStT4I977hK9Z7X4KmjNJWhWF67HBVx+rsTL/J /V3yBc+jhN2FMJkbSonZOf86WD9VvjHoovQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20210112.gappssmtp.com header.i=@iitbombay-org.20210112.gappssmtp.com header.b=FIYBmOMk header.a=rsa-sha256 header.s=20210112 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; iprev=pass smtp.remote-ip=209.85.160.172 (mail-qt1-f172.google.com); spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-qt1-f172.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=C1FKs97t; x-me-sender=none; x-ptr=pass smtp.helo=mail-qt1-f172.google.com policy.ptr=mail-qt1-f172.google.com; x-return-mx=pass header.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt3.aspmx.l.google.com,alt2.aspmx.l.google.com); x-return-mx=pass smtp.domain=iitbombay.org policy.is_org=yes (MX Records found: alt1.aspmx.l.google.com,aspmx.l.google.com,alt4.aspmx.l.google.com,alt3.aspmx.l.google.com,alt2.aspmx.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: gggruggvucftvghtrhhoucdtuddrgedvtddrvdegtddgjeeiucdltddurdegudehrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucenucfjughrpefhtgfgggfuffhfvfgjkffosehtjehmtdhhtddvnecuhfhrohhmpeeu rghkuhhlucfuhhgrhhcuoegsrghkuhhlsehiihhtsghomhgsrgihrdhorhhgqeenucggtf frrghtthgvrhhnpefhvdfgheegueeuhefgteevgfelieffudehteellefghfeljeffueef teejfffgieenucffohhmrghinhepihhtnhgvgihtrdhiohdpghhithhhuhgsrdgtohhmne cukfhppedvtdelrdekhedrudeitddrudejvddpuddtjedrvdduhedrvddvfedrvddvleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdelrdekhedrud eitddrudejvddphhgvlhhopehmrghilhdqqhhtuddqfhdujedvrdhgohhoghhlvgdrtgho mhdpmhgrihhlfhhrohhmpeeosggrkhhulhesihhithgsohhmsggrhidrohhrgheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (iitbombay.org: Sender is authorized to use 'bakul@iitbombay.org' in 'mfrom' identity (mechanism 'include:_spf.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="bakul@iitbombay.org"; helo=mail-qt1-f172.google.com; client-ip=209.85.160.172 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 27 Oct 2021 11:02:44 -0400 (EDT) (envelope-from bakul@iitbombay.org) Received: by mail-qt1-f172.google.com with SMTP id v17so2738888qtp.1 for <9fans@9fans.net>; Wed, 27 Oct 2021 08:02:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=1Uixhwu2wWfFO+b6GhWcJkNKuuyMv8aBCuVXIpdmgPs=; b=C1FKs97tIk9FuzdsJRygc6rJgy+uxLWw2uj28Oc3g++W6/MyAqybyjh6GA1sNUrYCm 8CiA1cHWi6Bf1qMpkP/lB2VVj9F7nvnGIJxn04Id9MNTH31ygahG88lEJvK/icY/xtsl qK6qT0O4yqv2R8l0Ikj6zhI4RJ39ojz+1gQaoG+0r54AzDuc1ztJ3BfLFKRjU77W9n4Q 76EzIKvfXFImgp4VqCfdzJ1IeYRfIBdjZr/aKI9jCiphzg/FZsgVtqgr0rcrAL0LS0f0 Mk1fHLHc41F0YFx0VctSIQ1Hp6Km2P9u2PCDxcgm/IZkxuIGMjmF47B1RaLp/ZU5V1N3 eNSg== X-Gm-Message-State: AOAM532tGnGtPSmqUmY3MeTrYZ2MOuLQYRLMQi2FS6YWLEZdJBRr5RMC TiSaW2fBbWZ6uw4xK5iL/LyknrYu1CJbUg== X-Google-Smtp-Source: ABdhPJy3ZN2jZwjHd/0ilSfT25Ympvy5k5pZilfVz6yl1AKyPLCbrIElk36p+5dCQoH+HkLUa2TyoQ== X-Received: by 2002:ac8:5c85:: with SMTP id r5mr33754375qta.219.1635346963515; Wed, 27 Oct 2021 08:02:43 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id s14sm94729qtc.32.2021.10.27.08.02.42 for <9fans@9fans.net> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Oct 2021 08:02:43 -0700 (PDT) From: Bakul Shah Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [9fans] v9fs vs mmap (not quite SOLVED) Date: Wed, 27 Oct 2021 08:02:41 -0700 References: <811fe89f74db52b9e1eaee440967c8dd@hamnavoe.com> To: 9fans <9fans@9fans.net> In-Reply-To: <811fe89f74db52b9e1eaee440967c8dd@hamnavoe.com> Message-Id: <8590FACA-50B2-4FF8-8B5F-AF0B5ABE1EA6@iitbombay.org> X-Mailer: Apple Mail (2.3693.20.0.1.32) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: f3efab10-3736-11ec-9a47-ffa683bc4ec2 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UYjA2NWY0ZGY2N2E4YmFiOS1NMzBhMGQ3ZjkzMzQyOTg2OGVjMjJm?= =?UTF-8?B?ZGQ3Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M30a0d7f933429868ec22fdd7:1:1VFMoIe9YlZNyvHZ_2vyNcOLxlf-vRc5V9Poch0sSzg On Oct 27, 2021, at 3:55 AM, Richard Miller <9fans@hamnavoe.com> wrote: >> Skip, did you specify -o cache=3Dmmap when mounting diod service >> for the go build experiment? >=20 > I tried it myself using local diod and cache=3Dmmap. I get a similar > SIGBUS on instruction fetch again. Conclusion: as Bakul says, now > I'm debugging linux. Not going there, thanks. Looks like you are going there? :-) > Going further off-topic for 9fans, sorry: >=20 > I thought it would be clever to update the linux client to a newer > kernel (4.19 was the latest I could find for debian 9). That > didn't go well: booting the new kernel fails with the message > Failed to find cpu0 device node >=20 > Does anyone know if it's feasible to do an out-of-tree build > of v9fs kernel modules (9p, 9pnet?) from current source [where > is it?] and use them with my old 4.9 kernel? May be this will help? https://itnext.io/a-standalone-linux-kernel-module-df54283d4803 Though may you first want to start looking at the output of git log github.com/torvalds/linux/fs/9p/vfs_file.c grep for mmap related changes and check the code around changes to see if you can spot the bug. The last mmap mention in the log makes me wonder whether you see a difference in a 32 bit wordsize machine vs 64 bit. May also be worth just talking to the folks who worked on this feature. A long time ago I wrote an mmap example C program that works on anonymous maps (just steps through memory given some stride and allocates memory in the signal handler on page faults). Something similar can be written to access an mmapped file and tweaked until your bug appears. Currently my program compiles on freebsd but not linux (ubuntu). I will see if I can make it work. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tb065f4df67a8bab9-M30a0d= 7f933429868ec22fdd7 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription