全部博文(50)
分类: 嵌入式
2010-07-20 14:49:16
chinaunix网友2011-06-02 08:29:36
我测试上面的驱动时出现,请问什么原因呢?
[root@MY2410 bin]# ./my2410b_adc_test
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3af8000
[00000000] *pgd=33845031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.30.4 #27)
PC is at __wake_up_common+0xc/0x78
LR is at __wake_up+0x28/0x34
pc : [
chinaunix网友2011-06-02 08:29:14
我测试上面的驱动时出现,请问什么原因呢?
[root@MY2410 bin]# ./my2410b_adc_test
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3af8000
[00000000] *pgd=33845031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.30.4 #27)
PC is at __wake_up_common+0xc/0x78
LR is at __wake_up+0x28/0x34
pc : [
chinaunix网友2011-06-02 08:28:57
我测试上面的驱动时出现,请问什么原因呢?
[root@MY2410 bin]# ./my2410b_adc_test
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3af8000
[00000000] *pgd=33845031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.30.4 #27)
PC is at __wake_up_common+0xc/0x78
LR is at __wake_up+0x28/0x34
pc : [
chinaunix网友2011-05-21 13:16:44
我仔细跟踪下去,看了rtc_device_register的代码,它调用了device_register()、rtc_dev_add_device()。device_register()调用device_add()->devtmpfs_create_node(),rtc_dev_add_device()会调用cdev_add(),请/dev/目录下的文件到底是由谁创建的呢?以及devtmpfs_create_node与cdev_add之间有无关系?谢谢