From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: lock-up when loading desktop
Date: Mon, 13 Oct 2014 23:34:41 +1030 [thread overview]
Message-ID: <543BCDE9.7010308@internode.on.net> (raw)
In-Reply-To: <s5h7g04ywgg.wl-tiwai@suse.de>
Takashi Iwai wrote, on 13/10/14 23:10:
> OK, then could you check whether reverting only the last one (of two)
> does *NOT* fix the issue? I think it shouldn't, but let us confirm.
Thanks for the feedback. Sorry, I'm not good on git commands. Having
applied the two reversions previously, how do I get my git tree back to
the same state as Linus' git head (ie undo the reversions)?
I could then apply the second reversion only and test that.
>
> The alsa-info.sh shows the lockdep messages. I assume that it's seen
> even before 3.17+?
I didn't see ALSA-related lockdep messages in 3.17.0 or earlier, and
have had the lockdep validator option enabled on kernels for several
months now.
>
> Last but not least, please check whether nonatomic flag is set wrongly
> by some reason like the patch below. (Check the kernel message after
> boot or try to playback some PCM).
>
>
> Takashi
>
> ---
> diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
> index 85fe1a216225..9c7cbd1b839e 100644
> --- a/sound/core/pcm_native.c
> +++ b/sound/core/pcm_native.c
> @@ -2275,6 +2275,9 @@ static int snd_pcm_open(struct file *file, struct snd_pcm *pcm, int stream)
> int err;
> wait_queue_t wait;
>
> + if (WARN_ON(pcm->nonatomic))
> + return -EINVAL;
> +
> if (pcm == NULL) {
> err = -ENODEV;
> goto __error1;
>
>
I can apply this patch, but I'm not entirely sure how to check for the
state of the nonatomic flag.
Regards,
Arthur.
next prev parent reply other threads:[~2014-10-13 13:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 1:00 lock-up when loading desktop Arthur Marsh
2014-10-13 6:00 ` Takashi Iwai
2014-10-13 11:36 ` Arthur Marsh
2014-10-13 12:40 ` Takashi Iwai
2014-10-13 13:04 ` Arthur Marsh [this message]
2014-10-13 14:25 ` Takashi Iwai
2014-10-13 18:08 ` Arthur Marsh
2014-10-13 20:57 ` Takashi Iwai
2014-10-13 21:14 ` Takashi Iwai
2014-10-14 6:24 ` Arthur Marsh
2014-10-14 3:26 ` Arthur Marsh
2014-10-14 7:01 ` Arthur Marsh
2014-10-14 7:12 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543BCDE9.7010308@internode.on.net \
--to=arthur.marsh@internode.on.net \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox