Linux block layer
 help / color / mirror / Atom feed
From: Genes Lists <lists@sapience.com>
To: Inochi Amaoto <inochiama@gmail.com>, Jens Axboe <axboe@kernel.dk>,
	 linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
	 linux-nvme@lists.infradead.org
Cc: linux-pci@vger.kernel.org
Subject: Re: mainline boot fail nvme/block? [BISECTED]
Date: Tue, 14 Oct 2025 06:18:28 -0400	[thread overview]
Message-ID: <b30331816621cc1f6a154233482f01798cf57cea.camel@sapience.com> (raw)
In-Reply-To: <xfzcvv6ezleds24wvha2apkz5kirhcmoydm3on2hnfrxcwuc3g@koj6plovnvbd>

[-- Attachment #1: Type: text/plain, Size: 8544 bytes --]

On Tue, 2025-10-14 at 08:54 +0800, Inochi Amaoto wrote:
> On Mon, Oct 13, 2025 at 07:45:05AM -0400, Genes Lists wrote:
> > 
...

> > Thank you Inochi
> > 
> > I tried this patch over 6.18-rc1.
> > 
> >  It get's further than without the patch but around the time I get
> > prompted for passphrase for the luks partition
> > (root is not encrypted) it crashes. 
> > 
> > I have uploaded 2 images I took of the screen when this happens and
> > uploaded them to here:
> > 
> >     https://0x0.st/KSNz.jpg
> >     https://0x0.st/KSNi.jpg
> > 
> 
> This picture is only a WARNING from perf_get_x86_pmu_capability,
> and no other information. So I am not sure whether it is caused
> by this change. But from the original report I have, it solves
> the problem at that time.
> 
> By the way, can you test the following change?
> https://lore.kernel.org/all/2hyxqqdootjw5yepbimacuuapfsf26c5mmu5w2jsd
> mamxvsjdq@gnibocldkuz5/
> 
> If it is OK, I will send a patch for it.
> 
> Regards,
> Inochi


With this patch it boots with the same/similar warning as before, which
I will include below since it's text instead of image.

Tested-by: Gene C <gene@sapience.com>

Thank you

gene

Warning from 6.18-rc1 with above patch:


[  +0.003929] ------------[ cut here ]------------
[  +0.000004] WARNING: CPU: 7 PID: 584 at arch/x86/events/core.c:3089
perf_get_x86_pmu_capability+0x11/0xb0
[  +0.000010] Modules linked in: snd_hda_codec sr_mod(+) iwlmvm(+)
kvm_intel(+) dm_crypt cdrom encrypted_keys snd_>
[  +0.000060]  industrialio mei_me processor_thermal_wt_req i2c_smbus
spi_intel_pci intel_ipu6 soundcore processor>
[  +0.000058]  ghash_clmulni_intel aesni_intel video intel_ish_ipc
drm_display_helper intel_lpss_pci thunderbolt i>
[  +0.000025] CPU: 7 UID: 0 PID: 584 Comm: (udev-worker) Not tainted
6.18.0-rc1-test-1-00002-ge9cc50c96bb9 #2 PREE>
[  +0.000005] Hardware name: Dell Inc. XPS 9320/0CR6NC, BIOS 2.23.0
07/03/2025
[  +0.000002] RIP: 0010:perf_get_x86_pmu_capability+0x11/0xb0
[  +0.000004] Code: eb 9c e8 22 38 f8 00 66 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 4>
[  +0.000002] RSP: 0018:ffffd1e041edba58 EFLAGS: 00010202
[  +0.000003] RAX: 0000000000000000 RBX: ffffffffc206f000 RCX:
00000000c0000080
[  +0.000003] RDX: ffffffffc1e396e0 RSI: ffffffffc1e39408 RDI:
ffffffffc1e396e0
[  +0.000001] RBP: 0000000000000001 R08: 0000000000000000 R09:
ffffffffb0e763fb
[  +0.000002] R10: ffff8d0fdad72460 R11: ffff8d0fc0042600 R12:
0000000000000000
[  +0.000001] R13: ffffffffc17e4ca0 R14: 000071be141fd2f2 R15:
0000000000000000
[  +0.000002] FS:  000071be140c6880(0000) GS:ffff8d177bf79000(0000)
knlGS:0000000000000000
[  +0.000002] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000002] CR2: 00007d5cd598b808 CR3: 0000000109583004 CR4:
0000000000f70ef0
[  +0.000002] PKRU: 55555554
[  +0.000001] Call Trace:
[  +0.000003]  <TASK>
[  +0.000002]  kvm_init_pmu_capability+0x27/0x130 [kvm
83ffe9a0591f43a0ce126662332dfe4cf2561fa4]
[  +0.000119]  kvm_x86_vendor_init+0x1de/0x19d0 [kvm
83ffe9a0591f43a0ce126662332dfe4cf2561fa4]
[  +0.000085]  ? __pfx_vt_init+0x10/0x10 [kvm_intel
5fa84b05f575edf3826c8f8519ca550622307061]
[  +0.000023]  vmx_init+0xf6/0x170 [kvm_intel
5fa84b05f575edf3826c8f8519ca550622307061]
[  +0.000015]  vt_init+0xf/0x360 [kvm_intel
5fa84b05f575edf3826c8f8519ca550622307061]
[  +0.000012]  do_one_initcall+0x5b/0x300
[  +0.000009]  do_init_module+0x62/0x250
[  +0.000005]  ? init_module_from_file+0x8a/0xe0
[  +0.000004]  init_module_from_file+0x8a/0xe0
[  +0.000006]  idempotent_init_module+0x114/0x310
[  +0.000005]  __x64_sys_finit_module+0x6d/0xd0
[  +0.000004]  ? syscall_trace_enter+0x8d/0x1d0
[  +0.000003]  do_syscall_64+0x81/0x7f0
[  +0.000005]  ? __wait_for_common+0x162/0x190
[  +0.000005]  ? __pfx_schedule_timeout+0x10/0x10
[  +0.000004]  ? __rseq_handle_notify_resume+0xa6/0x490
[  +0.000005]  ? idempotent_init_module+0x1df/0x310
[  +0.000005]  ? switch_fpu_return+0x4e/0xd0
[  +0.000003]  ? do_syscall_64+0x226/0x7f0
[  +0.000003]  ? do_syscall_64+0x226/0x7f0
[  +0.000003]  ? do_user_addr_fault+0x21a/0x690
[  +0.000006]  ? exc_page_fault+0x7e/0x1a0
[  +0.000013] Bluetooth: hci0: Firmware SHA1: 0x937bca4a
[  +0.003913] Bluetooth: hci0: Fseq status: Success (0x00)
[  +0.000011] Bluetooth: hci0: Fseq executed: 00.00.02.41
[  +0.000004] Bluetooth: hci0: Fseq BT Top: 00.00.02.41
[  +8.297442] Key type trusted registered
[  +0.014388] Key type encrypted registered
[  +0.017993] sr 0:0:0:0: Power-on or device reset occurred
[  +0.005943] sr 0:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram
cd/rw xa/form2 cdda tray
[  +0.000005] cdrom: Uniform CD-ROM driver Revision: 3.20
[  +0.003929] ------------[ cut here ]------------
[  +0.000004] WARNING: CPU: 7 PID: 584 at arch/x86/events/core.c:3089
perf_get_x86_pmu_capability+0x11/0xb0
[  +0.000010] Modules linked in: snd_hda_codec sr_mod(+) iwlmvm(+)
kvm_intel(+) dm_crypt cdrom encrypted_keys snd_>
[  +0.000060]  industrialio mei_me processor_thermal_wt_req i2c_smbus
spi_intel_pci intel_ipu6 soundcore processor>
[  +0.000058]  ghash_clmulni_intel aesni_intel video intel_ish_ipc
drm_display_helper intel_lpss_pci thunderbolt i>
[  +0.000025] CPU: 7 UID: 0 PID: 584 Comm: (udev-worker) Not tainted
6.18.0-rc1-test-1-00002-ge9cc50c96bb9 #2 PREE>
[  +0.000005] Hardware name: Dell Inc. XPS 9320/0CR6NC, BIOS 2.23.0
07/03/2025
[  +0.000002] RIP: 0010:perf_get_x86_pmu_capability+0x11/0xb0
[  +0.000004] Code: eb 9c e8 22 38 f8 00 66 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 4>
[  +0.000002] RSP: 0018:ffffd1e041edba58 EFLAGS: 00010202
[  +0.000003] RAX: 0000000000000000 RBX: ffffffffc206f000 RCX:
00000000c0000080
[  +0.000003] RDX: ffffffffc1e396e0 RSI: ffffffffc1e39408 RDI:
ffffffffc1e396e0
[  +0.000001] RBP: 0000000000000001 R08: 0000000000000000 R09:
ffffffffb0e763fb
[  +0.000002] R10: ffff8d0fdad72460 R11: ffff8d0fc0042600 R12:
0000000000000000
[  +0.000001] R13: ffffffffc17e4ca0 R14: 000071be141fd2f2 R15:
0000000000000000
[  +0.000002] FS:  000071be140c6880(0000) GS:ffff8d177bf79000(0000)
knlGS:0000000000000000
[  +0.000002] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000002] CR2: 00007d5cd598b808 CR3: 0000000109583004 CR4:
0000000000f70ef0
[  +0.000002] PKRU: 55555554
[  +0.000001] Call Trace:
[  +0.000003]  <TASK>
[  +0.000002]  kvm_init_pmu_capability+0x27/0x130 [kvm
83ffe9a0591f43a0ce126662332dfe4cf2561fa4]
[  +0.000119]  kvm_x86_vendor_init+0x1de/0x19d0 [kvm
83ffe9a0591f43a0ce126662332dfe4cf2561fa4]
[  +0.000085]  ? __pfx_vt_init+0x10/0x10 [kvm_intel
5fa84b05f575edf3826c8f8519ca550622307061]
[  +0.000023]  vmx_init+0xf6/0x170 [kvm_intel
5fa84b05f575edf3826c8f8519ca550622307061]
[  +0.000015]  vt_init+0xf/0x360 [kvm_intel
5fa84b05f575edf3826c8f8519ca550622307061]
[  +0.000012]  do_one_initcall+0x5b/0x300
[  +0.000009]  do_init_module+0x62/0x250
[  +0.000005]  ? init_module_from_file+0x8a/0xe0
[  +0.000004]  init_module_from_file+0x8a/0xe0
[  +0.000006]  idempotent_init_module+0x114/0x310
[  +0.000005]  __x64_sys_finit_module+0x6d/0xd0
[  +0.000004]  ? syscall_trace_enter+0x8d/0x1d0
[  +0.000003]  do_syscall_64+0x81/0x7f0
[  +0.000005]  ? __wait_for_common+0x162/0x190
[  +0.000005]  ? __pfx_schedule_timeout+0x10/0x10
[  +0.000004]  ? __rseq_handle_notify_resume+0xa6/0x490
[  +0.000005]  ? idempotent_init_module+0x1df/0x310
[  +0.000005]  ? switch_fpu_return+0x4e/0xd0
[  +0.000003]  ? do_syscall_64+0x226/0x7f0
[  +0.000003]  ? do_syscall_64+0x226/0x7f0
[  +0.000003]  ? do_user_addr_fault+0x21a/0x690
[  +0.000006]  ? exc_page_fault+0x7e/0x1a0
[  +0.000004]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[  +0.000003] RIP: 0033:0x71be1391876d
[  +0.000045] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa
48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c>
[  +0.000002] RSP: 002b:00007ffdfcc7da58 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[  +0.000004] RAX: ffffffffffffffda RBX: 000064e3aeb57f80 RCX:
000071be1391876d
[  +0.000001] RDX: 0000000000000004 RSI: 000071be141fd2f2 RDI:
0000000000000032
[  +0.000002] RBP: 00007ffdfcc7daf0 R08: 0000000000000000 R09:
000064e3aeb528f0
[  +0.000001] R10: 0000000000000000 R11: 0000000000000246 R12:
000071be141fd2f2
[  +0.000001] R13: 0000000000020000 R14: 000064e3aeb507f0 R15:
000064e3aeb57f80
[  +0.000003]  </TASK>
[  +0.000001] ---[ end trace 0000000000000000 ]---



-- 
Gene

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2025-10-14 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-10 14:29 mainline boot fail nvme/block? Genes Lists
2025-10-10 14:54 ` Jens Axboe
2025-10-10 23:49   ` mainline boot fail nvme/block? [BISECTED] Genes Lists
2025-10-13  8:46     ` Inochi Amaoto
2025-10-13 11:45       ` Genes Lists
2025-10-14  0:54         ` Inochi Amaoto
2025-10-14 10:18           ` Genes Lists [this message]
2025-10-30 22:23     ` Bjorn Helgaas

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=b30331816621cc1f6a154233482f01798cf57cea.camel@sapience.com \
    --to=lists@sapience.com \
    --cc=axboe@kernel.dk \
    --cc=inochiama@gmail.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=linux-pci@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox