Hi Cai When I started LTP Kdump automation task, I had received input as 64M. Today I had discussion with Kdump testing team here and realized now we have to reserve 128M. Thanks Cai, I have done the changes and patch is attached.
Thanks
Poornima
(See attached file: patch)
Cai Qian
<[EMAIL PROTECTED]>
Sent by: To
ltp-list-bounces@ [EMAIL PROTECTED]
lists.sourceforge cc
.net Poornima Nayak/India/[EMAIL PROTECTED],
[email protected],
[EMAIL PROTECTED], [EMAIL PROTECTED]
11/27/07 04:59 PM Subject
Re: [LTP] [PATCH][KDUMP] IA64
support
Hi,
From: Subrata Modak <[EMAIL PROTECTED]>
Subject: Re: [LTP] [PATCH][KDUMP] IA64 support
Date: Mon, 26 Nov 2007 11:30:24 +0530
> CQ,
>
> I have added this Patch to LTP, but may not be a clean merge as the same
> file has been updated by PoornimaĆ Patch last Thursday. Please verify
> the latest source code from:
>
http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/setup?revision=1.13&view=markup
,
> and let me know whether your changes are properly reflected.
>
Thanks, but have the latest kdump ran successfully on all arches? From
the code
68 if [ `echo $arch |grep -e "i[3-6]86"` ]
69 then
70 ARCH=1
71 if [ $RET -ne 0 ]; then
72 cat /boot/grub/menu.lst | sed -e 's/^[ ]*//' | sed
-e '/^kernel/s/$/ [EMAIL PROTECTED]/' > menu.lst
73 fi
74 echo "[EMAIL PROTECTED]" >> $CONFIG_FILE
75 else if [ $arch == "x86_64" ]
76 then
77 ARCH=1
78 if [ $RET -ne 0 ]; then
79 cat try.lst | sed -e 's/^[ ]*//' | sed -e
'/^kernel/s/$/ [EMAIL PROTECTED]/' > menu.lst
80 fi
81 echo "[EMAIL PROTECTED]" >> $CONFIG_FILE
82 elif [ "${arch}" = "ia64" ]; then
83 ARCH=1
84 echo "[EMAIL PROTECTED]" >> $CONFIG_FILE
85 else if [ $arch == "ppc64" ]
86 then
87 ARCH=2
88 if [ $RET -ne 0 ]; then
89 cat try.lst | sed -e 's/^[ ]*//' | sed -e
'/^kernel/s/$/ [EMAIL PROTECTED]/' > menu.lst
90 fi
91 echo "[EMAIL PROTECTED]" >> $CONFIG_FILE
92 else
93 echo "Unsupported architecture... exiting"
94 exit
95 fi
It used "[EMAIL PROTECTED]" kernel parameter for x86 and x86_64, and
"[EMAIL PROTECTED]" for ppc64. However, as far as I can tell, all
tests on RHEL5 I ran before are using the following configurations,
x86: "[EMAIL PROTECTED] nmi_watchdog=1"
x86_64: "[EMAIL PROTECTED]"
ppc64: "[EMAIL PROTECTED] xmon=off"
ia64: "[EMAIL PROTECTED]"
Regards,
CQ
> --Subrata--
>
> On Wed, 2007-10-31 at 13:56 +0800, Cai Qian wrote:
> > Hi,
> >
> > The following patch add IA64 support to kdump test case,
> >
> > Regards,
> > CQ
> >
> > diff -u testcases/kdump/setup.orig testcases/kdump/setup
> > --- testcases/kdump/setup.orig 2007-10-31 13:20:12.000000000 +0800
> > +++ testcases/kdump/setup 2007-10-31 13:47:48.000000000 +0800
> > @@ -8,7 +8,7 @@
> > declare -i ERRORS=0
> > declare -i NUM_ITERATIONS=1
> > declare -i CRASH_FOUND=0
> > -# ARCH = 1 means it's ia32/x86_64 arch
> > +# ARCH = 1 means it's ia32/x86_64/ia64 arch
> > # ARCH = 2 means it's ppc64 arch
> > declare -i ARCH
> >
> > @@ -22,21 +22,19 @@
> >
> > # Determine architecture we're running on
> > arch=`uname -m`
> > -if [ `echo $arch |grep -e "i[3-6]86"` ]
> > -then
> > - ARCH=1
> > -else if [ $arch == "x86_64" ]
> > -then
> > - ARCH=1
> > -else if [ $arch == "ppc64" ]
> > -then
> > - ARCH=2
> > +if [ `echo ${arch} |grep -e "i[3-6]86"` ]; then
> > + ARCH=1
> > +elif [ "${arch}" = "x86_64" ]; then
> > + ARCH=1
> > +elif [ "${arch}" = "ia64" ]; then
> > + ARCH=1
> > +elif [ "${arch}" = "ppc64" ]; then
> > + ARCH=2
> > else
> > - echo "Unsupported architecture... exiting"
> > - exit
> > -fi
> > -fi
> > + echo "Unsupported architecture... exiting"
> > + exit 1
> > fi
> > +
> > # Determine the Kernel Version
> > KERNEL_VERSION=$(uname -r | awk -F . '{ print $1 $2 $3}' | awk -F - '{
print $1 }' )
> > if [ $KERNEL_VERSION -lt $LINUX_2_6_16 ]; then
> >
> >
> >
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Ltp-list mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ltp-list
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
patch
Description: Binary data
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
