SATA exception Emask 0x0 SAct 0x80 SErr 0x0 action 0x6 frozen

From Thomas-Krenn-Wiki
Jump to navigation Jump to search

The notification exception Emask 0x0 SAct 0x80 SErr 0x0 action 0x6 frozen of the Linux Kernel appears, when the multipathd (Multipath-service) attempts to access a local SATA device such as an SSD or HDD via multiple paths. The Multipath-service is, for example, used for open-iscsi. You can easily solve the error by excluding the respective local SATA devices from the multipath configuration.

Affected software

  • Ubuntu 20.04
  • open-iscsi with multipathd

Usage of test-hardware

  • Supermicro X11SPL-F
  • test configuration: Intel Xeon Gold 6209U, 128 GB (4x 32GB) ECC Reg ATP DDR4 3200 RAM (premium)

Error notification

During the start of the system, the Multipath-service tries to define parallel paths of data carriers. Local SATA data carriers, which are naturally connected by only a single path, do not support these commands. This results in error messages such as the following:

[...]
Dec 14 12:19:20 test kernel: [   38.824625] ata5.00: exception Emask 0x0 SAct 0x80 SErr 0x0 action 0x6 frozen
Dec 14 12:19:20 test kernel: [   38.825340] ata5.00: failed command: READ FPDMA QUEUED
Dec 14 12:19:20 test kernel: [   38.825958] ata5.00: cmd 60/08:38:00:19:15/00:00:03:00:00/40 tag 7 ncq dma 4096 in
Dec 14 12:19:20 test kernel: [   38.825958]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
Dec 14 12:19:20 test kernel: [   38.827187] ata5.00: status: { DRDY }
Dec 14 12:19:20 test kernel: [   38.827793] ata5: hard resetting link
[...]

Solution

Exclude your local data carrier via blacklist in /etc/multipath.conf. In addition, remove the default entry in blacklist_exceptions (or comment on it as shown below):

blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "sda"
devnode "sdb"
devnode "sdc"
devnode "sdd"
devnode "^vd[a-z]"
devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}
blacklist_exceptions {
# devnode "sd[a-z][a-z]*"
}

More information


Author: Werner Fischer

Werner Fischer, working in the Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.


Translator: Alina Ranzinger

Alina has been working at Thomas-Krenn.AG since 2024. After her training as multilingual business assistant, she got her job as assistant of the Product Management and is responsible for the translation of texts and for the organisation of the department.


Related articles

Configure Locales in Ubuntu
Establishing a GPS connection under Linux
Installing Ubuntu 20.04 via a serial console