Bug 960710 - crash when unloading+loading snd_hda_intel
crash when unloading+loading snd_hda_intel
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 42.1
x86-64 openSUSE 42.1
: P5 - None : Normal (vote)
: ---
Assigned To: Takashi Iwai
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-05 12:27 UTC by Bernhard Wiedemann
Modified: 2018-07-03 21:01 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/messages extract (19.56 KB, text/plain)
2016-01-05 12:27 UTC, Bernhard Wiedemann
Details
Fix patch (1.42 KB, patch)
2016-01-20 16:29 UTC, Takashi Iwai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2016-01-05 12:27:48 UTC
Created attachment 660867 [details]
/var/log/messages extract

I used yast2 sound
to reconfigure my sound-card.
In there it was shown as unconfigured even though I was already using it.

after it finished, snd_hda_intel was not loaded
so I did modprobe snd_hda_intel
which caused a GPF in driver_probe_device

btw: I would prefer to not crash my machine again,
because re-syncing the 3TB RAID1 always takes a long time.


# cat /etc/modprobe.d/50-sound.conf
options snd slots=snd-hda-intel
# 5Dex.9zCmC9gVD38:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
Comment 1 Takashi Iwai 2016-01-07 13:08:19 UTC
The kernel looks old.  Any reason not to use the released version?
Comment 2 Bernhard Wiedemann 2016-01-08 09:53:51 UTC
(In reply to Takashi Iwai from comment #1)
> The kernel looks old.  Any reason not to use the released version?

I think that was only installed after a the crash
when I did zypper up
I you think, that 4.1.13 contains a fix
which was missing in 4.1.6-10, feel free to close the bug.
Comment 3 Takashi Iwai 2016-01-08 10:00:18 UTC
(In reply to Bernhard Wiedemann from comment #2)
> (In reply to Takashi Iwai from comment #1)
> > The kernel looks old.  Any reason not to use the released version?
> 
> I think that was only installed after a the crash
> when I did zypper up
> I you think, that 4.1.13 contains a fix
> which was missing in 4.1.6-10, feel free to close the bug.

Yeah, I remember vaguely a similar issue, but don't remember when it got fixed :)
In anyway, this should have been fixed in the latest version, and I can't reproduce this.  So, let's close it now.  Feel free to reopen if you see it again.
Comment 4 Takashi Iwai 2016-01-20 16:25:34 UTC
I casually stumbled on a similar crash today, and this comes from a different culprit: namely, when user does reload too quickly, the driver crashes due to the race between the probe and the removal.

Just calling flush_work() before remove is enough.  I'll paper over this now.
Comment 5 Takashi Iwai 2016-01-20 16:29:26 UTC
Created attachment 662528 [details]
Fix patch
Comment 6 Takashi Iwai 2016-01-20 16:47:22 UTC
The fix patch is merged to relevant branches now.  Let's close again.
Comment 7 Bernhard Wiedemann 2016-01-20 22:00:16 UTC
This is an autogenerated message for OBS integration:
This bug (960710) was mentioned in
https://build.opensuse.org/request/show/355080 42.1 / kernel-source
Comment 8 Swamp Workflow Management 2016-01-29 13:17:14 UTC
openSUSE-SU-2016:0280-1: An update that solves 10 vulnerabilities and has 18 fixes is now available.

Category: security (important)
Bug References: 865096,865259,913996,950178,950998,952621,954324,954532,954647,955422,956708,957152,957988,957990,958439,958463,958504,958510,958886,958951,959190,959399,960021,960710,961263,961509,962075,962597
CVE References: CVE-2015-7550,CVE-2015-8539,CVE-2015-8543,CVE-2015-8550,CVE-2015-8551,CVE-2015-8552,CVE-2015-8569,CVE-2015-8575,CVE-2015-8767,CVE-2016-0728
Sources used:
openSUSE Leap 42.1 (src):    kernel-debug-4.1.15-8.1, kernel-default-4.1.15-8.1, kernel-docs-4.1.15-8.3, kernel-ec2-4.1.15-8.1, kernel-obs-build-4.1.15-8.2, kernel-obs-qa-4.1.15-8.1, kernel-obs-qa-xen-4.1.15-8.1, kernel-pae-4.1.15-8.1, kernel-pv-4.1.15-8.1, kernel-source-4.1.15-8.1, kernel-syms-4.1.15-8.1, kernel-vanilla-4.1.15-8.1, kernel-xen-4.1.15-8.1
Comment 9 Swamp Workflow Management 2016-04-12 10:13:31 UTC
openSUSE-SU-2016:1008-1: An update that solves 15 vulnerabilities and has 26 fixes is now available.

Category: security (important)
Bug References: 814440,884701,949936,951440,951542,951626,951638,953527,954018,954404,954405,954876,958439,958463,958504,959709,960561,960563,960710,961263,961500,961509,962257,962866,962977,963746,963765,963767,963931,965125,966137,966179,966259,966437,966684,966693,968018,969356,969582,970845,971125
CVE References: CVE-2015-1339,CVE-2015-7799,CVE-2015-7872,CVE-2015-7884,CVE-2015-8104,CVE-2015-8709,CVE-2015-8767,CVE-2015-8785,CVE-2015-8787,CVE-2015-8812,CVE-2016-0723,CVE-2016-2069,CVE-2016-2184,CVE-2016-2383,CVE-2016-2384
Sources used:
openSUSE Leap 42.1 (src):    kernel-debug-4.1.20-11.1, kernel-default-4.1.20-11.1, kernel-docs-4.1.20-11.3, kernel-ec2-4.1.20-11.1, kernel-obs-build-4.1.20-11.2, kernel-obs-qa-4.1.20-11.1, kernel-obs-qa-xen-4.1.20-11.1, kernel-pae-4.1.20-11.1, kernel-pv-4.1.20-11.1, kernel-source-4.1.20-11.1, kernel-syms-4.1.20-11.1, kernel-vanilla-4.1.20-11.1, kernel-xen-4.1.20-11.1