|
请教各位大哥:
驱动insmod成功,也创建了节点,但是open就出现错误。内核版本2.6.18,pxa270的片子。
Unable to handle kernel NULL pointer dereference at virtual address 00000019
pgd = c0b7c000
[00000019] *pgd=a0385031, *pte=00000000, *ppte=00000000
Internal error: Oops: f3 [#1]
Modules linked in: spi
CPU: 0
PC is at do_sys_open+0x7c/0xe4
LR is at mntput_no_expire+0x1c/0x8c
pc : [] lr : [] Not tainted
sp : c0b19f6c ip : c0b19ea8 fp : c0b19f94
r10: c0a60000 r9 : c0b18000 r8 : 00000011
r7 : 00000000 r6 : 00000003 r5 : 000001b6 r4 : 00000000
r3 : c02c02c8 r2 : 00000000 r1 : a0000093 r0 : 00000003
Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 397F Table: A0B7C000 DAC: 00000015
Process cat (pid: 932, stack limit = 0xc0b18258)
Stack: (0xc0b19f6c to 0xc0b1a000)
9f60: c0b19f78 00090050 00000008 00090050 00000005
9f80: c001ef04 401fcaac c0b19fa4 c0b19f98 c006dc34 c006db38 00000000 c0b19fa8
9fa0: c001ed60 c006dc1c 00090050 00000008 be9f4ee9 00000000 000001b6 00000000
9fc0: 00090050 00000008 00090050 00000008 000782d8 00000001 401fcaac be9f4d80
9fe0: 00000000 be9f4d40 00004054 4019c250 60000010 be9f4ee9 00000000 00000000
Backtrace:
[] (do_sys_open+0x0/0xe4) from [] (sys_open+0x24/0x28)
[] (sys_open+0x0/0x28) from [] (ret_fast_syscall+0x0/0x2c)
Code: 0a000002 ebffffc4 e1a06008 ea000012 (e5980008)
Segmentation fault
麻烦各位啦。。谢谢!
|
|