Bug 153371 - crash on every shutdown
Summary: crash on every shutdown
Status: RESOLVED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: io_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 19:50 UTC by Elmar Stellnberger
Modified: 2016-08-20 21:52 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.8.0-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
screenshot of the backtrace (500.50 KB, image/jpeg)
2016-08-18 19:51 UTC, Elmar Stellnberger
Details
Revert Commit (4.46 KB, patch)
2016-08-20 05:40 UTC, [account disabled by the administrator]
Details | Diff
dmesg of 4.8.0-rc1+revert-patch including backtrace (63.31 KB, text/plain)
2016-08-20 09:45 UTC, Elmar Stellnberger
Details

Description Elmar Stellnberger 2016-08-18 19:50:08 UTC
With 4.8.0-rc1 my machine always crashes trying to handle an interrupt on shutdown. Please reassign the bug to an appropriate context. Last known good: 4.7.0-ARCH-13902-gd491e80-dirty.
Comment 1 Elmar Stellnberger 2016-08-18 19:51:15 UTC
Created attachment 229281 [details]
screenshot of the backtrace

Please also have a look at bug 153361; similar and also related to 4.8.0-rc1.
Comment 2 [account disabled by the administrator] 2016-08-20 05:40:05 UTC
Ok, let's see if reverting a certain commit fixes your issue and if it does let's try narrowing down where it's started your regression.
Comment 3 [account disabled by the administrator] 2016-08-20 05:40:21 UTC
Created attachment 229501 [details]
Revert Commit
Comment 4 Elmar Stellnberger 2016-08-20 09:45:10 UTC
Created attachment 229511 [details]
dmesg of 4.8.0-rc1+revert-patch including backtrace

  Unfortunately the revert patch did not resolve the issue. When booting with the patch applied I had also discovered a backtrace on bootup as well as the usual backtrace on shutdown (see for the attachement).
  By the time I have already started bisecting the issue. However that is going to take a long time so that I will post intermediate results here. Please tell me when I can stop bisecting as that endeavour costs a lot of time and CPU power while I do already have other issues about kernel 4.8.0 or before which need bisecting (specifically something about various Wifi-drivers).
Comment 5 Elmar Stellnberger 2016-08-20 11:02:47 UTC
good: 4.7.0-ARCH-13902-gd491e80  
bad: 4.8.0-rc1
bad: [g]1c88e19
Comment 6 [account disabled by the administrator] 2016-08-20 12:56:37 UTC
Bisect this issue first completely and send me the back commit id. Otherwise a incomplete git bisect is not that useful, sorry. In addition if your also having issues with wifi drivers open new bug reports and bisect them too if possible or send me the dmesgs first as those need to be fixed too.
Comment 7 Mark Asselstine 2016-08-20 15:57:03 UTC
Can you try applying 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e [x86/hweight: Don't clobber %rdi]. Not a perfect match but is close enough it deserves a try.
Comment 8 Elmar Stellnberger 2016-08-20 15:59:56 UTC
You mean check it out + apply the Revert Commit? (also bad: f7816ad[0f878dac...])
Comment 9 Mark Asselstine 2016-08-20 16:07:06 UTC
(In reply to Elmar Stellnberger from comment #8)
> You mean check it out + apply the Revert Commit? (also bad:
> f7816ad[0f878dac...])

You need commit 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e, so either apply it to what you are building or if you can build the latest mainline, try that.
Comment 10 Elmar Stellnberger 2016-08-20 19:03:24 UTC
Mark, today we all have reason to celebrate! This bug as well as kernel bugs  153361, 117581 and freedesktop bug 93887 (https://bugs.freedesktop.org/show_bug.cgi?id=93887) have in deed been resolved with commit 65ea11ec6a82b1d44aba62b59e9eb20247e57c6e (Ville Syrjälä - x86/hweight: Don't clobber %rdi) - and these were just the issues reported by me - not to count all the others you have been talking about.
Comment 11 [account disabled by the administrator] 2016-08-20 21:52:55 UTC
Good to hear this is fixed. Please open bug reports for your wi-fi drivers so I can take a look at the other regressions you are currently facing on your hardware.

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