Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3967477pxb; Mon, 8 Feb 2021 04:56:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyit3vIFyCO0AfeZz+dneHWXZV+j34kKPpaeP8vB6k0c7vXFcMQDAyKP9DJ7FNiUctxu8pT X-Received: by 2002:a17:906:1241:: with SMTP id u1mr16886474eja.196.1612789018018; Mon, 08 Feb 2021 04:56:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612789018; cv=none; d=google.com; s=arc-20160816; b=M+prkasHRhk0i4ASKN2wNi9GLcrlCISsuBlcRDKJi/16T1Xkl6PS1l078RlAiBnOpM CMv7JJRdvSe3PU59jr4Za+LOD4JwGxaOFuJIs77Q4ljnALAlTE6sWY/UVvMF2cAp28SZ obQJ4UC6nCXwsM+wCyNvrgzcIMrfwO8rZ8troi8vUh6J7uhscJEOx+DLrmxG6X+HwMr6 LvZeCgIZzJhmYj8KuhWAhDFML5R/scc+oFBsnogVSldVHEr/8ZWzjBcnhB3WOwviSDA8 eLnZmLrpygb+k5YzEb3ErZW7NCNoXJFaKvC4TAfSracjAhKnJHdEuxdU8fXwiOuK7GNL 6wdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:date:message-id:to:subject:mime-version :sender:dkim-signature; bh=elY6mwyUPnYDM/UvfqlXsuhUvvLteDzuj6k1gKHeciM=; b=FxuJCEmUBC4KpewKUWfCCnEc+sd+enVqVqERfcPA6O98ylRrsIqNdDnfS3hjY3PbXa eAMyVXRLmb4iYg/p7IZtUy5z0lpaXIQGWUZ1XeaVO6n8kU5AYP2ddi/vmDRpuGgzBlZL GbXrPEZcIuQMwOt9k6lYgBUuI17y8DpN6xgUl2T21WKUv4l57ObC7KcrlTxkVlMfpTEd 3PnFh1pueBWWo8a9gqPZ66LiYtggTAIQ36R58Cx+Z39SutBT+CGFNB6JasYhfmVvGxek h85rAW8a2yMvAICK+onagDc0DmubATPunUqUrV76Ir2G7xonMdAhZDPtkgcZ0im6b3xm eK3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mixtli.metztli.it header.s=mx header.b=cWN7bjDZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j4si1071590ejm.600.2021.02.08.04.56.12; Mon, 08 Feb 2021 04:56:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mixtli.metztli.it header.s=mx header.b=cWN7bjDZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229822AbhBHMzZ (ORCPT + 99 others); Mon, 8 Feb 2021 07:55:25 -0500 Received: from mail7.static.mailgun.info ([104.130.122.7]:26808 "EHLO mail7.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbhBHMzV (ORCPT ); Mon, 8 Feb 2021 07:55:21 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mixtli.metztli.it; q=dns/txt; s=mx; t=1612788895; h=From: Date: Message-Id: To: Subject: Content-Type: MIME-Version: Sender; bh=elY6mwyUPnYDM/UvfqlXsuhUvvLteDzuj6k1gKHeciM=; b=cWN7bjDZe+Tce2Wkz18etXJL6i4cMqwpkQRb75urKG1GatgI4itWZ7DNjeW8mIymfEsZ+/UJ Dfs+aEknRM8beKXlLFxtQHWOuypMlS6TOLDTjGgnmDBrWlvat8G8RuqBn10RakqE88swmLDf RhCMNEBkZoMHeCGCgjMxC7to1RM= X-Mailgun-Sending-Ip: 104.130.122.7 X-Mailgun-Sid: WyIxYzIzYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgIjE3YjU0Il0= Received: from huitzilopochtli.metztli-it.com (99-130-254-3.lightspeed.sntcca.sbcglobal.net [99.130.254.3]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 60213486e4842e912865d00f (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Mon, 08 Feb 2021 12:54:29 GMT Sender: jose.r.r=metztli.com@mixtli.metztli.it Received: by huitzilopochtli.metztli-it.com (Postfix, from userid 1000) id CFC7C75EED90; Mon, 8 Feb 2021 04:54:27 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="940001818-1612788867=:553444" Subject: Re: [reiser4 SFRN 5.1.3] kernel [5.10.x] read not supported for file /test-exec \(pid: 10094 comm: debootstrap\) To: , , , X-Mailer: mail (GNU Mailutils 3.9) Message-Id: <20210208125427.CFC7C75EED90@huitzilopochtli.metztli-it.com> Date: Mon, 8 Feb 2021 04:54:27 -0800 (PST) From: Metztli Information Technology Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --940001818-1612788867=:553444 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-ID: <20210208045426.553444.1@huitzilopochtli> On Wed, Dec 23, 2020 at 3:40 PM Edward Shishkin wrote: > > On 12/23/2020 05:01 PM, Metztli Information Technology wrote: > > Niltze [Ð—Ð´Ñ€Ð°Ð²Ñ Ñ‚Ð²ÑƒÐ¹Ñ‚Ðµ : Hello], Ed- > > > > I built Linux kernel 5.10.1-1 within the 'Debian way' -- as usual -- to generate a kernel component for my Debian-Installer (d-i). > > The patch I applied is reiser4-for-5.10-rc3.patch.gz from v5-unstable. > > > > Once I built the proper reiser4progs-2.0.4.tar.gz and generated one set of components for d-i I built the d-i image. > > > > Fact is, the installer throws an error in *both* bare metal and VirtualBox 6.1.16: > > ... > > Dec 22 20:19:56 main-menu[330]: INFO: Menu item 'bootstrap-base' selected > > Dec 22 20:19:56 debootstrap: /usr/sbin/debootstrap --components=main --debian-installer --resolve-deps --keyring=/usr/share/keyrings/archive.gpg buster /target http://deb.debian.org/debian/ > > Dec 22 20:19:56 debootstrap: /usr/sbin/debootstrap: line 1596: /target/test-exec: Invalid argument > > Dec 22 20:19:56 kernel: [ 1018.632648] kernel read not supported for file /test-exec (pid: 10077 comm: debootstrap) > > Dec 22 20:19:56 debootstrap: E: NOEXEC > > Dec 22 20:19:56 debootstrap: EF: Cannot install into target '/target' mounted with noexec or nodev > > Dec 22 20:20:12 base-installer: error: exiting on error base-installer/debootstrap-failed > > Dec 22 20:20:14 main-menu[330]: WARNING **: Configuring 'bootstrap-base' failed with error code 1 > > Dec 22 20:20:14 main-menu[330]: WARNING **: Menu item 'bootstrap-base' failed. > > Dec 22 20:20:15 main-menu[330]: INFO: Falling back to the package description for brltty-udeb > > > > [...] > > > > > Apparently, d-i [Debian-installer] complains about being unable to set the test file executable and causes the error when 1 is returned. > > Notwithstanding, I manually verified that I am able to touch a file and set it +x executable. > > > > Furthermore, tricking the function return value to 0 I am able to make d-i continue with the latest SFRN5 installation (see [*trick*] below); yet, subsequently halts again with > > an apparently related error --can not proceed any further. > > > > Digging deeper with dmesg, we can see that apparently it is the kernel which cannot 'read' properly. Please find a partial dmesg log with relevant output > > from an attempt on my physical development machine. > > ... > > [  508.614488] Loading Reiser4 (Software Framework Release: 5.1.3). See reiser4.wiki.kernel.org for a description of Reiser4. > > [  508.661951] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled > > [  509.326270] device-mapper: uevent: version 1.0.3 > > [  509.326505] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com > > [  509.902828]  sda: sda1 sda2 sda3 sda4 sda5 sda6 > > [  509.915300]  sdb: sdb1 sdb2 sdb3 > > [  511.973360]  sdb: sdb1 sdb2 sdb3 > > [  627.525371] Adding 9765884k swap on /dev/sda3.  Priority:-2 extents:1 across:9765884k FS > > [  636.240812] reiser4[mount(9430)]: reiser4_register_subvol (fs/reiser4/init_volume.c:222)[edward-1932]: > > [  636.240812] NOTICE: brick /dev/sda6 has been registered > > [  636.243003] reiser4 (sda6): found disk format 5.1.3. > > [  643.759971] reiser4 (/dev/sda6): using Hybrid Transaction Model. > > [  643.759980] reiser4: brick /dev/sda6 activated > > [  643.788537] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem > > [  643.813474] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null) > > [  643.813488] ext2 filesystem being mounted at /target/boot supports timestamps until 2038 (0x7fffffff) > > [  648.168730] kernel read not supported for file /test-exec (pid: 9876 comm: debootstrap) [*trick*] > > [  898.761385] reiser4: brick /dev/sda6 deactivated > > [  991.001332] reiser4 (sda6): found disk format 5.1.3. > > [  999.093471] reiser4 (/dev/sda6): using Hybrid Transaction Model. > > [  999.093480] reiser4: brick /dev/sda6 activated > > [ 1009.340117] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem > > [ 1009.362722] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null) > > [ 1009.362737] ext2 filesystem being mounted at /target/boot supports timestamps until 2038 (0x7fffffff) > > [ 6373.748413] kernel read not supported for file /test-exec (pid: 10094 comm: debootstrap) > > [ 6413.169920] kernel read not supported for file /usr/bin/true (pid: 15960 comm: chroot) > > > Hello. > > This is because of VFS changes in Linux-5.10.X. > Specifically, because of the following patch: > https://lkml.org/lkml/2020/8/17/174 > In the upstream git repository it is commit 4d03e3cc59828c82ee89ea6e2 > > So, Christoph, what to do now for file systems which implement > ->read() method of file operations? *deafening silence* it appears that -- in the best of cases -- Christoph engaged in an act of _iter masturbation [1]; and in the worst of cases, the gentleman was aiming straight at reiser4. >... It seems that chroot doesn't work > for them. And people are not able to release distros with upgraded > kernels.. Not only 'chroot doesn't work' for us, but even after replacing the kernel in a reiser4 (proper SFRN ;) instance and upon an initial Linux 5.10.x kernel boot: ... kernel read not supported for file usr/lib/systemd/systemd (pid: 1 comm: run-init) kernel panic -- not syncing: Attempted to kill init! exitcod=0x00000100 ... Fact is some of us have commercial interests when deploying reiser4, both in cloud instances, baremetal, and on-premises. In the future if -- and only if -- our reiser4 efforts come to successful fruition, quite likely in due time we will be able to financially commit to the Penguin's Linux Foundation temple, just like large corporations do in exchange for indulgences[2] which virtue-wash their past and/or current corp. officers' *substantially darker deeds*; heck, 'indulgence trafficking' seems to assuage->numb->arg(STFU) that 'virtuous' cult of GNU/Linux developers/gatekeepers/maintainers' frivolous, *narcissist*, ethics and/or moralities so often piled up against Reiser's work --which, paradoxically(!?), actually was largely implemented by Russian developers ;) In the meantime, I hacked a reverse patch that undoes some(all) of the surreptitious lethal attack on reiser4 fs -- at least on AMD64 architectures (I did away with other arch/Kconfigs). And no, I am not a git pro-, undoing what I could of commit 4d03e3cc59828c82ee89ea6e27a2f3cdf95aaadf (as your hinted, Ed) does not fix the 'kernel read' issue. Notwithstanding, I would appreciate if you can take a look at the attached patch. Probably it can be streamlined and/or improved further to minimize pain on subsequent Linux kernel upgrades. The patch has been tested in my local development machine environment -- as I intalled the generated reiser4 -enabled linux 5.10.13/14 meta/kernel into a Debian Bullseye already running reiser4 (with proper SFRN) and the kernel booted nicely. Subsequently, after installing the linux headers, etc. I built a couple of upgraded kernels in Debian Buster GCC-8 and Bullseye GCC-10 environments -- thus the hack seems to be stable. Additionally, I have just made a Debian-Installer (d-i) with a 'kernel read' -patched Linux 5.10.14.1 which successfully installed into a VirtualBox 6.1.18 VM: < https://metztli.it/buster/reiser4_0_2-linux-5.10.14-kernel-read-patched.png > > > Thanks, > Edward. Best Professional Regards. [1] "The bug was fixed, again way back in 2010, and over time chip-designers have moved on to improved memory management techniques. Torvalds wrote that this sort of memory space override has been banished from the x86, powerpc, s390 and RISC-V architectures." < https://www.theregister.com/2020/10/25/linux_5_10_rc1/ > [2] https://www.britannica.com/topic/indulgence -- Jose R R http://metztli.it --------------------------------------------------------------------------------------------- Download Metztli Reiser4: Debian Buster w/ Linux 5.9.16 AMD64 --------------------------------------------------------------------------------------------- feats ZSTD compression https://sf.net/projects/metztli-reiser4/ --------------------------------------------------------------------------------------------- or SFRN 5.1.3, Metztli Reiser5 https://sf.net/projects/debian-reiser4/ ------------------------------------------------------------------------------------------- Official current Reiser4 resources: https://reiser4.wiki.kernel.org/ --940001818-1612788867=:553444 Content-Type: application/octet-stream; name="linux-5.10.14-enable-kernel-read-on-reiser4.patch" Content-Disposition: attachment; filename="linux-5.10.14-enable-kernel-read-on-reiser4.patch" Content-Transfer-Encoding: base64 Content-ID: <20210208045426.553444.1@huitzilopochtli> RnJvbSA2NmQ0MzkyODIyMzA5NDJhYjA1MDQ2MGVmNDBlM2I1NDAyMmEzMmE1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNZXR6dGxpIEluZm9ybWF0aW9uIFRlY2hub2xvZ3kgPGpvc2VA bWV0enRsaS5pdD4KRGF0ZTogU3VuLCA3IEZlYiAyMDIxIDIxOjEwOjQ2IC0wODAwClN1YmplY3Q6 IFtQQVRDSF0gSWMgb21lICjQktGC0L7RgNC+0LkgOiBTZWNvbmQpIGNvbW1pdCAtIHByZXZlbnRp bmcgJ2tlcm5lbAogcmVhZCBub3Qgc3VwcG9ydGVkLi4uJyBwYW5pYyBvbiBSZWlzZXIgTGludXgg NS4xMC4xNCBvbiBBTUQ2NAoKLS0tCiBhcmNoL0tjb25maWcgICAgICAgICAgICAgICAgICAgICAg ICAgICAgfCAgIDMgLQogYXJjaC94ODYvaWEzMi9pYTMyX2FvdXQuYyAgICAgICAgICAgICAgIHwg ICAxICsKIGFyY2gveDg2L2luY2x1ZGUvYXNtL3BhZ2VfMzJfdHlwZXMuaCAgICB8ICAxMSAtLQog YXJjaC94ODYvaW5jbHVkZS9hc20vcGFnZV82NF90eXBlcy5oICAgIHwgIDM4IC0tLS0tLS0KIGFy Y2gveDg2L2luY2x1ZGUvYXNtL3Byb2Nlc3Nvci5oICAgICAgICB8ICA2MCArKysrKysrKysrLQog YXJjaC94ODYvaW5jbHVkZS9hc20vdGhyZWFkX2luZm8uaCAgICAgIHwgICAyICsKIGFyY2gveDg2 L2luY2x1ZGUvYXNtL3VhY2Nlc3MuaCAgICAgICAgICB8ICAyNiArKysrLQogYXJjaC94ODYva2Vy bmVsL2FzbS1vZmZzZXRzLmMgICAgICAgICAgIHwgICAzICsKIGFyY2gveDg2L2xpYi9nZXR1c2Vy LlMgICAgICAgICAgICAgICAgICB8ICA0NyArKysrKy0tLS0KIGFyY2gveDg2L2xpYi9wdXR1c2Vy LlMgICAgICAgICAgICAgICAgICB8ICAyNSArKystLQogZHJpdmVycy9taXNjL2xrZHRtL2J1Z3Mu YyAgICAgICAgICAgICAgIHwgIDEwICsrCiBkcml2ZXJzL21pc2MvbGtkdG0vY29yZS5jICAgICAg ICAgICAgICAgfCAgIDIgKwogZHJpdmVycy9taXNjL2xrZHRtL2xrZHRtLmggICAgICAgICAgICAg IHwgICAyICsKIGRyaXZlcnMvbWlzYy9sa2R0bS91c2VyY29weS5jICAgICAgICAgICB8ICAxNSAr KysKIGZzL3Byb2MvY3B1aW5mby5jICAgICAgICAgICAgICAgICAgICAgICB8ICAgMiArLQogZnMv cHJvYy9nZW5lcmljLmMgICAgICAgICAgICAgICAgICAgICAgIHwgICA0ICstCiBmcy9wcm9jL2lu b2RlLmMgICAgICAgICAgICAgICAgICAgICAgICAgfCAxMjQgKysrKysrKystLS0tLS0tLS0tLS0t LQogZnMvcHJvYy9wcm9jX3N5c2N0bC5jICAgICAgICAgICAgICAgICAgIHwgIDQ4ICsrKystLS0t LQogZnMvcHJvYy9zdGF0LmMgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAyICstCiBmcy9y ZWFkX3dyaXRlLmMgICAgICAgICAgICAgICAgICAgICAgICAgfCAgNzEgKysrKystLS0tLS0tLQog ZnMvc3BsaWNlLmMgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgMTMwICsrKysrKysrKysr KysrK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