Copying files from SD card to nvme ssd failed

I was copying around 34G files from SD card to nvme ssd.
But it failed after a while with following errors from dmesg:

[ 1718.328582] INFO: task jbd2/nvme0n1-8:1230 blocked for more than 122 seconds.
[ 1718.335728] Not tainted 6.1.55 #1
[ 1718.339618] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 1718.347443] task:jbd2/nvme0n1-8 state:D stack:0 pid:1230 ppid:2 flags:0x00000080
[ 1718.355823] Call Trace:
[ 1718.358270] [] __schedule+0x2b2/0x8fe
[ 1718.363524] [] schedule+0x4c/0xce
[ 1718.368400] [] io_schedule+0x44/0x5e
[ 1718.373561] [] rq_qos_wait+0x8c/0xec
[ 1718.378729] [] wbt_wait+0x88/0xc6
[ 1718.383606] [] __rq_qos_throttle+0x24/0x34
[ 1718.389287] [] blk_mq_submit_bio+0x30a/0x558
[ 1718.395120] [] __submit_bio+0x112/0x17c
[ 1718.400542] [] submit_bio_noacct_nocheck+0x22e/0x24e
[ 1718.407066] [] submit_bio_noacct+0x17c/0x3ee
[ 1718.412918] [] submit_bio+0x34/0xbc
[ 1718.417967] [] submit_bh_wbc+0x112/0x13e
[ 1718.423475] [] submit_bh+0x1a/0x22
[ 1718.428461] [] jbd2_journal_commit_transaction+0x708/0x1a82
[ 1718.435594] [] kjournald2+0xea/0x2e0
[ 1718.440752] [] kthread+0xbc/0xd2
[ 1718.445542] [] ret_from_exception+0x0/0x16
[ 1718.451258] INFO: task kworker/u132:3:1438 blocked for more than 123 seconds.
[ 1718.458387] Not tainted 6.1.55 #1
[ 1718.462244] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 1718.470087] task:kworker/u132:3 state:D stack:0 pid:1438 ppid:2 flags:0x00000000
[ 1718.478468] Workqueue: writeback wb_workfn (flush-259:0)
[ 1718.483786] Call Trace:
[ 1718.486231] [] __schedule+0x2b2/0x8fe
[ 1718.491478] [] schedule+0x4c/0xce
[ 1718.496352] [] io_schedule+0x44/0x5e
[ 1718.501508] [] rq_qos_wait+0x8c/0xec
[ 1718.506643] [] wbt_wait+0x88/0xc6
[ 1718.511539] [] __rq_qos_throttle+0x24/0x34
[ 1718.517196] [] blk_mq_submit_bio+0x30a/0x558
[ 1718.523052] [] __submit_bio+0x112/0x17c
[ 1718.528471] [] submit_bio_noacct_nocheck+0x22e/0x24e
[ 1718.534995] [] submit_bio_noacct+0x17c/0x3ee
[ 1718.540847] [] submit_bio+0x34/0xbc
[ 1718.545895] [] ext4_io_submit+0x2a/0x48
[ 1718.551317] [] ext4_writepages+0x498/0xcd2
[ 1718.556975] [] do_writepages+0x7e/0x1f6
[ 1718.562394] [] __writeback_single_inode+0x42/0x338
[ 1718.568782] [] writeback_sb_inodes+0x25c/0x556
[ 1718.574789] [] __writeback_inodes_wb+0x5c/0x124
[ 1718.580902] [] wb_writeback+0x294/0x326
[ 1718.586299] [] wb_workfn+0x2c6/0x51a
[ 1718.591457] [] process_one_work+0x1c2/0x396
[ 1718.597203] [] worker_thread+0x12a/0x408
[ 1718.602709] [] kthread+0xbc/0xd2
[ 1718.607499] [] ret_from_exception+0x0/0x16
[ 1718.613191] INFO: task cp:1940 blocked for more than 123 seconds.
[ 1718.619320] Not tainted 6.1.55 #1
[ 1718.623152] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 1718.630999] task:cp state:D stack:0 pid:1940 ppid:1824 flags:0x00000000
[ 1718.639369] Call Trace:
[ 1718.641814] [] __schedule+0x2b2/0x8fe
[ 1718.647036] [] schedule+0x4c/0xce
[ 1718.651939] [] io_schedule+0x44/0x5e
[ 1718.657075] [] bit_wait_io+0x1c/0x6a
[ 1718.662235] [] __wait_on_bit+0x8a/0x132
[ 1718.667630] [] out_of_line_wait_on_bit+0x74/0x7c
[ 1718.673828] [] do_get_write_access+0x2e0/0x52a
[ 1718.679855] [] jbd2_journal_get_write_access+0x68/0x96
[ 1718.686553] [] __ext4_journal_get_write_access+0x74/0x174
[ 1718.693541] [] __ext4_new_inode+0x788/0x129a
[ 1718.699398] [] ext4_create+0x92/0x170
[ 1718.704621] [] path_openat+0xa9e/0xd26
[ 1718.709954] [] do_filp_open+0x6a/0xda
[ 1718.715177] [] do_sys_openat2+0x82/0x11e
[ 1718.720693] [] sys_openat+0x3c/0x68
[ 1718.725743] [] ret_from_syscall+0x0/0x2
[ 1784.899720] nvme nvme0: Device not ready; aborting reset, CSTS=0x1
[ 1784.988634] nvme nvme0: Abort status: 0x371
[ 1784.992825] nvme nvme0: Abort status: 0x371
[ 1784.997009] nvme nvme0: Abort status: 0x371
[ 1785.068665] nvme 0003:c3:00.0: Refused to change power state from D1 to D0
[ 1785.075548] nvme 0003:c3:00.0: enabling device (0001 → 0003)
[ 1785.081373] nvme nvme0: Removing after probe failure status: -22
[ 1785.118650] nvme0n1: detected capacity change from 2000409264 to 0
[ 1785.125049] EXT4-fs warning (device nvme0n1): ext4_end_bio:343: I/O error 10 writing to inode 54428382 starting block 7770080)
[ 1785.136594] EXT4-fs warning (device nvme0n1): ext4_end_bio:343: I/O error 10 writing to inode 54428382 starting block 7768032)
[ 1785.148039] EXT4-fs warning (device nvme0n1): ext4_end_bio:343: I/O error 10 writing to inode 54428382 starting block 7765984)
[ 1785.159638] Buffer I/O error on device nvme0n1, logical block 7768064
[ 1785.165224] EXT4-fs warning (device nvme0n1): ext4_end_bio:343: I/O error 10 writing to inode 54428382 starting block 7774176)
[ 1785.166115] Buffer I/O error on device nvme0n1, logical block 7768065
[ 1785.177554] Buffer I/O error on device nvme0n1, logical block 7772160
[ 1785.184000] Buffer I/O error on device nvme0n1, logical block 7768066
[ 1785.190396] Buffer I/O error on device nvme0n1, logical block 7772161
[ 1785.190575] Aborting journal on device nvme0n1-8.
[ 1785.190600] Buffer I/O error on dev nvme0n1, logical block 124813312, lost sync page write
[ 1785.190613] JBD2: I/O error when updating journal superblock for nvme0n1-8.
[ 1785.194662] EXT4-fs error (device nvme0n1): ext4_journal_check_start:83: comm cp: Detected aborted journal
[ 1785.194756] Buffer I/O error on dev nvme0n1, logical block 0, lost sync page write
[ 1785.194767] EXT4-fs (nvme0n1): I/O error while writing superblock
[ 1785.194772] EXT4-fs (nvme0n1): Remounting filesystem read-only
[ 1785.196797] Buffer I/O error on device nvme0n1, logical block 7768067
[ 1785.203240] Buffer I/O error on device nvme0n1, logical block 7772162
[ 1785.207911] Buffer I/O error on device nvme0n1, logical block 7768068
[ 1785.216166] Buffer I/O error on device nvme0n1, logical block 7772163
[ 1785.223111] Buffer I/O error on device nvme0n1, logical block 7768069
[ 1785.236412] EXT4-fs (nvme0n1): ext4_writepages: jbd2_start: 60416 pages, ino 54428382; err -30
[ 1785.243998] EXT4-fs (nvme0n1): failed to convert unwritten extents to written extents – potential data loss! (inode 54428382, error -30)
[ 1785.246435] EXT4-fs warning (device nvme0n1): ext4_end_bio:343: I/O error 10 writing to inode 54428382 starting block 7772128)
[ 1785.256056] EXT4-fs (nvme0n1): failed to convert unwritten extents to written extents – potential data loss! (inode 54428382, error -30)
[ 1785.333024] EXT4-fs (nvme0n1): failed to convert unwritten extents to written extents – potential data loss! (inode 54428382, error -30)
[ 1817.640541] EXT4-fs (nvme0n1): unmounting filesystem.

Could you please have a look into this issue?
Please let me know if further info needed.
Thanks.

1 Like