Bug 214327 - Cant't shutdown or reboot: loop messages "ext4_writepages: jbd2_start: err -30"
Summary: Cant't shutdown or reboot: loop messages "ext4_writepages: jbd2_start: err -30"
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: ext4 (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: fs_ext4@kernel-bugs.osdl.org
Depends on:
Reported: 2021-09-06 08:25 UTC by Antonio
Modified: 2021-09-06 08:25 UTC (History)
0 users

See Also:
Kernel Version: 5.14.1
Tree: Mainline
Regression: No

reboot/shutdown phase (2.35 MB, image/jpeg)
2021-09-06 08:25 UTC, Antonio

Description Antonio 2021-09-06 08:25:39 UTC
Created attachment 298677 [details]
reboot/shutdown phase

I have my workflow on Debian/Sid, with kernel compiled by https://www.kernel.org/, currently at version 5.14.1, on asus x555ln notebook.

The problem occurs when the external USB 3 harddisk is disconnected from itself: in some cases it is no longer reconnected and if I try to do "sync" from console, this command appears freezed.

If I reboot, at the end the system log shows that it has reached the "Rebooting" phase but remains in loops on the message indicated above (see image file).

When this happens, the system should recognize that the harddisk is no longer available or stalled, to interrupt the write of the cache and terminate the reboot or shutdown phase.




scsi host4: uas
scsi 4:0:0:0: Direct-Access     ASMT     2115             0    PQ: 0 ANSI: 6
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] Mode Sense: 43 00 00 00
sd 4:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 4:0:0:0: [sda] Optimal transfer size 33553920 bytes
 sda: sda1
sd 4:0:0:0: [sda] Attached SCSI disk
usb 3-1: USB disconnect, device number 8
xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
sd 4:0:0:0: [sda] tag#28 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN 
sd 4:0:0:0: [sda] tag#28 CDB: Read(10) 28 00 00 00 01 08 00 00 f8 00

Note You need to log in before you can comment on or make changes to this bug.