|
[root@x /sbin]# insmod ../lib/leds.ko
S3C2440 LEDS,(c)2010
Ledsinitialized
[root@x /sbin]# ledc 1 1
Unable to handle kernel NULL pointer dereference at virtual address 0000000d
pgd = c3ad0000
[0000000d] *pgd=339f5031, *pte=00000000, *ppte=00000000
Internal error: Oops: 13 [#6]
Modules linked in: leds [last unloaded: leds]
CPU: 0 Tainted: G D (2.6.31.5 #23)
PC is at do_sys_open+0x74/0x10c
LR is at mntput_no_expire+0x18/0x94
pc : [<c008bf48>] lr : [<c00a17e0>] psr: 00000013
sp : c3a9ff80 ip : 20000013 fp : beacbd34
r10: 00000003 r9 : c3a40000 r8 : 00000001
r7 : 00000000 r6 : ffffff9c r5 : 00000000 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 00000001
Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: c000717f Table: 33ad0000 DAC: 00000015
Process ledc (pid: 1016, stack limit = 0xc3a9e270)
Stack: (0xc3a9ff80 to 0xc3aa0000)
ff80: 00000000 000086fc 0000865c 00000000 00008498 00000005 c0024f48 c3a9e000
ffa0: 00000000 c0024da0 0000865c 00000000 000086fc 00000000 00000000 00000001
ffc0: 0000865c 00000000 00008498 00000005 00000000 00000000 40025000 beacbd34
ffe0: 00000000 beacbd18 000085f0 400efd8c 60000010 000086fc 00000b01 00001b02
[<c008bf48>] (do_sys_open+0x74/0x10c) from [<c0024da0>] (ret_fast_syscall+0x0/0x2c)
Code: e1a0000a ebffff64 e1a0a008 ea00001e (e590400c)
---[ end trace d37a738d9c092063 ]---
Segmentation fault
我的驱动设备名称是:Leds
驱动模块是:leds.ko(已加载)
应用程序是:ledc |
|