Hi, I have created a simple driver to implement mmap and an application program to uses the sys call mmap and tries writ/read data. The mmaped area is the RAM.(I am working on beagle board) This works fine when I execute my application program through the shell/console but fails (with the following error) to work when executed through an apk.
Unable to handle kernel NULL pointer dereference at virtual address 00000000 pgd = c7a30000 [00000000] *pgd=87a07031, *pte=00000000, *ppte=00000000 Internal error: Oops: 817 [#1] Modules linked in: simple CPU: 0 Not tainted (2.6.29-omap1-07182-gc3b6e50 #1) PC is at remap_pfn_range+0x198/0x200 LR is at remap_pfn_range+0xc8/0x200 pc : [<c008e318>] lr : [<c008e248>] psr: a0000013 sp : c470fe58 ip : c470fe58 fp : c470fe9c r10: 87df230f r9 : 80008000 r8 : c7a32000 r7 : 80008000 r6 : 00080001 r5 : 80000000 r4 : c7abb804 r3 : 00000000 r2 : 00080000 r1 : 8000030f r0 : c7abb800 Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Thanks in advance. -- Arun R Murthy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

