Re: Re: [lkcd-devel] [PATCH] LKCD patch for IPF(IA64) Update
Guy Sauvebois <[email protected]> Mon, 15 Mar 2004 13:51:51 +0100
| Newsgroups | gmane.linux.lkcd.general |
|---|---|
| Message-ID | <[email protected]> |
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 > > > > Sent by: [email protected] > > To: AKIYAMA Nobuyuki <[email protected]> > cc: [email protected], > [email protected] > Subject: Re: [lkcd-devel] [PATCH] LKCD patch for IPF(IA64) Update > > > > Hi, > I used your patches to build a 2.6 kernel for an itanium 2 > machine and lkcdutils too (including dwarf2). > Everything work fine if I run lcrash on /dev/mem or a dump > without module loaded. > But if I load a module (with insmod for example) I get running > lcrash the following messages : > > map = /boot/System.map > dump = /dev/mem > kerntypes = /boot/Kerntypes > > > Please wait... > Check dump architecture: > Warning: Unknown magic number in dump header. > Warning: Unknown dump arch. Setting dump arch to host arch. > Init host arch specific data ... Done. > Init dump arch specific data ... Done. > Loading system map ... Done. > Set dump specific data ... Done. > Loading type info (Kerntypes) ... Done. > Version of map,dump and types: > tigre1_frec_bull_fr_Thu_Mar_11_12_34_30_CET_2004 > Loading ksyms from dump ... Failed. > > invalid address mapping > > any idea ??? > thanks > regards > > Guy Sauvebois > > > AKIYAMA Nobuyuki wrote: > > Hi, > > > > I update the LKCD patch for IPF(IA64). From this patch, > > the Dwarf2 format has been supported. > > - 2.6.2 kernel support > > - "dis" command support > > - fix the bug of alt-sysrq-d. > > Please try these patches. > > > > Attached Files: > > 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 latest patch of LKCD from cvs > > 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 latest lkcdutils source > > 2. Apply lkcdutils_dwarf2.patch > > 3. configure --pgsize=<value of page size> > > default value is 4096 if not specified. > > Note: > > --pgsize 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 > > > -- > Guy Sauvebois tel:229 7978 ou 04 76 29 70 81 > email: [email protected] > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > lkcd-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lkcd-devel > -- Guy Sauvebois tel:229 7978 ou 04 76 29 70 81 email: [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click