Firefly开源社区

123
发表新贴
打印 上一主题 下一主题

[技术讨论] RK3568 SATA 速率調整

83

积分

0

威望

0

贡献

技术小白

积分
83

RK3568 SATA 速率調整

发表于 2021-11-15 18:44:46      浏览:20926 | 回复:23        打印      只看该作者   [复制链接] 楼主
Hi,
目前RK3568 SATA 速率為GEN3 6.0Gb/s , 請問如何將SATA 速率固定為 GEN2 3.0Gb/s?

目前使用RK3568 SATA轉接版, 之後在轉接 SATA硬盘数据电源线延長, 資料傳輸過程中容易出現 Interface fatal error, 目前已經嘗試更換過幾種線材, 狀況一樣, 請問有沒有更好的解決方式?

回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2021-11-16 17:32:03        只看该作者  沙发
用的是官方的转接板和排线吗
https://item.taobao.com/item.htm ... amp;id=648772135929
回复

使用道具 举报

83

积分

0

威望

0

贡献

技术小白

积分
83
发表于 2021-11-16 18:29:10        只看该作者  板凳
zhansb 发表于 2021-11-16 17:32
用的是官方的转接板和排线吗
https://item.taobao.com/item.htm?spm=a1z10.3-c-s.w4002-24099170629.21.3b ...

是的! 用的是官方的转接板和排线, 直接接上SATA 盘片, 在使用时就有机率出现interface fatal error,

用转接板在加上 SATA 延长线, 出现 interface fatal error 的机率更高.
https://item.taobao.com/item.htm ... amp;_u=d1tci46cd422

能够在增强讯号吗? 或是可以提供方式, 把速率降成Gen2 尝试看看.
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-11-17 11:01:56        只看该作者  地板
本帖最后由 zyk 于 2021-11-17 11:37 编辑

请问系统是linux还是Android,用的固件版本是多少,用的是哪一种sata硬盘。复现的概率很大吗,是如何操作的,只是单纯拷贝文件就会复现吗
回复

使用道具 举报

83

积分

0

威望

0

贡献

技术小白

积分
83
发表于 2021-11-17 15:16:52        只看该作者  5#
zyk 发表于 2021-11-17 11:01
请问系统是linux还是Android,用的固件版本是多少,用的是哪一种sata硬盘。复现的概率很大吗,是如何操作的 ...

使用的版本為 : FIREFLY-RK3568-AIOJ_UBUNTU18.04-GPT-20210705-1314.img
SATA 是 用 mSATA 硬盤, 很容易复现

root@firefly:~/test_m_sata#
root@firefly:~/test_m_sata# cp 123.txt test.txt
[ 1297.838912] ata1.00: exception Emask 0x12 SAct 0x20000000 SErr 0x800500 action 0x6 frozen
[ 1297.838936] ata1.00: irq_stat 0x08000000, interface fatal error
[ 1297.838944] ata1: SError: { UnrecovData Proto LinkSeq }
[ 1297.838952] ata1.00: failed command: READ FPDMA QUEUED
[ 1297.838964] ata1.00: cmd 60/00:e8:00:76:f3/02:00:00:00:00/40 tag 29 ncq dma 262144 in
[ 1297.838964]          res 40/00:ec:00:76:f3/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[ 1297.838971] ata1.00: status: { DRDY }
[ 1298.339801] print_req_error: I/O error, dev sdb, sector 15955456
[ 1306.515561] ata1.00: exception Emask 0x12 SAct 0x4000 SErr 0x800500 action 0x6 frozen
[ 1306.515585] ata1.00: irq_stat 0x08000000, interface fatal error
[ 1306.515593] ata1: SError: { UnrecovData Proto LinkSeq }
[ 1306.515601] ata1.00: failed command: READ FPDMA QUEUED
[ 1306.515614] ata1.00: cmd 60/00:70:00:5c:19/02:00:01:00:00/40 tag 14 ncq dma 262144 in
[ 1306.515614]          res 40/00:74:00:5c:19/00:00:01:00:00/40 Emask 0x12 (ATA bus error)
[ 1306.515620] ata1.00: status: { DRDY }
[ 1307.014449] print_req_error: I/O error, dev sdb, sector 18439168
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-11-17 15:54:22        只看该作者  6#
arlam88 发表于 2021-11-17 15:16
使用的版本為 : FIREFLY-RK3568-AIOJ_UBUNTU18.04-GPT-20210705-1314.img
SATA 是 用 mSATA 硬盤, 很容 ...

1.出现异常信息时,sata硬盘是否还能正常使用
2.可以考虑烧写Android的公版固件测试一下,排除硬件问题
3.可以发一下完整的log看一下,包含smartctl命令的结果
回复

使用道具 举报

83

积分

0

威望

0

贡献

技术小白

积分
83
发表于 2021-11-17 17:12:52        只看该作者  7#
zyk 发表于 2021-11-17 15:54
1.出现异常信息时,sata硬盘是否还能正常使用
2.可以考虑烧写Android的公版固件测试一下,排除硬件问题
...

1. 是, 盤片還可以正常使用
2. 更換image 為 AIO-3568J_Android11_HDMI_210623.img
   一樣會有IFS 的情況發生, 盤片為全新的盤
3. log

[   46.333852] logitech-hidpp-device 0003:046D:406B.0004: HID++ 4.5 device connected.
[   46.514858] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[   46.551498] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[   50.235972] perfetto: enabled ftrace
[   57.834353] type=1400 audit(1627812378.150:148): avc: denied { open } for comm="droid.gallery3d" path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18535 scontext=u:r:untrusted_app_29:s0:c109,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=com.android.gallery3d
[   57.835749] type=1400 audit(1627812378.150:149): avc: denied { getattr } for comm="droid.gallery3d" path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18535 scontext=u:r:untrusted_app_29:s0:c109,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=com.android.gallery3d
[   57.838379] type=1400 audit(1627812378.150:150): avc: denied { map } for comm="droid.gallery3d" path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=18535 scontext=u:r:untrusted_app_29:s0:c109,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1 app=com.android.gallery3d
[   57.958721] type=1400 audit(1627812378.273:151): avc: denied { write } for comm="RenderThread" name="property_service" dev="tmpfs" ino=18561 scontext=u:r:untrusted_app_29:s0:c109,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1 app=com.android.gallery3d
[   57.989703] type=1400 audit(1627812378.273:152): avc: denied { connectto } for comm="RenderThread" path="/dev/socket/property_service" scontext=u:r:untrusted_app_29:s0:c109,c256,c512,c768 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 app=com.android.gallery3d
[   57.989995] type=1107 audit(1627812378.276:153): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=sys.gmali.version pid=1885 uid=10109 gid=10109 scontext=u:r:untrusted_app_29:s0:c109,c256,c512,c768 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=1'
[   62.624111] perfetto: disabled ftrace
[   63.574835] perfetto: enabled ftrace
[   64.388283] binder: 319:604 transaction failed 29189/-22, size 68-0 line 3059
[   67.210517] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[   68.547638] perfetto: disabled ftrace
[   74.765419] perfetto: enabled ftrace
[   79.748671] perfetto: disabled ftrace
[  122.392227] type=1400 audit(1627812442.706:154): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  122.393268] type=1400 audit(1627812442.706:155): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  122.428456] type=1400 audit(1627812442.720:156): avc: denied { search } for comm="rs.media.module" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  122.431882] type=1400 audit(1627812442.720:157): avc: denied { getattr } for comm="rs.media.module" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  127.210761] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  145.799889] perfetto: enabled ftrace
[  150.762312] perfetto: disabled ftrace
[  153.406985] perfetto: enabled ftrace
[  153.825316] type=1400 audit(1627812474.140:158): avc: denied { read } for comm="Binder:173_2" name="wakeup28" dev="sysfs" ino=32580 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[  153.825546] type=1400 audit(1627812474.140:159): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28" dev="sysfs" ino=32580 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[  153.825674] type=1400 audit(1627812474.140:160): avc: denied { read } for comm="Binder:173_2" name="event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  153.825767] type=1400 audit(1627812474.140:161): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28/event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  153.825858] type=1400 audit(1627812474.140:162): avc: denied { getattr } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28/event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  153.828258] type=1400 audit(1627812474.143:163): avc: denied { read } for comm="Binder:173_2" name="wakeup9" dev="sysfs" ino=25862 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=1
[  153.828571] type=1400 audit(1627812474.143:164): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/virtual/power_supply/test_ac/wakeup9" dev="sysfs" ino=25862 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=1
[  158.034948] type=1400 audit(1627812478.350:165): avc: denied { read } for comm="Binder:173_2" name="wakeup28" dev="sysfs" ino=32580 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[  158.035142] type=1400 audit(1627812478.350:166): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28" dev="sysfs" ino=32580 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[  158.035376] type=1400 audit(1627812478.350:167): avc: denied { read } for comm="Binder:173_2" name="event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  162.684989] type=1400 audit(1627812483.000:170): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  162.686519] type=1400 audit(1627812483.000:171): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  164.393198] perfetto: disabled ftrace
[  166.779992] type=1400 audit(1627812487.093:172): avc: denied { search } for comm=4173796E635461736B202331 name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  166.781026] type=1400 audit(1627812487.093:173): avc: denied { getattr } for comm=4173796E635461736B202331 path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  175.971146] [drm] Esmart0-win0 act_w[1329] MODE 16 == 1
[  187.210841] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  193.020235] perfetto: enabled ftrace
[  198.001001] perfetto: disabled ftrace
[  220.323467] perfetto: enabled ftrace
[  225.303822] perfetto: disabled ftrace
[  247.214464] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  307.210647] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  310.470303] perfetto: enabled ftrace
[  315.453899] perfetto: disabled ftrace
[  348.666240] ata1: SATA link down (SStatus 0 SControl 300)
[  354.073737] ata1: SATA link down (SStatus 0 SControl 300)
[  359.407276] ata1: SATA link down (SStatus 0 SControl 300)
[  359.407368] ata1.00: disabled
[  359.407509] ata1.00: detaching (SCSI 0:0:0:0)
[  359.535106] type=1400 audit(1627812679.850:174): avc: denied { getattr } for comm="kdevtmpfs" path="/sda1" dev="devtmpfs" ino=10548 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  359.535506] type=1400 audit(1627812679.850:175): avc: denied { setattr } for comm="kdevtmpfs" name="sda1" dev="devtmpfs" ino=10548 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  359.535667] type=1400 audit(1627812679.850:176): avc: denied { unlink } for comm="kdevtmpfs" name="sda1" dev="devtmpfs" ino=10548 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  359.535885] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  359.535979] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[  359.536035] sd 0:0:0:0: [sda] Stopping disk
[  359.536059] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[  359.550019] type=1400 audit(1627812679.863:177): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  359.572869] type=1400 audit(1627812679.863:178): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  360.229916] FAT-fs (sda1): unable to read boot sector to mark fs as dirty
[  360.251270] type=1400 audit(1627812680.566:179): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  360.252588] type=1400 audit(1627812680.566:180): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  360.383428] perfetto: enabled ftrace
[  365.376321] perfetto: disabled ftrace
[  367.210742] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  411.196263] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  412.106311] ata1.00: ATA-10: V200_mSATA_1T_010, 551, max UDMA/133
[  412.106383] ata1.00: 1875385008 sectors, multi 1: LBA48 NCQ (depth 32)
[  412.122475] ata1.00: configured for UDMA/133
[  412.123576] scsi 0:0:0:0: Direct-Access     ATA      V200_mSATA_1T_01 551  PQ: 0 ANSI: 5
[  412.127498] sd 0:0:0:0: [sda] 1875385008 512-byte logical blocks: (960 GB/894 GiB)
[  412.127673] sd 0:0:0:0: [sda] Write Protect is off
[  412.127861] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  412.128919] type=1400 audit(1627812732.443:181): avc: denied { create } for comm="kdevtmpfs" name="sda" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  412.129130] type=1400 audit(1627812732.443:182): avc: denied { setattr } for comm="kdevtmpfs" name="sda" dev="devtmpfs" ino=51329 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  412.129526] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  412.139091]  sda: sda1
[  412.140361] sd 0:0:0:0: [sda] Attached SCSI disk
[  413.478202] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  417.836128] type=1400 audit(1627812738.150:183): avc: denied { search } for comm=4173796E635461736B202331 name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  417.837026] type=1400 audit(1627812738.150:184): avc: denied { getattr } for comm=4173796E635461736B202331 path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  427.214415] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  439.173025] type=1400 audit(1627812759.486:185): avc: denied { read } for comm="Binder:173_2" name="wakeup28" dev="sysfs" ino=32580 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[  439.174049] type=1400 audit(1627812759.486:186): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28" dev="sysfs" ino=32580 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[  439.181176] type=1400 audit(1627812759.490:187): avc: denied { read } for comm="Binder:173_2" name="event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  439.197938] type=1400 audit(1627812759.490:188): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28/event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  439.213310] type=1400 audit(1627812759.490:189): avc: denied { getattr } for comm="Binder:173_2" path="/sys/devices/platform/fd8c0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:406B.0004/power_supply/hidpp_battery_0/wakeup28/event_count" dev="sysfs" ino=32587 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[  439.217001] type=1400 audit(1627812759.493:190): avc: denied { read } for comm="Binder:173_2" name="wakeup9" dev="sysfs" ino=25862 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=1
[  439.217325] type=1400 audit(1627812759.493:191): avc: denied { open } for comm="Binder:173_2" path="/sys/devices/virtual/power_supply/test_ac/wakeup9" dev="sysfs" ino=25862 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_power:s0 tclass=dir permissive=1
[  441.700280] perfetto: enabled ftrace
[  446.621995] [drm] Esmart0-win0 act_w[1329] MODE 16 == 1
[  446.684698] perfetto: disabled ftrace
[  475.749533] usb 1-1: new high-speed USB device number 2 using ehci-platform
[  475.898889] usb 1-1: New USB device found, idVendor=0781, idProduct=5581, bcdDevice= 1.00
[  475.898961] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  475.898988] usb 1-1: Product: Ultra
[  475.899010] usb 1-1: Manufacturer: SanDisk
[  475.899033] usb 1-1: SerialNumber: 4C530123161008105362
[  475.907223] usb-storage 1-1:1.0: USB Mass Storage device detected
[  475.909826] scsi host1: usb-storage 1-1:1.0
[  476.938656] scsi 1:0:0:0: Direct-Access     SanDisk  Ultra            1.00 PQ: 0 ANSI: 6
[  476.942122] sd 1:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[  476.943020] sd 1:0:0:0: Attached scsi generic sg1 type 0
[  476.943322] sd 1:0:0:0: [sdb] Write Protect is off
[  476.944494] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[  476.945316] type=1400 audit(1627812797.260:192): avc: denied { create } for comm="kdevtmpfs" name="sdb" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  476.945588] type=1400 audit(1627812797.260:193): avc: denied { setattr } for comm="kdevtmpfs" name="sdb" dev="devtmpfs" ino=51961 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  476.971270]  sdb: sdb1
[  476.979250] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[  477.454612] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  478.525951] type=1400 audit(1627812798.840:194): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  478.527441] type=1400 audit(1627812798.840:195): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  487.214667] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  494.839615] usb 1-1: USB disconnect, device number 2
[  494.845613] type=1400 audit(1627812815.160:196): avc: denied { getattr } for comm="kdevtmpfs" path="/sdb1" dev="devtmpfs" ino=51962 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  494.846022] type=1400 audit(1627812815.160:197): avc: denied { unlink } for comm="kdevtmpfs" name="sdb1" dev="devtmpfs" ino=51962 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  495.385883] type=1400 audit(1627812815.700:198): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  495.389604] type=1400 audit(1627812815.700:199): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  503.346192] usb 1-1: new high-speed USB device number 3 using ehci-platform
[  503.499242] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice=11.00
[  503.499406] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  503.499438] usb 1-1: Product: Mass Storage Device
[  503.499462] usb 1-1: Manufacturer: JetFlash
[  503.499484] usb 1-1: SerialNumber: 207BVV4MY8MYBC6T
[  503.505092] usb-storage 1-1:1.0: USB Mass Storage device detected
[  503.507686] scsi host1: usb-storage 1-1:1.0
[  504.814053] scsi 1:0:0:0: Direct-Access     JetFlash Transcend 16GB   1100 PQ: 0 ANSI: 6
[  504.816784] sd 1:0:0:0: Attached scsi generic sg1 type 0
[  504.816851] sd 1:0:0:0: [sdb] 30818304 512-byte logical blocks: (15.8 GB/14.7 GiB)
[  504.818009] sd 1:0:0:0: [sdb] Write Protect is off
[  504.819112] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  504.819972] type=1400 audit(1627812825.136:200): avc: denied { create } for comm="kdevtmpfs" name="sdb" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  504.820418] type=1400 audit(1627812825.136:201): avc: denied { setattr } for comm="kdevtmpfs" name="sdb" dev="devtmpfs" ino=53692 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  504.826350]  sdb: sdb1
[  504.834306] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[  505.219807] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  519.093387] perfetto: enabled ftrace
[  524.075845] perfetto: disabled ftrace
[  547.210692] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  551.388024] [drm] Esmart0-win0 act_w[1329] MODE 16 == 1

console:/ $
console:/ $
console:/ $ [  607.210291] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  615.326717] perfetto: enabled ftrace
[  620.306284] perfetto: disabled ftrace
[  638.673506] perfetto: enabled ftrace
[  643.648071] perfetto: disabled ftrace
[  657.002695] ata1.00: exception Emask 0x10 SAct 0x204000 SErr 0x280100 action 0x6 frozen
[  657.002720] ata1.00: irq_stat 0x08000000, interface fatal error
[  657.002728] ata1: SError: { UnrecovData 10B8B BadCRC }
[  657.002736] ata1.00: failed command: READ FPDMA QUEUED
[  657.002746] ata1.00: cmd 60/00:70:00:30:1f/01:00:00:00:00/40 tag 14 ncq dma 131072 in
[  657.002746]          res 40/00:ac:00:31:1f/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[  657.002752] ata1.00: status: { DRDY }
[  657.002758] ata1.00: failed command: READ FPDMA QUEUED
[  657.002795] ata1.00: cmd 60/00:a8:00:31:1f/01:00:00:00:00/40 tag 21 ncq dma 131072 in
[  657.002795]          res 40/00:ac:00:31:1f/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[  657.002806] ata1.00: status: { DRDY }
[  657.002817] ata1: hard resetting link
[  657.469332] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  657.501037] ata1.00: configured for UDMA/133
[  657.501144] sd 0:0:0:0: [sda] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  657.501169] sd 0:0:0:0: [sda] tag#14 Sense Key : Illegal Request [current]
[  657.501187] sd 0:0:0:0: [sda] tag#14 Add. Sense: Unaligned write command
[  657.501207] sd 0:0:0:0: [sda] tag#14 CDB: Read(10) 28 00 00 1f 30 00 00 01 00 00
[  657.501222] print_req_error: I/O error, dev sda, sector 2043904
[  657.501356] sd 0:0:0:0: [sda] tag#21 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  657.501379] sd 0:0:0:0: [sda] tag#21 Sense Key : Illegal Request [current]
[  657.501396] sd 0:0:0:0: [sda] tag#21 Add. Sense: Unaligned write command
[  657.501414] sd 0:0:0:0: [sda] tag#21 CDB: Read(10) 28 00 00 1f 31 00 00 01 00 00
[  657.501428] print_req_error: I/O error, dev sda, sector 2044160
[  657.501519] ata1: EH complete
[  667.215878] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  680.452666] ata1.00: exception Emask 0x12 SAct 0x7fff4000 SErr 0x800500 action 0x6 frozen
[  680.452694] ata1.00: irq_stat 0x08000000, interface fatal error
[  680.452701] ata1: SError: { UnrecovData Proto LinkSeq }
[  680.452709] ata1.00: failed command: READ FPDMA QUEUED
[  680.452719] ata1.00: cmd 60/00:70:00:af:4f/02:00:00:00:00/40 tag 14 ncq dma 262144 in
[  680.452719]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452725] ata1.00: status: { DRDY }
[  680.452730] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452747] ata1.00: cmd 61/c8:80:40:2e:b4/06:00:00:00:00/40 tag 16 ncq dma 888832 out
[  680.452747]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452757] ata1.00: status: { DRDY }
[  680.452767] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452780] ata1.00: cmd 61/38:88:08:35:b4/01:00:00:00:00/40 tag 17 ncq dma 159744 out
[  680.452780]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452790] ata1.00: status: { DRDY }
[  680.452799] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452812] ata1.00: cmd 61/40:90:40:36:b4/05:00:00:00:00/40 tag 18 ncq dma 688128 out
[  680.452812]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452821] ata1.00: status: { DRDY }
[  680.452832] ata1.00: failed command: READ FPDMA QUEUED
[  680.452844] ata1.00: cmd 60/00:98:00:b1:4f/01:00:00:00:00/40 tag 19 ncq dma 131072 in
[  680.452844]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452854] ata1.00: status: { DRDY }
[  680.452864] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452876] ata1.00: cmd 61/c0:a0:80:3b:b4/02:00:00:00:00/40 tag 20 ncq dma 360448 out
[  680.452876]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452886] ata1.00: status: { DRDY }
[  680.452895] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452908] ata1.00: cmd 61/40:a8:40:3e:b4/05:00:00:00:00/40 tag 21 ncq dma 688128 out
[  680.452908]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452917] ata1.00: status: { DRDY }
[  680.452927] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452939] ata1.00: cmd 61/c0:b0:80:43:b4/02:00:00:00:00/40 tag 22 ncq dma 360448 out
[  680.452939]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452948] ata1.00: status: { DRDY }
[  680.452953] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452961] ata1.00: cmd 61/40:b8:40:46:b4/05:00:00:00:00/40 tag 23 ncq dma 688128 out
[  680.452961]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.452967] ata1.00: status: { DRDY }
[  680.452977] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.452991] ata1.00: cmd 61/c0:c0:80:4b:b4/02:00:00:00:00/40 tag 24 ncq dma 360448 out
[  680.452991]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453001] ata1.00: status: { DRDY }
[  680.453010] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.453023] ata1.00: cmd 61/40:c8:40:4e:b4/05:00:00:00:00/40 tag 25 ncq dma 688128 out
[  680.453023]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453033] ata1.00: status: { DRDY }
[  680.453043] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.453056] ata1.00: cmd 61/c0:d0:80:53:b4/02:00:00:00:00/40 tag 26 ncq dma 360448 out
[  680.453056]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453066] ata1.00: status: { DRDY }
[  680.453075] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.453088] ata1.00: cmd 61/40:d8:40:56:b4/05:00:00:00:00/40 tag 27 ncq dma 688128 out
[  680.453088]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453098] ata1.00: status: { DRDY }
[  680.453107] ata1.00: failed command: READ FPDMA QUEUED
[  680.453120] ata1.00: cmd 60/00:e0:00:b2:4f/01:00:00:00:00/40 tag 28 ncq dma 131072 in
[  680.453120]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453130] ata1.00: status: { DRDY }
[  680.453139] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.453152] ata1.00: cmd 61/c0:e8:80:5b:b4/02:00:00:00:00/40 tag 29 ncq dma 360448 out
[  680.453152]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453161] ata1.00: status: { DRDY }
[  680.453171] ata1.00: failed command: WRITE FPDMA QUEUED
[  680.453183] ata1.00: cmd 61/40:f0:40:5e:b4/05:00:00:00:00/40 tag 30 ncq dma 688128 out
[  680.453183]          res 40/00:f4:40:5e:b4/00:00:00:00:00/40 Emask 0x12 (ATA bus error)
[  680.453189] ata1.00: status: { DRDY }
[  680.453198] ata1: hard resetting link
[  680.922723] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  680.964225] ata1.00: configured for UDMA/133
[  680.964491] sd 0:0:0:0: [sda] tag#14 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  680.964528] sd 0:0:0:0: [sda] tag#14 Sense Key : Illegal Request [current]
[  680.964544] sd 0:0:0:0: [sda] tag#14 Add. Sense: Unaligned write command
[  680.964559] sd 0:0:0:0: [sda] tag#14 CDB: Read(10) 28 00 00 4f af 00 00 02 00 00
[  680.964571] print_req_error: I/O error, dev sda, sector 5222144
[  680.964776] sd 0:0:0:0: [sda] tag#19 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  680.964798] sd 0:0:0:0: [sda] tag#19 Sense Key : Illegal Request [current]
[  680.964812] sd 0:0:0:0: [sda] tag#19 Add. Sense: Unaligned write command
[  680.964828] sd 0:0:0:0: [sda] tag#19 CDB: Read(10) 28 00 00 4f b1 00 00 01 00 00
[  680.964838] print_req_error: I/O error, dev sda, sector 5222656
[  680.965146] sd 0:0:0:0: [sda] tag#28 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[  680.965185] sd 0:0:0:0: [sda] tag#28 Sense Key : Illegal Request [current]
[  680.965199] sd 0:0:0:0: [sda] tag#28 Add. Sense: Unaligned write command
[  680.965214] sd 0:0:0:0: [sda] tag#28 CDB: Read(10) 28 00 00 4f b2 00 00 01 00 00
[  680.965233] print_req_error: I/O error, dev sda, sector 5222912
[  680.965353] ata1: EH complete

console:/ $ sm [  696.509517] type=1400 audit(1627813016.823:202): avc: denied { getattr } for comm="sh" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1
[  696.512679] type=1400 audit(1627813016.823:203): avc: denied { getattr } for comm="sh" path="/data_mirror" dev="tmpfs" ino=19959 scontext=u:r:shell:s0 tcontext=u:object_r:mirror_data_file:s0 tclass=dir permissive=1
[  696.512938] type=14
acct/               data_mi0rror/        lost+found/         sdcard/
apex/              0 debug_ramdisk/      metadata/ a           storage/
bin/                default.prop       u mnt/                sys/
budgreports          dev/        i        odm/                sytstem/
cache/              etc1/                oem/                system_ext/
config/             init                p6roc/               vendor/
d/                  init.environ2.rc     product/
data/      7        linkerconfig/       re8s/
console:/ $ sm   016.823:204): avc: denied { getattr } for comm="sh" path="/init.environ.rc" dev="dm-0" ino=26 scontext=u:r:shell:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[  696.513626] type=1400 audit(1627813016.830:205): avc: denied { getattr } for comm="sh" path="/init" dev="dm-0" ino=25 scontext=u:r:shell:s0 tcontext=u:object_r:init_exec:s0 tclass=lnk_file permissive=1
[  696.513828] type=1400 audit(1627813016.830:206): avc: denied { read } for comm="sh" name="init" dev="dm-0" ino=25 scontext=u:r:shell:s0 tcontext=u:object_r:init_exec:s0 tclass=lnk_file permissive=1
[  696.513906] audit: audit_lost=11 audit_rate_limit=5 audit_backlog_limit=64
[  696.513938] audit: rate limit exceeded                                                                                                                                 
console:/ $
console:/ $ [  727.215847] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[  731.826871] perfetto: enabled ftrace
[  736.808225] perfetto: disabled ftrace
[  747.338705] usb 1-1: USB disconnect, device number 3
[  747.365559] type=1400 audit(1627813067.680:208): avc: denied { getattr } for comm="kdevtmpfs" path="/sdb1" dev="devtmpfs" ino=53693 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  747.365877] type=1400 audit(1627813067.680:209): avc: denied { setattr } for comm="kdevtmpfs" name="sdb1" dev="devtmpfs" ino=53693 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  747.367978] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[  747.368056] type=1400 audit(1627813067.680:210): avc: denied { unlink } for comm="kdevtmpfs" name="sdb1" dev="devtmpfs" ino=53693 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=blk_file permissive=1
[  747.368093] sd 1:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[  747.384264] type=1400 audit(1627813067.700:211): avc: denied { search } for comm="android.bg" name="/" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  747.385736] type=1400 audit(1627813067.700:212): avc: denied { getattr } for comm="android.bg" path="/oem" dev="mmcblk0p13" ino=2 scontext=u:r:mediaprovider_app:s0:c119,c256,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=1 app=com.android.providers.media.module
[  747.402663] audit: audit_lost=12 audit_rate_limit=5 audit_backlog_limit=64
[  747.402696] audit: rate limit exceeded

回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-11-17 17:37:18        只看该作者  8#
AIO-3568J_Android11_HDMI_210623.img比较旧了,最好用新的。麻烦拍一下硬盘和板子的连接图看一下,有试过其它硬盘吗,什么牌子的,确保不是山寨硬盘。板子是还有接u盘吗
回复

使用道具 举报

83

积分

0

威望

0

贡献

技术小白

积分
83
发表于 2021-11-19 09:47:42        只看该作者  9#
zyk 发表于 2021-11-17 17:37
AIO-3568J_Android11_HDMI_210623.img比较旧了,最好用新的。麻烦拍一下硬盘和板子的连接图看一下,有试过 ...

官方的转接板和排线, 有更好的固定方式可以教学吗? , 另外额外外接 SATA 延长线, 不管使用哪一家厂牌的SATA 盘片都会发生IFS, SAMSUNG 870也是, SATA 延长线也换过好几条.  使用mSATA 必须透过转接版
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-11-19 10:56:01        只看该作者  10#
有什么需求需要用到延长线,是线的长度不够是吗,可以拍一下您那边的连接图看一下吗,另外麻烦更新一下固件再测试。我们这边试了两个硬盘,闪迪 3D SSD和致钛 SC001,拷贝大视频文件并且连续播放硬盘里面的视频两天,都是正常的,没用出现过interface fatal error的信息。
回复

使用道具 举报

返回列表
123
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表