Discussion:
PAE support for kernel 2.4.21
Hiroshi Nakano
2004-06-09 03:35:18 UTC
Permalink
Hello,

I am trying to use LKCD and lcrash on 2.4.21 kernel.
I specified HIGHMEM64=ON on .config and compiled it, but
error message was given. So I changed

1)include/asm/smp.h
 unsigned long cpu_online_map;
  → CHANGED TO - volatile unsigned long cpu_online_map;  

2)arch/i386/kernel/i386_ksysms.c
#ifdef CONFIG_HIGHMEM
EXPORT_SYMBOL(kmap_prot)
EXPORT_SYSMBOL (kmap_pte)
#endif
→ COMMENTED OUT these two sysmbol

After this, when I tried to use lcrash to the dump
gotton by this kernel,
following message was flashed.

Loading ksyms from dump ...
kl_page_i386.c:114:kl_map_virtop_i386(): vaddr: d088e000
kl_page_i386.c:117:kl_map_virtop_i386(): pgd_base: c0101000
kl_page_i386.c:61:_kl_pgd_offset_i386(): pgd_off: d08
kl_page_i386.c:119:kl_mmap_virtop_i386(): pmd_base: 0
kl_page_i386.c:215:kl_virtop_i386(): invalid pgd entry for vaddr=d088e000
Failed

invalid address mapping

When I tried it to /dev/mem (lcrash live), I got same error message.
Is there any patch to fix this? (in the sourceforge?).
Does someone have experience to use LKCD on PAE(64G) system?

Thank you , beforehand.

Regards,
Hiroshi Nakano


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
Hiroshi Nakano
2004-06-09 08:05:09 UTC
Permalink
Hello,

I'm sorry. I found

http://oss.software.ibm.com/linux/patches/lkcd/lkcdutils_pae.patch

Thank you very much. It worked.

Regards
Hiroshi Nakano
Post by Hiroshi Nakano
Hello,
I am trying to use LKCD and lcrash on 2.4.21 kernel.
I specified HIGHMEM64=ON on .config and compiled it, but
error message was given. So I changed
1)include/asm/smp.h
 unsigned long cpu_online_map;
  → CHANGED TO - volatile unsigned long cpu_online_map;  
2)arch/i386/kernel/i386_ksysms.c
#ifdef CONFIG_HIGHMEM
EXPORT_SYMBOL(kmap_prot)
EXPORT_SYSMBOL (kmap_pte)
#endif
→ COMMENTED OUT these two sysmbol
After this, when I tried to use lcrash to the dump
gotton by this kernel,
following message was flashed.
Loading ksyms from dump ...
kl_page_i386.c:114:kl_map_virtop_i386(): vaddr: d088e000
kl_page_i386.c:117:kl_map_virtop_i386(): pgd_base: c0101000
kl_page_i386.c:61:_kl_pgd_offset_i386(): pgd_off: d08
kl_page_i386.c:119:kl_mmap_virtop_i386(): pmd_base: 0
kl_page_i386.c:215:kl_virtop_i386(): invalid pgd entry for vaddr=d088e000
Failed
invalid address mapping
When I tried it to /dev/mem (lcrash live), I got same error message.
Is there any patch to fix this? (in the sourceforge?).
Does someone have experience to use LKCD on PAE(64G) system?
Thank you , beforehand.
Regards,
Hiroshi Nakano
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org

Loading...