FS#48006 - [linux] linux 4.4.1-1 not supending with xfs

Attached to Project: Arch Linux
Opened by Daniel Wendler (BMRMorph) - Wednesday, 03 February 2016, 09:56 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 03 February 2016, 14:01 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
With the actual kernel there it is not possible to suspend an System with XFS Filesystem.
The Bug is known upstream.
The "0001-4.4-revert-xfs.patch" doesn't fix the Problem and should be replaced with
the patch from the Suse Bugtracker (https://bugzilla.opensuse.org/show_bug.cgi?id=962250)
You could find the patch here: https://bugzilla.opensuse.org/attachment.cgi?id=662389

Additional info:
* linux-4.4.1-1

[ 6086.238311] Freezing of tasks failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
[ 6086.238334] xfsaild/dm-9 S ffff880224ea3df8 0 816 2 0x00000000
[ 6086.238337] ffff880224ea3df8 0000000000000002 ffff880226226e00 ffff8800c2f09b80
[ 6086.238339] ffff880224ea4000 ffff8800c2f09b80 ffffffffa04f8fe0 ffff880224cad400
[ 6086.238341] 0000000000000000 ffff880224ea3e10 ffffffff8158e03c 0000000000000000
[ 6086.238343] Call Trace:
[ 6086.238360] [<ffffffffa04f8fe0>] ? xfs_trans_ail_cursor_first+0x90/0x90 [xfs]
[ 6086.238365] [<ffffffff8158e03c>] schedule+0x3c/0x90
[ 6086.238372] [<ffffffffa04f9611>] xfsaild+0x631/0x660 [xfs]
[ 6086.238379] [<ffffffffa04f8fe0>] ? xfs_trans_ail_cursor_first+0x90/0x90 [xfs]
[ 6086.238385] [<ffffffffa04f8fe0>] ? xfs_trans_ail_cursor_first+0x90/0x90 [xfs]
[ 6086.238388] [<ffffffff81093ff8>] kthread+0xd8/0xf0
[ 6086.238390] [<ffffffff81093f20>] ? kthread_worker_fn+0x170/0x170
[ 6086.238392] [<ffffffff81591e8f>] ret_from_fork+0x3f/0x70
[ 6086.238393] [<ffffffff81093f20>] ? kthread_worker_fn+0x170/0x170

Steps to reproduce:
Install 4.4 Kernel and try to Suspend system with an XFS Filesystem.

I've applied the patch on my own and after that i could suspend my system again.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Wednesday, 03 February 2016, 14:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 4.4.1-2
Comment by Evangelos Foutras (foutrelis) - Wednesday, 03 February 2016, 12:45 GMT
As mentioned in the openSUSE bug, the commit was reverted upstream and that's what we backport as well. [1]

Applying non-upstreamed patches is not an option. It would be interesting, however, to find out why the revert does not fix the issue.

Are you sure you hit the bug with 4.4.1-1 and not 4.4-x? The revert should have fixed the suspend issue; it's surprising that it doesn't. [2]

[1] https://bugzilla.opensuse.org/show_bug.cgi?id=962250#c8
[2] http://oss.sgi.com/pipermail/xfs/2016-January/046260.html
Comment by Evangelos Foutras (foutrelis) - Wednesday, 03 February 2016, 14:01 GMT
It appears the XFS/btrfs patches were missed in the x86_64 kernel package; this should be corrected in 4.4.1-2.

Loading...