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: kaku <fk...@us...> - 2006-03-27 06:34:54
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-x86_64 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv979 Modified Files: mkexec_import.h Log Message: Added symbol netdump_func for RHAS4. Index: mkexec_import.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-x86_64/mkexec_import.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mkexec_import.h 14 Feb 2006 05:30:26 -0000 1.1 --- mkexec_import.h 27 Mar 2006 06:34:47 -0000 1.2 *************** *** 41,42 **** --- 41,44 ---- IMPORT_SYMBOL(end_pfn); IMPORT_SYMBOL(mkdump_send_nmi); + + IMPORT_SYMBOL(netdump_func); |
From: Itsuro O. <od...@us...> - 2006-03-27 04:39:22
|
Update of /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/i386/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15820/arch/i386/kernel Modified Files: irq.c Log Message: fix do_dump arg Index: irq.c =================================================================== RCS file: /cvsroot/mkdump/mkexecpatch/2.0/debian/2.6.8/arch/i386/kernel/irq.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** irq.c 16 Nov 2005 11:29:54 -0000 1.1 --- irq.c 27 Mar 2006 04:39:17 -0000 1.2 *************** *** 444,448 **** printk("do_IRQ: stack overflow: %ld\n", esp - sizeof(struct thread_info)); ! do_dump("do_IRQ: stack overflow", regs); dump_stack(); } --- 444,448 ---- printk("do_IRQ: stack overflow: %ld\n", esp - sizeof(struct thread_info)); ! do_dump("do_IRQ: stack overflow", ®s); dump_stack(); } |
From: Itsuro O. <od...@us...> - 2006-03-27 00:54:01
|
Update of /cvsroot/mkdump/minikpatch/2.0/debian/2.6.8/init In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11772 Modified Files: minik_dump.c Log Message: add reboot parameter Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minikpatch/2.0/debian/2.6.8/init/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:56:17 -0000 1.3 --- minik_dump.c 27 Mar 2006 00:53:51 -0000 1.4 *************** *** 78,85 **** __setup("dump_pfn=", set_dump_pfn); /* * I/O stuff * ! * Mini dump kernel does not use filesystem layer but uses bio layer directory. * So the dump device must be a block device. */ --- 78,108 ---- __setup("dump_pfn=", set_dump_pfn); + #define MKDUMP_REBOOT 0 + #define MKDUMP_HALT 1 + #define MKDUMP_POWER_OFF 2 + static int mkdump_reboot = MKDUMP_REBOOT; + static int __init set_mkdump_reboot(char *str) + { + if (!strcmp(str, "halt")) { + mkdump_reboot = MKDUMP_HALT; + } else if (!strcmp(str, "poweroff")) { + mkdump_reboot = MKDUMP_POWER_OFF; + } /* else/default: MKDUMP_REBOOT */ + return 1; + } + __setup("mkdump_reboot=", set_mkdump_reboot); + + static int dump_delay = 5; + static int __init set_dump_delay(char *str) + { + get_option(&str, &dump_delay); + return 1; + } + __setup("dump_delay=", set_dump_delay); + /* * I/O stuff * ! * Mini dump kernel does not use filesystem layer but uses bio layer directly. * So the dump device must be a block device. */ *************** *** 95,102 **** static struct io_buff io_buff_array[MINI_DUMP_BUFF_NUM]; static struct io_buff *io_buff_head; /* Linked by 'next'. */ ! static spinlock_t io_buff_lock = SPIN_LOCK_UNLOCKED; /* For 'io_buff_head' and any '->next's. */ static struct block_device *bdev; #ifdef FIX_MKDUMP ! static spinlock_t fix_mkdump_lock = SPIN_LOCK_UNLOCKED; /* For 'FIX_MKDUMP'. */ #endif /* FIX_MKDUMP */ --- 118,125 ---- static struct io_buff io_buff_array[MINI_DUMP_BUFF_NUM]; static struct io_buff *io_buff_head; /* Linked by 'next'. */ ! static spinlock_t io_buff_lock = SPIN_LOCK_UNLOCKED; /* For 'io_buff_head' and any '->next's. */ static struct block_device *bdev; #ifdef FIX_MKDUMP ! static spinlock_t fix_mkdump_lock = SPIN_LOCK_UNLOCKED; /* For 'FIX_MKDUMP'. */ #endif /* FIX_MKDUMP */ *************** *** 309,312 **** --- 332,341 ---- } + if (dump_delay >= 0) { + /* wait for a while to bring up necessary driver */ + set_current_state(TASK_INTERRUPTIBLE); + schedule_timeout(dump_delay * HZ); + } + printk("Dump start. dump device = 0x%lx\n", (unsigned long)dump_dev); *************** *** 369,373 **** reboot: - printk("Preparing for the system reboot...\n"); /* FIXME: Give some delay before device_shutdown() otherwise it may lock on: * Freeing unused kernel memory: 440k freed --- 398,401 ---- *************** *** 375,383 **** * input: AT Translated Set 2 keyboard on isa0060/serio0 */ ! mdelay(5000); ! system_state = SYSTEM_RESTART; ! device_shutdown(); ! printk("System reboot.\n"); ! mdelay(2000); /* Show the messages above for a while. */ ! machine_restart(NULL); } --- 403,437 ---- * input: AT Translated Set 2 keyboard on isa0060/serio0 */ ! switch (mkdump_reboot) { ! case MKDUMP_REBOOT: ! printk("Preparing for the system reboot...\n"); ! mdelay(3000); ! system_state = SYSTEM_RESTART; ! device_shutdown(); ! printk("System reboot.\n"); ! mdelay(2000); /* Show the messages above for a while. */ ! machine_restart(NULL); ! break; ! case MKDUMP_HALT: ! printk("Preparing for the system halt...\n"); ! mdelay(3000); ! system_state = SYSTEM_HALT; ! device_shutdown(); ! printk("System halted.\n"); ! machine_halt(); ! break; ! case MKDUMP_POWER_OFF: ! printk("Preparing for the power down...\n"); ! mdelay(3000); ! system_state = SYSTEM_POWER_OFF; ! device_shutdown(); ! printk("Power down.\n"); ! mdelay(2000); /* Show the messages above for a while. */ ! machine_power_off(); ! break; ! } ! ! while (1) { ! cpu_relax(); ! } } |
From: Itsuro O. <od...@us...> - 2006-03-27 00:09:01
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-i386 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22565/include/asm-i386 Modified Files: mkexec_import.h Log Message: add commnet Index: mkexec_import.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-i386/mkexec_import.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mkexec_import.h 26 Mar 2006 23:54:39 -0000 1.2 --- mkexec_import.h 27 Mar 2006 00:08:53 -0000 1.3 *************** *** 39,42 **** --- 39,43 ---- IMPORT_SYMBOL(kallsyms_lookup_name); + /* for RHEL4 */ IMPORT_SYMBOL(genapic); IMPORT_SYMBOL(__supported_pte_mask); |
From: kaku <fk...@us...> - 2006-03-26 23:54:43
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-i386 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7908 Modified Files: mkexec_import.h Log Message: Added symbols for RHAS4. Index: mkexec_import.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/include/asm-i386/mkexec_import.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mkexec_import.h 14 Feb 2006 05:30:26 -0000 1.1 --- mkexec_import.h 26 Mar 2006 23:54:39 -0000 1.2 *************** *** 39,40 **** --- 39,44 ---- IMPORT_SYMBOL(kallsyms_lookup_name); + IMPORT_SYMBOL(genapic); + IMPORT_SYMBOL(__supported_pte_mask); + IMPORT_SYMBOL(__PAGE_KERNEL_EXEC); + IMPORT_SYMBOL(netdump_func); |
From: Itsuro O. <od...@us...> - 2006-03-24 01:37:08
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4184 Modified Files: README Log Message: for RHEL4 (no patch) Index: README =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/README,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README 14 Feb 2006 05:30:25 -0000 1.1 --- README 24 Mar 2006 01:36:56 -0000 1.2 *************** *** 1,3 **** ! README for Mini Kernel Dump (version 2 update 1) ------------------------------------------------ --- 1,3 ---- ! README for Mini Kernel Dump (version 3) ------------------------------------------------ *************** *** 5,8 **** --- 5,11 ---- http://mkdump.sourceforge.net + *** This document describes the part of the backword compatibility of + version 2 update 1. *** + Contents of this package ------------------------ *************** *** 10,23 **** x. README (this file) a. mkexec kernel module ! mkexec-module-2.1.tar b. mkexec kernel patch b-1) mkexec-patch-2.6.12-2.1 b-2) mkexec-patch-rh-2.4.21-27-2.1 b-3) mkexec-patch-rh-2.4.21-32-2.1 c. mini kernel patch c-1) minik-patch-2.6.12-2.1 c-2) minik-patch-2.6.9-1.2 d. mkdump utilities ! mkdutils-2.1.tar * support architecture: i386, x86_64 --- 13,27 ---- x. README (this file) a. mkexec kernel module ! mkexec-module-3.0.tar b. mkexec kernel patch b-1) mkexec-patch-2.6.12-2.1 b-2) mkexec-patch-rh-2.4.21-27-2.1 b-3) mkexec-patch-rh-2.4.21-32-2.1 + b-4) debian c. mini kernel patch c-1) minik-patch-2.6.12-2.1 c-2) minik-patch-2.6.9-1.2 d. mkdump utilities ! mkdutils-3.0.tar * support architecture: i386, x86_64 *************** *** 44,49 **** | 2.4.21-37 | | | | | | | | +-----------+---------------+--------+ +--------+-------+ +---------+ ! for debian 2.6.8 and vanilla 2.4.27, use the old version of mkdump at this moment. --- 48,62 ---- | 2.4.21-37 | | | | | | | | +-----------+---------------+--------+ +--------+-------+ +---------+ + = for debian + +-----------+---------------+--------+ +--------+-------+ +---------+ + | mkexec | mkexec | mkexec | | mini | minik | | utility | + | kernel | patch | module | | kernel | patch | | | + +-----------+---------------+--------+ +--------+-------+ +---------+ + | 2.6.8-16 | b-4 | a | | 2.6.12 | c-1 | | d | + | | | | +--------+-------+ | | + | | | | | 2.6.9 | c-2 | | | + +-----------+---------------+--------+ +--------+-------+ +---------+ ! for vanilla 2.4.27, use the version 1.0 of mkdump at this moment. |
From: Itsuro O. <od...@us...> - 2006-03-24 01:37:08
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4184/include/linux Modified Files: cpus.h Log Message: for RHEL4 (no patch) Index: cpus.h =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/include/linux/cpus.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cpus.h 14 Feb 2006 05:30:26 -0000 1.1 --- cpus.h 24 Mar 2006 01:36:56 -0000 1.2 *************** *** 92,96 **** cpu_clear(cpuid, cpu_online_map); local_irq_disable(); ! #if defined(CONFIG_X86_LOCAL_APIC) lapic_mkexec_restore_once(); #endif --- 92,96 ---- cpu_clear(cpuid, cpu_online_map); local_irq_disable(); ! #if defined(CONFIG_X86_LOCAL_APIC) && !defined(MKEXEC_NO_PATCH) lapic_mkexec_restore_once(); #endif |
From: kaku <fk...@us...> - 2006-03-21 07:27:27
|
Update of /cvsroot/mkdump/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15753 Modified Files: Makefile Log Message: Modified $(MKD_CHK_PATH)/$(MKD_CONV) to $(MKD_CONV_PATH)/$(MKD_CONV) Added uninstalling mkd_conv. Index: Makefile =================================================================== RCS file: /cvsroot/mkdump/utils/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 3 Mar 2006 00:07:46 -0000 1.3 --- Makefile 21 Mar 2006 07:27:23 -0000 1.4 *************** *** 45,49 **** install: $(INSTALL_CMD) $(MKD_CHK_PATH)/$(MKD_CHK) $(INST_PATH) ! $(INSTALL_CMD) $(MKD_CHK_PATH)/$(MKD_CONV) $(INST_PATH) $(INSTALL_CMD) $(MKD_LOAD_PATH)/$(MKD_LOAD) $(INST_PATH) $(INSTALL_CMD) $(MKD_SAVE_PATH)/$(MKD_SAVE) $(INST_PATH) --- 45,49 ---- install: $(INSTALL_CMD) $(MKD_CHK_PATH)/$(MKD_CHK) $(INST_PATH) ! $(INSTALL_CMD) $(MKD_CONV_PATH)/$(MKD_CONV) $(INST_PATH) $(INSTALL_CMD) $(MKD_LOAD_PATH)/$(MKD_LOAD) $(INST_PATH) $(INSTALL_CMD) $(MKD_SAVE_PATH)/$(MKD_SAVE) $(INST_PATH) *************** *** 51,54 **** --- 51,55 ---- uninstall: $(RM_CMD) $(INST_PATH)/$(MKD_CHK) + $(RM_CMD) $(INST_PATH)/$(MKD_CONV) $(RM_CMD) $(INST_PATH)/$(MKD_LOAD) $(RM_CMD) $(INST_PATH)/$(MKD_SAVE) |
From: Itsuro O. <od...@us...> - 2006-03-20 01:41:02
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3676 Modified Files: minik_dump.c Log Message: MKDUMP_REBOOT_OFF is OK by "off" and "no" Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/minik_dump.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** minik_dump.c 13 Mar 2006 06:44:18 -0000 1.6 --- minik_dump.c 20 Mar 2006 01:40:54 -0000 1.7 *************** *** 77,81 **** } else if (!strcmp(val, "poweroff")) { mkdump_reboot = MKDUMP_POWER_OFF; ! } else if (!strcmp(val, "no")) { mkdump_reboot = MKDUMP_NO_REBOOT; } --- 77,81 ---- } else if (!strcmp(val, "poweroff")) { mkdump_reboot = MKDUMP_POWER_OFF; ! } else if (!strcmp(val, "no") || !strcmp(val, "off")) { mkdump_reboot = MKDUMP_NO_REBOOT; } |
From: Itsuro O. <od...@us...> - 2006-03-15 02:15:23
|
Update of /cvsroot/mkdump/utils/mkinitrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19881 Added Files: mkimg-sample Log Message: mkinitrd for mkdump: this is a sample program for RHEL4 environment. --- NEW FILE: mkimg-sample --- #!/bin/bash # # mkimg: make a initrd image for mkdump # for RHEL4 environment # # Copyright 2004 Itsuto Oda # # This is just a sample program. # parameters: edit # SHELL=/sbin/nash # specify use shell in init script INSMOD=/sbin/insmod.static # specify use insmod (static) MKDUMP_KO=/home/src/mkdump-v3.0/minik/kernel/mkdump.ko # specify mkdump.ko path MOD_PATH=/lib/modules/2.6.9-11.ELsmp # specify modules path DRIVERS="scsi_mod.ko sd_mod.ko aic7xxx.ko" # specify neccesary drivers IMAGE=initrd-minik.img # specify image path # export PATH=/sbin:/usr/sbin:/bin:/usr/bin WORK_DIR=./work_dir mkdir $WORK_DIR mkdir $WORK_DIR/bin mkdir $WORK_DIR/lib touch $WORK_DIR/init chmod +x $WORK_DIR/init for drv in $DRIVERS do find $MOD_PATH -name $drv -exec cp {} $WORK_DIR/lib \; done cp $MKDUMP_KO $WORK_DIR/lib cp $SHELL $WORK_DIR/bin cp $INSMOD $WORK_DIR/bin/insmod echo "#!/bin/nash" >> $WORK_DIR/init for drv in $DRIVERS do echo "echo \"Loading $drv module\"" >> $WORK_DIR/init echo "/bin/insmod /lib/$drv" >> $WORK_DIR/init done echo "echo \"Loading mkdump.ko module\"" >> $WORK_DIR/init echo "/bin/insmod /lib/mkdump.ko" >> $WORK_DIR/init ls -lR $WORK_DIR # for check cat $WORK_DIR/init (cd $WORK_DIR; find . | cpio --quiet -c -o) > ./image_tmp gzip ./image_tmp mv ./image_tmp.gz $IMAGE rm -rf $WORK_DIR ./image_tmp* |
From: Itsuro O. <od...@us...> - 2006-03-15 02:13:19
|
Update of /cvsroot/mkdump/utils/mkinitrd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19165/mkinitrd Log Message: Directory /cvsroot/mkdump/utils/mkinitrd added to the repository |
From: Itsuro O. <od...@us...> - 2006-03-13 06:44:24
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29403 Modified Files: minik_dump.c Log Message: fix for 2.6.9 x86_64 Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/minik_dump.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** minik_dump.c 13 Mar 2006 00:34:05 -0000 1.5 --- minik_dump.c 13 Mar 2006 06:44:18 -0000 1.6 *************** *** 32,35 **** --- 32,36 ---- #include <linux/module.h> #include <linux/moduleparam.h> + #include <linux/version.h> #include <asm/tlbflush.h> #include <asm/setup.h> *************** *** 205,213 **** --- 206,217 ---- { pgd_t *pgd; + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12) pud_t *pud; + #endif pmd_t *pmd; pte_t *pte; pgd = pgd_offset_k(vaddr); + #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 12) if (pgd_none(*pgd)) { BUG(); *************** *** 224,227 **** --- 228,242 ---- } pmd = pmd_offset(pud, vaddr); + #else + if (pgd_none(*pgd)) { + pmd = (pmd_t *)get_zeroed_page(GFP_ATOMIC); + if (!pmd) { + BUG(); + return; + } + set_pgd(pgd, __pgd(__pa(pmd) | _KERNPG_TABLE | _PAGE_USER)); + } + pmd = pmd_offset(pgd, vaddr); + #endif if (pmd_none(*pmd)) { pte = (pte_t *)get_zeroed_page(GFP_ATOMIC); |
From: Itsuro O. <od...@us...> - 2006-03-13 00:34:21
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25992 Modified Files: minik_dump.c Log Message: - CONFIG_x86_64 -> CONFIG_X86_64 - fix set_pte_phys Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/minik_dump.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** minik_dump.c 9 Mar 2006 23:49:56 -0000 1.4 --- minik_dump.c 13 Mar 2006 00:34:05 -0000 1.5 *************** *** 201,205 **** } ! #ifdef CONFIG_x86_64 static void set_pte_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t prot) { --- 201,205 ---- } ! #ifdef CONFIG_X86_64 static void set_pte_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t prot) { *************** *** 216,226 **** pud = pud_offset(pgd, vaddr); if (pud_none(*pud)) { ! BUG(); ! return; } pmd = pmd_offset(pud, vaddr); if (pmd_none(*pmd)) { ! BUG(); ! return; } pte = pte_offset_kernel(pmd, vaddr); --- 216,234 ---- pud = pud_offset(pgd, vaddr); if (pud_none(*pud)) { ! pmd = (pmd_t *)get_zeroed_page(GFP_ATOMIC); ! if (!pmd) { ! BUG(); ! return; ! } ! set_pud(pud, __pud(__pa(pmd) | _KERNPG_TABLE | _PAGE_USER)); } pmd = pmd_offset(pud, vaddr); if (pmd_none(*pmd)) { ! pte = (pte_t *)get_zeroed_page(GFP_ATOMIC); ! if (!pte) { ! BUG(); ! return; ! } ! set_pmd(pmd, __pmd(__pa(pte) | _KERNPG_TABLE | _PAGE_USER)); } pte = pte_offset_kernel(pmd, vaddr); *************** *** 233,237 **** { void *vaddr = (void *)fix_to_virt(0); ! #ifdef CONFIG_x86_64 set_pte_pfn((unsigned long)vaddr, pfn, PAGE_READONLY); #else --- 241,245 ---- { void *vaddr = (void *)fix_to_virt(0); ! #ifdef CONFIG_X86_64 set_pte_pfn((unsigned long)vaddr, pfn, PAGE_READONLY); #else |
From: Itsuro O. <od...@us...> - 2006-03-09 23:49:59
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8998/kernel Modified Files: minik_dump.c Log Message: support static link Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/minik_dump.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** minik_dump.c 9 Mar 2006 00:25:05 -0000 1.3 --- minik_dump.c 9 Mar 2006 23:49:56 -0000 1.4 *************** *** 110,114 **** } ! module_init(mkdump_init); module_exit(mkdump_exit); --- 110,114 ---- } ! late_initcall(mkdump_init); module_exit(mkdump_exit); |
From: Itsuro O. <od...@us...> - 2006-03-09 23:48:05
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/arch/i386/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6993/arch/i386/kernel Modified Files: mkexec-vmlinux.c Log Message: - remove debug print - remove "noapic irqpoll" for V1, V3 Index: mkexec-vmlinux.c =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/arch/i386/kernel/mkexec-vmlinux.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mkexec-vmlinux.c 14 Feb 2006 05:50:28 -0000 1.2 --- mkexec-vmlinux.c 9 Mar 2006 23:47:59 -0000 1.3 *************** *** 213,221 **** if (image->minik_type == MINIK_V3) { buffer_append(&image_command_line_buffer, ! " dump_dev=%s dump_pfn=0x%lx maxcpus=1 noapic irqpoll", mkexec_inf.ddev, page_to_pfn(image->dump_header_pages)); } else if (image->minik_type == MINIK_V1) { buffer_append(&image_command_line_buffer, ! " dump_dev=%s maxcpus=1 noapic irqpoll", mkexec_inf.ddev); } else { buffer_append(&image_command_line_buffer, --- 213,221 ---- if (image->minik_type == MINIK_V3) { buffer_append(&image_command_line_buffer, ! " dump_dev=%s dump_pfn=0x%lx maxcpus=1", mkexec_inf.ddev, page_to_pfn(image->dump_header_pages)); } else if (image->minik_type == MINIK_V1) { buffer_append(&image_command_line_buffer, ! " dump_dev=%s maxcpus=1", mkexec_inf.ddev); } else { buffer_append(&image_command_line_buffer, |
From: Itsuro O. <od...@us...> - 2006-03-09 23:48:05
|
Update of /cvsroot/mkdump/mkexec/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6993/kernel Modified Files: mkexec_main.c Log Message: - remove debug print - remove "noapic irqpoll" for V1, V3 Index: mkexec_main.c =================================================================== RCS file: /cvsroot/mkdump/mkexec/3.0/2.6/kernel/mkexec_main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mkexec_main.c 14 Feb 2006 05:50:28 -0000 1.2 --- mkexec_main.c 9 Mar 2006 23:47:58 -0000 1.3 *************** *** 135,139 **** cp->num_pages = 0; ! #if 1 cp = (struct copy_pages *)(__va(kimage->swap_page_addr) + PAGE_SIZE); while (1) { --- 135,139 ---- cp->num_pages = 0; ! #if 0 cp = (struct copy_pages *)(__va(kimage->swap_page_addr) + PAGE_SIZE); while (1) { |
From: kaku <fk...@us...> - 2006-03-09 00:32:48
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1062 Modified Files: Makefile.base Log Message: Adjusted some codes. Index: Makefile.base =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/Makefile.base,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.base 14 Feb 2006 06:13:53 -0000 1.1 --- Makefile.base 9 Mar 2006 00:32:45 -0000 1.2 *************** *** 10,16 **** KVER= 2.6.12small KDIR= /home/src/linux-2.6.12-small - #KDIR= /home/src/linux-2.6.12-mkexec-test SBINDIR= /usr/sbin ! KMODDIR= /lib/modules/2.6.12small ARCHDIR= arch/$(ARCH)/kernel PWD= $(shell pwd) --- 10,15 ---- KVER= 2.6.12small KDIR= /home/src/linux-2.6.12-small SBINDIR= /usr/sbin ! KMODDIR= /lib/modules/$(KVER) ARCHDIR= arch/$(ARCH)/kernel PWD= $(shell pwd) |
From: kaku <fk...@us...> - 2006-03-09 00:25:12
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29794 Modified Files: minik_dump.c Log Message: Fixed a bit typo. Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/minik_dump.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** minik_dump.c 7 Mar 2006 05:14:30 -0000 1.2 --- minik_dump.c 9 Mar 2006 00:25:05 -0000 1.3 *************** *** 130,134 **** static struct io_buff io_buff_array[MINI_DUMP_BUFF_NUM]; static struct io_buff *io_buff_head; ! static io_buff_lock = SPIN_LOCK_UNLOCKED; /* DEFINE_SPINLOCK can be used >= 2.6.11 */ static struct block_device *bdev; --- 130,134 ---- static struct io_buff io_buff_array[MINI_DUMP_BUFF_NUM]; static struct io_buff *io_buff_head; ! static spinlock_t io_buff_lock = SPIN_LOCK_UNLOCKED; /* DEFINE_SPINLOCK can be used >= 2.6.11 */ static struct block_device *bdev; |
From: kaku <fk...@us...> - 2006-03-08 07:55:53
|
Update of /cvsroot/mkdump/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28933 Modified Files: mkdump-config-sample Log Message: Update for mkdump 3.0. - Added variable MKDUMP_INITRD, MKDUMP_TYPE and MKDUMP_PREFORMAT. Index: mkdump-config-sample =================================================================== RCS file: /cvsroot/mkdump/utils/mkdump-config-sample,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mkdump-config-sample 19 Dec 2005 05:11:03 -0000 1.2 --- mkdump-config-sample 8 Mar 2006 07:55:46 -0000 1.3 *************** *** 5,9 **** --- 5,12 ---- MKDUMP_MEM=16M # memory size of mini kernel MKDUMP_PARAM="ro" # mini kernel (extra) parameter + MKDUMP_INITRD="/boot/initrd-minik.img" # initrd image file path + MKDUMP_TYPE="standard" # mkexec load type # for mkd_save MKDUMP_DIR=/var/dump # dump save directory MKDUMP_LIMIT=2 # max number of dump saved + MKDUMP_PREFORMAT=n # specify format or not a dump device |
From: kaku <fk...@us...> - 2006-03-08 07:46:15
|
Update of /cvsroot/mkdump/utils/mkd_load In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24212 Modified Files: mkd_load Log Message: Update for mkdump 3.0. - Added cheking for variable MKDUMP_INITRD and MKDUMP_TYPE. Index: mkd_load =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_load/mkd_load,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mkd_load 9 Feb 2006 03:53:59 -0000 1.6 --- mkd_load 8 Mar 2006 07:46:09 -0000 1.7 *************** *** 117,121 **** [ ${?} -ne 0 ] && exit 1 ! if [ "${f}" == "1" ]; then echo "'`cat /proc/mkexec/path`' is already loaded." exit 1 --- 117,121 ---- [ ${?} -ne 0 ] && exit 1 ! if [ "${f}" == "1" -o "${f}" == "9" ]; then echo "'`cat /proc/mkexec/path`' is already loaded." exit 1 *************** *** 134,140 **** #--------------------------------------------------------------- # load mini kernel. #--------------------------------------------------------------- ! echo 1 > /proc/mkexec/stats [ ${?} -ne 0 ] && exit 1 --- 134,158 ---- #--------------------------------------------------------------- + # set initrd image path. + #--------------------------------------------------------------- + if [ -f "/proc/mkexec/initrd" -a -n "$MKDUMP_INITRD" ]; then + echo $MKDUMP_INITRD > /proc/mkexec/initrd + [ ${?} -ne 0 ] && exit 1 + fi + + #--------------------------------------------------------------- # load mini kernel. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_TYPE" ]; then ! STATS=1 ! else ! if [ "x${MKDUMP_TYPE}" == "xstandard" ]; then ! STATS=9 ! else ! STATS=1 ! fi ! fi ! ! echo $STATS > /proc/mkexec/stats [ ${?} -ne 0 ] && exit 1 |
From: Itsuro O. <od...@us...> - 2006-03-07 05:14:34
|
Update of /cvsroot/mkdump/minik/3.0/2.6/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27477 Modified Files: minik_dump.c Log Message: unuse DEFINE_SPINLOCK Index: minik_dump.c =================================================================== RCS file: /cvsroot/mkdump/minik/3.0/2.6/kernel/minik_dump.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** minik_dump.c 14 Feb 2006 06:13:53 -0000 1.1 --- minik_dump.c 7 Mar 2006 05:14:30 -0000 1.2 *************** *** 130,134 **** static struct io_buff io_buff_array[MINI_DUMP_BUFF_NUM]; static struct io_buff *io_buff_head; ! static DEFINE_SPINLOCK(io_buff_lock); static struct block_device *bdev; --- 130,134 ---- static struct io_buff io_buff_array[MINI_DUMP_BUFF_NUM]; static struct io_buff *io_buff_head; ! static io_buff_lock = SPIN_LOCK_UNLOCKED; /* DEFINE_SPINLOCK can be used >= 2.6.11 */ static struct block_device *bdev; |
From: kaku <fk...@us...> - 2006-03-05 06:04:52
|
Update of /cvsroot/mkdump/utils/mkd_save In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27102 Modified Files: mkd_save Log Message: Changed option.(-I -> -i) Index: mkd_save =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_save/mkd_save,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mkd_save 5 Mar 2006 00:54:55 -0000 1.9 --- mkd_save 5 Mar 2006 06:04:49 -0000 1.10 *************** *** 96,100 **** CheckDumpHeader `mkd_chk -n $MKDUMP_DEV` else ! CheckDumpHeader `$MKD_CONV -I -n $MKDUMP_DEV` fi if [ $? -ne 0 ]; then --- 96,100 ---- CheckDumpHeader `mkd_chk -n $MKDUMP_DEV` else ! CheckDumpHeader `$MKD_CONV -n -i $MKDUMP_DEV` fi if [ $? -ne 0 ]; then |
From: kaku <fk...@us...> - 2006-03-05 01:12:58
|
Update of /cvsroot/mkdump/utils/mkd_conv In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3963 Modified Files: mkd_conv.c Log Message: Added LF in fprintf(). Index: mkd_conv.c =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_conv/mkd_conv.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mkd_conv.c 4 Mar 2006 23:59:40 -0000 1.2 --- mkd_conv.c 5 Mar 2006 01:12:50 -0000 1.3 *************** *** 240,244 **** if ((result = posix_memalign((void *)&(dcache.buf), 512, dcache.buf_sz)) != 0) { /* posix_memalign() is not set errno. */ ! fprintf(stderr, "posix_memalign(for cache of dump data) : %d", result); goto L_close; } --- 240,244 ---- if ((result = posix_memalign((void *)&(dcache.buf), 512, dcache.buf_sz)) != 0) { /* posix_memalign() is not set errno. */ ! fprintf(stderr, "posix_memalign(for cache of dump data) : %d\n", result); goto L_close; } *************** *** 480,484 **** if ((result = posix_memalign((void *)&(dcache->dvp), 512, dcache->p_sz * 2)) != 0) { /* posix_memalign() is not set errno. */ ! fprintf(stderr, "posix_memalign(for cache of dump headers) : %d", result); return -1; } --- 480,484 ---- if ((result = posix_memalign((void *)&(dcache->dvp), 512, dcache->p_sz * 2)) != 0) { /* posix_memalign() is not set errno. */ ! fprintf(stderr, "posix_memalign(for cache of dump headers) : %d\n", result); return -1; } *************** *** 487,491 **** perror("read headers(in main)"); } else { ! fprintf(stderr, "header read size error(in main) %d : %d", dcache->p_sz * 2, result); } return -1; --- 487,491 ---- perror("read headers(in main)"); } else { ! fprintf(stderr, "header read size error(in main) %d : %d\n", dcache->p_sz * 2, result); } return -1; *************** *** 505,509 **** 512, dcache->p_sz)) != 0) { /* posix_memalign() is not set errno. */ ! fprintf(stderr, "posix_memalign(for cache of dump tailer) : %d", result); return -1; } --- 505,509 ---- 512, dcache->p_sz)) != 0) { /* posix_memalign() is not set errno. */ ! fprintf(stderr, "posix_memalign(for cache of dump tailer) : %d\n", result); return -1; } *************** *** 512,516 **** perror("read tailer(in main)"); } else { ! fprintf(stderr, "tailer read size error(in main) %d : %d", dcache->p_sz, result); } return -1; --- 512,516 ---- perror("read tailer(in main)"); } else { ! fprintf(stderr, "tailer read size error(in main) %d : %d\n", dcache->p_sz, result); } return -1; |
From: kaku <fk...@us...> - 2006-03-05 00:54:58
|
Update of /cvsroot/mkdump/utils/mkd_save In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23620 Modified Files: mkd_save Log Message: Changed option.(-P -> -p) Index: mkd_save =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_save/mkd_save,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mkd_save 3 Mar 2006 00:17:41 -0000 1.8 --- mkd_save 5 Mar 2006 00:54:55 -0000 1.9 *************** *** 133,137 **** if [ -n "$MKD_CONV" ]; then echo "pre-format dump device" ! $MKD_CONV -P $MKDUMP_DEV [ $? -ne 0 ] && exit 1 fi --- 133,137 ---- if [ -n "$MKD_CONV" ]; then echo "pre-format dump device" ! $MKD_CONV -p $MKDUMP_DEV [ $? -ne 0 ] && exit 1 fi |
From: kaku <fk...@us...> - 2006-03-04 23:59:48
|
Update of /cvsroot/mkdump/utils/mkd_conv In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12111 Modified Files: mkd_conv.c Log Message: Renamed check_dump_stat to check_dump_cond. Changed options.(-C -> -c, -I -> -i, -P -> -p) Changed a point of a line to check an indicator in copy_dump_no_conv(). Index: mkd_conv.c =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_conv/mkd_conv.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mkd_conv.c 3 Mar 2006 00:00:00 -0000 1.1 --- mkd_conv.c 4 Mar 2006 23:59:40 -0000 1.2 *************** *** 52,56 **** static int copy_dump_no_conv(int fd_in, int fd_out, char *file_nm, dump_cache_t *dcache, int chk, u64 *sum); ! static int check_dump_stat(int fd, dump_cache_t *dcache, u64 *blk); static int format_ddev(int fd, char *file_nm, dump_cache_t *dcache, u64 *sum); static int check_devf(int fd, char *file_nm, u64 *size); --- 52,56 ---- static int copy_dump_no_conv(int fd_in, int fd_out, char *file_nm, dump_cache_t *dcache, int chk, u64 *sum); ! static int check_dump_cond(int fd, dump_cache_t *dcache, u64 *blk); static int format_ddev(int fd, char *file_nm, dump_cache_t *dcache, u64 *sum); static int check_devf(int fd, char *file_nm, u64 *size); *************** *** 109,121 **** DPRINT(("Enter %s(%d)\n", __FUNCTION__,__LINE__)); program_name = argv[0]; ! while ((opt = getopt(argc, argv, "CIPcfnsa:d:w:")) > 0) { switch (opt) { ! case 'C': opts_f.f_chk = 1; break; ! case 'I': opts_f.f_info = 1; break; ! case 'P': opts_f.f_format = 1; open_flags = O_RDWR; --- 109,121 ---- DPRINT(("Enter %s(%d)\n", __FUNCTION__,__LINE__)); program_name = argv[0]; ! while ((opt = getopt(argc, argv, "cipfnsa:d:w:")) > 0) { switch (opt) { ! case 'c': opts_f.f_chk = 1; break; ! case 'i': opts_f.f_info = 1; break; ! case 'p': opts_f.f_format = 1; open_flags = O_RDWR; *************** *** 323,327 **** goto L_close; } ! result = check_dump_stat(fd_in, &dcache, &blk); printf("%d %d\n", result, blk); if (result == 0) { --- 323,327 ---- goto L_close; } ! result = check_dump_cond(fd_in, &dcache, &blk); printf("%d %d\n", result, blk); if (result == 0) { *************** *** 613,622 **** } if (rsz != dcache->buf_sz) { - if (per != -1) { - fprintf(stderr, "\n"); - } break; } } while (rsz > 0); return 0; --- 613,622 ---- } if (rsz != dcache->buf_sz) { break; } } while (rsz > 0); + if (per != -1) { + fprintf(stderr, "\n"); + } return 0; *************** *** 624,630 **** /* ! * check dump status */ ! static int check_dump_stat(int fd, dump_cache_t *dcache, u64 *blk) { ssize_t rsz; --- 624,630 ---- /* ! * check dump condition */ ! static int check_dump_cond(int fd, dump_cache_t *dcache, u64 *blk) { ssize_t rsz; *************** *** 638,642 **** *blk = 0; if (dcache->r_dv || dcache->r_dm) { ! fprintf(stderr, "invalid header(in check_dump_stat).\n"); return -1; } --- 638,642 ---- *blk = 0; if (dcache->r_dv || dcache->r_dm) { ! fprintf(stderr, "invalid header(in check_dump_cond).\n"); return -1; } *************** *** 651,655 **** /* check number of dump pages */ if (lseek(fd, dcache->p_sz * 2, SEEK_SET) != dcache->p_sz * 2) { ! perror("lseek dump data(in check_dump_stat)"); return -1; } --- 651,655 ---- /* check number of dump pages */ if (lseek(fd, dcache->p_sz * 2, SEEK_SET) != dcache->p_sz * 2) { ! perror("lseek dump data(in check_dump_cond)"); return -1; } *************** *** 659,663 **** if ((rsz = read(fd, dcache->buf, dcache->buf_sz)) < 0) { ! perror("read dump(in check_dump_stat)"); return -1; } else if (rsz == 0) { --- 659,663 ---- if ((rsz = read(fd, dcache->buf, dcache->buf_sz)) < 0) { ! perror("read dump(in check_dump_cond)"); return -1; } else if (rsz == 0) { |