You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
(147) |
May
(104) |
Jun
(587) |
Jul
(83) |
Aug
(270) |
Sep
(1) |
Oct
(133) |
Nov
(353) |
Dec
(129) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(15) |
Feb
(31) |
Mar
(32) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(22) |
Dec
|
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:50
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-i386 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10951/3.0/2.6/include/asm-i386 Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-i386 added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:44
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10933/3.0/2.6/include Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/include added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:37
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/arch/x86_64/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10915/3.0/2.6/arch/x86_64/kernel Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/arch/x86_64/kernel added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:30
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/arch/x86_64 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10894/3.0/2.6/arch/x86_64 Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/arch/x86_64 added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:22
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/arch/i386/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10866/3.0/2.6/arch/i386/kernel Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/arch/i386/kernel added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:15
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/arch/i386 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10835/3.0/2.6/arch/i386 Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/arch/i386 added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:24:08
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/arch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10697/3.0/2.6/arch Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6/arch added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:23:59
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10672/3.0/2.6 Log Message: Directory /cvsroot/mkdump/mkexec/3.0/2.6 added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-14 05:23:20
|
Update of /cvsroot/mkdump/mkexec/3.0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10514/3.0 Log Message: Directory /cvsroot/mkdump/mkexec/3.0 added to the repository |
From: Itsuro O. <od...@us...> - 2006-02-09 23:46:25
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17361/include/linux Modified Files: cpus.h Log Message: for x86_64 before 2.6.9 Index: cpus.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/linux/cpus.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** cpus.h 11 Jan 2006 00:09:35 -0000 1.7 --- cpus.h 9 Feb 2006 23:46:17 -0000 1.8 *************** *** 51,60 **** #define ARCH_BAD_APICID (0xffff) #error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64" ! #elif defined(CONFIG_x86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) #define arch_cpu_to_apicid x86_cpu_to_apicid #define ARCH_BAD_APICID (0xff) #endif ! #if defined(CONFIG_IA64) || defined(CONFIG_X86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) static inline u8 convert_apicid_to_cpu(u16 apic_id) { --- 51,60 ---- #define ARCH_BAD_APICID (0xffff) #error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64" ! #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9) #define arch_cpu_to_apicid x86_cpu_to_apicid #define ARCH_BAD_APICID (0xff) #endif ! #if defined(CONFIG_IA64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) static inline u8 convert_apicid_to_cpu(u16 apic_id) { *************** *** 81,85 **** return convert_apicid_to_cpu(apic_id); } ! #else /* i386, before 2.6.9 */ #define get_processor_id() smp_processor_id() #define convert_apicid_to_cpu(apic_id) (0xff) --- 81,85 ---- return convert_apicid_to_cpu(apic_id); } ! #else /* before 2.6.9 */ #define get_processor_id() smp_processor_id() #define convert_apicid_to_cpu(apic_id) (0xff) |
From: kaku <fk...@us...> - 2006-02-09 03:54:08
|
Update of /cvsroot/mkdump/utils/mkd_save In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23306/mkd_save Modified Files: mkd_save Log Message: Fixed a bit bug. Modified to put some variables between double quotations. Index: mkd_save =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_save/mkd_save,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mkd_save 9 Dec 2005 13:34:19 -0000 1.6 --- mkd_save 9 Feb 2006 03:54:00 -0000 1.7 *************** *** 50,54 **** function CheckDumpHeader() { ! [ -z $1 -o -z $2 -o -z $3 ] && return 1 [ $1 -ne 1 ] && return 1 [ $2 -ne $ARCH_TYPE ] && return 1 --- 50,54 ---- function CheckDumpHeader() { ! [ -z "$1" -o -z "$2" -o -z "$3" ] && return 1 [ $1 -ne 1 ] && return 1 [ $2 -ne $ARCH_TYPE ] && return 1 *************** *** 77,81 **** # get config parameters #--------------------------------------------------------------- ! if [ ! -f $CONFIG_FILE ]; then echo "$CONFIG_FILE is not found." exit 1 --- 77,81 ---- # get config parameters #--------------------------------------------------------------- ! if [ ! -f "$CONFIG_FILE" ]; then echo "$CONFIG_FILE is not found." exit 1 *************** *** 96,100 **** # remove old save dirctory. #--------------------------------------------------------------- ! [ -z $MKDUMP_LIMIT ] && MKDUMP_LIMIT=$MKDUMP_LIMIT_DEFAULT RmOldSaveDir $MKDUMP_LIMIT $MKDUMP_DIR/2[01][0-9][0-9][01][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-5][0-9] --- 96,100 ---- # remove old save dirctory. #--------------------------------------------------------------- ! [ -z "$MKDUMP_LIMIT" ] && MKDUMP_LIMIT=$MKDUMP_LIMIT_DEFAULT RmOldSaveDir $MKDUMP_LIMIT $MKDUMP_DIR/2[01][0-9][0-9][01][0-9][0-3][0-9][0-2][0-9][0-5][0-9][0-5][0-9] |
From: kaku <fk...@us...> - 2006-02-09 03:54:07
|
Update of /cvsroot/mkdump/utils/mkd_load In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23306/mkd_load Modified Files: mkd_load Log Message: Fixed a bit bug. Modified to put some variables between double quotations. Index: mkd_load =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_load/mkd_load,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mkd_load 9 Dec 2005 13:34:19 -0000 1.5 --- mkd_load 9 Feb 2006 03:53:59 -0000 1.6 *************** *** 47,51 **** # read config file #--------------------------------------------------------------- ! if [ ! -f $CONFIG_FILE ]; then echo "'$CONFIG_FILE' is not found." exit 1 --- 47,51 ---- # read config file #--------------------------------------------------------------- ! if [ ! -f "$CONFIG_FILE" ]; then echo "'$CONFIG_FILE' is not found." exit 1 *************** *** 57,61 **** # get device no. #--------------------------------------------------------------- ! if [ -z $MKDUMP_DEV ]; then echo "MKDUMP_DEV is not specified." exit 1 --- 57,61 ---- # get device no. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_DEV" ]; then echo "MKDUMP_DEV is not specified." exit 1 *************** *** 71,75 **** # get path of mini kernel. #--------------------------------------------------------------- ! if [ -z $MKDUMP_VMLINUX ]; then echo "MKDUMP_VMLINUX is not specified." exit 1 --- 71,75 ---- # get path of mini kernel. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_VMLINUX" ]; then echo "MKDUMP_VMLINUX is not specified." exit 1 *************** *** 83,87 **** # get memory size of mini kernal. #--------------------------------------------------------------- ! if [ -z $MKDUMP_MEM ]; then MKDUMP_MEM=$MKDUMP_MEM_DEFAULT else --- 83,87 ---- # get memory size of mini kernal. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_MEM" ]; then MKDUMP_MEM=$MKDUMP_MEM_DEFAULT else *************** *** 98,102 **** #--------------------------------------------------------------- if [ ! -e /proc/mkexec ]; then ! if [ ! -f $MKEXEC_FILE ]; then echo "'$MKEXEC_FILE' not found." exit 1 --- 98,102 ---- #--------------------------------------------------------------- if [ ! -e /proc/mkexec ]; then ! if [ ! -f "$MKEXEC_FILE" ]; then echo "'$MKEXEC_FILE' not found." exit 1 |
From: Itsuro O. <od...@us...> - 2006-01-12 04:43:18
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/asm-x86_64 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7934/include/asm-x86_64 Modified Files: mkexec_import.h Log Message: for debian Index: mkexec_import.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/asm-x86_64/mkexec_import.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mkexec_import.h 9 Dec 2005 13:18:10 -0000 1.2 --- mkexec_import.h 12 Jan 2006 04:43:03 -0000 1.3 *************** *** 37,40 **** --- 37,41 ---- IMPORT_SYMBOL(saved_command_line); IMPORT_SYMBOL(crashmem_get); + IMPORT_SYMBOL(kallsyms_lookup_name); IMPORT_SYMBOL(end_pfn); |
From: Itsuro O. <od...@us...> - 2006-01-12 04:43:18
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/asm-i386 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7934/include/asm-i386 Modified Files: mkexec_import.h Log Message: for debian Index: mkexec_import.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/asm-i386/mkexec_import.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mkexec_import.h 9 Dec 2005 13:18:10 -0000 1.3 --- mkexec_import.h 12 Jan 2006 04:43:02 -0000 1.4 *************** *** 37,39 **** --- 37,40 ---- IMPORT_SYMBOL(saved_command_line); IMPORT_SYMBOL(crashmem_get); + IMPORT_SYMBOL(kallsyms_lookup_name); |
From: Itsuro O. <od...@us...> - 2006-01-11 00:09:42
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17631/include/linux Modified Files: cpus.h Log Message: for debian Index: cpus.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/linux/cpus.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** cpus.h 11 Jan 2006 00:03:09 -0000 1.6 --- cpus.h 11 Jan 2006 00:09:35 -0000 1.7 *************** *** 51,56 **** #define ARCH_BAD_APICID (0xffff) #error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64" ! #endif ! #if defined(CONFIG_x86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) #define arch_cpu_to_apicid x86_cpu_to_apicid #define ARCH_BAD_APICID (0xff) --- 51,55 ---- #define ARCH_BAD_APICID (0xffff) #error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64" ! #elif defined(CONFIG_x86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) #define arch_cpu_to_apicid x86_cpu_to_apicid #define ARCH_BAD_APICID (0xff) *************** *** 84,87 **** --- 83,87 ---- #else /* i386, before 2.6.9 */ #define get_processor_id() smp_processor_id() + #define convert_apicid_to_cpu(apic_id) (0xff) #endif |
From: Itsuro O. <od...@us...> - 2006-01-11 00:03:17
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14423/include/linux Modified Files: cpus.h Log Message: for debian Index: cpus.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/linux/cpus.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** cpus.h 10 Jan 2006 00:40:35 -0000 1.5 --- cpus.h 11 Jan 2006 00:03:09 -0000 1.6 *************** *** 45,59 **** #include <linux/smp.h> #ifdef CONFIG_IA64 #define arch_cpu_to_apicid ia64_cpu_to_sapicid #define ARCH_BAD_APICID (0xffff) #error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64" ! #else #define arch_cpu_to_apicid x86_cpu_to_apicid #define ARCH_BAD_APICID (0xff) #endif ! #if defined(CONFIG_IA64) || defined(CONFIG_X86_64) || defined(CONFIG_X86) ! static inline u8 convert_apicid_to_cpu(u16 apic_id) { --- 45,61 ---- #include <linux/smp.h> + #if defined(CONFIG_IA64) || defined(CONFIG_X86_64) || defined(CONFIG_X86) + #ifdef CONFIG_IA64 #define arch_cpu_to_apicid ia64_cpu_to_sapicid #define ARCH_BAD_APICID (0xffff) #error "FIXME: convert_apicid_to_cpu() u8 type broken for ia64" ! #endif ! #if defined(CONFIG_x86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) #define arch_cpu_to_apicid x86_cpu_to_apicid #define ARCH_BAD_APICID (0xff) #endif ! #if defined(CONFIG_IA64) || defined(CONFIG_X86_64) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 9)) static inline u8 convert_apicid_to_cpu(u16 apic_id) { *************** *** 67,74 **** } - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 9)) && defined(CONFIG_X86) && !defined(CONFIG_X86_64) - /* i386, before 2.6.9 */ - #define get_processor_id() smp_processor_id() - #else /* Replacement for smp_processor_id() as on i386 * its 'current_thread_info()->cpu' gets corrupted during a stack overflow. --- 69,72 ---- *************** *** 84,87 **** --- 82,87 ---- return convert_apicid_to_cpu(apic_id); } + #else /* i386, before 2.6.9 */ + #define get_processor_id() smp_processor_id() #endif |
From: Itsuro O. <od...@us...> - 2006-01-10 00:40:47
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31760/include/linux Modified Files: cpus.h Log Message: for debian Index: cpus.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/include/linux/cpus.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** cpus.h 9 Dec 2005 13:18:10 -0000 1.4 --- cpus.h 10 Jan 2006 00:40:35 -0000 1.5 *************** *** 67,70 **** --- 67,74 ---- } + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 9)) && defined(CONFIG_X86) && !defined(CONFIG_X86_64) + /* i386, before 2.6.9 */ + #define get_processor_id() smp_processor_id() + #else /* Replacement for smp_processor_id() as on i386 * its 'current_thread_info()->cpu' gets corrupted during a stack overflow. *************** *** 80,83 **** --- 84,88 ---- return convert_apicid_to_cpu(apic_id); } + #endif static inline void stop_this_cpu_safe (void *dummy) |
From: Itsuro O. <od...@us...> - 2006-01-10 00:40:47
|
Update of /cvsroot/mkdump/mkexec/2.0/2.6/arch/x86_64/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31760/arch/x86_64/kernel Modified Files: machine_mkexec.c Log Message: for debian Index: machine_mkexec.c =================================================================== RCS file: /cvsroot/mkdump/mkexec/2.0/2.6/arch/x86_64/kernel/machine_mkexec.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** machine_mkexec.c 9 Dec 2005 13:18:10 -0000 1.4 --- machine_mkexec.c 10 Jan 2006 00:40:35 -0000 1.5 *************** *** 297,304 **** * page table anyway. */ ! #ifdef BACKPORT_24 ! memcpy((void *)read_pda(level4_pgt), __va(start_pgtable), PAGE_SIZE/2); ! #else load_cr3(__va(start_pgtable)); #endif __flush_tlb(); --- 297,304 ---- * page table anyway. */ ! #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12) load_cr3(__va(start_pgtable)); + #else + memcpy((void *)read_pda(level4_pgt), __va(start_pgtable), PAGE_SIZE/2); #endif __flush_tlb(); |
From: kaku <fk...@us...> - 2006-01-06 04:22:31
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/x86_64/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25575/arch/x86_64/kernel Removed Files: Tag: org-mkexecpatch-2_0-deb-linux-2_6_8 setup.c Log Message: In mkdump 2.0 update1, these files are unnecesary. --- setup.c DELETED --- |
From: kaku <fk...@us...> - 2006-01-06 04:22:31
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/x86_64/mm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25575/arch/x86_64/mm Removed Files: Tag: org-mkexecpatch-2_0-deb-linux-2_6_8 numa.c Log Message: In mkdump 2.0 update1, these files are unnecesary. --- numa.c DELETED --- |
From: kaku <fk...@us...> - 2006-01-06 04:22:30
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/i386/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25575/arch/i386/kernel Removed Files: Tag: org-mkexecpatch-2_0-deb-linux-2_6_8 setup.c Log Message: In mkdump 2.0 update1, these files are unnecesary. --- setup.c DELETED --- |
From: kaku <fk...@us...> - 2006-01-06 01:02:26
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/Documentation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24398 Removed Files: Tag: org-mkexecpatch-2_0-deb-linux-2_6_8 kernel-parameters.txt Log Message: Remove kernel-parameters.txt. To make a small patch. --- kernel-parameters.txt DELETED --- |
From: Itsuro O. <od...@us...> - 2006-01-05 23:26:12
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/include/asm-i386 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30627/include/asm-i386 Modified Files: mkexec_export.h Log Message: for mkdump 2.0 update 1 Index: mkexec_export.h =================================================================== RCS file: /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/include/asm-i386/mkexec_export.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mkexec_export.h 9 Dec 2005 12:39:31 -0000 1.3 --- mkexec_export.h 5 Jan 2006 23:26:03 -0000 1.4 *************** *** 31,64 **** unsigned long base_pa; unsigned long size_bytes; - /* Done: change_page_attr(pages, pages_ro, PAGE_KERNEL_RO); - * See also: kimage_attr_ro(), kimage_attr_rw() - */ - unsigned pages_ro; - }; - - /* Location of a reserved region to hold the pages for crash kernel. */ - extern struct crashmem *crashmem_dma, *crashmem_main; - - /* - * memory segment list of real memory - */ - /* 62 should be enough: 16 >= ARRAY_SIZE(node_data) */ - #define MAX_MEM_SEG 62 /* struct mem_seg <= 4KB (1 page) */ - struct mem_seg_list { - u64 seg_start_pfn; - u64 seg_size_pfn; - }; - - struct mem_seg { - u32 page_size; - u32 seg_num; - struct mem_seg_list seg_list[MAX_MEM_SEG]; }; - extern struct mem_seg mkexecpatch_mem_seg; - - /* Append 'NODE_DATA(nodeid)->bdata' to: mkexecpatch_mem_seg */ - void mkexecpatch_mem_seg_append(int nodeid); - /* Save the state of all the other CPUs. */ void mkdump_send_nmi(void); --- 31,36 ---- |
From: Itsuro O. <od...@us...> - 2006-01-05 23:26:11
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/include/asm-x86_64 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30627/include/asm-x86_64 Modified Files: mkexec_export.h Log Message: for mkdump 2.0 update 1 Index: mkexec_export.h =================================================================== RCS file: /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/include/asm-x86_64/mkexec_export.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mkexec_export.h 9 Dec 2005 12:39:31 -0000 1.3 --- mkexec_export.h 5 Jan 2006 23:26:03 -0000 1.4 *************** *** 31,64 **** unsigned long base_pa; unsigned long size_bytes; - /* Done: change_page_attr(pages, pages_ro, PAGE_KERNEL_RO); - * See also: kimage_attr_ro(), kimage_attr_rw() - */ - unsigned pages_ro; - }; - - /* Location of a reserved region to hold the pages for crash kernel. */ - extern struct crashmem *crashmem_dma, *crashmem_main; - - /* - * memory segment list of real memory - */ - /* 62 should be enough: 16 >= ARRAY_SIZE(node_data) */ - #define MAX_MEM_SEG 62 /* struct mem_seg <= 4KB (1 page) */ - struct mem_seg_list { - u64 seg_start_pfn; - u64 seg_size_pfn; - }; - - struct mem_seg { - u32 page_size; - u32 seg_num; - struct mem_seg_list seg_list[MAX_MEM_SEG]; }; - extern struct mem_seg mkexecpatch_mem_seg; - - /* Append 'NODE_DATA(nodeid)->bdata' to: mkexecpatch_mem_seg */ - void mkexecpatch_mem_seg_append(int nodeid); - /* Save the state of all the other CPUs. */ void mkdump_send_nmi(void); --- 31,36 ---- |
From: Itsuro O. <od...@us...> - 2006-01-05 23:26:11
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/x86_64/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30627/arch/x86_64/kernel Modified Files: minik_dump.c Removed Files: setup.c Log Message: for mkdump 2.0 update 1 Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/x86_64/kernel/minik_dump.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** minik_dump.c 9 Dec 2005 12:39:31 -0000 1.3 --- minik_dump.c 5 Jan 2006 23:26:03 -0000 1.4 *************** *** 53,60 **** #define MODULE_PARAM_PREFIX "" - struct crashmem *crashmem_dma, *crashmem_main; ! EXPORT_SYMBOL(crashmem_dma); ! EXPORT_SYMBOL(crashmem_main); static void __init crashmem_free(struct crashmem *crashmem) --- 53,63 ---- #define MODULE_PARAM_PREFIX "" struct crashmem *crashmem_dma, *crashmem_main; ! ! struct crashmem *crashmem_get(int isdma) ! { ! return isdma ? crashmem_dma : crashmem_main; ! } ! EXPORT_SYMBOL(crashmem_get); static void __init crashmem_free(struct crashmem *crashmem) *************** *** 108,112 **** crashmem->base_pa = __pa(base_va); crashmem->size_bytes = val_ul; - crashmem->pages_ro = 0; *crashmem_pointer = crashmem; printk("mkexec: Allocated 0x%lx of %s memory @0x%lx\n", --- 111,114 ---- *************** *** 119,225 **** module_param_call(crashmain, crashmem_set, NULL, &crashmem_main, 0); - - /* - * Initialize 'mkexecpatch_mem_seg'. - */ - - struct mem_seg mkexecpatch_mem_seg; - - static int seg_list_compar(const struct mem_seg_list *a, const struct mem_seg_list *b) - { - return (b->seg_start_pfn < a->seg_start_pfn) - - (b->seg_start_pfn > a->seg_start_pfn); - } - - static void mem_seg_merge(struct mem_seg *mem_seg) - { - struct mem_seg_list *mem_seg_list; - - sort(mem_seg->seg_list, mem_seg->seg_num, sizeof(*mem_seg->seg_list), - (int (*)(const void *, const void *))seg_list_compar, NULL); - for (mem_seg_list = mem_seg->seg_list; - mem_seg_list < mem_seg->seg_list + mem_seg->seg_num - 1; - mem_seg_list++) { - if (mem_seg_list[0].seg_start_pfn + mem_seg_list[0].seg_size_pfn - != mem_seg_list[1].seg_start_pfn) - continue; - /* Merge mem_seg_list[1] into mem_seg_list[0]. */ - mem_seg_list[0].seg_size_pfn += mem_seg_list[1].seg_size_pfn; - /* Shift the rest 'from mem_seg_list[2] upwards' downwards. */ - memmove(mem_seg_list + 1, mem_seg_list + 2, - (u8 *)(mem_seg->seg_list + mem_seg->seg_num) - - (u8 *)(mem_seg_list + 2)); - mem_seg_list--; - } - } - - /* Returns: success */ - static int mem_seg_list_pfn_extend_try(struct mem_seg_list *mem_seg_list, unsigned long pfn) - { - if (pfn == mem_seg_list->seg_start_pfn + mem_seg_list->seg_size_pfn) { - mem_seg_list->seg_size_pfn++; - return 1; - } - return 0; - } - - /* Append 'NODE_DATA(nodeid)->bdata' to: mkexecpatch_mem_seg */ - void mkexecpatch_mem_seg_append(int nodeid) - { - struct pglist_data *pglist_data; - struct mem_seg_list *mem_seg_list_cache = NULL; - struct mem_seg *mem_seg; - unsigned long pfn; - struct bootmem_data *bdata; - - pglist_data = NODE_DATA(nodeid); - bdata = pglist_data->bdata; - mem_seg = &mkexecpatch_mem_seg; - - mem_seg->page_size = PAGE_SIZE; - /* Assume initial: mem_seg->seg_num = 0; */ - - for (pfn = bdata->node_boot_start / PAGE_SIZE; - pfn < bdata->node_low_pfn; - pfn++) { - if (test_bit(pfn - (bdata->node_boot_start / PAGE_SIZE), - bdata->node_bootmem_map)) - continue; - - if (mem_seg_list_cache - && mem_seg_list_pfn_extend_try(mem_seg_list_cache, pfn)) - continue; - for (mem_seg_list_cache = mem_seg->seg_list; - mem_seg_list_cache < mem_seg->seg_list + mem_seg->seg_num; - mem_seg_list_cache++) - if (mem_seg_list_pfn_extend_try(mem_seg_list_cache, pfn)) - continue; - mem_seg_list_cache = NULL; /* It became invalid here! */ - if (mem_seg->seg_num >= ARRAY_SIZE(mem_seg->seg_list)) { - printk(KERN_ERR "mkexec: Ignoring memory above pfn 0x%lx" - ", MAX_MEM_SEG exceeded!\n", pfn); - break; - } - /* 'mem_seg_list_cache' caching is just sideeffect here. */ - mem_seg_list_cache = mem_seg->seg_list + mem_seg->seg_num; - mem_seg_list_cache->seg_start_pfn = pfn; - mem_seg_list_cache->seg_size_pfn = 1; - mem_seg->seg_num++; - } - mem_seg_merge(mem_seg); - #if 0 /* 'mem_seg_list' debug dump */ - { - struct mem_seg_list *mem_seg_list; - - for (mem_seg_list = mem_seg->seg_list; - mem_seg_list < mem_seg->seg_list + mem_seg->seg_num; - mem_seg_list++) - printk(KERN_INFO "mem_seg_list: pfn 0x%lx .. pfn 0x%lx (- 1)\n", - (unsigned long)(mem_seg_list->seg_start_pfn), - (unsigned long)(mem_seg_list->seg_start_pfn + mem_seg_list->seg_size_pfn)); - } - #endif - } - /* * Export Symbols for mkexec (x86_64 specific) --- 121,124 ---- *************** *** 238,242 **** EXPORT_SYMBOL(end_pfn); EXPORT_SYMBOL(saved_command_line); - EXPORT_SYMBOL(mkexecpatch_mem_seg); #ifdef CONFIG_SMP --- 137,140 ---- --- setup.c DELETED --- |