Bug 218905 - scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured
Summary: scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices m...
Status: RESOLVED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-64 (show other bugs)
Hardware: PPC-64 Linux
: P3 high
Assignee: platform_ppc-64
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-28 06:27 UTC by doru iorgulescu
Modified: 2024-06-13 11:06 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.10-.0-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg.txt (63.71 KB, text/plain)
2024-05-28 06:27 UTC, doru iorgulescu
Details

Description doru iorgulescu 2024-05-28 06:27:29 UTC
Created attachment 306357 [details]
dmesg.txt

Linux Kernel 6.10-rc1
Linux version 6.10.0-rc1 (root@mirela) (gcc (Debian 13.2.0-25) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #1 SMP Tue May 28 04:38:05 EEST 2024
[    2.657270] ------------[ cut here ]------------
[    2.657285] WARNING: CPU: 0 PID: 26 at block/blk-settings.c:202 .blk_validate_limits+0x2f8/0x35c
[    2.657308] Modules linked in:
[    2.657319] CPU: 0 PID: 26 Comm: kworker/u4:1 Not tainted 6.10.0-rc1 #1
[    2.657327] Hardware name: PowerMac7,2 PPC970 0x390202 PowerMac
[    2.657333] Workqueue: async .async_run_entry_fn
[    2.657348] NIP:  c000000000801b68 LR: c0000000007fbf30 CTR: 0000000000000000
[    2.657354] REGS: c0000000029e3360 TRAP: 0700   Not tainted  (6.10.0-rc1)
[    2.657360] MSR:  900000000202b032 <SF,HV,VEC,EE,FP,ME,IR,DR,RI>  CR: 84000200  XER: 20000000
[    2.657398] IRQMASK: 0 
               GPR00: c0000000007fbf30 c0000000029e3600 c000000001332e00 c0000000029e38c8 
               GPR04: 0000000000000000 0000000000000200 0000000000000100 0000000000000000 
               GPR08: 000000000000ffff 0000000000000200 000000000000ff00 0000000000000000 
               GPR12: 0000000024000200 c000000001fb0000 c0000000001b9d30 c0000000020065c0 
               GPR16: 0000000000000000 0000000000000005 0000000000000000 0000000000000001 
               GPR20: c000000001217fc8 c000000001d61390 fffffffffffff000 fffffffffffffef7 
               GPR24: c000000001cf1dd8 c000000001f6fbf0 c0000000029e38c8 0000000000000000 
               GPR28: 0000000000000000 ffffffffffffffff 0000000000000000 c0000000029e38c8 
[    2.657524] NIP [c000000000801b68] .blk_validate_limits+0x2f8/0x35c
[    2.657535] LR [c0000000007fbf30] .blk_alloc_queue+0xc0/0x2f8
[    2.657545] Call Trace:
[    2.657549] [c0000000029e3600] [c0000000029e3680] 0xc0000000029e3680 (unreliable)
[    2.657564] [c0000000029e3680] [c0000000007fbf30] .blk_alloc_queue+0xc0/0x2f8
[    2.657576] [c0000000029e3730] [c0000000008168a4] .blk_mq_alloc_queue+0x60/0xf8
[    2.657589] [c0000000029e3850] [c000000000b073ec] .scsi_alloc_sdev+0x208/0x3c0
[    2.657603] [c0000000029e3980] [c000000000b07cf0] .scsi_probe_and_add_lun+0x314/0x52c
[    2.657616] [c0000000029e3a70] [c000000000b08980] .__scsi_add_device+0x170/0x1a4
[    2.657628] [c0000000029e3b20] [c000000000b2ad20] .ata_scsi_scan_host+0x2bc/0x3e4
[    2.657641] [c0000000029e3c20] [c000000000b18e3c] .async_port_probe+0x6c/0xa0
[    2.657655] [c0000000029e3ca0] [c0000000001c3360] .async_run_entry_fn+0x60/0x1bc
[    2.657668] [c0000000029e3d40] [c0000000001ac158] .process_one_work+0x228/0x510
[    2.657684] [c0000000029e3e00] [c0000000001ad07c] .worker_thread+0x360/0x530
[    2.657697] [c0000000029e3ef0] [c0000000001b9e64] .kthread+0x134/0x13c
[    2.657711] [c0000000029e3f90] [c00000000000d3a8] .start_kernel_thread+0x10/0x14
[    2.657723] Code: 4182fef0 813f0020 7c095040 40810008 7d495378 7c094040 40810008 7d094378 913f0058 4bfffecc 280affff 4181fe54 <0fe00000> 3860ffea 4bfffebc 60000000 
[    2.657776] ---[ end trace 0000000000000000 ]---
[    2.657787] scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured
Please tel to Linus about the problem !!!!!!!!!!!!
Thank you,
Regards
Comment 1 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-05-30 06:25:56 UTC
This issue is currently discussed on the lists here:
https://lore.kernel.org/all/ce2bf6af-4382-4fe1-b392-cc6829f5ceb2@roeck-us.net/
Comment 2 doru iorgulescu 2024-05-30 08:06:39 UTC
A patch for this problem ?
I wil try linux-next also!
Thank You
Regards
Comment 3 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-05-30 10:21:35 UTC
not yet, please watch that thread
Comment 4 Michael Ellerman 2024-06-13 11:06:46 UTC
Can you confirm this was also fixed by the pata_macio fix?
09fe2bfa6b83 ("ata: pata_macio: Fix max_segment_size with PAGE_SIZE == 64K")

Note You need to log in before you can comment on or make changes to this bug.