Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#56750 - System (linux-hardened 4.14.6.a-1) freezes hard during rsync copy of large (<2GB) files over NFS

Attached to Project: Arch Linux
Opened by Gary S. Martin (GaryScottMartin) - Sunday, 17 December 2017, 04:46 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 17 December 2017, 04:46 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


While using rsync to copy files from a local NTFS formatted drive to my NAS over NFS, the system repeatedly froze while moving ISOs and large video files (>2GB). It never froze during the copy of a smaller file. Once frozen the system was unresponsive to mouse or keyboard input. Even the kernel keyboard shortcuts were unresponsive. The only way to recover the system was a hard shoutdown and reboot. The kernel keyboard shortcuts (ALT - SysRq - [e/i/b]) were enabled and worked as expected when the system was not frozen. No freezes occured after rebooting to the (not hardened) linux 4.14.5-1 kernel, even though more than ten large files were copied up to the NAS.

Additional info:
* linux kernel: linux-hardened 4.14.6.a-1
* The last occurence was at 1948 local time (based on time displayed by system post freeze). The journalctl messages immediately preceeding and following that time were:

Dec 16 19:44:42 TehachapiMtn kdeinit5[17862]: kf5.kio.kio_file: "Couldn't preserve group for '/net/nas01/mnt/md0/Public/documents/TSP-21-G.pdf'"
-- Reboot --
Dec 16 19:56:01 TehachapiMtn kernel: Linux version 4.14.5-1-ARCH (builduser@heftig-19247) (gcc version 7.2.1 20171128 (GCC)) #1 SMP PREEMPT Sun Dec 10 14:50:30 UTC 2017

Steps to reproduce:
sudo ionice -c3 rsync -avz '/wdata/Users/Public/Public Videos/' /net/nas01/mnt/md0/Public/media/video

This appears to be an ongoing issue with the hardened kernel and may be an upstream issue.

Reference:  FS#54847  - [linux-hardened] system freeze on copy and rsync
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 17 December 2017, 04:46 GMT
Reason for closing:  Duplicate