阅读:1230回复:2
驱动移植之菜鸟问,大虾一定帮忙阿!谢啦!(急啊!!!)
我把pc(linux)上的一个驱动移植到coldfire(uClinux)上,编译已经通过,装载模块driver.o时出错如下:
/mine> insmod driver.o Using driver.o *** ILLEGAL INSTRUCTION *** FORMAT=4 Current process id is 0 BAD KERNEL TRAP: 00000000 PC: [<00000000>] SR: 2004 SP: 00525f00 a2: 00000000 d0: 00d00000 d1: 00000000 d2: 00000000 d3: 000dc07c d4: 00000021 d5: 00000000 a0: 00ddc07c a1: 00d00000 Process (pid: 0, stackpage=00525000) Frame format=4 Stack from 00525f3c: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Call Trace: Code: 0000 0000 0000 0400 0010 3aa8 0010 3d64 0010 3d64 Kernel panic: Attempted to kill the idle task! In idle task - not syncing *** ILLEGAL INSTRUCTION *** FORMAT=4 Current process id is 0 BAD KERNEL TRAP: 00000000 PC: [<00000000>] SR: 2004 SP: 00525d1c a2: 0057feec d0: 00002004 d1: 00000000 d2: 00000001 d3: 00000000 d4: 00000001 d5: fffffffe a0: 001f3de0 a1: 001d0950 Process (pid: 0, stackpage=00525000) Frame format=4 Stack from 00525d58: 00002004 00000000 00000001 fffffffe 00000003 00000000 00000000 00524000 00d00000 00514f74 00525d80 00525d80 00525d98 0010be14 00002004 00000000 00525db8 0010bcfe 00000000 00000001 fffffffe 00002704 00000000 001f31cc 00525dd4 0010ba54 001f31cc 001b7372 000dc07c 00000021 0010865c 00525e10 00103c1c 00000000 001b7372 000dc07c 00000021 00000000 001d0778 001d079c 0010865c 00002014 ffffffff 00000000 41202014 00107f96 00525e1c 0010a9c0 Call Trace: [<0010be14>] [<0010bcfe>] [<0010ba54>] [<001b7372>] [<0010865c>] [<00103c1c>] [<001b7372>] [<0010865c>] [<00107f96>] [<0010a9c0>] [<001b7372>] [<00102636>] [<001b64ab>] [<0010233a>] [<001b63e6>] [<001b63cc>] [<00102384>] [<0010be14>] [<0010bcfe>] [<0010ba54>] [<00103c1c>] [<00103dc8>] Code: 0000 0000 0000 0400 0010 3aa8 0010 3d64 0010 3d64 Kernel panic: Aiee, killing interrupt handler In interrupt handler - not syncing 请问这是什么问题?,该如何解决?谢谢拉!! |
|
沙发#
发布于:2003-08-06 09:25
你这是什么设备的驱动啊?
能看到源代码吗? |
|
|
板凳#
发布于:2003-08-15 11:49
你说的“装载模块driver.o”这个驱动是驱动什么的???
|
|