Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2012-06-01 22:30:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash", Maintainer is "ptesa...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2012-05-21 07:24:18.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2012-06-01 22:31:33.000000000 +0200 @@ -1,0 +2,114 @@ +Fri Jun 1 09:20:03 UTC 2012 - dm...@suse.com + +- Update to crash 6.0.7 from upstream and adjust patches to apply + without offsets. Upstream changes: + o Enhanced the search command to allow the searched-for value to + be entered as a crash (expression) or a kernel symbol name. The + resultant value of an (expression) or kernel symbol value must + fit into in the designated value size if -w or -h are used, and + neither variant may be used with the -c option. If found, both + the resultant value and the argument input string will be + displayed next to the target address(es). + o Added a new "search -t" option that will restrict the search to + the kernel stack pages of all tasks. If one or more matches + are found in a task's kernel stack, the output is preceded with + a task-identifying header. + o Fix for the s390x "bt -[tT]" options when run on an active task + on a live system. Without the patch, the options fail with the + message "bt: invalid/stale stack pointer for this task: 0". + o Fix for s390x "vm -p" option, which may show invalid user to + physical address translation data if a page is not mapped. + Without the patch, a page's translation may indicate + "<address> SWAP: (unknown swap location) OFFSET: 0", + or show an incorrect swap offset on an actual swap device. + o Added new "vm -[xd]" options to be used in conjunction with + "vm -[mv]", which override the current default output format + with hexadecimal or decimal format for just the command instance. + Without the patch, it would require changing the default output + format with "hex" or "dec" prior to executing "vm -[mv]". The + new flags may also be used with "foreach vm -[mv]". + o Fix for the s390x "vm -p" and "vtop -u <user-address>" commands + if the page containing the relevant PTE is not mapped. Without + the patch, the commands fail with the error message "vm: read + error: kernel virtual address: 0 type: entry" or "vtop: read + error: kernel virtual address: 0 type: entry" + o Fix for the s390x "vm -p" command and "vtop -u <user-address>" + commands to properly translate pages that are swapped out into + their swap file and offset. Without the patch, the swap file + and offset would not be displayed. + o Added new "list -[xd]" options to be used in conjunction with + "list -s", which override the current default output format + with hexadecimal or decimal format for just the command instance. + Without the patch, it would require changing the default output + format with "hex" or "dec" prior to executing "list -s". + o Added new "net -[xd]" options to be used in conjunction with + "net -S", which override the current default output format + with hexadecimal or decimal format for just the command instance. + Without the patch, it would require changing the default output + format with "hex" or "dec" prior to executing "net -S". The new + flags may also be used with "foreach net -S". + o Added new "mach -[xd]" options to be used in conjunction with + "mach -c", which override the current default output format + with hexadecimal or decimal format for just the command instance. + Without the patch, it would require changing the default output + format with "hex" or "dec" prior to executing "mach -c". + o If the value read from the cpu online, present, or possible masks + contains a cpu bit value that is outside the architecture's maximum + NR_CPUS value, print a warning message during invocation. Without + the patch, a corrupt vmcore containing a bogus mask value could + quietly corrupt heap memory. + o Add support to for reading dumpfiles compressed by LZO using + makedumpfile version 1.4.4 or later. This feature is disabled by + default. To enable this feature, build the crash utility in the + following manner: + (1) Install the LZO libraries by using the host system's package + manager or by directly downloading libraries from author's + website. The packages required are: + - lzo + - lzo-minilzo + - lzo-devel + The author's website is: http://www.oberhumer.com/opensource/lzo + (2) Create a CFLAGS.extra file and an LDFLAGS.extra file in top-level + crash sources directory: + - enter -DLZO in the CFLAGS.extra file + - enter -llzo2 in the LDFLAGS.extra file. + (3) Build crash with "make" as always. + * Only available as a source option for manual build in this + environment + o Fix for the included "trace" extension module. Without the patch, + if the module initialization sequence fails, a double-free in the + module may lead to a subsequent malloc() segmentation violation + in the crash session. + o Incorporated the "ipcs" extension module written by Qiao Nuohan + as a built-in command. The command displays the kernel's usage + of the System V shared memory, semaphore and message queue IPC + facilities. It differs from the original extension module by + fixing a failure scenario if the current task is exiting, and + adds a "-n pid|task" option, which displays the IPCS facilities + with respect to the namespace of a given pid or task. + o Fix for a gdb-7.3.1 regression that causes the line number capability + to fail with certain ranges of x86 base kernel text addresses. + Without the patch, the "dis -l <symbol>" or "sym <symbol>" + commands would fail to show line number information for certain + ranges of base kernel text addresses. + o Added a new "printm" command to the embedded gdb module. It + is currently only used by the "pstruct" extension module, but + can be used to dump the type, size, offset, bitpos and bitsize + values of an expression. + o Added a new "runq -t" option that displays the timestamp information + of each cpu's runqueue, which consists of either the rq.clock, the + rq.most_recent_timestamp or rq.timestamp_last_tick value, whichever + applies. Following each cpu timestamp is the last_run or timestamp + value of the active task on that cpu, whichever applies, along with + the task identification. + o Fix for an initialization-time warning when running on a live system + with the most recent version of the modprobe command, which no longer + supports the -l and --type options. The modprobe is used to detect + whether the crash.ko memory driver is part of the distribution. + Without the patch, a warning message is issued that indicates + "/sbin/modprobe: invalid option -- 'l'". If the driver is built into + the kernel, the message is harmless. If the driver is not built into + kernel, then the crash.ko (/dev/crash) driver would not be selected + as the live memory source. + +------------------------------------------------------------------- Old: ---- crash-6.0.6.tar.gz New: ---- crash-6.0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.XkZ5k5/_old 2012-06-01 22:31:36.000000000 +0200 +++ /var/tmp/diff_new_pack.XkZ5k5/_new 2012-06-01 22:31:36.000000000 +0200 @@ -16,7 +16,7 @@ # -%define crash_version 6.0.6 +%define crash_version 6.0.7 %define whitepaper_version 2003 %define scripts_version 2008-02-08 %define gcore_version 2011-09-22 ++++++ crash-6.0.6.tar.gz -> crash-6.0.7.tar.gz ++++++ /work/SRC/openSUSE:Factory/crash/crash-6.0.6.tar.gz /work/SRC/openSUSE:Factory/.crash.new/crash-6.0.7.tar.gz differ: char 5, line 1 ++++++ crash-crosscrash-hint.diff ++++++ --- /var/tmp/diff_new_pack.XkZ5k5/_old 2012-06-01 22:31:36.000000000 +0200 +++ /var/tmp/diff_new_pack.XkZ5k5/_new 2012-06-01 22:31:36.000000000 +0200 @@ -13,9 +13,11 @@ tools.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---- a/tools.c -+++ b/tools.c -@@ -4783,7 +4783,12 @@ machine_type_mismatch(char *file, char * +Index: crash-6.0.7/tools.c +=================================================================== +--- crash-6.0.7.orig/tools.c ++++ crash-6.0.7/tools.c +@@ -4817,7 +4817,12 @@ machine_type_mismatch(char *file, char * fprintf(fp, " crash utility: %s\n", MACHINE_TYPE); fprintf(fp, " %s: %s%s%s\n\n", file, e_machine, alt ? " or " : "", alt ? alt : ""); ++++++ crash-sles9-time.patch ++++++ --- /var/tmp/diff_new_pack.XkZ5k5/_old 2012-06-01 22:31:36.000000000 +0200 +++ /var/tmp/diff_new_pack.XkZ5k5/_new 2012-06-01 22:31:36.000000000 +0200 @@ -14,9 +14,11 @@ task.c | 11 +++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) ---- a/defs.h -+++ b/defs.h -@@ -653,6 +653,7 @@ struct kernel_table { +Index: crash-6.0.7/defs.h +=================================================================== +--- crash-6.0.7.orig/defs.h ++++ crash-6.0.7/defs.h +@@ -657,6 +657,7 @@ struct kernel_table { ulong p2m_missing; } pvops_xen; int highest_irq; @@ -24,7 +26,7 @@ #define IKCONFIG_AVAIL 0x1 /* kernel contains ikconfig data */ #define IKCONFIG_LOADED 0x2 /* ikconfig data is currently loaded */ int ikconfig_flags; -@@ -5304,6 +5305,13 @@ extern struct lkcd_environment *lkcd; +@@ -5357,6 +5358,13 @@ extern struct lkcd_environment *lkcd; #endif /* LKCD_COMMON */ @@ -38,9 +40,11 @@ /* * gdb_interface.c */ ---- a/kernel.c -+++ b/kernel.c -@@ -215,6 +215,12 @@ kernel_init() +Index: crash-6.0.7/kernel.c +=================================================================== +--- crash-6.0.7.orig/kernel.c ++++ crash-6.0.7/kernel.c +@@ -216,6 +216,12 @@ kernel_init() verify_version(); @@ -53,7 +57,7 @@ if (symbol_exists("__per_cpu_offset")) { if (LKCD_KERNTYPES()) i = get_cpus_possible(); -@@ -4236,7 +4242,7 @@ get_uptime(char *buf, ulonglong *j64p) +@@ -4271,7 +4277,7 @@ get_uptime(char *buf, ulonglong *j64p) if (symbol_exists("jiffies_64")) { get_symbol_data("jiffies_64", sizeof(ulonglong), &jiffies_64); @@ -62,7 +66,7 @@ wrapped = (jiffies_64 & 0xffffffff00000000ULL); if (wrapped) { wrapped -= 0x100000000ULL; -@@ -4770,6 +4776,7 @@ no_cpu_flags: +@@ -4805,6 +4811,7 @@ no_cpu_flags: fprintf(fp, " p2m_top: %lx\n", kt->pvops_xen.p2m_top); fprintf(fp, " p2m_top_entries: %d\n", kt->pvops_xen.p2m_top_entries); fprintf(fp, " p2m_missing: %lx\n", kt->pvops_xen.p2m_missing); @@ -70,9 +74,11 @@ } /* ---- a/task.c -+++ b/task.c -@@ -3553,6 +3553,12 @@ start_time_timespec(void) +Index: crash-6.0.7/task.c +=================================================================== +--- crash-6.0.7.orig/task.c ++++ crash-6.0.7/task.c +@@ -3554,6 +3554,12 @@ start_time_timespec(void) default: break; } @@ -85,7 +91,7 @@ tt->flags |= NO_TIMESPEC; -@@ -3584,6 +3590,11 @@ convert_start_time(ulonglong start_time, +@@ -3585,6 +3591,11 @@ convert_start_time(ulonglong start_time, ulong tmp1, tmp2; ulonglong wrapped; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org