Openmoko Bug #2179: GTA02 ASoC capture kernel oops

7 messages Options
Embed this post
Permalink
Openmoko Public Trac

Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
#2179: GTA02 ASoC capture kernel oops
-----------------------------+----------------------------------------------
 Reporter:  laforge          |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:  FSO            
Component:  System Software  |        Version:  current svn head
 Severity:  normal           |       Keywords:  asoc capture    
 Haspatch:  0                |      Blockedby:                  
Estimated:                   |    Patchreview:                  
 Blocking:                   |   Reproducible:  always          
-----------------------------+----------------------------------------------
 When trying to use the GTA02 to capture PCM data, the stable-tracking
 kernel oopses.

 The following steps can be used to reproduce this:

 $ wget http://wildsau.enemy.org/~moko/voice-recording.state
 $ alsactl -f voice-recording.state restore
 $ arecord -v -f cd -c 2 foo.wav
 Segmentation fault

 I will attach the kernel oops

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
#2179: GTA02 ASoC capture kernel oops
-----------------------------+----------------------------------------------
 Reporter:  laforge          |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:  FSO            
Component:  System Software  |        Version:  current svn head
 Severity:  normal           |       Keywords:  asoc capture    
 Haspatch:  0                |      Blockedby:                  
Estimated:                   |    Patchreview:                  
 Blocking:                   |   Reproducible:  always          
-----------------------------+----------------------------------------------

Comment(by laforge):

 there seem to be actually two independent problems

 1) the fact that there are no matching rates " WM8753 HiFi <-> s3c24xx-i2s
 No matching rates"

 2) the fact that this causes a kernel oops in the
 neo1973_gta02_hifi_hw_free() function.  This is caused by
 dai_ops.set_pll() == NULL, which in turn seems to be caused by the fact
 that snd_pcm_open_substream() is not finished (due to the 'no matching
 rate' bug above) and calls snd_pcm_release_substream() for a not fully
 opened substream.

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
In reply to this post by Openmoko Public Trac
#2179: GTA02 ASoC capture kernel oops
-----------------------------+----------------------------------------------
 Reporter:  laforge          |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:  FSO            
Component:  System Software  |        Version:  current svn head
 Severity:  normal           |       Keywords:  asoc capture    
 Haspatch:  0                |      Blockedby:                  
Estimated:                   |    Patchreview:                  
 Blocking:                   |   Reproducible:  always          
-----------------------------+----------------------------------------------

Comment(by erl):

 I think this is a dupe of bug #2073.

 It would be great if someone could raise the priority of this bug. It
 would be useful to debug microphone problems, hack VoIP, speech
 recognition and general audio recording stuff.

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179#comment:2>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
In reply to this post by Openmoko Public Trac
#2179: GTA02 ASoC capture kernel oops
-----------------------------+----------------------------------------------
 Reporter:  laforge          |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:  FSO            
Component:  System Software  |        Version:  current svn head
 Severity:  normal           |       Keywords:  asoc capture    
 Haspatch:  0                |      Blockedby:                  
Estimated:                   |    Patchreview:                  
 Blocking:                   |   Reproducible:  always          
-----------------------------+----------------------------------------------

Comment(by andy):

 I pinged Graeme about it yesterday if he's not able to look at it somebody
 else will.

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179#comment:3>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
In reply to this post by Openmoko Public Trac
#2179: GTA02 ASoC capture kernel oops
--------------------------------+-------------------------------------------
    Reporter:  laforge          |        Owner:  openmoko-kernel
        Type:  defect           |       Status:  closed          
    Priority:  normal           |    Milestone:  FSO            
   Component:  System Software  |      Version:  current svn head
    Severity:  normal           |   Resolution:  duplicate      
    Keywords:  asoc capture     |     Haspatch:  0              
   Blockedby:                   |    Estimated:                  
 Patchreview:                   |     Blocking:                  
Reproducible:  always           |  
--------------------------------+-------------------------------------------
Changes (by marek):

  * status:  new => closed
  * resolution:  => duplicate


Comment:

 duplicate of #2073

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179#comment:4>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
In reply to this post by Openmoko Public Trac
#2179: GTA02 ASoC capture kernel oops
--------------------------------+-------------------------------------------
    Reporter:  laforge          |        Owner:  openmoko-kernel
        Type:  defect           |       Status:  reopened        
    Priority:  normal           |    Milestone:  FSO            
   Component:  System Software  |      Version:  current svn head
    Severity:  normal           |   Resolution:                  
    Keywords:  asoc capture     |     Haspatch:  0              
   Blockedby:                   |    Estimated:                  
 Patchreview:                   |     Blocking:                  
Reproducible:  always           |  
--------------------------------+-------------------------------------------
Changes (by joerg):

  * status:  closed => reopened
  * resolution:  duplicate =>


Comment:

 made 2073 a dup of this

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Openmoko Public Trac

Re: Openmoko Bug #2179: GTA02 ASoC capture kernel oops

Reply Threaded More More options
Print post
Permalink
In reply to this post by Openmoko Public Trac
#2179: GTA02 ASoC capture kernel oops
--------------------------------+-------------------------------------------
    Reporter:  laforge          |        Owner:  openmoko-kernel
        Type:  defect           |       Status:  closed          
    Priority:  normal           |    Milestone:  FSO            
   Component:  System Software  |      Version:  current svn head
    Severity:  normal           |   Resolution:  duplicate      
    Keywords:  asoc capture     |     Haspatch:  0              
   Blockedby:                   |    Estimated:                  
 Patchreview:                   |     Blocking:                  
Reproducible:  always           |  
--------------------------------+-------------------------------------------
Changes (by joerg):

  * status:  reopened => closed
  * resolution:  => duplicate


Comment:

 an oops. closed again. sorry for the noise

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2179#comment:6>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac