天嵌 ARM开发社区

 找回密码
 注册
查看: 2159|回复: 1

USB设备驱动移植的问题

[复制链接]
coolestlhl 发表于 2009-12-26 09:48:10 | 显示全部楼层 |阅读模式
大家有没有做了天嵌USB设备驱动移植那部分的
我做到第14.5步的时候
输入 insmod / lib/g_file_storage.ko file=/dev/mtdblock2 removable=1
的时候出现下面错误
Unable to handle kernel paging request at virtual address e24cb04c
pgd = c39f4000
[e24cb04c] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in: g_file_storage(+) ov9650 input_polldev
CPU: 0    Not tainted  (2.6.30.4-EmbedSky #5)
PC is at get_device_parent+0x48/0x110
LR is at device_add+0xa0/0x550
pc : [<c01609e0>]    lr : [<c0161818>]    psr: 60000013
sp : c394fe28  ip : 00000000  fp : c394fecc
r10: bf06ab50  r9 : c0379400  r8 : c0022fc8
r7 : bf06abb4  r6 : 00000000  r5 : c3849628  r4 : c0379408
r3 : 00000000  r2 : bf06415c  r1 : e24cb004  r0 : c3849628
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: c000717f  Table: 339f4000  DAC: 00000015
Process insmod (pid: 1000, stack limit = 0xc394e268)
Stack: (0xc394fe28 to 0xc3950000)
fe20:                   c3849600 c3849628 00000000 c0161818 00000000 00000021
fe40: c0022fc8 c0128fdc c3849600 c3849628 00000000 c3849600 c3849628 00000000
fe60: bf06abb4 c0022fc8 c3849700 bf06ab50 c394fecc bf06d70c c03aa2d4 c0279ffc
fe80: 00000000 c0379400 c03aa2d4 c0161798 c39ef930 c03793e0 c0379400 c3849710
fea0: 60000013 c03792c0 00000000 bf06ab30 c0379400 c0022fc8 bf06d0fc c037ff20
fec0: c394ff04 c394fed0 c01bf4f4 bf06d46c bf06ae00 c3849700 c3849710 c394e000
fee0: c0022fc8 bf06d15c 000098b1 001defa8 bf06acf4 c394e000 00000000 c394ff08
ff00: c002229c bf06d10c c4886734 c488684c c488648c c48863a4 c397fb80 c4888d64
ff20: 00000018 0000000a 00000120 00000002 00000002 c4886874 c0367658 00000000
ff40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff60: 000098b1 000098b1 001defa8 bf06acf4 00000000 c0022fc8 c394e000 00000000
ff80: bed8be64 c0066df4 00000003 ffffffff 001defd0 000098b1 001defc8 bed8bf47
ffa0: 00000080 c0022e20 000098b1 001defc8 001defd0 000098b1 001defa8 bed8bf47
ffc0: 000098b1 001defc8 bed8bf47 00000080 00000000 00000004 00000000 bed8be64
ffe0: bed8bc90 bed8bc80 0002b9c4 00009310 20000010 001defd0 ffffffff fff7ffff
[<c01609e0>] (get_device_parent+0x48/0x110) from [<c0161818>] (device_add+0xa0/0x550)
[<c0161818>] (device_add+0xa0/0x550) from [<bf06d70c>] (fsg_bind+0x2b0/0xa4c [g_file_storage])
unwind: Index not found bf06d70c
Code: e3530000 0a000025 e5944010 e592102c (e5b13048)
---[ end trace 2825e5ba73b9fcce ]---
Segmentation fault

希望大家 帮帮 我 o(∩_∩)o...
亚瑟王 发表于 2009-12-26 16:22:24 | 显示全部楼层
怀疑你配置内核的问题,
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-6-27 03:38 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表