Version 3 (modified by jazz, 17 years ago) (diff) |
---|
krg64 note
Instruction
This krg2.2.1 patch memo is for debian4.0 etch amd64 (kernel_2.6.20),and please take Rock Kuo's How to deploy kerrighed nodes massively using DRBL ? for the primary installation guide based on what you have to run on 64-bit machines.
You can download some related files(Like:kernel config file,intel e1ooo driver,and libraries from ticket 2
Memo
After kerrighed 2.2.1 patched to kernel 2.6.20.
Source: /linux-2.6.20-krg/include/linux/ipc_util.h
Add: #include <linux/init.h>
Source: /linux-2.6.20-krg/include/kerrighed/sched.h & /kerrighed/epm.c
Add:
#include <kerrighed/syscalls.h>
#include <kerrighed/signal.h>
#include <kerrighed/sched.h>
Source: /linux-2.6.20-krg/kerrighed/mm.c
Add:
#include <asm/tlbflush.h>
Source:/usr/src/kerrighed-2.2.1/modules/rpc/rpclayer.c -> modify 386~392行
Solution:
memcpy(data, desc_recv->iter->data, desc_recv->iter->size);
}else {
printk(”unsufficient room for received packet (%d %lu-%lu)!\n”,
desc->rpcid, desc->desc_id, desc_recv->iter->seq_id);
BUG();
}
Caution
Current Problem:
Q: kerrighed: Unknown symbol alloc_page_vma
Sol: CONFIG_NUMA is not set
Q: kerrighed: Unknown symbol free_ipc_ns
Sol: CONFIG_IPC_NS is not set
PS:
If you met TPIC problem , and the network adapter is Intel® PRO/1000 PT Dual Port Server Adapter.Recommand to update the driver with network option “e1000″ built in module in kernel options,and close TPIC options.