[alsa-devel] Writing an AT91SAM9260-EK Dumb Codec Driver
Paul Kavan
pkavan at gmail.com
Mon Jun 18 19:07:53 CEST 2007
I now have the linux-2.6.22-rc1 kernel booting correctly without the aSoC
driver activated in .config. However, when I rebuild with the aSoC and then
boot, I get the following crash:
.snip.
Advanced Linux Sound Architecture Driver Version 1.0.14rc4 (Wed May 09
09:51:39 2007 UTC).
ASoC version 0.13.0
Unable to handle kernel NULL pointer dereference at virtual address 00000001
pgd = c0004000
[00000001] *pgd=00000000
Internal error: Oops: 801 [#1]
Modules linked in:
CPU: 0
PC is at grh_ek_w6811_init+0x4c/0x11c
LR is at __arm_ioremap_pfn+0x2cc/0x2ec
pc : [<c0019c44>] lr : [<c00285f4>] Not tainted
sp : c02e1f74 ip : 00000000 fp : c02e1f8c
r10: 00000000 r9 : 00000000 r8 : c02e0000
r7 : 00000000 r6 : c001d54c r5 : 00000000 r4 : 00000001
r3 : 00000000 r2 : 00000004 r1 : fffbf000 r0 : c4830000
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 5317F
Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc02e0258)
Stack: (0xc02e1f74 to 0xc02e2000)
1f60: c001e404 00000000
c001d54c
1f80: c02e1ff4 c02e1f90 c0008924 c0019c08 00000000 73f7f554 00000000
00000000
1fa0: 00000000 c02e1fb0 c0021ec4 c0032f70 00000000 00000000 c000886c
c0038d30
1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
1fe0: 00000000 00000000 00000000 c02e1ff8 c0038d30 c000887c 0987e45b
736275d9
Backtrace:
[<c0019bf8>] (grh_ek_w6811_init+0x0/0x11c) from [<c0008924>]
(kernel_init+0xb8/0x284)
r6:c001d54c r5:00000000 r4:c001e404
[<c000886c>] (kernel_init+0x0/0x284) from [<c0038d30>] (do_exit+0x0/0x7b4)
Code: e3a01901 e3a02000 eb003a74 e3500000 (e5840000)
Kernel panic - not syncing: Attempted to kill init!
.snip.
I am not the best at deciphering these, but I believe the error is in my
driver init function...and probably something to do with memory. Is anyone
better at analyzing these?
Thanks.
Paul
More information about the Alsa-devel
mailing list