[root@FriendlyARM /Zhanguser]# ./Zhanguser
Start DS18B20
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3b98000
[00000000] *pgd=33bc3031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
last sysfs file: /sys/devices/virtual/vc/vcsa4/dev
Modules linked in: Zhangdevdriver
CPU: 0 Not tainted (2.6.32.2-FriendlyARM #8)
PC is at DS18B20_process+0x68/0x8c [Zhangdevdriver]
LR is at DS18B20_read+0x78/0x90 [Zhangdevdriver]
pc : [<bf000378>] lr : [<bf00026c>] psr: 60000013
sp : c3b7ff28 ip : c3b7ff10 fp : c3b7ff3c
r10: 00000000 r9 : c3b7e000 r8 : c0030088
r7 : 00000003 r6 : c3b7ff78 r5 : 00000000 r4 : bf000678
r3 : 0000e9ff r2 : 000001ed r1 : fd060138 r0 : 00000050
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: c000717f Table:
Start DS18B20
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3b98000
[00000000] *pgd=33bc3031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
last sysfs file: /sys/devices/virtual/vc/vcsa4/dev
Modules linked in: Zhangdevdriver
CPU: 0 Not tainted (2.6.32.2-FriendlyARM #8)
PC is at DS18B20_process+0x68/0x8c [Zhangdevdriver]
LR is at DS18B20_read+0x78/0x90 [Zhangdevdriver]
pc : [<bf000378>] lr : [<bf00026c>] psr: 60000013
sp : c3b7ff28 ip : c3b7ff10 fp : c3b7ff3c
r10: 00000000 r9 : c3b7e000 r8 : c0030088
r7 : 00000003 r6 : c3b7ff78 r5 : 00000000 r4 : bf000678
r3 : 0000e9ff r2 : 000001ed r1 : fd060138 r0 : 00000050
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: c000717f Table: