From: "Aaditya Raj Barnwal (QUIC)" <quic_abarnwal@quicinc.com>
To: Mikulas Patocka <mpatocka@redhat.com>,
"Aaditya Raj Barnwal (QUIC)" <quic_abarnwal@quicinc.com>
Cc: "agk@redhat.com" <agk@redhat.com>,
"snitzer@kernel.org" <snitzer@kernel.org>,
"dm-devel@lists.linux.dev" <dm-devel@lists.linux.dev>,
Ravi Kumar Siddojigari <rsiddoji@qti.qualcomm.com>
Subject: RE: Patch : drivers/md/dm-verity-target.c
Date: Wed, 15 Nov 2023 07:00:13 +0000 [thread overview]
Message-ID: <dafc402fea3748aeb02efea4c6fd87b2@quicinc.com> (raw)
In-Reply-To: <f66b2e7c-294b-60f8-7bd0-a4dff496fb4@redhat.com>
Sorry if that statement confused you , It was debugging print
that was added to check if the tight while loop has ended or not.
Code : dm-init.c
dm_init_init()
wait_for_device_probe();
for (i = 0; i < ARRAY_SIZE(waitfor); i++) {
if (waitfor[i]) {
dev_t dev;
DMERR("waiting for device %s ...", waitfor[i]);
while ((dev= name_to_dev_t(waitfor[i]) !=0))
fsleep(5000);
}
DMERR("exiting after %s ",waitfor[i]); <<<<<<<<<<<here it was added
}
if (waitfor[0])
DMINFO("all devices available");
list_for_each_entry(dev, &devices, list) {
if (dm_early_create(&dev->dmi, dev->table,
dev->target_args_array))
break;
}
-----Original Message-----
From: Mikulas Patocka <mpatocka@redhat.com>
Sent: Tuesday, November 14, 2023 8:07 PM
To: Aaditya Raj Barnwal (QUIC) <quic_abarnwal@quicinc.com>
Cc: agk@redhat.com; snitzer@kernel.org; dm-devel@lists.linux.dev; Ravi Kumar Siddojigari <rsiddoji@qti.qualcomm.com>
Subject: RE: Patch : drivers/md/dm-verity-target.c
WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
On Fri, 10 Nov 2023, Aaditya Raj Barnwal (QUIC) wrote:
> Hi @Mikulas
> Sorry for my late reply
> I was not clear on the ask assuming it to be device configuration , please see below points for your query.
>
> * Only eMMC chip Micron product name (S0J35A) PNM 48(width) CID
> value 8GB: 53304A333541h
> * Linux version 5.15.104 compiled for Arm64 (armv8+ )
I did these commands:
$ git checkout v5.15.104
$ grep -r 'exiting after' *
and grep didn't find anything. But your log shows an 'exiting after'
message. So, where does this message 'device-mapper: init: exiting after'
come from? Are you using clean v5.15.104 or did you patch the kernel with some external patch?
Mikulas
> * with sdhci enabled and sdcard support for auto detect
>
> Please let me know if you have any concerns.
>
> Thanks
> Aaditya
>
> -----Original Message-----
> From: Mikulas Patocka <mpatocka@redhat.com>
> Sent: Monday, November 6, 2023 5:25 PM
> To: Aaditya Raj Barnwal <abarnwal@qti.qualcomm.com>
> Cc: Aaditya Raj Barnwal (QUIC) <quic_abarnwal@quicinc.com>;
> agk@redhat.com; snitzer@kernel.org; dm-devel@lists.linux.dev; Akshay
> Rukmangad <arukmang@qti.qualcomm.com>
> Subject: Re: Patch : drivers/md/dm-verity-target.c
>
> WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.
>
> On Mon, 6 Nov 2023, Aaditya Raj Barnwal wrote:
>
> > thanks for reply ,
> >
> > yes we already have
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/c
> > om mit/?id=035641b01e72af4f6c6cf22a4bdb5d7dfc4e8e8e
> > and kernel cmdline is with wait for /dev/dm-0 where i could make out
> > from the logs it was able to get /dev/dm-0 but still failed to get
> > the data-devices adding the logs below
> >
> > 9.785204][ T9] mmc0: CQHCI version 5.10 [ 9.826746][ T9]
> > mmc0: SDHCI controller on 8804000.sdhci [8804000.sdhci] using ADMA
> >64-bit [ 9.835559][ T9] sdhci_msm 8804000.sdhci: mmc0: CQE init:
> > success [ 9.842578][ T1] device-mapper: init: waiting for device /dev/dm-0 ...
>
> You should wait for /dev/mmcblk0 here, not for /dev/dm-0.
>
> > [ 9.849605][ T1] device-mapper: init: exiting after
> > /dev/dm-0 <<<<<got dev/dm-0
>
> Where does this 'exiting after' message come from? I grepped the kernel for it and didn't find it.
>
> > [ 9.856689][ T1] device-mapper: init: all devices available [
> > 9.863061][ T1] device-mapper: table: 252:0: verity: Data device
> > lookup failed [ 9.870868][ T1] device-mapper: ioctl: error
> > adding target to table [ 9.895539][ T37] platform regulatory.0:
> > Direct firmware load for regulatory.db failed with error -2 [
> > 9.898825][ T1] gcc-sdxpinn 80000.clock-controller: sync-state [
> > 9.905125][ T37] cfg80211: failed to load regulatory.db [ 9.911731][ T1] ALSA device list:
> > [ 9.920911][ T1] No soundcards found.
> > [ 9.925133][ T1] TAP version 14 [ 9.928642][ T1] 1..0 [
> > 9.931645][ T1] md: Waiting for all devices to be available before
> > autodetect [ 9.931829][ T85] mmc0: Command Queue Engine enabled
> > [ 9.939343][ T1] md: If you don't use raid, use
> > raid=noautodetect [ 9.944631][ T85] mmc0: new HS400 MMC card at
> > address 0001 [ 9.951158][ T1] md: Autodetecting RAID arrays.
> > [ 9.957520][ T85] mmcblk0: mmc0:0001 S0J35A 7.28 GiB [
> > 9.961908][ T1] md: autorun ...
> > [ 9.961912][ T1] md: ... autorun DONE.
> > [ 9.970173][ T85] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
> > p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28
> > p29 p30 p31 p32 p33 p34 p35 p36
> > p37 p38 p39 p40 p41 p42 p43 p44 p45 p46 [ 9.971004][ T1]
> > Waiting for root device /dev/dm-0...
> > [ 9.979384][ T85] mmcblk0boot0: mmc0:0001 S0J35A 31.5 MiB [
> > 10.005842][ T85] mmcblk0boot1: mmc0:0001 S0J35A 31.5 MiB [
> > 10.012536][ T85] mmcblk0rpmb: mmc0:0001 S0J35A 4.00 MiB, chardev
> > (500:0) [ 10.901495][ T85] msm-dwc3 a600000.ssusb: DWC3 in low
> > power mode << no rootfs and no further bootup blocked at this point
> > same as the above path >>
>
> I see that you also use md - please describe the full storage stack that you use.
>
> Mikulas
>
>
>
prev parent reply other threads:[~2023-11-15 7:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 9:30 Patch : drivers/md/dm-verity-target.c Aaditya Raj Barnwal (QUIC)
2023-11-06 10:04 ` Mikulas Patocka
[not found] ` <PH0PR02MB859987618E8647439950A053F6AAA@PH0PR02MB8599.namprd02.prod.outlook.com>
2023-11-06 11:55 ` Mikulas Patocka
2023-11-14 7:23 ` Aaditya Raj Barnwal (QUIC)
[not found] ` <1e9615ee3bf84ab7a3023152e3b94284@quicinc.com>
2023-11-14 14:37 ` Mikulas Patocka
2023-11-14 14:52 ` Mikulas Patocka
2023-11-15 7:01 ` Aaditya Raj Barnwal
2023-11-15 17:29 ` Mike Snitzer
2023-11-15 17:59 ` Mikulas Patocka
2023-11-15 7:00 ` Aaditya Raj Barnwal (QUIC) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dafc402fea3748aeb02efea4c6fd87b2@quicinc.com \
--to=quic_abarnwal@quicinc.com \
--cc=agk@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=mpatocka@redhat.com \
--cc=rsiddoji@qti.qualcomm.com \
--cc=snitzer@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.