Perhaps I should also add my compile invoke (Codesourcery) :

arm-none-linux-gnueabi-gcc -Wall -c -O hello_timer.c -o hello_timer -v

And and an example of a segmentation fault I get on occasion :


Timer module Exited
Unable to handle kernel NULL pointer dereference at virtual address
00000062
pgd = c3450000
[00000062] *pgd=23cfd031, *pte=00000000, *ppte=00000000
Internal error: Oops: 1 [#1] PREEMPT
Modules linked in: [last unloaded: hello_timer]
CPU: 0    Tainted: G        W  (2.6.26.3-olimex #9)
PC is at free_module+0x38/0xe0
LR is at free_module+0x20/0xe0
pc : [<c005ff20>]    lr : [<c005ff08>]    psr: 20000013
sp : c3469f20  ip : c3469f20  fp : c3469f34
r10: 00900081  r9 : c3468000  r8 : c002530c
r7 : 00000880  r6 : 00000000  r5 : c3468000  r4 : bf0045e0
r3 : a0000013  r2 : c03959e0  r1 : c03959e0  r0 : 0000005e
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: 23450000  DAC: 00000015
Process rmmod (pid: 1408, stack limit = 0xc3468268)
Stack: (0xc3469f20 to 0xc346a000)
9f20: bf0045e0 c3468000 c3469fa4 c3469f38 c00618d0 c005fef8 c3469f84
6c6c6568 
9f40: 69745f6f 0072656d c0159db4 c0036f50 00000000 00000000 00001000
ffffffff 
9f60: 4012f63c 00020fb8 4012f63c 00000880 00000000 0012e000 bf0045e0
00000880 
9f80: c3469f84 00000000 beb9ad70 beb98558 beb98570 00000081 00000000
c3469fa8 
9fa0: c0024b00 c00616fc beb9ad70 beb98558 beb98558 00000880 0000000c
00000000 
9fc0: beb9ad70 beb98558 beb98570 00000003 00000880 00000000 00000000
beb9ade0 
9fe0: 400d4130 beb98550 00009028 400d4134 60000010 beb98558 00000000
00000000 
Backtrace: 
[<c005fee8>] (free_module+0x0/0xe0) from [<c00618d0>] (sys_delete_module
+0x1e4/0x20c)
r5:c3468000 r4:bf0045e0
[<c00616ec>] (sys_delete_module+0x0/0x20c) from [<c0024b00>]
(ret_fast_syscall+0x0/0x2c)
r7:00000081 r6:beb98570 r5:beb98558 r4:beb9ad70
Code: e121f003 e5940140 e3500000 0a000001 (e5901004) 
---[ end trace d30994dbcef2d362 ]---
Segmentation fault
sam9-l9260:/mnt/kris/olimex# 
sam9-l9260:/mnt/kris/olimex# lsmod
Module                  Size  Used by
[here the target hangs....]

Best regards,
Kris




On Thu, 2009-01-08 at 09:09 +1100, Microbit_Ubuntu wrote:





--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to