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

Openmoko Public Trac bugs at
Fri Oct 17 09:52:55 CEST 2008

#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:                
Blockedby:           |   Reproducible:  always        
 Blocking:           |  
 Steps to reproduce:
 1) wget
 2) arecord -c 1 -f S16_LE -c2 -r22050 | hexdump -C

 Expected results:
 2) audio is recorded and shown as hex

 Actual results:
 2) arecord prints

 Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 22050 Hz,
 ALSA lib pcm_params.c:2135:(snd1_pcm_hw_refine_slave) Slave PCM not usable
 arecord: set_params:896: Broken configuration for this PCM: no
 configurations available

 and dmesg shows "Unable to handle kernel NULL pointer dereference at
 virtual address 00000000"

 More info:
 1) I am using debian with linux from
 2) The complete kernel message is

 Unable to handle kernel NULL pointer dereference at virtual address
 pgd = c0004000
 [00000000] *pgd=00000000
 Internal error: Oops: 0 [#1] PREEMPT
 Modules linked in: snd_soc_neo1973_gta02_wm8753 snd_soc_s3c24xx_i2s
 snd_soc_s3c24xx snd_soc_wm8753 snd_soc_core snd_pcm snd_timer
 snd_page_alloc snd
 CPU: 0    Not tainted  (2.6.24 #1)
 PC is at __init_begin+0x3fff8000/0x34
 LR is at neo1973_gta02_hifi_hw_free+0x30/0x34
 pc : [<00000000>]    lr : [<bf041030>]    psr: a0000013
 sp : c7f07e48  ip : bf039160  fp : c7f07e54
 r10: bf03edc8  r9 : c7f06000  r8 : bf03c0b0
 r7 : c7d456c0  r6 : bf039160  r5 : bf042d80  r4 : c7d40600
 r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : bf039160
 Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
 Control: c000717f  Table: 37e38000  DAC: 00000015
 Process arecord (pid: 9281, stack limit = 0xc7f06268)
 Stack: (0xc7f07e48 to 0xc7f08000)
 7e40:                   c7f07e7c c7f07e58 bf02a6e4 bf041010 c7d456c0
 7e60: c7e74708 c7e85200 c7fd83a0 00000000 c7f07e94 c7f07e80 bf0194d4
 7e80: c7e85200 c7d456c0 c7f07ebc c7f07e98 bf019564 bf019494 c7fd83a0
 7ea0: c7fd83a0 c7fc2d24 c7875f40 c7c0db20 c7f07eec c7f07ec0 c0096470
 7ec0: 00000000 00000000 c6d08614 c7fd83a0 c7c2a9a0 00000000 c7e852a0
 7ee0: c7f07efc c7f07ef0 c0096864 c00963d0 c7f07f1c c7f07f00 c0093270
 7f00: 00000052 c7c2a9a0 00000001 00000010 c7f07f44 c7f07f20 c00484a0
 7f20: c0043d80 c7d24bc0 c7c2a9a0 00000100 000000f8 c00290e8 c7f07f5c
 7f40: c0048544 c0048428 00000001 c7d24bc0 c7f07f74 c7f07f60 c00499e4
 7f60: 00001008 402fd764 c7f07f94 c7f07f78 c0049fe8 c0049804 c7f07f9c
 7f80: 000931ac 402fd764 c7f07fa4 c7f07f98 c004a008 c0049f48 00000000
 7fa0: c0028f40 c004a000 000931d0 000931ac 00000001 00000001 fbad2088
 7fc0: 000931d0 000931ac 402fd764 000000f8 bef1af68 bef1aef8 fffffffe
 7fe0: 401b7380 bef1aef0 40208f84 4026bfb0 60000010 00000001 00000000
 [<bf041000>] (neo1973_gta02_hifi_hw_free+0x0/0x34
 [snd_soc_neo1973_gta02_wm8753]) from [<bf02a6e4>]
 (soc_pcm_hw_free+0x78/0xcc [snd_soc_core])
 [<bf02a66c>] (soc_pcm_hw_free+0x0/0xcc [snd_soc_core]) from [<bf0194d4>]
 (snd_pcm_release_substream+0x50/0x98 [snd_pcm])
 [<bf019484>] (snd_pcm_release_substream+0x0/0x98 [snd_pcm]) from
 [<bf019564>] (snd_pcm_release+0x48/0x8c [snd_pcm])
 [<bf01951c>] (snd_pcm_release+0x0/0x8c [snd_pcm]) from [<c0096470>]
  r8:c7c0db20 r7:c7875f40 r6:c7fc2d24 r5:c7fd83a0 r4:00000008
 [<c00963c0>] (__fput+0x0/0x194) from [<c0096864>] (fput+0x34/0x38)
  r8:00000000 r7:c7e852a0 r6:00000000 r5:c7c2a9a0 r4:c7fd83a0
 [<c0096830>] (fput+0x0/0x38) from [<c0093270>] (filp_close+0x7c/0x88)
 [<c00931f4>] (filp_close+0x0/0x88) from [<c00484a0>]
  r6:00000010 r5:00000001 r4:c7c2a9a0
 [<c0048418>] (put_files_struct+0x0/0xdc) from [<c0048544>]
  r8:c00290e8 r7:000000f8 r6:00000100 r5:c7c2a9a0 r4:c7d24bc0
 [<c00484f4>] (__exit_files+0x0/0x54) from [<c00499e4>]
  r5:c7d24bc0 r4:00000001
 [<c00497f4>] (do_exit+0x0/0x744) from [<c0049fe8>]
 [<c0049f38>] (do_group_exit+0x0/0xb8) from [<c004a008>]
  r6:402fd764 r5:000931ac r4:000931d0
 [<c0049ff0>] (sys_exit_group+0x0/0x1c) from [<c0028f40>]
 Code: bad PC value.
 ---[ end trace e31040251ef66513 ]---
 Fixing recursive fault but reboot is needed!

 Please let me know if you are unable to reproduce this with some version
 of linux. I am more than happy to provide more info (and compile new
 version if you have suggested patches).

Ticket URL: <> <>
openmoko trac

More information about the devel mailing list