weakiss 发表于 2004-11-12 11:08:44

请问一个关于网卡虚拟的问题

用的内核是linux-2.6.0的,已经能在ep7312的实验板跑的系统
前面出过问题,经过各位的指导,
在修改了Skyeye_mach_ep7312.c之后
成功在skyeye上跑起.
现在想加入网络模块.
请问该如何移植?
那个installguild.txt是关于uClinux的
我用了个偷梁换柱的办法,把skyeyene2k.c换成其中一个网络设备
然后编译成模块,然后放在ram盘里insmod
出现下面的错误
$ insmod skyeyene2k.o
after __do_page_fault vma=0
Unable to handle kernel paging request at virtual address c1201000
pgd = c04e0000
*pgd=00000000
Internal error: Oops: 817 [#1]
CPU: 0
PC is at .cfu_0fupi+0x10/0x38
LR is at load_module+0x88/0x92c
pc : [<c00c1438>]    lr : [<c0063434>]    Not tainted
sp : c06adee0ip : 00000000fp : c06adf84
r10: c1201000r9 : 00058008r8 : c003a284
r7 : 00000080r6 : c0116a48r5 : 40013000r4 : 00001340
r3 : 464c457fr2 : 0000133cr1 : 40013004r0 : c1201000
Flags: nzCvIRQs onFIQs onMode SVC_32Segment user
Control: 717FTable: C04E0000DAC: 00000015
Process insmod (pid: 13, stack limit = 0xc06ac0ec)
Stack: (0xc06adee0 to 0xc06ae000)
dee0: c1201000 00001340 00001340 40013000 c0116a48 00000080 c0063434 c0075b08
df00: c0520a30 000000d1 c06f2734 00000000 00000000 c06ac000 00000000 00000001
df20: c0520a30 c0520a38 c0520a18 00000001 c06f2734 c06ac000 00000001 c06f2734
df40: c06ac000 40013000 c06adfa4 00000000 c003e4a4 c0081a98 00000001 00000003
df60: 00000000 c0116a48 00000080 c003a284 c06ac000 00000002 c06adfa4 c06adf88
df80: c0063d4c c00633b8 00000003 00000000 00000100 00000080 00000000 c06adfa8
dfa0: c003a100 c0063ce4 00000000 00000100 00900080 40013000 00001340 00058008
dfc0: 00000003 00000000 00000100 beffff04 beffffbf 0000b4e0 00000002 0004dea4
dfe0: befffe44 befffe38 00022e94 400d50f0 60000010 00900080 e7e62338 3f5fe83d
Backtrace:
[<c00633ac>] (load_module+0x0/0x92c) from [<c0063d4c>] (sys_init_module+0x74/0x2f8)
[<c0063cd8>] (sys_init_module+0x0/0x2f8) from [<c003a100>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000080r6 = 00000100r5 = 00000000r4 = 00000003
Code: e2522004 4282c004 4a00001b e4b13004 (e4803004)
Segmentation fault

chyyuu 发表于 2004-11-12 22:41:58

康烁做过类似的实验。可以给康烁发email问问。

chyyuu 发表于 2004-11-12 22:45:02

如果实验成功了。请告诉我们!如果修改了skyeye,我会添加到skyeye中!

chyyuu 发表于 2004-11-12 22:45:54

如果实验成功了。请告诉我们!如果修改了skyeye,我会添加到skyeye中!
页: [1]
查看完整版本: 请问一个关于网卡虚拟的问题