From owner-lkcd@oss.sgi.com Wed Apr 4 10:31:38 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f34HVc325492 for lkcd-outgoing; Wed, 4 Apr 2001 10:31:38 -0700 Received: from majestix.cmr.no (majestix.cmr.no [129.177.31.53]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f34HVWM25483 for ; Wed, 4 Apr 2001 10:31:32 -0700 Received: from cmr.no (e.intra.cmr.no [10.2.0.1]) by majestix.cmr.no id TAA57378; Wed, 4 Apr 2001 19:31:20 +0200 (CEST) Message-ID: <3ACB5A68.E3A2DA51@cmr.no> Date: Wed, 04 Apr 2001 19:31:20 +0200 From: "David J. M. Karlsen" Organization: Christian Michelsen Research AS X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3 i686) X-Accept-Language: no, en MIME-Version: 1.0 To: "Matt D. Robinson" CC: lkcd@oss.sgi.com Subject: Re: utils in .deb or at least .tgz References: <3ABEA8C3.5F2CA47@cmr.no> <3AC0CC78.95B722C@alacritech.com> Content-Type: multipart/mixed; boundary="------------EC86E891EB383D493BD26832" Sender: owner-lkcd@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. --------------EC86E891EB383D493BD26832 Content-Type: multipart/alternative; boundary="------------3CF880167A503EF94CF33718" --------------3CF880167A503EF94CF33718 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Matt D. Robinson" wrote: > "David J. M. Karlsen" wrote: > > > > are these available in any of the given formats? > > > > is the 2.4.1 patch comp. with 2.4.2? > > There is no .deb package yet (I don't have any Debian packaging > utilities installed anywhere), but you can get the latest lkcdutils > off of the SourceForge tree: > > cvs -d:pserver:anonymous@cvs.lkcd.sourceforge.net:/cvsroot/lkcd login > > cvs -z3 -d:pserver:anonymous@cvs.lkcd.sourceforge.net:/cvsroot/lkcd co > lkcdutils thanks - some other issues: 1) there aren't any files under: ftp://oss.sgi.com/www/projects/lkcd/download/current/Debian - and the docu says: " rc.sysinit-redhat62.patch rc.sysinit-redhat70.patch rc.sysinit-turbo.patch One of the release specific rc.sysinit patches should be applied to the /etc/rc.d/rc.sysinit startup script on all RedHat and Turbo Linux based systems. In each case, the patch adds several calls to the new /sbin/vmdump script, to ensure that the system is configured for saving system crash dumps and that dumps actually get saved after a system crash. In addition, these patches move the "swapon -a" call so that it is made only after all local file systems are mounted and a system dump, if one exists, has been copied to a file on disk. " Does this mean debian needs no patching? 2) installkernel.patch The installkernel.patch needs to be applied to the /sbin/installkernel script to add support for the additional Kerntypes kernel build target. Note that the /sbin/installkernel script only exists on RedHat based systems. Debian also has this script: e:/usr/src/lkcd/lkcdutils/scripts# !dp dpkg -S /sbin/installkernel debianutils: /sbin/installkernel 3) trouble compiling lkcd_utils - log added put patching it fails. my orig file is attatched - will it work? 4) trouble compiling lkcd_cmds 3&4: topdir pointed to patch -p1 < 2.4.1.diff'ed 2.4.3 sourcetree... (arch=i386) - seems like the cmd dir doesn't exist? > The 2.4.1 patch should be compatible with the 2.4.2 tree, with the > possibility of some overlaps in the Makefiles. Nothing in the code > should really need to change. OK - i'm trying on the 2.4.3 now :) > Sorry for the delay in response. You're responding faster than I expected - THX! :) I'm not subscribing the list (is it lowtraffic?) - so please send a CC to david@cmr.no. Again, thanks - this will be lovely when it works! -- --- David J. M. Karlsen [david@cmr.no] -*- http://datalab.intra.cmr.no fon: [+47] 55 57 43 29 -*- fax: [+47] 55 57 40 41 Christian Michelsen Research AS -*- http://www.cmr.no --------------3CF880167A503EF94CF33718 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit "Matt D. Robinson" wrote:
"David J. M. Karlsen" wrote:
>
> are these available in any of the given formats?
>
> is the 2.4.1 patch comp. with 2.4.2?

There is no .deb package yet (I don't have any Debian packaging
utilities installed anywhere), but you can get the latest lkcdutils
off of the SourceForge tree:

cvs -d:pserver:anonymous@cvs.lkcd.sourceforge.net:/cvsroot/lkcd login
<hit enter at the password prompt>
cvs -z3 -d:pserver:anonymous@cvs.lkcd.sourceforge.net:/cvsroot/lkcd co
lkcdutils

thanks - some other issues:

1)
there aren't any files under: ftp://oss.sgi.com/www/projects/lkcd/download/current/Debian - and the docu says:
"
rc.sysinit-redhat62.patch
rc.sysinit-redhat70.patch
rc.sysinit-turbo.patch
  One of the release specific rc.sysinit patches should be applied to
  the /etc/rc.d/rc.sysinit startup script on all RedHat and Turbo Linux
  based systems. In each case, the patch adds several calls to the
  new /sbin/vmdump script, to ensure that the system is configured for
  saving system crash dumps and that dumps actually get saved after
  a system crash. In addition, these patches move the "swapon -a" call
  so that it is made only after all local file systems are mounted and
  a system dump, if one exists, has been copied to a file on disk.
"

Does this mean debian needs no patching?

2)
installkernel.patch
  The installkernel.patch needs to be applied to the /sbin/installkernel
  script to add support for the additional Kerntypes kernel build target.
  Note that the /sbin/installkernel script only exists on RedHat based
  systems.

Debian also has this script:
e:/usr/src/lkcd/lkcdutils/scripts# !dp
dpkg -S /sbin/installkernel
debianutils: /sbin/installkernel

3) trouble compiling lkcd_utils - log added
put patching it fails. my orig file is attatched - will it work?

4) trouble compiling lkcd_cmds

3&4: topdir pointed to patch -p1 < 2.4.1.diff'ed 2.4.3 sourcetree... (arch=i386) - seems like the cmd dir doesn't exist?

The 2.4.1 patch should be compatible with the 2.4.2 tree, with the
possibility of some overlaps in the Makefiles.  Nothing in the code
should really need to change.
OK - i'm trying on the 2.4.3 now :)
Sorry for the delay in response.
You're responding faster than I expected - THX! :)

I'm not subscribing the list (is it lowtraffic?) - so please send a CC to david@cmr.no.

Again, thanks - this will be lovely when it works!

-- 
---
David J. M. Karlsen [david@cmr.no]      -*-     http://datalab.intra.cmr.no
fon: [+47] 55 57 43 29                  -*-     fax: [+47] 55 57 40 41
Christian Michelsen Research AS         -*-     http://www.cmr.no
  --------------3CF880167A503EF94CF33718-- --------------EC86E891EB383D493BD26832 Content-Type: text/plain; charset=us-ascii; name="installkernel.DEBIAN.ORIG" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="installkernel.DEBIAN.ORIG" #!/bin/sh # # Copyright (C) 1995 - 1998, Ian A. Murdock # # Install the kernel on a Debian Linux system. # # This script is called from /usr/src/linux/arch/i386/boot/install.sh. # If you install it as /sbin/installkernel, you can do a "make install" # from a generic kernel source tree, and the image will be installed to # the proper place for Debian GNU/Linux. set -e if [ $# = 4 ] ; then img="$2" map="$3" ver="$1" # $(INSTALL_PATH), passed as $4, is ignored--Debian uses /boot. else echo "Usage: installkernel " exit 1 fi updatever () { if [ -f /boot/$1-$ver ] ; then mv /boot/$1-$ver /boot/$1-$ver.old fi cat $2 > /boot/$1-$ver if [ -f /boot/$1 ] ; then if [ -L /boot/$1 -a $(ls -l /boot/$1 | awk '{print $11}') \ = $1-$ver ] ; then ln -sf $1-$ver.old /boot/$1.old else mv /boot/$1 /boot/$1.old fi fi ln -sf $1-$ver /boot/$1 } updatever vmlinuz $img updatever System.map $map mkboot -installkernel --------------EC86E891EB383D493BD26832 Content-Type: text/plain; charset=us-ascii; name="lkcdutils.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lkcdutils.log" for dir in scripts libklib liballoc librl libsial lcrash ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd ..) make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f *.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f include/asm /bin/rm -f *.o /bin/rm -f libklib.a make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' /bin/rm -f *.o /bin/rm -f liballoc.a /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' /bin/rm -f *.o /bin/rm -f librl.a /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' /bin/rm -f *.o libsial.a lex.sial.c lex.sialpp.c sial.tab.c sial.tab.h sialpp.tab.c sialpp.tab.h y.output mkbaseop baseops.c y.tab.c y.tab.h libsial.so* make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' /bin/rm -f *.o *.a /bin/rm -f ./include/arch /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f for dir in man arch/i386 cmds ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' for dir in cmds lib ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' rm -f *.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' for dir in scripts libklib liballoc librl libsial lcrash ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Nothing to be done for `clean'. make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd ..) make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f *.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f include/asm /bin/rm -f *.o /bin/rm -f libklib.a make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' /bin/rm -f *.o /bin/rm -f liballoc.a /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' /bin/rm -f *.o /bin/rm -f librl.a /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' /bin/rm -f *.o libsial.a lex.sial.c lex.sialpp.c sial.tab.c sial.tab.h sialpp.tab.c sialpp.tab.h y.output mkbaseop baseops.c y.tab.c y.tab.h libsial.so* make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' /bin/rm -f *.o *.a /bin/rm -f ./include/arch /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f for dir in man arch/i386 cmds ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' for dir in cmds lib ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' rm -f *.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' for dir in scripts libklib liballoc librl libsial lcrash ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd .. ); \ done make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Nothing to be done for `clobber'. make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd ..) make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f *.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f include/asm /bin/rm -f *.o /bin/rm -f libklib.a (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd ..) make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' make[2]: Nothing to be done for `clobber'. make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' /bin/rm -f namelist libklib.a make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' /bin/rm -f *.o /bin/rm -f liballoc.a /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f rm -f liballoc.a make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' /bin/rm -f *.o /bin/rm -f librl.a /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f /bin/rm -rf librl.a make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' /bin/rm -f *.o libsial.a lex.sial.c lex.sialpp.c sial.tab.c sial.tab.h sialpp.tab.c sialpp.tab.h y.output mkbaseop baseops.c y.tab.c y.tab.h libsial.so* make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' /bin/rm -f *.o *.a /bin/rm -f ./include/arch /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f for dir in man arch/i386 cmds ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Nothing to be done for `clean'. make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' for dir in cmds lib ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' rm -f *.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' for dir in man arch/i386 cmds ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd .. ); \ done make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Nothing to be done for `clobber'. make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' for dir in cmds lib ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ done make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' for dir in cmds lib ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd .. ); \ done make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' rm -f *.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' rm -f *.o rm -f ../../../libarch.a make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' rm -f *.o rm -f ../libcmds.a make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' /bin/rm -f lcrash make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' for dir in scripts libklib liballoc librl libsial lcrash ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386; cd .. ); \ done make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' /bin/rm -f include/asm (cd include ; /bin/ln -s asm-i386 asm; cd ..) gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o klib.o klib.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_alloc.o kl_alloc.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_btnode.o kl_btnode.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_cmp.o kl_cmp.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_htnode.o kl_htnode.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_libc.o kl_libc.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_mem.o kl_mem.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_memory.o kl_memory.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_nmlist.o kl_nmlist.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_print.o kl_print.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_queue.o kl_queue.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_savedump.o kl_savedump.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_signal.o kl_signal.c gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_stabs.o kl_stabs.c kl_stabs.c:8: bfd.h: No such file or directory make[1]: *** [kl_stabs.o] Error 1 make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' gcc -gstabs -DALLOC_DEBUG -I. -I/usr/src/linux-lkcd/include -c -o alloc.o alloc.c ar ccurl liballoc.a alloc.o make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' gcc -gstabs -DALLOC_DEBUG -I. -I/usr/src/linux-lkcd/include -c -o rl.o rl.c gcc -gstabs -DALLOC_DEBUG -I. -I/usr/src/linux-lkcd/include -c -o hist.o hist.c ar ccurl librl.a rl.o hist.o make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_util.o sial_util.c gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_node.o sial_node.c gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_var.o sial_var.c gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_func.o sial_func.c gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_str.o sial_str.c yacc -psial -v -t -d sial.y sial.y:76: type clash (`' `t') on default action sial.y:125: invalid input: ; make[1]: *** [sial.tab.h] Error 1 make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' /bin/rm -f ./include/arch (cd include ; /bin/ln -sf arch-i386 arch) (cd ./../libklib ; make ARCH=i386 symlinks) make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' /bin/rm -f include/asm (cd include ; /bin/ln -s asm-i386 asm; cd ..) make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o main.o main.c main.c: In function `main': main.c:248: warning: implicit declaration of function `init_sial' gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o util.o util.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o eval.o eval.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o report.o report.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o stabs.o stabs.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o struct.o struct.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o vmdump.o vmdump.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o sial.o sial.c In file included from sial.c:4: ../libsial/sial_api.h:125: warning: function declaration isn't a prototype sial.c: In function `init_sial': sial.c:774: warning: passing arg 2 of `sial_builtin' from incompatible pointer type for dir in man arch/i386 cmds ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386; cd .. ); \ done make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' for dir in cmds lib ; do \ ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386; cd .. ); \ done make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o i386_cmds.o i386_cmds.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o cmd_mktrace.o cmd_mktrace.c ar ccurl ../../../libarch.a i386_cmds.o cmd_mktrace.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o arch.o arch.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o dis.o dis.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o trace.o trace.c ar ccurl ../../../libarch.a arch.o dis.o trace.o make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o command.o command.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmds.o cmds.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_base.o cmd_base.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_addtypes.o cmd_addtypes.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_deftask.o cmd_deftask.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_dis.o cmd_dis.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_dump.o cmd_dump.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_findsym.o cmd_findsym.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_help.o cmd_help.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_mmap.o cmd_mmap.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_page.o cmd_page.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_print.o cmd_print.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_quit.o cmd_quit.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_stat.o cmd_stat.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_strace.o cmd_strace.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_symbol.o cmd_symbol.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_task.o cmd_task.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_trace.o cmd_trace.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_vtop.o cmd_vtop.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_history.o cmd_history.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_livedump.o cmd_livedump.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_report.o cmd_report.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_sizeof.o cmd_sizeof.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_whatis.o cmd_whatis.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_ldcmds.o cmd_ldcmds.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_namelist.o cmd_namelist.c gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_walk.o cmd_walk.c ar ccurl ../libcmds.a command.o cmds.o cmd_base.o cmd_addtypes.o cmd_deftask.o cmd_dis.o cmd_dump.o cmd_findsym.o cmd_help.o cmd_mmap.o cmd_page.o cmd_print.o cmd_quit.o cmd_stat.o cmd_strace.o cmd_symbol.o cmd_task.o cmd_trace.o cmd_vtop.o cmd_history.o cmd_livedump.o cmd_report.o cmd_sizeof.o cmd_whatis.o cmd_ldcmds.o cmd_namelist.o cmd_walk.o make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' gcc -o lcrash -static -rdynamic -L. -L/usr/src/linux-lkcd -L./../libklib -L./../liballoc -L./../librl -L./../libsial main.o util.o eval.o report.o stabs.o struct.o vmdump.o sial.o -lcmds -larch -lalloc -lrl -lklib -lncurses -lopcodes -lbfd -liberty -ldl -lsial /usr/bin/ld: cannot find -lklib collect2: ld returned 1 exit status make[1]: *** [lcrash] Error 1 make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' --------------EC86E891EB383D493BD26832-- From owner-lkcd@oss.sgi.com Mon Apr 16 05:19:29 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3GCJTd21224 for lkcd-outgoing; Mon, 16 Apr 2001 05:19:29 -0700 Received: from ausmtp01.au.ibm.com (ausmtp01.au.ibm.COM [202.135.136.97]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3GCJQM21221 for ; Mon, 16 Apr 2001 05:19:27 -0700 Received: from f03n05e.au.ibm.com by ausmtp01.au.ibm.com (IBM AP 1.0) with ESMTP id TAA196588 for ; Mon, 16 Apr 2001 19:39:39 +1000 From: gshekar@in.ibm.com Received: from d73mta05.au.ibm.com (f06n05s [9.185.166.67]) by f03n05e.au.ibm.com (8.8.8m3/NCO v4.96) with SMTP id TAA52690 for ; Mon, 16 Apr 2001 19:50:38 +1000 Received: by d73mta05.au.ibm.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id CA256A30.00358A45 ; Mon, 16 Apr 2001 19:44:48 +1000 X-Lotus-FromDomain: IBMIN@IBMAU To: lkcd@oss.sgi.com Message-ID: Date: Mon, 16 Apr 2001 12:26:00 +0530 Subject: dump_function_ptr Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-lkcd@oss.sgi.com Precedence: bulk Hi, In dump_init() routine, dump_function_ptr is unnecessarily initialized to dump_execute (it is not compiled as a CONFIG_VMDUMP_MODULE) Regards Girish From owner-lkcd@oss.sgi.com Mon Apr 16 07:46:53 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3GEkr125924 for lkcd-outgoing; Mon, 16 Apr 2001 07:46:53 -0700 Received: from e24.nc.us.ibm.com (e24.nc.us.ibm.com [32.97.136.230]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3GEkqM25921 for ; Mon, 16 Apr 2001 07:46:52 -0700 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e24.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id KAA55426 for ; Mon, 16 Apr 2001 10:47:14 -0500 Received: from d04nms18.raleigh.ibm.com (d04nms18.raleigh.ibm.com [9.67.228.145]) by southrelay02.raleigh.ibm.com (8.11.1/NCO v4.96) with ESMTP id f3GEiFh44974 for ; Mon, 16 Apr 2001 10:44:15 -0400 Subject: IDE Support Reference To: lkcd@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Benjamin J Pracht" Date: Mon, 16 Apr 2001 10:44:11 -0400 X-MIMETrack: Serialize by Router on D04NMS18/04/M/IBM(Release 5.0.6 |December 14, 2000) at 04/16/2001 10:44:14 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-lkcd@oss.sgi.com Precedence: bulk I read that lkcd now supports IDE drives for the 2.4.0 kernel. Did I misread this? If not can someone point me to specific setup instructions for it? Thanks in advance, Ben Pracht From owner-lkcd@oss.sgi.com Mon Apr 16 11:10:47 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3GIAlQ31581 for lkcd-outgoing; Mon, 16 Apr 2001 11:10:47 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3GIAlM31578 for ; Mon, 16 Apr 2001 11:10:47 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3GI7j232243; Mon, 16 Apr 2001 11:07:45 -0700 Message-ID: <3ADB3492.C5AE2373@alacritech.com> Date: Mon, 16 Apr 2001 11:06:10 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: Benjamin J Pracht CC: lkcd@oss.sgi.com Subject: Re: IDE Support Reference References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk Benjamin J Pracht wrote: > > I read that lkcd now supports IDE drives for the 2.4.0 kernel. Did I > misread this? If not can someone point me to specific setup instructions > for it? > > Thanks in advance, > Ben Pracht It should all be straightforward from the web page FAQ: http://oss.sgi.com/projects/lkcd/faq.html If not, send me an E-mail and I'll try to answer your questions directly. Yes, we support IDE under 2.4 -- realize we are using the standard IDE driver for dumping, we don't have a custom one as of yet. --Matt From owner-lkcd@oss.sgi.com Mon Apr 16 11:23:29 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3GINT132217 for lkcd-outgoing; Mon, 16 Apr 2001 11:23:29 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3GINSM32214 for ; Mon, 16 Apr 2001 11:23:28 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3GIKO232472; Mon, 16 Apr 2001 11:20:24 -0700 Message-ID: <3ADB3788.C38C38EC@alacritech.com> Date: Mon, 16 Apr 2001 11:18:48 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: gshekar@in.ibm.com CC: lkcd@oss.sgi.com Subject: Re: dump_function_ptr References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk gshekar@in.ibm.com wrote: > > Hi, > In dump_init() routine, dump_function_ptr is unnecessarily initialized to > dump_execute (it is not compiled as a CONFIG_VMDUMP_MODULE) > > Regards > Girish Corrected in the LKCD trees on SourceForge. We now have: #if defined(CONFIG_VMDUMP_MODULE) printk("vmdump: setting dump_execute() as dump_function_ptr ...\n"); dump_function_ptr = dump_execute; #else dump_function_ptr = 0; #endif Does this work? If so, feel free to grab the latest version out of the source trees on SourceForge. Oh, there shouldn't be any issue with assigning it each time, unless you're trying to define your own ... --Matt From owner-lkcd@oss.sgi.com Mon Apr 16 13:44:10 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3GKiAL03766 for lkcd-outgoing; Mon, 16 Apr 2001 13:44:10 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3GKi7M03763 for ; Mon, 16 Apr 2001 13:44:07 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3GKf2202447; Mon, 16 Apr 2001 13:41:03 -0700 Message-ID: <3ADB587E.C1009E8A@alacritech.com> Date: Mon, 16 Apr 2001 13:39:26 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: "David J. M. Karlsen" CC: lkcd@oss.sgi.com Subject: Re: utils in .deb or at least .tgz References: <3ABEA8C3.5F2CA47@cmr.no> <3AC0CC78.95B722C@alacritech.com> <3ACB5A68.E3A2DA51@cmr.no> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk "David J. M. Karlsen" wrote: > > "Matt D. Robinson" wrote: > > > "David J. M. Karlsen" wrote: > > > > > > are these available in any of the given formats? > > > > > > is the 2.4.1 patch comp. with 2.4.2? > > > > There is no .deb package yet (I don't have any Debian packaging > > utilities installed anywhere), but you can get the latest lkcdutils > > off of the SourceForge tree: > > > > cvs -d:pserver:anonymous@cvs.lkcd.sourceforge.net:/cvsroot/lkcd login > > > > cvs -z3 -d:pserver:anonymous@cvs.lkcd.sourceforge.net:/cvsroot/lkcd co > > lkcdutils > > thanks - some other issues: > > 1) > there aren't any files under: > ftp://oss.sgi.com/www/projects/lkcd/download/current/Debian - and the docu > says: > " > rc.sysinit-redhat62.patch > rc.sysinit-redhat70.patch > rc.sysinit-turbo.patch > One of the release specific rc.sysinit patches should be applied to > the /etc/rc.d/rc.sysinit startup script on all RedHat and Turbo Linux > based systems. In each case, the patch adds several calls to the > new /sbin/vmdump script, to ensure that the system is configured for > saving system crash dumps and that dumps actually get saved after > a system crash. In addition, these patches move the "swapon -a" call > so that it is made only after all local file systems are mounted and > a system dump, if one exists, has been copied to a file on disk. > " > > Does this mean debian needs no patching? No, it probably needs patching, but you'll just have to apply it to the appropriate start-up script. As I don't have a Debian distribution handy, I'm not sure what that would be. Do you have a system available so I can look at it? > 2) > installkernel.patch > The installkernel.patch needs to be applied to the /sbin/installkernel > script to add support for the additional Kerntypes kernel build target. > Note that the /sbin/installkernel script only exists on RedHat based > systems. > > Debian also has this script: > e:/usr/src/lkcd/lkcdutils/scripts# !dp > dpkg -S /sbin/installkernel > debianutils: /sbin/installkernel Ahh, that makes it convenient, as long as they are similar enough. Can you E-mail me the 'diff' between the RedHat and the Debian version? > 3) trouble compiling lkcd_utils - log added > put patching it fails. my orig file is attatched - will it work? I believe Luc has fixed this. Try it again and let me know. Grab the source from SourceForge ... > 4) trouble compiling lkcd_cmds > > 3&4: topdir pointed to patch -p1 < 2.4.1.diff'ed 2.4.3 sourcetree... > (arch=i386) - seems like the cmd dir doesn't exist? The cmd dir shouldn't exist anymore. If that's still in the patch, I need to remove it. > > The 2.4.1 patch should be compatible with the 2.4.2 tree, with the > > possibility of some overlaps in the Makefiles. Nothing in the code > > should really need to change. > > OK - i'm trying on the 2.4.3 now :) Let me know how this works out. > > Sorry for the delay in response. > > You're responding faster than I expected - THX! :) > > I'm not subscribing the list (is it lowtraffic?) - so please send a CC to > david@cmr.no. > > Again, thanks - this will be lovely when it works! > > -- > --- > David J. M. Karlsen [david@cmr.no] -*- http://datalab.intra.cmr.no > fon: [+47] 55 57 43 29 -*- fax: [+47] 55 57 40 41 > Christian Michelsen Research AS -*- http://www.cmr.no > > > > --------------------------------------------------------------------- > #!/bin/sh > # > # Copyright (C) 1995 - 1998, Ian A. Murdock > # > # Install the kernel on a Debian Linux system. > # > # This script is called from /usr/src/linux/arch/i386/boot/install.sh. > # If you install it as /sbin/installkernel, you can do a "make install" > # from a generic kernel source tree, and the image will be installed to > # the proper place for Debian GNU/Linux. > > set -e > > if [ $# = 4 ] ; then > img="$2" > map="$3" > ver="$1" > # $(INSTALL_PATH), passed as $4, is ignored--Debian uses /boot. > else > echo "Usage: installkernel " > exit 1 > fi > > updatever () { > if [ -f /boot/$1-$ver ] ; then > mv /boot/$1-$ver /boot/$1-$ver.old > fi > > cat $2 > /boot/$1-$ver > > if [ -f /boot/$1 ] ; then > if [ -L /boot/$1 -a $(ls -l /boot/$1 | awk '{print $11}') \ > = $1-$ver ] ; then > ln -sf $1-$ver.old /boot/$1.old > else > mv /boot/$1 /boot/$1.old > fi > fi > > ln -sf $1-$ver /boot/$1 > } > > updatever vmlinuz $img > updatever System.map $map > > mkboot -installkernel > > --------------------------------------------------------------------- > for dir in scripts libklib liballoc librl libsial lcrash ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Nothing to be done for `clean'. > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd ..) > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f *.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f include/asm > /bin/rm -f *.o > /bin/rm -f libklib.a > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' > /bin/rm -f *.o > /bin/rm -f liballoc.a > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' > /bin/rm -f *.o > /bin/rm -f librl.a > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' > /bin/rm -f *.o libsial.a lex.sial.c lex.sialpp.c sial.tab.c sial.tab.h sialpp.tab.c sialpp.tab.h y.output mkbaseop baseops.c y.tab.c y.tab.h libsial.so* > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' > /bin/rm -f *.o *.a > /bin/rm -f ./include/arch > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > for dir in man arch/i386 cmds ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Nothing to be done for `clean'. > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > for dir in cmds lib ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > rm -f *.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' > for dir in scripts libklib liballoc librl libsial lcrash ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Nothing to be done for `clean'. > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd ..) > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f *.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f include/asm > /bin/rm -f *.o > /bin/rm -f libklib.a > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' > /bin/rm -f *.o > /bin/rm -f liballoc.a > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' > /bin/rm -f *.o > /bin/rm -f librl.a > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' > /bin/rm -f *.o libsial.a lex.sial.c lex.sialpp.c sial.tab.c sial.tab.h sialpp.tab.c sialpp.tab.h y.output mkbaseop baseops.c y.tab.c y.tab.h libsial.so* > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' > /bin/rm -f *.o *.a > /bin/rm -f ./include/arch > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > for dir in man arch/i386 cmds ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Nothing to be done for `clean'. > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > for dir in cmds lib ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > rm -f *.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' > for dir in scripts libklib liballoc librl libsial lcrash ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd .. ); \ > done > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Nothing to be done for `clobber'. > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd ..) > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f *.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f include/asm > /bin/rm -f *.o > /bin/rm -f libklib.a > (cd arch/i386 ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd ..) > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > make[2]: Nothing to be done for `clobber'. > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib/arch/i386' > /bin/rm -f namelist libklib.a > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' > /bin/rm -f *.o > /bin/rm -f liballoc.a > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > rm -f liballoc.a > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' > /bin/rm -f *.o > /bin/rm -f librl.a > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > /bin/rm -rf librl.a > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' > /bin/rm -f *.o libsial.a lex.sial.c lex.sialpp.c sial.tab.c sial.tab.h sialpp.tab.c sialpp.tab.h y.output mkbaseop baseops.c y.tab.c y.tab.h libsial.so* > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' > /bin/rm -f *.o *.a > /bin/rm -f ./include/arch > /usr/bin/find . -name ".[A-z]*.flags" -print | xargs /bin/rm -f > /usr/bin/find . -name ".depend" -print | xargs /bin/rm -f > for dir in man arch/i386 cmds ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Nothing to be done for `clean'. > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > for dir in cmds lib ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > rm -f *.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > for dir in man arch/i386 cmds ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd .. ); \ > done > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Nothing to be done for `clobber'. > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > for dir in cmds lib ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clean; cd .. ); \ > done > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > for dir in cmds lib ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386 clobber; cd .. ); \ > done > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > rm -f *.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > rm -f *.o > rm -f ../../../libarch.a > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > rm -f *.o > rm -f ../libcmds.a > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > /bin/rm -f lcrash > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' > for dir in scripts libklib liballoc librl libsial lcrash ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386; cd .. ); \ > done > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/scripts' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' > /bin/rm -f include/asm > (cd include ; /bin/ln -s asm-i386 asm; cd ..) > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o klib.o klib.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_alloc.o kl_alloc.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_btnode.o kl_btnode.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_cmp.o kl_cmp.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_htnode.o kl_htnode.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_libc.o kl_libc.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_mem.o kl_mem.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_memory.o kl_memory.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_nmlist.o kl_nmlist.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_print.o kl_print.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_queue.o kl_queue.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_savedump.o kl_savedump.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_signal.o kl_signal.c > gcc -gstabs -DARCH=i386 -Iinclude -I/usr/src/linux-lkcd/include -Wall -Wstrict-prototypes -c -o kl_stabs.o kl_stabs.c > kl_stabs.c:8: bfd.h: No such file or directory > make[1]: *** [kl_stabs.o] Error 1 > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/liballoc' > gcc -gstabs -DALLOC_DEBUG -I. -I/usr/src/linux-lkcd/include -c -o alloc.o alloc.c > ar ccurl liballoc.a alloc.o > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/liballoc' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/librl' > gcc -gstabs -DALLOC_DEBUG -I. -I/usr/src/linux-lkcd/include -c -o rl.o rl.c > gcc -gstabs -DALLOC_DEBUG -I. -I/usr/src/linux-lkcd/include -c -o hist.o hist.c > ar ccurl librl.a rl.o hist.o > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/librl' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/libsial' > gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_util.o sial_util.c > gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_node.o sial_node.c > gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_var.o sial_var.c > gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_func.o sial_func.c > gcc -gstabs -Wall -DARCH=i386 -I/usr/src/linux-lkcd/include -c -o sial_str.o sial_str.c > yacc -psial -v -t -d sial.y > sial.y:76: type clash (`' `t') on default action > sial.y:125: invalid input: ; > make[1]: *** [sial.tab.h] Error 1 > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/libsial' > make[1]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash' > /bin/rm -f ./include/arch > (cd include ; /bin/ln -sf arch-i386 arch) > (cd ./../libklib ; make ARCH=i386 symlinks) > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/libklib' > /bin/rm -f include/asm > (cd include ; /bin/ln -s asm-i386 asm; cd ..) > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/libklib' > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o main.o main.c > main.c: In function `main': > main.c:248: warning: implicit declaration of function `init_sial' > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o util.o util.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o eval.o eval.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o report.o report.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o stabs.o stabs.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o struct.o struct.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o vmdump.o vmdump.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I./include -I./../libklib/include -I/usr/src/linux-lkcd/include -I./../libsial -c -o sial.o sial.c > In file included from sial.c:4: > ../libsial/sial_api.h:125: warning: function declaration isn't a prototype > sial.c: In function `init_sial': > sial.c:774: warning: passing arg 2 of `sial_builtin' from incompatible pointer type > for dir in man arch/i386 cmds ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386; cd .. ); \ > done > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/man' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > for dir in cmds lib ; do \ > ( cd $dir ; make TOPDIR=/usr/src/linux-lkcd ARCH=i386; cd .. ); \ > done > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o i386_cmds.o i386_cmds.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o cmd_mktrace.o cmd_mktrace.c > ar ccurl ../../../libarch.a i386_cmds.o cmd_mktrace.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/cmds' > make[3]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o arch.o arch.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o dis.o dis.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../../../include -I../../../../libklib/include -I/usr/src/linux-lkcd/include -I../../../../libsial -c -o trace.o trace.c > ar ccurl ../../../libarch.a arch.o dis.o trace.o > make[3]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386/lib' > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/arch/i386' > make[2]: Entering directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o command.o command.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmds.o cmds.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_base.o cmd_base.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_addtypes.o cmd_addtypes.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_deftask.o cmd_deftask.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_dis.o cmd_dis.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_dump.o cmd_dump.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_findsym.o cmd_findsym.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_help.o cmd_help.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_mmap.o cmd_mmap.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_page.o cmd_page.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_print.o cmd_print.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_quit.o cmd_quit.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_stat.o cmd_stat.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_strace.o cmd_strace.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_symbol.o cmd_symbol.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_task.o cmd_task.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_trace.o cmd_trace.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_vtop.o cmd_vtop.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_history.o cmd_history.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_livedump.o cmd_livedump.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_report.o cmd_report.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_sizeof.o cmd_sizeof.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_whatis.o cmd_whatis.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_ldcmds.o cmd_ldcmds.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_namelist.o cmd_namelist.c > gcc -gstabs -DARCH=i386 -DALLOC_DEBUG -Wall -Wstrict-prototypes -I../include -I../../libklib/include -I/usr/src/linux-lkcd/include -I../../libsial -c -o cmd_walk.o cmd_walk.c > ar ccurl ../libcmds.a command.o cmds.o cmd_base.o cmd_addtypes.o cmd_deftask.o cmd_dis.o cmd_dump.o cmd_findsym.o cmd_help.o cmd_mmap.o cmd_page.o cmd_print.o cmd_quit.o cmd_stat.o cmd_strace.o cmd_symbol.o cmd_task.o cmd_trace.o cmd_vtop.o cmd_history.o cmd_livedump.o cmd_report.o cmd_sizeof.o cmd_whatis.o cmd_ldcmds.o cmd_namelist.o cmd_walk.o > make[2]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash/cmds' > gcc -o lcrash -static -rdynamic -L. -L/usr/src/linux-lkcd -L./../libklib -L./../liballoc -L./../librl -L./../libsial main.o util.o eval.o report.o stabs.o struct.o vmdump.o sial.o -lcmds -larch -lalloc -lrl -lklib -lncurses -lopcodes -lbfd -liberty -ldl -lsial > /usr/bin/ld: cannot find -lklib > collect2: ld returned 1 exit status > make[1]: *** [lcrash] Error 1 > make[1]: Leaving directory `/usr/src/lkcd/lkcdutils/lcrash' From owner-lkcd@oss.sgi.com Mon Apr 16 14:14:49 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3GLEnb04855 for lkcd-outgoing; Mon, 16 Apr 2001 14:14:49 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3GLEmM04852 for ; Mon, 16 Apr 2001 14:14:48 -0700 Received: from loco.corp.sgi.com ([130.62.172.38]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id OAA05278 for ; Mon, 16 Apr 2001 14:14:47 -0700 (PDT) mail_from (tjm@sgi.com) Received: from dslstriker (dsl-striker.corp.sgi.com [192.132.129.237]) by loco.corp.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id OAA82537 for ; Mon, 16 Apr 2001 14:13:28 -0700 (PDT) Message-ID: <017301c0c6ba$2e97a240$ed8184c0@corp.sgi.com> From: "Tom Morano" To: Subject: who lkcd Date: Mon, 16 Apr 2001 14:14:10 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-lkcd@oss.sgi.com Precedence: bulk From owner-lkcd@oss.sgi.com Tue Apr 17 08:54:10 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3HFsAc12430 for lkcd-outgoing; Tue, 17 Apr 2001 08:54:10 -0700 Received: from e23.nc.us.ibm.com (e23.nc.us.ibm.com [32.97.136.229]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3HFs9M12423 for ; Tue, 17 Apr 2001 08:54:09 -0700 Received: from southrelay01.raleigh.ibm.com (southrelay01.raleigh.ibm.com [9.37.3.208]) by e23.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id LAA77652 for ; Tue, 17 Apr 2001 11:46:12 -0500 Received: from d04nms18.raleigh.ibm.com (d04nms18.raleigh.ibm.com [9.67.228.145]) by southrelay01.raleigh.ibm.com (8.8.8m3/NCO v4.96) with ESMTP id LAA87096 for ; Tue, 17 Apr 2001 11:54:04 -0400 Subject: Dumping problem To: lkcd@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Benjamin J Pracht" Date: Tue, 17 Apr 2001 11:54:03 -0400 X-MIMETrack: Serialize by Router on D04NMS18/04/M/IBM(Release 5.0.6 |December 14, 2000) at 04/17/2001 11:54:04 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-lkcd@oss.sgi.com Precedence: bulk Guys, I've followed the install and patch instructions and cannot seem to get it to dump. I've written a crude kernel module which upon insert does a panic (). On load it does indeed panic, and sometimes gives me a dump of some kind, plus a message below saying: NMI: IOCK error (debug interrupt?) I don't see or hear anything happening with the harddrive at this point. After I power the system down and restart, the lcrash says something about a dump device page index invalid. My System: Pentium 2, 128mb, RedHat 7.0 modified to 2.4.0 kernel, 135mb of swap space on an IDE drive. I'm sure this is my fault, but where can I look to find out the problem? Thanks in advance, Ben Pracht From owner-lkcd@oss.sgi.com Tue Apr 17 11:15:19 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3HIFJh20577 for lkcd-outgoing; Tue, 17 Apr 2001 11:15:19 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3HIFIM20574 for ; Tue, 17 Apr 2001 11:15:18 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3HICH216665; Tue, 17 Apr 2001 11:12:17 -0700 Message-ID: <3ADC8707.99905FF1@alacritech.com> Date: Tue, 17 Apr 2001 11:10:15 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: Benjamin J Pracht CC: lkcd@oss.sgi.com Subject: Re: Dumping problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk Benjamin J Pracht wrote: > > Guys, > > I've followed the install and patch instructions and cannot seem to get it > to dump. I've written a crude kernel module which upon insert does a panic > (). On load it does indeed panic, and sometimes gives me a dump of some > kind, plus a message below saying: > > NMI: IOCK error (debug interrupt?) Are you seeing "Dump complete." or any series of dots on the screen? Also, do you see messages like "Writing dump header", etc.? What is your dump device (/dev/vmdump -> ?) You'd only get an IOCK condition if you had an NMI, and you shouldn't have an NMI if you're calling panic() (they are two different types of system crashes). do_nmi() shouldn't be called at all. --Matt > I don't see or hear anything happening with the harddrive at this point. > After I power the system down and restart, the lcrash says something about > a dump device page index invalid. > > My System: > Pentium 2, 128mb, RedHat 7.0 modified to 2.4.0 kernel, 135mb of swap space > on an IDE drive. > > I'm sure this is my fault, but where can I look to find out the problem? > > Thanks in advance, > Ben Pracht From owner-lkcd@oss.sgi.com Tue Apr 17 11:29:25 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3HITPv21602 for lkcd-outgoing; Tue, 17 Apr 2001 11:29:25 -0700 Received: from e21.nc.us.ibm.com (e21.nc.us.ibm.com [32.97.136.227]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3HITOM21599 for ; Tue, 17 Apr 2001 11:29:24 -0700 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e21.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id OAA250682 for ; Tue, 17 Apr 2001 14:23:49 -0500 Received: from d04nms18.raleigh.ibm.com (d04nms18.raleigh.ibm.com [9.67.228.145]) by southrelay02.raleigh.ibm.com (8.11.1/NCO v4.96) with ESMTP id f3HITKQ36892 for ; Tue, 17 Apr 2001 14:29:20 -0400 Subject: Re: Dumping problem To: lkcd@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Benjamin J Pracht" Date: Tue, 17 Apr 2001 14:29:20 -0400 X-MIMETrack: Serialize by Router on D04NMS18/04/M/IBM(Release 5.0.6 |December 14, 2000) at 04/17/2001 02:29:21 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-lkcd@oss.sgi.com Precedence: bulk I'm not sure if I'm seeing any messages like dump complete or writing header. It looks like I may, but I can't be sure because it immediately goes into some kind of on screen dump. I don't have a /dev/vmdump, but instead I point the DUMPDEV variable to /dev/hda5, which is a block based swap device. Any thoughts? From owner-lkcd@oss.sgi.com Tue Apr 17 11:49:17 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3HInH922848 for lkcd-outgoing; Tue, 17 Apr 2001 11:49:17 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3HInGM22845 for ; Tue, 17 Apr 2001 11:49:16 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3HIkE217407; Tue, 17 Apr 2001 11:46:15 -0700 Message-ID: <3ADC8EFC.249BD77E@alacritech.com> Date: Tue, 17 Apr 2001 11:44:12 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: Benjamin J Pracht CC: lkcd@oss.sgi.com Subject: Re: Dumping problem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk Benjamin J Pracht wrote: > > I'm not sure if I'm seeing any messages like dump complete or writing > header. It looks like I may, but I can't be sure because it immediately > goes into some kind of on screen dump. I don't have a /dev/vmdump, but > instead I point the DUMPDEV variable to /dev/hda5, which is a block based > swap device. > > Any thoughts? First thing, you can make a link from /dev/vmdump to /dev/hda5 -- that way you can change the dump device without having to change the scripts. The second point is, do you see a "dump_open()" message in the 'dmesg' output? --Matt From owner-lkcd@oss.sgi.com Tue Apr 17 12:59:16 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3HJxGB24797 for lkcd-outgoing; Tue, 17 Apr 2001 12:59:16 -0700 Received: from e21.nc.us.ibm.com (e21.nc.us.ibm.com [32.97.136.227]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3HJxAM24790 for ; Tue, 17 Apr 2001 12:59:10 -0700 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e21.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id PAA121448; Tue, 17 Apr 2001 15:53:36 -0500 Received: from d04nms18.raleigh.ibm.com (d04nms18.raleigh.ibm.com [9.67.228.145]) by southrelay02.raleigh.ibm.com (8.11.1/NCO v4.96) with ESMTP id f3HJx7Q89218; Tue, 17 Apr 2001 15:59:07 -0400 Subject: Re: Dumping problem To: "Matt D. Robinson" Cc: lkcd@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Benjamin J Pracht" Date: Tue, 17 Apr 2001 15:59:07 -0400 X-MIMETrack: Serialize by Router on D04NMS18/04/M/IBM(Release 5.0.6 |December 14, 2000) at 04/17/2001 03:59:07 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-lkcd@oss.sgi.com Precedence: bulk Matt, I created a dump device using mknod vmdump block 3 5, where 3 and 5 are the major and minor numbers for the swap device of /dev/hda5 and pointed DUMPDEV to /dev/vmdump. I also prior to that I did see the line in dmesg: vmdump: dump device opened: 0x305 Also, I added some printk's to the beginning of all the routines inside of vmdump.c, and noticed that it is indeed calling some of them, including dump_compress and I think dump_page_add (or something like that), repeatedly until it or something crashes. The code line at the crash is: 88 44 24 12 3a 44 24 13 75 06 47 e9 9b 00 00 00 83 ff 01 7e Any thoughts? Ben Pracht From owner-lkcd@oss.sgi.com Wed Apr 18 01:56:55 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3I8utw19278 for lkcd-outgoing; Wed, 18 Apr 2001 01:56:55 -0700 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3I8urM19274 for ; Wed, 18 Apr 2001 01:56:53 -0700 Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id OAA17079 for ; Wed, 18 Apr 2001 14:34:59 GMT Received: from wipro.com ([192.168.176.62]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GBZD4C00.AZ1 for ; Wed, 18 Apr 2001 14:32:36 +0530 Message-ID: <3ADD5754.87D47267@wipro.com> Date: Wed, 18 Apr 2001 14:29:00 +0530 From: Vivek Agarwal X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: lkcd@oss.sgi.com Subject: lcrash with kdb Content-Type: multipart/mixed; boundary="------------94954E65DCD7152C87439C15" Sender: owner-lkcd@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. --------------94954E65DCD7152C87439C15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi ! Is it possible to have a kernel with both "kdb" and "lcrash". I have Linux 2.4.0 installed on my system with "kdb". But when I try to patch the existing kernel (having kdb) with the "lcrash" patch, If fails at some places. Please guide if this is possible or not. Regards Vivek --------------94954E65DCD7152C87439C15 Content-Type: text/x-vcard; charset=us-ascii; name="agarwal.vivek.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Vivek Agarwal Content-Disposition: attachment; filename="agarwal.vivek.vcf" begin:vcard n:Agarwal;Vivek x-mozilla-html:FALSE org:Wipro Technologies;Broadband & Access Unit adr:;;;;;; version:2.1 email;internet:agarwal.vivek@wipro.com title:Software Engineer x-mozilla-cpt:;17728 fn:Vivek Agarwal end:vcard --------------94954E65DCD7152C87439C15-- From owner-lkcd@oss.sgi.com Sat Apr 21 04:56:43 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3LBuhj01966 for lkcd-outgoing; Sat, 21 Apr 2001 04:56:43 -0700 Received: from babel.spoiled.org (babel.spoiled.org [212.84.234.227]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f3LBueM01963 for ; Sat, 21 Apr 2001 04:56:40 -0700 Received: (qmail 2883 invoked by uid 8); 21 Apr 2001 11:56:38 -0000 From: thomas graichen Reply-To: thomas graichen X-Newsgroups: spoiled.linux.sgi.lkcd Subject: Re: lcrash with kdb Date: Sat, 21 Apr 2001 13:44:41 +0200 Organization: spoiled dot org Lines: 32 Distribution: local Message-ID: References: <3ADD5754.87D47267@wipro.com> Reply-To: thomas graichen X-Complaints-To: newsmaster@spoiled.org User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.4.3-XFS (i586)) To: lkcd@oss.sgi.com Sender: owner-lkcd@oss.sgi.com Precedence: bulk Vivek Agarwal wrote: > This is a multi-part message in MIME format. > --------------94954E65DCD7152C87439C15 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > Hi ! > Is it possible to have a kernel with both "kdb" and "lcrash". > I have Linux 2.4.0 installed on my system with "kdb". But when I try to > patch > the existing kernel (having kdb) with the "lcrash" patch, If fails at > some places. > Please guide if this is possible or not. i run a kernel with both of them in (to be correct it's the SGI XFS tree plus lkcd patched in) and it seems to work so far (but i never had the chance to see it on a real crash) - the conflicts are pretty easy to resolv manually (mail me if you have problems) ... the im- portant thing is - you should always only have one of the two enabled which will act in case of a panic (i usually have kdb off by default and crash dumps on ... and they worked) hope that helps t -- thomas graichen ... perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. --- antoine de saint-exupery From owner-lkcd@oss.sgi.com Mon Apr 23 07:29:52 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3NETqg28004 for lkcd-outgoing; Mon, 23 Apr 2001 07:29:52 -0700 Received: from e21.nc.us.ibm.com (e21.nc.us.ibm.com [32.97.136.227]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NETnM27998 for ; Mon, 23 Apr 2001 07:29:49 -0700 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e21.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id KAA43450 for ; Mon, 23 Apr 2001 10:24:07 -0500 Received: from d04nms17nms18.raleigh.ibm.com (d04nms18.raleigh.ibm.com [9.67.228.145]) by southrelay02.raleigh.ibm.com (8.11.1/NCO v4.96) with ESMTP id f3NETkq18524 for ; Mon, 23 Apr 2001 10:29:46 -0400 Subject: IDE patch To: lkcd@oss.sgi.com X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: "Benjamin J Pracht" Date: Mon, 23 Apr 2001 10:29:45 -0400 X-MIMETrack: Serialize by Router on D04NMS18/04/M/IBM(Release 5.0.6 |December 14, 2000) at 04/23/2001 10:29:46 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-lkcd@oss.sgi.com Precedence: bulk Can anyone using LKCD with an IDE drive please email me the specific patching instructions? I keep on getting an NMI: IOCK error during the dump_compress phase several pages into the panic dump and after a kernel_write(). I wonder if it may be due to IDE/SCSI sense code mismatching. Thanks, Ben Pracht From owner-lkcd@oss.sgi.com Mon Apr 23 15:51:37 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3NMpbD16397 for lkcd-outgoing; Mon, 23 Apr 2001 15:51:37 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3NMpaM16394 for ; Mon, 23 Apr 2001 15:51:36 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3NMmEK21622; Mon, 23 Apr 2001 15:48:14 -0700 Message-ID: <3AE4B020.DE9C1087@alacritech.com> Date: Mon, 23 Apr 2001 15:43:44 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: Benjamin J Pracht CC: lkcd@oss.sgi.com Subject: Re: IDE patch References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk Benjamin J Pracht wrote: > > Can anyone using LKCD with an IDE drive please email me the specific > patching instructions? I keep on getting an NMI: IOCK error during the > dump_compress phase several pages into the panic dump and after a > kernel_write(). I wonder if it may be due to IDE/SCSI sense code > mismatching. > > Thanks, > Ben Pracht Hey, Ben, what kind of motherboard/IDE controller/IDE disk are you using? I'm using IDE and I have no problems. It's a 440BX chipset motherboard, Maxtor IDE drive. --Matt From owner-lkcd@oss.sgi.com Tue Apr 24 10:03:00 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3OH30e27357 for lkcd-outgoing; Tue, 24 Apr 2001 10:03:00 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3OH2xM27354 for ; Tue, 24 Apr 2001 10:02:59 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3OGxaK32032; Tue, 24 Apr 2001 09:59:37 -0700 Message-ID: <3AE5AFC4.2E8C35B@alacritech.com> Date: Tue, 24 Apr 2001 09:54:28 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: thomas graichen CC: lkcd@oss.sgi.com Subject: Re: lcrash with kdb References: <3ADD5754.87D47267@wipro.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk thomas graichen wrote: > > Vivek Agarwal wrote: > > This is a multi-part message in MIME format. > > --------------94954E65DCD7152C87439C15 > > Content-Type: text/plain; charset=us-ascii > > Content-Transfer-Encoding: 7bit > > > Hi ! > > > Is it possible to have a kernel with both "kdb" and "lcrash". > > > I have Linux 2.4.0 installed on my system with "kdb". But when I try to > > patch > > the existing kernel (having kdb) with the "lcrash" patch, If fails at > > some places. > > Please guide if this is possible or not. > > i run a kernel with both of them in (to be correct it's the SGI XFS > tree plus lkcd patched in) and it seems to work so far (but i never > had the chance to see it on a real crash) - the conflicts are pretty > easy to resolv manually (mail me if you have problems) ... the im- > portant thing is - you should always only have one of the two enabled > which will act in case of a panic (i usually have kdb off by default > and crash dumps on ... and they worked) Normally, KDB will be invoked first, and then when you exit KDB, the system should panic. They were intended (at least they were two years ago) to be daisy chained, one after the other. The only issue is making sure KDB leaves the system in a decent state so a system crash can occur. There should be no issue in ordering, unless Keith changed something in how KDB is invoked. --Matt > hope that helps > > t > > -- > thomas graichen ... perfection is reached, not > when there is no longer anything to add, but when there is no > longer anything to take away. --- antoine de saint-exupery From owner-lkcd@oss.sgi.com Wed Apr 25 17:35:17 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3Q0ZHE22655 for lkcd-outgoing; Wed, 25 Apr 2001 17:35:17 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3Q0WhM22597 for ; Wed, 25 Apr 2001 17:32:43 -0700 Received: from nodin.corp.sgi.com ([198.29.75.193]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id RAA04264 for ; Wed, 25 Apr 2001 17:32:43 -0700 (PDT) mail_from (kaos@melbourne.sgi.com) Received: from sydney.sydney.sgi.com (sydney.sydney.sgi.com [134.14.48.2]) by nodin.corp.sgi.com (8.11.2/8.11.2/nodin-1.0) with SMTP id f3Q0Vf111202815 for ; Wed, 25 Apr 2001 17:31:41 -0700 (PDT) Received: from kao2.melbourne.sgi.com by sydney.sydney.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI) id KAA09125; Thu, 26 Apr 2001 10:25:54 +1000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: "Matt D. Robinson" cc: thomas graichen , lkcd@oss.sgi.com Subject: Re: lcrash with kdb In-reply-to: Your message of "Tue, 24 Apr 2001 09:54:28 MST." <3AE5AFC4.2E8C35B@alacritech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Apr 2001 10:25:53 +1000 Message-ID: <11417.988244753@kao2.melbourne.sgi.com> Sender: owner-lkcd@oss.sgi.com Precedence: bulk On Tue, 24 Apr 2001 09:54:28 -0700, "Matt D. Robinson" wrote: >Normally, KDB will be invoked first, and then when you exit KDB, >the system should panic. They were intended (at least they were >two years ago) to be daisy chained, one after the other. The >only issue is making sure KDB leaves the system in a decent state >so a system crash can occur. > >There should be no issue in ordering, unless Keith changed something >in how KDB is invoked. The only recent change is that kdb now gets control from panic, via panic_notifier_list, this was added because people complained that kdb was not being invoked for explicit kernel panics. So you might see kdb being entered twice, once for the initial oops and again for the kernel panic. Typing 'go' twice should get you to the next panic routine. If it does not work, let me know. From owner-lkcd@oss.sgi.com Wed Apr 25 23:39:14 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3Q6dEw31839 for lkcd-outgoing; Wed, 25 Apr 2001 23:39:14 -0700 Received: from www.aparity.com (w032.z064001165.sjc-ca.dsl.cnc.net [64.1.165.32]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3Q6dDM31836 for ; Wed, 25 Apr 2001 23:39:13 -0700 Received: from alacritech.com (localhost [127.0.0.1]) by www.aparity.com (8.9.3/8.9.3) with ESMTP id WAA20020; Wed, 25 Apr 2001 22:39:48 -0700 Message-ID: <3AE7B4A4.BCBD7167@alacritech.com> Date: Wed, 25 Apr 2001 22:39:48 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: en MIME-Version: 1.0 To: lkcd@oss.sgi.com Subject: LKCD 3.1.2 released ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk The latest LKCD update is available. The only changes are to the lkcdutils RPM for x86. I'm still testing 2.4.3 kernels (and RH7.1), once that's done, I'll spin put out the kernel patches in a 3.1.3 release. I'm trying to address the smp_send_stop() issue, so please bear with me. --Matt From owner-lkcd@oss.sgi.com Thu Apr 26 10:20:19 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f3QHKJI18759 for lkcd-outgoing; Thu, 26 Apr 2001 10:20:19 -0700 Received: from smtp.alacritech.com (smtp.alacritech.com [209.10.208.82]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f3QHKIM18755 for ; Thu, 26 Apr 2001 10:20:18 -0700 Received: from alacritech.com (lambda.alacritech.com [10.1.1.32]) by smtp.alacritech.com (8.11.0/8.11.0) with ESMTP id f3QHH1K05306 for ; Thu, 26 Apr 2001 10:17:01 -0700 Message-ID: <3AE8568A.E4DA5562@alacritech.com> Date: Thu, 26 Apr 2001 10:10:34 -0700 From: "Matt D. Robinson" Organization: Alacritech, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: lkcd@oss.sgi.com Subject: Re: LKCD 3.1.2 released ... References: <3AE7B4A4.BCBD7167@alacritech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-lkcd@oss.sgi.com Precedence: bulk "Matt D. Robinson" wrote: > > The latest LKCD update is available. The only > changes are to the lkcdutils RPM for x86. I'm still > testing 2.4.3 kernels (and RH7.1), once that's done, > I'll spin put out the kernel patches in a 3.1.3 > release. > > I'm trying to address the smp_send_stop() issue, so > please bear with me. > > --Matt For those of you that downloaded lkcdutils-1.0-3 ... Please get lkcdutils-1.0-4, there's one additional fix for reverse wraparound in some graphics screens, and also I've fixed a spec file error for those people trying to do 'rpm --rebuild'. --Matt