Openmoko Bug #2073: voice-recording.state + arecord: Unable to handle kernel NULL pointer dereference at virtual address 00000000

Openmoko Public Trac bugs at docs.openmoko.org
Tue Jan 13 13:37:43 CET 2009


#2073: voice-recording.state + arecord: Unable to handle kernel NULL pointer
dereference at virtual address 00000000
---------------------+------------------------------------------------------
 Reporter:  lindi    |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:                
Component:  unknown  |        Version:                
 Severity:  normal   |       Keywords:                
 Haspatch:  0        |      Blockedby:                
Estimated:           |    Patchreview:                
 Blocking:           |   Reproducible:  always        
---------------------+------------------------------------------------------

Comment(by lindi):

 With

 {{{
 1) alsactl -f voice-recording.state restore
 2) arecord -c 1 -f S16_LE -c2 -r22050
 }}}

 I see that in

 {{{
 runtime->hw.rates =
     codec_dai->capture.rates & cpu_dai->capture.rates;
 }}}

 of soc-core.c

 {{{
 codec_dai->capture.rates == 0x00000000
 cpu_dai->capture.rates == 0x000006fe
 }}}

 when arecord tries to open the device. It also seems that
 neo1973_gta02_hifi_hw_params of neo1973_gta02_wm8753.c is not
 called. If run arecord first then this function is called.

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


More information about the buglog mailing list