From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAD38C19F2B for ; Fri, 29 Jul 2022 10:38:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235617AbiG2KiB (ORCPT ); Fri, 29 Jul 2022 06:38:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235421AbiG2KiA (ORCPT ); Fri, 29 Jul 2022 06:38:00 -0400 Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3DE38238A; Fri, 29 Jul 2022 03:37:58 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.93,201,1654588800"; d="scan'208";a="80469973" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 29 Jul 2022 02:37:57 -0800 IronPort-SDR: qPRhArPH6ZfwOvrGboF1DO33OGLMQs0xHIKjcfXqY8Lk27NI4sJNrioLfb4O/zeu75QM7acBJx RUiWkZqPSTWojbH0H0gXzxy/AL+nvHb00tFrOLkYnz/RHKwpAFa5g0qG3soTRxC8QbfLqoSHZk wsjD87724I0ya8BQw7zoawEfU6OQAUebQgZEiBN7/k3LcVgLyKE/KE0Am/W2zUJ6Nf1J6hiQhb AHY6i8npVGsz+kLBnTR84kSvUca7daDXzQ9R7oRw907kjBH87faV4+/VQ35izCe2TiLYq2O+Cp xwo= Message-ID: Date: Fri, 29 Jul 2022 11:37:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v4 0/3] initramfs: add support for xattrs in the initial ram disk Content-Language: en-GB To: Roberto Sassu , Eugeniu Rosca CC: Rob Landley , "hpa@zytor.com" , Masahiro Yamada , Arvind Sankar , Mimi Zohar , "viro@zeniv.linux.org.uk" , "linux-security-module@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "initramfs@vger.kernel.org" , "linux-api@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bug-cpio@gnu.org" , "zohar@linux.vnet.ibm.com" , Silviu Vlasceanu , Dmitry Kasatkin , "takondra@cisco.com" , "kamensky@cisco.com" , "arnd@arndb.de" , "james.w.mcmechan@gmail.com" , "linux-kbuild@vger.kernel.org" , Dirk Behme , Eugeniu Rosca References: <33cfb804-6a17-39f0-92b7-01d54e9c452d@huawei.com> <1561909199.3985.33.camel@linux.ibm.com> <45164486-782f-a442-e442-6f56f9299c66@huawei.com> <1561991485.4067.14.camel@linux.ibm.com> <0c17bf9e-9b0b-b067-cf18-24516315b682@huawei.com> <20220609102627.GA3922@lxhi-065> <21b3aeab20554a30b9796b82cc58e55b@huawei.com> <20220610153336.GA8881@lxhi-065> <4bc349a59e4042f7831b1190914851fe@huawei.com> <20220615092712.GA4068@lxhi-065> <032ade35-6eb8-d698-ac44-aa45d46752dd@mentor.com> <737ddf72-05f4-a47e-c901-fec5b1dfa7a6@mentor.com> <8e6a723874644449be99fcebb0905058@huawei.com> From: Jim Baxter Organization: Siemens Digital Industries Software In-Reply-To: <8e6a723874644449be99fcebb0905058@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-09.mgc.mentorg.com (139.181.222.9) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On 19/07/2022 07:55, Roberto Sassu wrote: >> From: Jim Baxter [mailto:jim_baxter@mentor.com] >> Sent: Monday, July 18, 2022 8:08 PM >> >> >> >> Best regards, >> >> *Jim Baxter* >> >> Siemens Digital Industries Software >> Automotive Business Unit >> DI SW STS ABU >> UK >> Tel.: +44 (161) 926-1656 >> mailto:jim.baxter@siemens.com >> sw.siemens.com >> >> On 18/07/2022 17:49, Roberto Sassu wrote: >>>> From: Jim Baxter [mailto:jim_baxter@mentor.com] >>>> Sent: Monday, July 18, 2022 6:36 PM >>>> >>>> >>>> Hello, >>>> >>>> I have been testing these patches and do not see the xattr information when >>>> trying to retrieve it within the initramfs, do you have an example of how >>>> you tested this originally? >>> >>> Hi Jim, all >>> >>> apologies, I didn't find yet the time to look at this. >> >> Hello Roberto, >> >> Thank you for your response, I can wait until you have looked at the patches, >> I asked the question to make sure it was not something wrong in my >> configuration. >> >>> >>> Uhm, I guess this could be solved with: >>> >>> https://github.com/openeuler- >> mirror/kernel/commit/18a502f7e3b1de7b9ba0c70896ce08ee13d052da >>> >>> and adding initramtmpfs to the kernel command line. You are >>> probably using ramfs, which does not have xattr support. >>> Can I clarify which filesystem type is supported with this patch series? Is it tmpfs or perhaps a ramdisk? >> >> >> Thank you, I have tested that patch but the problem remained. Here is my >> command line, I wonder if there is something wrong. >> >> Kernel command line: rw rootfstype=initramtmpfs root=/dev/ram0 >> initrd=0x500000000 rootwait > > It is just initramtmpfs, without rootfstype=. > > Roberto Best regards, Jim