scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured
https://bugzilla.kernel.org/show_bug.cgi?id=218858
Michael Ellerman ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Component|Kernel |PPC-64 Version|unspecified |2.5 Assignee|[email protected] |platform_ppc-64@kernel-bugs |rnel.org |.osdl.org Product|Linux |Platform Specific/Hardware
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
Michael Ellerman ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #2 from Michael Ellerman ([email protected]) --- Can you confirm what page size your kernel is configured to use? By running:
$ grep PAGE_SIZE .config
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #3 from doru iorgulescu ([email protected]) --- For Linux Kernel 6.9.3
root@mirela:/boot# grep PAGE_SIZE config-6.9.3 CONFIG_MMU_GATHER_PAGE_SIZE=y CONFIG_HAVE_PAGE_SIZE_64KB=y CONFIG_PAGE_SIZE_64KB=y CONFIG_PAGE_SIZE_LESS_THAN_256KB=y CONFIG_HUGETLB_PAGE_SIZE_VARIABLE=y
I can upload config-6.9.3
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #4 from doru iorgulescu ([email protected]) --- Created attachment 306379
--> https://bugzilla.kernel.org/attachment.cgi?id=306379&action=edit
config-6.9.3.txt
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #5 from doru iorgulescu ([email protected]) --- Created attachment 306380
--> https://bugzilla.kernel.org/attachment.cgi?id=306380&action=edit
config-6.10.0-rc1.txt
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #6 from doru iorgulescu ([email protected]) --- I have upload config-6.10.0-rc1.txt
I compile 6.10.0-rc1 starting from 6.9.3
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #7 from Michael Ellerman ([email protected]) --- Can you boot a working kernel and post the output of:
# ls -l /sys/class/block # ls -l /sys/class/scsi_host # lspci -tv
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #8 from doru iorgulescu ([email protected]) --- I run linux kernel 6.9.3
root@mirela:~# ls -l /sys/class/block
total 0
lrwxrwxrwx 1 root root 0 May 30 10:55 loop0 ->
../../devices/virtual/block/loop0
lrwxrwxrwx 1 root root 0 May 30 10:55 loop1 ->
../../devices/virtual/block/loop1
lrwxrwxrwx 1 root root 0 May 30 10:55 loop2 ->
../../devices/virtual/block/loop2
lrwxrwxrwx 1 root root 0 May 30 10:55 loop3 ->
../../devices/virtual/block/loop3
lrwxrwxrwx 1 root root 0 May 30 10:55 loop4 ->
../../devices/virtual/block/loop4
lrwxrwxrwx 1 root root 0 May 30 10:55 loop5 ->
../../devices/virtual/block/loop5
lrwxrwxrwx 1 root root 0 May 30 10:55 loop6 ->
../../devices/virtual/block/loop6
lrwxrwxrwx 1 root root 0 May 30 10:55 loop7 ->
../../devices/virtual/block/loop7
lrwxrwxrwx 1 root root 0 May 30 10:55 sda ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda
lrwxrwxrwx 1 root root 0 May 30 10:55 sda1 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda1
lrwxrwxrwx 1 root root 0 May 30 10:55 sda10 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda10
lrwxrwxrwx 1 root root 0 May 30 10:55 sda2 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda2
lrwxrwxrwx 1 root root 0 May 30 10:55 sda3 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda3
lrwxrwxrwx 1 root root 0 May 30 10:55 sda4 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda4
lrwxrwxrwx 1 root root 0 May 30 10:55 sda5 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda5
lrwxrwxrwx 1 root root 0 May 30 10:55 sda6 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda6
lrwxrwxrwx 1 root root 0 May 30 10:55 sda7 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda7
lrwxrwxrwx 1 root root 0 May 30 10:55 sda8 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda8
lrwxrwxrwx 1 root root 0 May 30 10:55 sda9 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/target1:0:0/1:0:0:0/block/sda/sda9
lrwxrwxrwx 1 root root 0 May 30 10:55 sdb ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb
lrwxrwxrwx 1 root root 0 May 30 10:55 sdb1 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb1
lrwxrwxrwx 1 root root 0 May 30 10:55 sdb2 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb2
lrwxrwxrwx 1 root root 0 May 30 10:55 sdb3 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb3
lrwxrwxrwx 1 root root 0 May 30 10:55 sdb4 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata3/host2/target2:0:0/2:0:0:0/block/sdb/sdb4
lrwxrwxrwx 1 root root 0 May 30 10:55 sr0 ->
../../devices/pci0001:00/0001:00:05.0/0001:03:0d.0/ata1/host0/target0:0:0/0:0:0:0/block/sr0
root@mirela:~#
root@mirela:~# ls -l /sys/class/scsi_host
total 0
lrwxrwxrwx 1 root root 0 May 30 10:55 host0 ->
../../devices/pci0001:00/0001:00:05.0/0001:03:0d.0/ata1/host0/scsi_host/host0
lrwxrwxrwx 1 root root 0 May 30 10:55 host1 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata2/host1/scsi_host/host1
lrwxrwxrwx 1 root root 0 May 30 10:55 host2 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata3/host2/scsi_host/host2
lrwxrwxrwx 1 root root 0 May 30 10:55 host3 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata4/host3/scsi_host/host3
lrwxrwxrwx 1 root root 0 May 30 10:55 host4 ->
../../devices/pci0001:00/0001:00:07.0/0001:05:0c.0/ata5/host4/scsi_host/host4
root@mirela:~#
root@mirela:~# lspci -tv
-[0000:f0]-+-0b.0 Apple Inc. U3 AGP
\-10.0 NVIDIA Corporation NV34 [GeForce FX 5200 Ultra]
-[0001:00]-+-00.0 Apple Inc. CPC945 HT Bridge
+-01.0-[06]--
+-02.0-[07]--
+-03.0-[01]--+-07.0 Apple Inc. K2 KeyLargo Mac/IO
| +-08.0 Apple Inc. K2 KeyLargo USB
| \-09.0 Apple Inc. K2 KeyLargo USB
+-04.0-[02]--+-0b.0 NEC Corporation OHCI USB Controller
| +-0b.1 NEC Corporation OHCI USB Controller
| \-0b.2 NEC Corporation uPD72010x USB 2.0 Controller
+-05.0-[03]--+-0d.0 Apple Inc. K2 ATA/100
| \-0e.0 Apple Inc. K2 FireWire
+-06.0-[04]----0f.0 Apple Inc. K2 GMAC (Sun GEM)
\-07.0-[05]----0c.0 Broadcom K2 SATA
root@mirela:~# Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #9 from doru iorgulescu ([email protected]) --- Created attachment 306385
--> https://bugzilla.kernel.org/attachment.cgi?id=306385&action=edit
dmesg-next.txt
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #10 from doru iorgulescu ([email protected]) --- I have upload dmesg-next.txt
Linux mirela 6.11.0-next-20240529 #2 SMP Fri May 31 09:17:14 EEST 2024 ppc64 GNU/Linux
The problems are the same!
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #11 from doru iorgulescu ([email protected]) --- Created attachment 306388
--> https://bugzilla.kernel.org/attachment.cgi?id=306388&action=edit
config-next.txt
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #12 from doru iorgulescu ([email protected]) --- I have upload config-next.txt
For Linux Kernel
Linux mirela 6.11.0-next-20240529 #2 SMP Fri May 31 09:17:14 EEST 2024 ppc64 GNU/Linux
The problems are the same!
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #13 from Michael Ellerman ([email protected]) ---
root@mirela:~# lspci -tv
...
-[0001:00]-+-00.0 Apple Inc. CPC945 HT Bridge
...
+-05.0-[03]--+-0d.0 Apple Inc. K2 ATA/100sr0 -> ../../devices/pci0001:00/0001:00:05.0/0001:03:0d.0/ata1/host0/target0:0:0/0:0:0:0/block/sr0
So it's only your CDROM drive that is connected to the driver that's causing the warning. Can you confirm that the CDROM drive works properly with the good kernel.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #14 from doru iorgulescu ([email protected]) --- Yes is ok with linux-kernel 6.9.3
I can disconect for a test linux kernel 6.10.0-rc1
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #15 from doru iorgulescu ([email protected]) --- Created attachment 306389
--> https://bugzilla.kernel.org/attachment.cgi?id=306389&action=edit
hdparam-I.txt
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #16 from doru iorgulescu ([email protected]) --- I have upload hdparam-I.txt
For the cdrom
Is ok with linux kernel 6.9.3
Thank You,
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #17 from doru iorgulescu ([email protected]) --- This problem is currently discussed and handled on the lists:
https://lore.kernel.org/all/[email protected]/
A Patch for this ?
Tank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #18 from doru iorgulescu ([email protected]) --- The patch responsable
[04/23] scsi: initialize scsi midlayer limits before allocating the queue
https://patchwork.kernel.org/project/linux-scsi/patch/[email protected]/
This must be reverted
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #19 from doru iorgulescu ([email protected]) --- Please a pach for this warning
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #20 from Michael Ellerman ([email protected]) --- Please try the patch here:
https://lore.kernel.org/linuxppc-dev/[email protected]/
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #21 from doru iorgulescu ([email protected]) --- Thank You Very much
Please send to Linus for aproval
Thank You
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #22 from Michael Ellerman ([email protected]) --- Can you please confirm that the patch fixes the issue for you.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #23 from doru iorgulescu ([email protected]) --- I am in compilation
When is finished I send to You the results
Thank You Very Mutch
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #24 from doru iorgulescu ([email protected]) --- Created attachment 306427
--> https://bugzilla.kernel.org/attachment.cgi?id=306427&action=edit
dmesg6100-rc2.txt
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #25 from doru iorgulescu ([email protected]) --- I finalized to compile linux kernel 6.10.0-rc2 uith the patch aplied and is OK! Thank You
I have atached dmesg-6100-rc2.txt
Thank You Very mutch
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
Michael Ellerman ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |CODE_FIXSignature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
--- Comment #26 from doru iorgulescu ([email protected]) --- Today the patch was applied on https://github.com/torvalds/linux
Pull ata fix from Niklas Cassel:
- Fix a regression for the PATA MacIO driver were it would fail to probe because of the recent changes of initializing the limits in SCSI core
* tag 'ata-6.10-rc3' ofgit://git.kernel.org/pub/scm/linux/kernel/git/libata/linux:
ata: pata_macio: Fix max_segment_size with PAGE_SIZE == 64K
Thank you to All
Regards
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=218858
Michael Ellerman ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #27 from Michael Ellerman ([email protected]) --- The fix is 09fe2bfa6b83 ("ata: pata_macio: Fix max_segment_size with PAGE_SIZE == 64K")
and is included in v6.10-rc3.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.