How can The SSD 4T be recognized?

Hi all,

System config

  • nvidia Xavier
  • jetpack 4.2
  • kernel 32.1

I connected Xavier esata port <=> esata to sata cable <=> SSD 2T(samsung 860 pro).
This worked fine.

And connected Xavier esata port <=> esata to sata cable <=> SSD 4T(innodisk 3TG6-P).
https://www.innodisk.com/en/products/flash-storage/ssd/25_SATA_SSD_3TG6-P
The SSD 4T was recognized. but disk size was 100Mbyte.

The SSD 4T worked fine on My PC(ubuntu 18.04).

I need help.

I want to know what’s wrong.
SSD 4T(innodisk 3TG6-P) or kernel compile config.

If someone uses a SSD 4T, please let me know.

Below is the kernel log.

[   19.344721] ata1.00: exception Emask 0x10 SAct 0x10 SErr 0x41d0002 action 0xe frozen
[   19.344912] ata1.00: irq_stat 0x80400000, PHY RDY changed
[   19.345020] ata1: SError: { RecovComm PHYRdyChg CommWake 10B8B Dispar DevExch }
[   19.345152] ata1.00: failed command: READ FPDMA QUEUED
[   19.345263] ata1.00: cmd 60/08:20:00:00:00/00:00:00:00:00/40 tag 4 ncq dma 4096 in
                        res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x10 (ATA bus error)
[   19.345529] ata1.00: status: { DRDY }
[   19.345646] ata1: hard resetting link
[   20.656806] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   20.657253] ata1.00: model number mismatch '2.5" SATA SSD 3TG6-P' != 'ASMT109x- Config'
[   20.657266] ata1.00: revalidation failed (errno=-19)
[   20.657441] ata1: limiting SATA link speed to 3.0 Gbps
[   23.194191] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   23.194215] Bluetooth: BNEP socket layer initialized
[   23.745020] fuse init (API version 7.26)
[   24.334240] snd_hda_codec_hdmi hdaudioC0D5: HDMI: audio coding type 0 not expected
[   24.334253] snd_hda_codec_hdmi hdaudioC0D5: HDMI: audio coding type 0 not expected
[   25.328152] tegradc 15200000.nvdisplay: unblank
[   25.328170] tegradc 15210000.nvdisplay: blank - powerdown
[   25.328183] tegradc 15220000.nvdisplay: blank - powerdown
[   25.776614] ata1: hard resetting link
[   26.252614] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[   26.253167] ata1.00: model number mismatch '2.5" SATA SSD 3TG6-P' != 'ASMT109x- Config'
[   26.253178] ata1.00: revalidation failed (errno=-19)
[   26.253355] ata1.00: disabled
[   31.408663] ata1: hard resetting link
[   31.884699] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   31.885273] ata1.00: ATA-8: ASMT109x- Config, 2143 5, max UDMA/133
[   31.885287] ata1.00: 204800 sectors, multi 1: LBA
[   31.885893] ata1.00: configured for UDMA/133
[   31.885968] sd 1:0:0:0: [sda] tag#4 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   31.885975] sd 1:0:0:0: [sda] tag#4 Sense Key : 0x5 [current]
[   31.885980] sd 1:0:0:0: [sda] tag#4 ASC=0x21 ASCQ=0x4
[   31.885987] sd 1:0:0:0: [sda] tag#4 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
[   31.885996] blk_update_request: I/O error, dev sda, sector 0
[   31.886146] Buffer I/O error on dev sda, logical block 0, async page read
[   31.886374] ata1: EH complete
[   31.886472] sd 1:0:0:0: rejecting I/O to offline device
[   31.886610] sd 1:0:0:0: rejecting I/O to offline device
[   31.886716]  sda: unable to read partition table
[   31.887156] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   31.887411] ata1.00: detaching (SCSI 1:0:0:0)
[   31.891578] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[   31.904742] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   31.904907] ata1.00: irq_stat 0x40000001
[   31.904989] ata1.00: failed command: FLUSH CACHE
[   31.905090] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 5
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   31.905335] ata1.00: status: { DRDY ERR }
[   31.905415] ata1.00: error: { ABRT }
[   31.906846] ata1.00: configured for UDMA/133
[   31.906859] ata1.00: device reported invalid CHS sector 0
[   31.907023] ata1: EH complete
[   31.916717] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   31.916884] ata1.00: irq_stat 0x40000001
[   31.916991] ata1.00: failed command: FLUSH CACHE
[   31.917112] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 6
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   31.917413] ata1.00: status: { DRDY ERR }
[   31.917524] ata1.00: error: { ABRT }
[   31.918688] ata1.00: configured for UDMA/133
[   31.918702] ata1.00: device reported invalid CHS sector 0
[   31.918886] ata1: EH complete
[   31.928764] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   31.928928] ata1.00: irq_stat 0x40000001
[   31.929010] ata1.00: failed command: FLUSH CACHE
[   31.929112] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 7
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   31.943940] ata1.00: status: { DRDY ERR }
[   31.945886] ata1.00: error: { ABRT }
[   31.950703] ata1.00: configured for UDMA/133
[   31.950727] ata1.00: device reported invalid CHS sector 0
[   31.955131] ata1: EH complete
[   31.955160] sd 1:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x00 driverbyte=0x08
[   31.955171] sd 1:0:0:0: [sda] Sense Key : 0x5 [current]
[   31.955178] sd 1:0:0:0: [sda] ASC=0x21 ASCQ=0x4
[   31.955183] sd 1:0:0:0: [sda] Stopping disk
[   31.989479] scsi 1:0:0:0: Direct-Access     ATA      ASMT109x- Config n/a  PQ: 0 ANSI: 5
[   32.037622] sd 1:0:0:0: [sda] 204800 512-byte logical blocks: (105 MB/100 MiB)
[   32.038157] sd 1:0:0:0: [sda] Write Protect is off
[   32.038316] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   32.038412] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   32.041489] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   32.336696] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   32.336873] ata1.00: irq_stat 0x40000001
[   32.336955] ata1.00: failed command: FLUSH CACHE
[   32.337056] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 19
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   32.337309] ata1.00: status: { DRDY ERR }
[   32.337387] ata1.00: error: { ABRT }
[   32.338606] ata1.00: configured for UDMA/133
[   32.338623] ata1.00: device reported invalid CHS sector 0
[   32.338817] ata1: EH complete
[   32.348664] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   32.348846] ata1.00: irq_stat 0x40000001
[   32.348942] ata1.00: failed command: FLUSH CACHE
[   32.349104] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 21
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   32.349335] ata1.00: status: { DRDY ERR }
[   32.349412] ata1.00: error: { ABRT }
[   32.350642] ata1.00: configured for UDMA/133
[   32.350658] ata1.00: device reported invalid CHS sector 0
[   32.350840] ata1: EH complete
[   32.360673] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   32.360855] ata1.00: irq_stat 0x40000001
[   32.360930] ata1.00: failed command: FLUSH CACHE
[   32.361027] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 23
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   32.361265] ata1.00: status: { DRDY ERR }
[   32.363147] ata1.00: error: { ABRT }
[   32.368729] ata1.00: configured for UDMA/133
[   32.368746] ata1.00: device reported invalid CHS sector 0
[   32.372317] ata1: EH complete
[   32.389591] ata1: limiting SATA link speed to 3.0 Gbps
[   32.389804] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
[   32.389931] ata1.00: irq_stat 0x40000001
[   32.390030] ata1.00: failed command: FLUSH CACHE
[   32.392554] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 25
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   32.406716] ata1.00: status: { DRDY ERR }
[   32.410700] ata1.00: error: { ABRT }
[   32.414066] ata1: hard resetting link
[   32.888591] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[   32.889599] ata1.00: configured for UDMA/133
[   32.889616] ata1.00: device reported invalid CHS sector 0
[   32.889820] ata1: EH complete
[   32.900646] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   32.900815] ata1.00: irq_stat 0x40000001
[   32.900892] ata1.00: failed command: FLUSH CACHE
[   32.900992] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 27
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   32.901221] ata1.00: status: { DRDY ERR }
[   32.901299] ata1.00: error: { ABRT }
[   32.902462] ata1.00: configured for UDMA/133
[   32.902482] ata1.00: device reported invalid CHS sector 0
[   32.902671] ata1: EH complete
[   32.912937] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[   32.913096] ata1.00: irq_stat 0x40000001
[   32.913184] ata1.00: failed command: FLUSH CACHE
[   32.913286] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 29
                        res 51/04:00:00:00:00/00:00:00:00:00/00 Emask 0x1 (device error)
[   32.913542] ata1.00: status: { DRDY ERR }
[   32.913627] ata1.00: error: { ABRT }
[   32.916940] ata1.00: configured for UDMA/133
[   32.916958] ata1.00: device reported invalid CHS sector 0
[   32.917120] sd 1:0:0:0: [sda] tag#29 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   32.917126] sd 1:0:0:0: [sda] tag#29 Sense Key : 0x5 [current]
[   32.917131] sd 1:0:0:0: [sda] tag#29 ASC=0x21 ASCQ=0x4
[   32.917138] sd 1:0:0:0: [sda] tag#29 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
[   32.917151] blk_update_request: I/O error, dev sda, sector 0
[   32.917343] ata1: EH complete

Hi all,

Below is the result of using a usb adapter

The issue is that the number of logical blocks is different.
7501497695(MY PC) <==> 204799(Xavier)

On MY PC

[ 4416.692811] usb 2-7.1: new SuperSpeed Gen 1 USB device number 12 using xhci_hcd
[ 4416.713741] usb 2-7.1: New USB device found, idVendor=04e8, idProduct=6171, bcdDevice= 0.00
[ 4416.713745] usb 2-7.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 4416.713749] usb 2-7.1: Product: Y3
[ 4416.713752] usb 2-7.1: Manufacturer: Samsung
[ 4416.713754] usb 2-7.1: SerialNumber: MDC13H4K
[ 4416.719003] scsi host9: uas
[ 4416.719691] scsi 9:0:0:0: Direct-Access     Samsung  Y3               9300 PQ: 0 ANSI: 6
[ 4416.720472] sd 9:0:0:0: Attached scsi generic sg2 type 0
[ 4416.720713] sd 9:0:0:0: [sdc] 7501497695 512-byte logical blocks: (3.84 TB/3.49 TiB)
[ 4416.722349] sd 9:0:0:0: [sdc] Write Protect is off
[ 4416.722354] sd 9:0:0:0: [sdc] Mode Sense: 4f 00 00 00
[ 4416.722625] sd 9:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 4416.722857] sd 9:0:0:0: [sdc] Optimal transfer size 33553920 bytes
[ 4416.727620] sd 9:0:0:0: [sdc] Attached SCSI disk
[ 4417.223041] EXT4-fs (sdc): recovery complete
[ 4417.230972] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: (null)

On Xavier

[ 2646.162721] usb 2-4: new SuperSpeed USB device number 14 using tegra-xusb
[ 2646.187245] usb 2-4: New USB device found, idVendor=04e8, idProduct=6171
[ 2646.187260] usb 2-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 2646.187264] usb 2-4: Product: Y3
[ 2646.187271] usb 2-4: Manufacturer: Samsung
[ 2646.187275] usb 2-4: SerialNumber: MDC13H4K
[ 2646.208346] scsi host2: uas
[ 2646.211168] scsi 2:0:0:0: Direct-Access     Samsung  Y3               9300 PQ: 0 ANSI: 6
[ 2646.255694] sd 2:0:0:0: [sda] 204799 512-byte logical blocks: (105 MB/100.0 MiB)
[ 2646.260340] sd 2:0:0:0: [sda] Write Protect is off
[ 2646.260487] sd 2:0:0:0: [sda] Mode Sense: 4f 00 00 00
[ 2646.261367] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2646.275875] sd 2:0:0:0: [sda] Attached SCSI disk
[ 2646.349186] tegra-xusb 3610000.xhci: WARN Event TRB for slot 2 ep 2 with no TDs queued?
[ 2646.349925] tegra-xusb 3610000.xhci: WARN Event TRB for slot 2 ep 2 with no TDs queued?

wsarang,

Do you have bus analyzer there to dump the trace?