QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1900|回复: 1

2.6内核上的ixp425 npe支持

[复制链接]
发表于 2006-8-10 17:04:07 | 显示全部楼层 |阅读模式
请问有人做过吗? intel出的CSR2.1.1只支持monta vista linux,对于kernel.org上面的内核,有什么办法吗?
 楼主| 发表于 2006-8-11 17:41:32 | 显示全部楼层
昨天捣鼓了一天,虽然用CSR2.1.1配合2.6.17编译出来了,但用起来不好使:
kernel boot起来之后
1)加载文件系统proc
>mount -t proc proc /proc
2)加载ixp400.ko
>insmod ixp400.ko
3)下载microcode
>cat IxNpeMicrocode.dat > /dev/ixNpe
4)加载ixp400_eth.ko驱动
>insmod ixp400_eth.ko
5)ifconfig
>ifconfig ixp0 192.168.1.111
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~如果不插网线,我用ping -c 4 192.168.1.111是失败的。我觉着这里好像就有问题;如果在这以后插上网线,kernel panic,好像是数据包的到来导致出错了。

出错信息如下:

/lib/modules/2.6.17/kernel/drivers/net # ifconfig ixp0 192.168.1.111
/lib/modules/2.6.17/kernel/drivers/net # Unable to handle kernel paging request at virtual address 0006b91b
pgd = c0004000
[0006b91b] *pgd=00000000
Internal error: Oops: f3 [#1]
Modules linked in: ixp400_eth ixp400
CPU: 0
PC is at ixEthRxFrameProcess+0x4/0x1dc [ixp400]
LR is at ixEthRxPriorityPoll+0x134/0x1f0 [ixp400]
pc : [<bf01637c>]    lr : [<bf016688>]    Tainted: PF
sp : c0229c98  ip : 60000093  fp : 00000080
r10: 00000001  r9 : bf090514  r8 : c0229cb4
r7 : 00000000  r6 : 00000000  r5 : 0006b8db  r4 : 00000001
r3 : 00000001  r2 : 00000000  r1 : 0006b8db  r0 : 00000001
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 39FF  Table: 03A64000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc022819
Stack: (0xc0229c98 to 0xc022a000)
9c80:                                                       00000001 0006b8db
9ca0: 00000000 bf016688 00000000 03af8ba1 00000000 00000000 00000001 00000000
9cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c027d508
9d20: c0229d40 c0229d30 c0039e2c c0039cf8 c032a820 c0229d6c c0229d44 c003a0ac
9d40: c0039e14 80000093 c0229d74 c0229d58 c0046cc8 c0046af0 a0000013 c35820d8
9d60: 00000009 0000000a c022ad20 c0229da4 c0229d7c c0229d74 c0229d74 c022ad20
9d80: 00000000 c0229e68 00000005 c0229e68 0000001f c027c000 c0229dbc c0229da8
9da0: c0047114 c0053390 c0229e68 c02829b0 c0229dd8 c0229dc0 c002c684 c00470b8
9dc0: c027d3a8 c02829b0 c0229e68 c0229df4 c0229ddc c0032f04 c002c5c8 c022c324
9de0: 00000000 00000000 c0229e10 c027d508 c0229e10 c0229e00 c0039e2c c0039cf8
9e00: c032a580 c0229e3c c0229e14 c003a0ac c0039e14 20000093 00000001 00000000
9e20: c03366b0 c03366b0 00000000 00000003 c0229e4c c0229e40 c003aab0 00000000
9e40: c0229e68 c027d508 c0229e68 c0229e58 00002f7a c022ad20 c0229e90 c0229e68
9e60: c0229e60 c0229e60 c022ad20 00000000 c0229f54 00000005 c0229f54 690541c1
9e80: c027c000 c0229ea8 c0229e94 c0047114 c0053390 00000001 c02829f4 c0229ed0
9ea0: c0229eac c002c36c c0032e8c 00000000 c35a9580 00000000 00000000 00000012
9ec0: c0229f54 690541c1 c027c000 c0229ee0 bf0fc698 c0229f04 c0229ee4 c0028898
9ee0: bf0fc680 c027c3f0 00000012 c0229f54 c0292108 c0229f54 c0229f20 c0229f08
9f00: c0028ae0 c0028858 c027c3f0 0000001f 00040000 c0229f50 c0229f24 c0028b7c
9f20: c0028a80 c0229f60 c0229f34 ffffffff 0000001f 00040000 c0292108 000232a8
9f40: 0002314c c0229fc0 c0229f54 c0027824 c0028b3c c0024c60 c027d508 00000000
9f60: 00000000 c0029470 c0228000 c0284f28 c0292108 000232a8 690541c1 0002314c
9f80: c0229fc0 c0229fac c0229f9c c0029504 c0029478 60000013 ffffffff c0229fc0
9fa0: c0229fac c0029504 c002947c 00000000 c027bbbc c0229fd0 c0229fc4 c0027024
9fc0: c00294c8 c0229ff4 c0229fd4 c00089a8 c002700c c0008464 c027cee8 000039fd
9fe0: c027ce88 c022bb0c 00000000 c0229ff8 00008030 c00087e8 00000000 00000000
Backtrace: invalid frame pointer 0x00000080
Code: bf016978 bf016b14 bf016744 e92d4070 (e5912040)
<0>Kernel panic - not syncing: Aiee, killing interrupt handler!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-26 06:05 , Processed in 0.044463 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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