[FS#4170] kmod-ata-ahci won't recognize HDD connected in SATA ports (Non-USB connected) (Attachment added)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Dec 2 10:32:39 PST 2021


A new Flyspray task has been opened.  Details are below. 

User who did this - pbrena (pbrena) 

Attached to Project - OpenWrt/LEDE Project
Summary - kmod-ata-ahci won't recognize HDD connected in SATA ports (Non-USB connected) 
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on MQmaker WiTi
 - Software versions of OpenWrt/LEDE release, packages, etc.
    OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d - 
Steps to reproduce: attach HHD to a Sata port included in the board.

I installed packages listed in the "Using storage devices" Guide, although it seems focused in USB attached Drives, unfortunately I still can't use the drive. This same HW configuration works in OpenWrt 19.

This is what see in OpenWrt 19 log and I expected to see in OpenWrt 21 but is still absent:

scsi 1:0:0:0: Direct-Access ATA ST9320325AS SDM1 PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda4

See the responses of commands in OpenWrt 21 

root at OpenWrt:~# ls -al /dev/sd*
ls: /dev/sd*: No such file or directory

root at OpenWrt:~# block info
/dev/mtdblock5: UUID="617d7fdf-f79626d5-329864ea-bd8562a7" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"

Are there something missing to support Sata ports in the board (vs USB attached ports)?

I include both OpenWrt 19 and OpenWrt 21 Logs for comparison

One or more files have been attached.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list