All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Takashi Iwai <tiwai@suse.de>, g@x4.alsa-project.org
Cc: alsa-devel@alsa-project.org
Subject: Re: ALSA hang on 4.13.0-rc7
Date: Wed, 30 Aug 2017 15:04:44 +0200	[thread overview]
Message-ID: <20170830130444.GA288@x4> (raw)
In-Reply-To: <s5hbmmx5i4z.wl-tiwai@suse.de>

On 2017.08.30 at 14:56 +0200, Takashi Iwai wrote:
> On Wed, 30 Aug 2017 14:33:36 +0200,
> Takashi Iwai wrote:
> > 
> > On Wed, 30 Aug 2017 14:26:51 +0200,
> > Markus Trippelsdorf wrote:
> > > 
> > > On 2017.08.30 at 13:46 +0200, Takashi Iwai wrote:
> > > > On Wed, 30 Aug 2017 13:42:41 +0200,
> > > > Markus Trippelsdorf wrote:
> > > > > 
> > > > > On 2017.08.30 at 13:34 +0200, Takashi Iwai wrote:
> > > > > > On Wed, 30 Aug 2017 13:33:40 +0200,
> > > > > > Markus Trippelsdorf wrote:
> > > > > > > 
> > > > > > > On 2017.08.30 at 13:23 +0200, Takashi Iwai wrote:
> > > > > > > > On Wed, 30 Aug 2017 12:03:34 +0200,
> > > > > > > > Markus Trippelsdorf wrote:
> > > > > > > > > 
> > > > > > > > > On my system ALSA sometimes hangs:
> > > > > > > > > 
> > > > > > > > >  sysrq: SysRq : Show Blocked State                                         
> > > > > > > > >    task                        PC stack   pid father                       
> > > > > > > > >  output:ALSA def D    0   171      1 0x00000000                            
> > > > > > > > >  Call Trace:                  
> > > > > > > > >   ? __schedule+0x17c/0x720    
> > > > > > > > >   ? schedule_preempt_disabled+0x2d/0x80                                    
> > > > > > > > >   ? __mutex_lock_slowpath+0x141/0x420                                      
> > > > > > > > >   ? snd_pcm_common_ioctl1+0x2f/0x1400                                      
> > > > > > > > >   ? snd_pcm_common_ioctl1+0x2f/0x1400                                      
> > > > > > > > >   ? snd_card_file_remove+0x76/0x120                                        
> > > > > > > > >   ? snd_pcm_playback_ioctl+0x1c7/0x560                                     
> > > > > > > > >   ? dput+0xb6/0x1e0           
> > > > > > > > >   ? SyS_ioctl+0xa7/0x860      
> > > > > > > > >   ? task_work_run+0x70/0xa0   
> > > > > > > > >   ? entry_SYSCALL_64_fastpath+0x13/0x94  
> > > > > > > > > 
> > > > > > > > > Only a reboot will fix the issue.
> > > > > > > > 
> > > > > > > > Is this a regression?
> > > 
> > > The issue started with:
> > > 
> > > commit 68b4acd322494444803a3f49884ae889c8ec6689 (HEAD, refs/bisect/bad)
> > > Author: Takashi Iwai <tiwai@suse.de>
> > > Date:   Tue May 24 15:07:39 2016 +0200
> > > 
> > >     ALSA: pcm: Apply power lock globally to common ioctls
> > 
> > Thanks, that looks fitting with your problem description.
> > I'll take a deeper look.
> 
> Could you try the patch below?

Yes, it fixes the problem.
Thanks.

-- 
Markus

  reply	other threads:[~2017-08-30 13:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 10:03 ALSA hang on 4.13.0-rc7 Markus Trippelsdorf
2017-08-30 10:05 ` Markus Trippelsdorf
2017-08-30 10:15   ` Markus Trippelsdorf
2017-08-30 11:23 ` Takashi Iwai
2017-08-30 11:33   ` Markus Trippelsdorf
2017-08-30 11:34     ` Takashi Iwai
2017-08-30 11:42       ` Markus Trippelsdorf
2017-08-30 11:46         ` Takashi Iwai
2017-08-30 12:26           ` Markus Trippelsdorf
2017-08-30 12:33             ` Takashi Iwai
2017-08-30 12:56               ` Takashi Iwai
2017-08-30 13:04                 ` Markus Trippelsdorf [this message]
2017-08-30 13:13                   ` qTakashi 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=20170830130444.GA288@x4 \
    --to=markus@trippelsdorf.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=g@x4.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.