I’m trying to use an external NVMe drive in a USB adapter. It works fine on my Ubuntu host and Mac, but I get a lot of errors reading and writing it on the Jetson Nano, ultimately resulting in the drive being unmounted and re-mounted read-only:
[67435.685328] scsi 0:0:0:0: Direct-Access JMicron Generic 0208 PQ: 0 ANSI: 6
[67437.709964] sd 0:0:0:0: [sda] 1000215216 512-byte logical blocks: (512 GB/477 GiB)
[67437.717620] sd 0:0:0:0: [sda] 4096-byte physical blocks
[67437.724014] sd 0:0:0:0: [sda] Write Protect is off
[67437.729242] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[67437.738863] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[67437.758162] sd 0:0:0:0: [sda] Attached SCSI disk
[67510.999956] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[67686.568678] scsi 0:0:0:0: Direct-Access JMicron Generic 0208 PQ: 0 ANSI: 6
[67688.597497] sd 0:0:0:0: [sda] 1000215216 512-byte logical blocks: (512 GB/477 GiB)
[67688.605104] sd 0:0:0:0: [sda] 4096-byte physical blocks
[67688.611620] sd 0:0:0:0: [sda] Write Protect is off
[67688.616866] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[67688.626483] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[67688.646311] sd 0:0:0:0: [sda] Attached SCSI disk
[67692.539007] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67692.548563] tegra-xusb 70090000.xusb: @00000000ffebcb70 ffe14000 00000000 04000000 05088000
[67758.229462] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67758.239017] tegra-xusb 70090000.xusb: @00000000ffebc850 ffe14800 00000000 04000000 05088001
[67896.568263] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67896.577819] tegra-xusb 70090000.xusb: @00000000ffebc9b0 ffe14800 00000000 04000000 05088000
[67921.401526] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67921.411082] tegra-xusb 70090000.xusb: @00000000ffebcde0 ffe14800 00000000 04000000 05088001
[67925.077696] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67925.087249] tegra-xusb 70090000.xusb: @00000000ffebca90 ffe14000 00000000 0a010000 05088000
[67928.085740] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67928.095293] tegra-xusb 70090000.xusb: @00000000ffebc1d0 ffe14800 00000000 0a000060 05088001
[67930.101719] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67930.111272] tegra-xusb 70090000.xusb: @00000000ffebc950 ffe14000 00000000 0a000060 05088001
[67932.226780] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67932.236336] tegra-xusb 70090000.xusb: @00000000ffebc860 ffe14000 00000000 04000000 05088000
[67934.216658] scsi_io_completion: 14 callbacks suppressed
[67934.222112] blk_update_request: 14 callbacks suppressed
[67934.222114] blk_update_request: I/O error, dev sda, sector 495616
[67934.233530] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 109051904 size 8388608 starting block 62208)
[67934.247291] Buffer I/O error on device sda1, logical block 61696
[67934.253344] Buffer I/O error on device sda1, logical block 61697
[67934.259464] Buffer I/O error on device sda1, logical block 61698
[67934.265700] Buffer I/O error on device sda1, logical block 61699
[67934.271748] Buffer I/O error on device sda1, logical block 61700
[67934.277872] Buffer I/O error on device sda1, logical block 61701
[67934.283889] Buffer I/O error on device sda1, logical block 61702
[67934.290005] Buffer I/O error on device sda1, logical block 61703
[67934.296022] Buffer I/O error on device sda1, logical block 61704
[67934.302033] Buffer I/O error on device sda1, logical block 61705
[67934.309137] blk_update_request: I/O error, dev sda, sector 494592
[67934.315265] blk_update_request: I/O error, dev sda, sector 493568
[67934.321398] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 109051904 size 8388608 starting block 61952)
[67934.335777] blk_update_request: I/O error, dev sda, sector 492544
[67934.342786] blk_update_request: I/O error, dev sda, sector 491520
[67934.348911] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 61696)
[67934.363058] blk_update_request: I/O error, dev sda, sector 490496
[67934.369192] blk_update_request: I/O error, dev sda, sector 489472
[67934.375454] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 61440)
[67934.389738] blk_update_request: I/O error, dev sda, sector 488448
[67934.395867] blk_update_request: I/O error, dev sda, sector 487424
[67934.401974] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 61184)
[67934.416167] blk_update_request: I/O error, dev sda, sector 486400
[67934.423217] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 60928)
[67934.438116] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 60672)
[67934.452466] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 60416)
[67934.467303] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 60160)
[67934.481417] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 100663296 size 8388608 starting block 59904)
[67936.222207] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67936.231764] tegra-xusb 70090000.xusb: @00000000ffebc390 ffe14000 00000000 04000000 05088001
[67940.062010] scsi_io_completion: 14 callbacks suppressed
[67940.067313] blk_update_request: 14 callbacks suppressed
[67940.067316] blk_update_request: I/O error, dev sda, sector 505856
[67940.106635] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67940.116193] tegra-xusb 70090000.xusb: @00000000ffebc670 ffe14800 00000000 04000000 05088001
[67944.198600] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67944.208159] tegra-xusb 70090000.xusb: @00000000ffebcfb0 ffe14800 00000000 04000000 05088001
[67948.164075] blk_update_request: I/O error, dev sda, sector 506880
[67948.170541] EXT4-fs warning: 2 callbacks suppressed
[67948.170546] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 109051904 size 8388608 starting block 63488)
[67948.189168] buffer_io_error: 3013 callbacks suppressed
[67948.189172] Buffer I/O error on device sda1, logical block 62976
[67948.205443] Buffer I/O error on device sda1, logical block 62977
[67948.211501] Buffer I/O error on device sda1, logical block 62978
[67948.217533] Buffer I/O error on device sda1, logical block 62979
[67948.223561] Buffer I/O error on device sda1, logical block 62980
[67948.229668] Buffer I/O error on device sda1, logical block 62981
[67948.235697] Buffer I/O error on device sda1, logical block 62982
[67948.241732] Buffer I/O error on device sda1, logical block 62983
[67948.247756] Buffer I/O error on device sda1, logical block 62984
[67948.253786] Buffer I/O error on device sda1, logical block 62985
[67948.278544] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67948.288098] tegra-xusb 70090000.xusb: @00000000ffebc970 ffe14800 00000000 04000000 05088000
[67950.156154] blk_update_request: I/O error, dev sda, sector 508928
[67950.162333] blk_update_request: I/O error, dev sda, sector 507904
[67950.168455] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 109051904 size 8388608 starting block 63744)
[67952.174471] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67952.184028] tegra-xusb 70090000.xusb: @00000000ffebc110 ffe14800 00000000 04000000 05088001
[67954.147848] blk_update_request: I/O error, dev sda, sector 515072
[67954.154186] EXT4-fs warning (device sda1): ext4_end_bio:313: I/O error -5 writing to inode 13500445 (offset 117440512 size 8388608 starting block 64512)
[67954.168036] buffer_io_error: 502 callbacks suppressed
[67954.168052] Buffer I/O error on device sda1, logical block 64000
[67954.179433] Buffer I/O error on device sda1, logical block 64001
[67954.186159] Buffer I/O error on device sda1, logical block 64002
[67954.192301] Buffer I/O error on device sda1, logical block 64003
[67954.198671] Buffer I/O error on device sda1, logical block 64004
[67954.204776] Buffer I/O error on device sda1, logical block 64005
[67954.211172] Buffer I/O error on device sda1, logical block 64006
[67954.217456] Buffer I/O error on device sda1, logical block 64007
[67954.223554] Buffer I/O error on device sda1, logical block 64008
[67954.229638] Buffer I/O error on device sda1, logical block 64009
[67954.236041] blk_update_request: I/O error, dev sda, sector 29960
[67954.242590] blk_update_request: I/O error, dev sda, sector 28936
[67956.408247] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67956.417803] tegra-xusb 70090000.xusb: @00000000ffebcdd0 ffe14000 00000000 04000000 05088000
[67962.174348] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67962.183902] tegra-xusb 70090000.xusb: @00000000ffebc940 ffe14800 00000000 04000000 05088000
[67966.188299] JBD2: Detected IO errors while flushing file data on sda1-8
[67966.194960] Aborting journal on device sda1-8.
[67966.209425] EXT4-fs error (device sda1) in ext4_do_update_inode:5088: Journal has aborted
[67966.301146] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67966.310702] tegra-xusb 70090000.xusb: @00000000ffebc940 ffe14000 00000000 04000000 05088001
[67970.101028] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67970.110581] tegra-xusb 70090000.xusb: @00000000ffebc390 ffe14800 00000000 0a010000 05088000
[67972.248472] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal
[67972.248477] EXT4-fs error (device sda1): mpage_map_and_submit_extent:2515: comm kworker/u8:3: Failed to mark inode 13500445 dirty
[67972.259681] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67972.259686] tegra-xusb 70090000.xusb: @00000000ffebcb00 ffe14800 00000000 04000000 05088001
[67972.286779] EXT4-fs (sda1): Remounting filesystem read-only
[67978.100931] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67978.110484] tegra-xusb 70090000.xusb: @00000000ffebc170 ffe14800 00000000 0a010000 05088001
[67982.222095] tegra-xusb 70090000.xusb: ERROR Transfer event for disabled endpoint or incorrect stream ring
[67982.231649] tegra-xusb 70090000.xusb: @00000000ffebcf80 ffe14800 00000000 04000000 05088001
[67987.062396] EXT4-fs error (device sda1) in ext4_writepages:2825: IO failure
[67987.070810] JBD2: Detected IO errors while flushing file data on sda1-8
[68048.077923] sd 0:0:0:0: [sda] Synchronizing SCSI cache
I have a 180-13448-DAAA-A02 module and 180-13449-DAAF-A02 carrier board.