From: AKIYAMA N. <aki...@jp...> - 2004-05-13 02:25:51
|
Hi, I have updated LKCD patch for IPF(IA64) and drarf2 format support. I fixed the following bug. On Wed, 31 Mar 2004 13:38:28 +0900, AKIYAMA Nobuyuki wrote: >And I'll soon post a new IPF patch against the bug >mentioned below. > >On Mon, 15 Mar 2004 13:51:51 +0100, Guy Sauvebois wrote: > >>Hi, >>You're right. The bug is in kl_mem_ia64.h. KL_PAGE_SHIFT_IA64 define >>value is set to 13ULL and doesn't take care of config values (4k,8k,16k >>or 64k). >>Also VMALLOC_START_IA64 0xa000000000000000 has changed to >>0xa000000200000000 >> >>thanks >> >>guy >> >>Haren Myneni wrote: >>> >>> It looks like a bug in IA64 LCRASH - page table translation >>> (kl_page_ia64.c) You noticed this problem only with modules since the >>> module structures are allocated vmalloc space. Thus, LCRASH needs page >>> table access for memory translation. First, we should see whether macros >>> that are used for page table translation are correct both in LCRASH as >>> well as in the kernel. It is the common problem in LCRASH since we are >>> hard coding them in lkcdutils. >>> >>> Note that I never worked on IA64 LKCD, but giving my comments based on >>> my experience in other archs. You should verify kl_page_ia64.c, >>> kl_mem_ia64.c and linux/include/asm-ia64/pgtable.h (kernel source) for > >> page table translation. >>> >>> Thanks >>> Haren Attached File: The following files are included. - lkcd_ipf.patch This patch includes changes of LKCD for IPF support. - lkcdutils_dwarf2.patch patch of lkcdutils, including dwarf2 format support. How To Use: I) Make kernel 1. Download linux-2.6.2 source tree 2. Download the LKCD patch for linux-2.6.2 from cvs as follows. cvs -z3 -d:pserver:ano...@cv...:/cvsroot/lkcd co -r linux262 2.6 3. Apply the existing lkcd patch for linux-2.6.2 4. Apply lkcd_ipf.patch 5. Make and install kernel. 6. cp linux-2.6.2/init/kerntypes.o /boot/Kerntypes 7. cp linux-2.6.2/System.map /boot/System.map II) Make lkcdutils 1. Download the lkcdutils source for linux-2.6.2 as follows. cvs -z3 -d:pserver:ano...@cv...:/cvsroot/lkcd co -r linux262 lkcdutils 2. Apply lkcdutils_dwarf2.patch 3. configure --swp_hdr_size=<value of page size> default value is 4096 if not specified. Note: --swp_hdr_size indecates the size of the swap header. Its value is same as the PAGESIZE used by kernel 4. make and make install Best Regards, Nobuyuki Akiyama |