On 2022/10/12 16:24, Naresh Kamboju wrote:
On TI beagle board x15 the connected SSD is not detected on linux next 20221006 tag.
- export STORAGE_DEV=/dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190702A00D84
- STORAGE_DEV=/dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190702A00D84
- test -n /dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190702A00D84
- echo y
- mkfs.ext4 /dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190702A00D84
mke2fs 1.46.5 (30-Dec-2021) The file /dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190702A00D84 does not exist and no size was specified.
- lava-test-raise 'mkfs.ext4
/dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190702A00D84 failed; job exit'
Test log:
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
metadata: git_ref: master git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_sha: 7da9fed0474b4cd46055dd92d55c42faf32c19ac git_describe: next-20221006 kernel_version: 6.0.0 kernel-config: https://builds.tuxbuild.com/2FkkkZ51ZYhBL1G8D69YX8Pkt5F/config build-url: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/pipelines/659754170 artifact-location: https://builds.tuxbuild.com/2FkkkZ51ZYhBL1G8D69YX8Pkt5F toolchain: gcc-10
The kernel messages that are shown in the links above do not show any "libata version 3.00 loaded." message nor any ata/ahci message that I can see. So I think the eSATA adapter is not even being detected and libata/ahci driver not used.
Was this working before ? If yes, can you try with the following patches reverted ?
d3243965f24a ("ata: make PATA_PLATFORM selectable only for suitable architectures") 3ebe59a54111 ("ata: clean up how architectures enable PATA_PLATFORM and PATA_OF_PLATFORM")
If reverting these patches restores the eSATA port on this board, then you need to fix the defconfig for that board.