请教下:我的环境是 S3C2410+LINUX2.6.14,目前,SD卡和USB都可以用,现在遇到个问题,就是: 把SD卡挂到PC上当普通的U盘使用,读写都没有问题insmod g_file_storage.ko file=/dev/mmc/blk0/part1 stall=0 removable=1 。 但是,当卸载模块的时候就跑飞了:rmmod g_file_storage 后,kernel 就飞了: Badness in kref_get at lib/kref.c:32 Unable to handle kernel NULL pointer dereference at virtual address 00000008 pgd = c3fe4000 [00000008] *pgd=33f99031, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#1] Modules linked in: g_file_storage CPU: 0 PC is at sysfs_hash_and_remove+0xc/0x150 LR is at sysfs_remove_link+0x14/0x18 pc : [<c00b172c>] lr : [<c00b34a0>] Not tainted sp : c3db5ea4 ip : c3db5ec4 fp : c3db5ec0 r10: beb07c58 r9 : c3db4000 r8 : c0221504 r7 : 00000000 r6 : c024eaa0 r5 : bf006980 r4 : c024ea38
还请各位大侠多多指点啊,先谢谢了!!! QQ 77291408 gg940231@163.com
|