From owner-kdb@oss.sgi.com Tue Jan 2 12:13:17 2001 Received: by oss.sgi.com id ; Tue, 2 Jan 2001 12:13:06 -0800 Received: from shasta.villamontage.com ([209.10.215.28]:45318 "EHLO villaex1.villamontage.com") by oss.sgi.com with ESMTP id ; Tue, 2 Jan 2001 12:12:44 -0800 Received: by VILLAEX1 with Internet Mail Service (5.5.2650.21) id ; Tue, 2 Jan 2001 12:06:09 -0800 Message-ID: <79FE2AD687E9D311916C00D0B72CE4763B17D1@VILLAEX1> From: Olive Tao To: 'Keith Owens' Cc: "'kdb@oss.sgi.com'" Subject: RE: Date: Tue, 2 Jan 2001 12:06:01 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi, I have make it work on 2.2.13 and using a serial interface. What's the steps to debug a modular driver, how to import the symbol files? Does KDB have source level debug capability? Thanks. Regards, Olive -----Original Message----- From: Keith Owens [mailto:kaos@melbourne.sgi.com] Sent: Friday, December 29, 2000 6:15 PM To: Olive Tao Cc: 'kdb@oss.sgi.com' Subject: On Fri, 29 Dec 2000 17:31:44 -0800, Olive Tao wrote: >I was using kdb-v0.6-2.2.13 against Red Hat 6.1 2.2.13-13 kernel. After >several try, it always fails during kernel boot and issues error message > >LILO boot: >loading nlinux...... >uncompressing Linux... > >ran out of input data Best guess, the size of the kdb symbol table is either too small (you get warnings about invalid initialisers) or too large (uncompress runs out of room). kdb v0.6 is old and no longer supported. Newer versions of kdb use a different and better method for getting the symbol table. From owner-kdb@oss.sgi.com Thu Jan 4 20:19:19 2001 Received: by oss.sgi.com id ; Thu, 4 Jan 2001 20:18:59 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:25139 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Thu, 4 Jan 2001 20:18:46 -0800 Received: from sydney.sydney.sgi.com ([134.14.48.2]) 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 SMTP id UAA08281; Thu, 4 Jan 2001 20:18:09 -0800 (PST) mail_from (kaos@ocs.com.au) Received: from kao2.melbourne.sgi.com by sydney.sydney.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI) id PAA23996; Fri, 5 Jan 2001 15:16:51 +1100 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: kdb@oss.sgi.com, linux-xfs@oss.sgi.com, linux-kernel@vger.kernel.org Subject: [Announce] kdb v1.7 is available for 2.4.0 Date: Fri, 05 Jan 2001 15:16:51 +1100 Message-ID: <17826.978668211@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii http://oss.sgi.com/projects/kdb/download/ix86/ contains patches for kdb v1.7 against kernel 2.4.0. No significant changes since 2.4.0-test13 and 2.4.0-prerelease. Just fitting the patch to the new kernel. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQE6VUqyi4UHNye0ZOoRAsT2AKDuZqYxy6c9yejqawPo4Z908iABVgCg80/x DKMCyxQvwl2fAHMKxm+2eec= =YofV -----END PGP SIGNATURE----- From owner-kdb@oss.sgi.com Tue Jan 9 00:45:12 2001 Received: by oss.sgi.com id ; Tue, 9 Jan 2001 00:44:53 -0800 Received: from f163.law7.hotmail.com ([216.33.237.163]:54022 "EHLO hotmail.com") by oss.sgi.com with ESMTP id ; Tue, 9 Jan 2001 00:44:46 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 9 Jan 2001 00:44:40 -0800 Received: from 208.222.150.143 by lw7fd.law7.hotmail.msn.com with HTTP; Tue, 09 Jan 2001 08:44:40 GMT X-Originating-IP: [208.222.150.143] From: "Prashanth Garani" To: kdb@oss.sgi.com Subject: Compile problems Date: Tue, 09 Jan 2001 08:44:40 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 09 Jan 2001 08:44:40.0694 (UTC) FILETIME=[67E07160:01C07A18] Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi, I tried to compile kdb functionality into 2.4 kernel having modutils version "modutils-2.4.0", and patched the kde source " kdb-v1.7-2.4.0" onto the 2.4 kernel source, while comiling with "make bzImage", i had the following problems: _____________start------------------ "gcc -D__KERNEL__ -I/usr/src/linux-2.4.0/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -pipe -march=i686 -c -o i386-dis.o i386-dis.c i386-dis.c: In function `print_insn_i386': i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' undeclared (first use in this function) i386-dis.c:2143: (Each undeclared identifier is reported only once i386-dis.c:2143: for each function it appears in.) i386-dis.c: In function `OP_ST': i386-dis.c:2757: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:2758: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_STi': i386-dis.c:2766: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:2767: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_SEG': i386-dis.c:3422: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3423: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_DIR': i386-dis.c:3435: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_OFF': i386-dis.c:3458: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_C': i386-dis.c:3527: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3528: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_D': i386-dis.c:3537: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3538: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_T': i386-dis.c:3547: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3548: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_MMX': i386-dis.c:3567: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3568: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_XMM': i386-dis.c:3576: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3577: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_3DNowSuffix': i386-dis.c:3695: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3696: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_SIMD_Suffix': i386-dis.c:3734: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3735: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `SIMD_Fixup': i386-dis.c:3762: parse error before `ATTRIBUTE_UNUSED' make[2]: *** [i386-dis.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.0/arch/i386/kdb' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.0/arch/i386/kdb' make: *** [_dir_arch/i386/kdb] Error 2" -------------End________________________ Please let me know what am i doing wrong or what the problem here might be. Thanks for your time, Regards, Prashanth _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From owner-kdb@oss.sgi.com Tue Jan 9 01:26:33 2001 Received: by oss.sgi.com id ; Tue, 9 Jan 2001 01:26:23 -0800 Received: from ppp0.ocs.com.au ([203.34.97.3]:5385 "HELO mail.ocs.com.au") by oss.sgi.com with SMTP id ; Tue, 9 Jan 2001 01:26:04 -0800 Received: (qmail 8556 invoked from network); 9 Jan 2001 09:25:56 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 9 Jan 2001 09:25:56 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: "Prashanth Garani" cc: kdb@oss.sgi.com Subject: Re: Compile problems In-reply-to: Your message of "Tue, 09 Jan 2001 08:44:40." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 09 Jan 2001 20:25:55 +1100 Message-ID: <14059.979032355@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing On Tue, 09 Jan 2001 08:44:40 , "Prashanth Garani" wrote: > I tried to compile kdb functionality into 2.4 kernel >having modutils version "modutils-2.4.0", and patched the >kde source " kdb-v1.7-2.4.0" onto the 2.4 kernel source, >while comiling with "make bzImage", i had the following problems: >i386-dis.c: In function `print_insn_i386': >i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' undeclared (first use in >this function) >i386-dis.c:2143: (Each undeclared identifier is reported only once >i386-dis.c:2143: for each function it appears in.) >i386-dis.c: In function `OP_ST': >i386-dis.c:2757: parse error before `ATTRIBUTE_UNUSED' All defined in /usr/include/bfd.h; part of binutils on most systems, binutils-dev on Debian. My version is at 2.9.5.0.22, I do not know at which level bfd_mach_i386_i386_intel_syntax et al. were added. From owner-kdb@oss.sgi.com Wed Jan 10 21:51:38 2001 Received: by oss.sgi.com id ; Wed, 10 Jan 2001 21:51:18 -0800 Received: from f156.law7.hotmail.com ([216.33.237.156]:65294 "EHLO hotmail.com") by oss.sgi.com with ESMTP id ; Wed, 10 Jan 2001 21:50:55 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 10 Jan 2001 21:50:50 -0800 Received: from 208.222.150.143 by lw7fd.law7.hotmail.msn.com with HTTP; Thu, 11 Jan 2001 05:50:50 GMT X-Originating-IP: [208.222.150.143] From: "Prashanth Garani" To: kaos@melbourne.sgi.com Cc: kdb@oss.sgi.com Subject: Re: Compile problems Date: Thu, 11 Jan 2001 05:50:50 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Jan 2001 05:50:50.0654 (UTC) FILETIME=[73EA23E0:01C07B92] Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi Keith, Thanks for your help, i had to build the bfd (libbfd) too. I have it working now. Warm regards, Prashanth ----Original Message Follows---- From: Keith Owens To: "Prashanth Garani" CC: kdb@oss.sgi.com Subject: Re: Compile problems Date: Tue, 09 Jan 2001 20:25:55 +1100 On Tue, 09 Jan 2001 08:44:40 , "Prashanth Garani" wrote: > I tried to compile kdb functionality into 2.4 kernel >having modutils version "modutils-2.4.0", and patched the >kde source " kdb-v1.7-2.4.0" onto the 2.4 kernel source, >while comiling with "make bzImage", i had the following problems: >i386-dis.c: In function `print_insn_i386': >i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' undeclared (first use in >this function) >i386-dis.c:2143: (Each undeclared identifier is reported only once >i386-dis.c:2143: for each function it appears in.) >i386-dis.c: In function `OP_ST': >i386-dis.c:2757: parse error before `ATTRIBUTE_UNUSED' All defined in /usr/include/bfd.h; part of binutils on most systems, binutils-dev on Debian. My version is at 2.9.5.0.22, I do not know at which level bfd_mach_i386_i386_intel_syntax et al. were added. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From owner-kdb@oss.sgi.com Thu Jan 11 15:41:14 2001 Received: by oss.sgi.com id ; Thu, 11 Jan 2001 15:41:04 -0800 Received: from eagle.verisign.com ([208.206.241.105]:51622 "EHLO eagle.verisign.com") by oss.sgi.com with ESMTP id ; Thu, 11 Jan 2001 15:40:52 -0800 Received: from postal-gw2.verisign.com (verisign.com [63.104.27.102]) by eagle.verisign.com (8.9.3/BCH1.7.1) with ESMTP id PAA12476; Thu, 11 Jan 2001 15:42:32 -0800 (PST) From: slurn@verisign.com Received: from slurndal-lnx.verisign.com ([10.10.27.123]) by postal-gw2.verisign.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id CRX4Z2N5; Thu, 11 Jan 2001 15:40:41 -0800 Received: by slurndal-lnx.verisign.com; Thu, 11 Jan 2001 15:39:08 -0800 Message-Id: <200101112339.PAA25056@slurndal-lnx.verisign.com> Subject: Re: Feedback To: mkaye@mvista.com Date: Thu, 11 Jan 2001 15:39:08 -0800 (PST) Cc: kdb@oss.sgi.com In-Reply-To: <20010111213332Z553647-490+440@oss.sgi.com> from "Michael Kaye" at Jan 11, 2001 01:33:23 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing > > Hello! Michael, I've forwarded your message to the kdb mailing list at 'kdb@oss.sgi.com'. scott > > We at MontaVista Software are interested in using KDB for a project of ours. Applying the patches to our kernel works fine, but we would like to make modifications to the source. It appears though that your CVS directory has nothing but empty source files in it. Is there something wrong with the CVS directory right now or am I doing something wrong\? Please let me know how I might be able to obtain the KDB sources. > > Thank You, > Michael Kaye > From owner-kdb@oss.sgi.com Thu Jan 11 16:17:43 2001 Received: by oss.sgi.com id ; Thu, 11 Jan 2001 16:17:34 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:37240 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Thu, 11 Jan 2001 16:17:18 -0800 Received: from sydney.sydney.sgi.com ([134.14.48.2]) 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 SMTP id QAA04847 for ; Thu, 11 Jan 2001 16:17:16 -0800 (PST) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com by sydney.sydney.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI) id LAA27228; Fri, 12 Jan 2001 11:15:17 +1100 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: mkaye@mvista.com Cc: kdb@oss.sgi.com Subject: Re: Feedback In-reply-to: Your message of "Thu, 11 Jan 2001 15:39:08 -0800." <200101112339.PAA25056@slurndal-lnx.verisign.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Jan 2001 11:15:17 +1100 Message-ID: <22809.979258517@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing mkaye@mvista.com wrote > We at MontaVista Software are interested in using KDB for a >project of ours. Applying the patches to our kernel works fine, but we >would like to make modifications to the source. It appears though that >your CVS directory has nothing but empty source files in it. Is there >something wrong with the CVS directory right now or am I doing >something wrong\? Please let me know how I might be able to obtain the >KDB sources. kdb is always released as a patch on top on Linus's kernels. There is no CVS tree for kdb, it does not make any sense as free standing code. I can take replacement patches against the standard kernel or patches against a kdb patched kernel, the latter is probably easier. Apply the kdb patch, take a copy of the patched kernel and edit it. When your changes are working, diff -ur between (kernel + kdb) and (kernel + kdb + your changes). Just tell me which kernel and kdb patch you have changed. From owner-kdb@oss.sgi.com Thu Jan 11 16:23:23 2001 Received: by oss.sgi.com id ; Thu, 11 Jan 2001 16:23:04 -0800 Received: from gyre.divi.com ([199.97.190.22]:5200 "EHLO divi.com") by oss.sgi.com with ESMTP id ; Thu, 11 Jan 2001 16:22:58 -0800 Received: from ml1eng552ww00 (ml1-eng-552ww00.harmonicinc.com [10.20.115.93]) by divi.com (8.9.3/8.9.3) with SMTP id QAA19296; Thu, 11 Jan 2001 16:22:04 -0800 (PST) Message-ID: <006601c07c2d$ac2e1e50$5d73140a@harmonicinc.com> From: "Amit D Chaudhary" To: , Cc: References: <200101112339.PAA25056@slurndal-lnx.verisign.com> Subject: Re: Feedback Date: Thu, 11 Jan 2001 16:21:51 -0800 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-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing KDB Sources are at ftp://oss.sgi.com/projects/kdb/download/ix86/ Amit ----- Original Message ----- From: To: Cc: Sent: Thursday, January 11, 2001 3:39 PM Subject: Re: Feedback > > > > Hello! > > Michael, > > I've forwarded your message to the kdb mailing list at 'kdb@oss.sgi.com'. > > scott > > > > > We at MontaVista Software are interested in using KDB for a project of ours. Applying the patches to our kernel works fine, but we would like to make modifications to the source. It appears though that your CVS directory has nothing but empty source files in it. Is there something wrong with the CVS directory right now or am I doing something wrong\? Please let me know how I might be able to obtain the KDB sources. > > > > Thank You, > > Michael Kaye > > > > From owner-kdb@oss.sgi.com Wed Jan 17 13:03:15 2001 Received: by oss.sgi.com id ; Wed, 17 Jan 2001 13:03:06 -0800 Received: from prv-mail25.provo.novell.com ([137.65.81.121]:52115 "HELO prv-mail25.provo.novell.com") by oss.sgi.com with SMTP id ; Wed, 17 Jan 2001 13:02:53 -0800 Received: from INET-PRV1-Message_Server by prv-mail25.provo.novell.com with Novell_GroupWise; Wed, 17 Jan 2001 14:02:20 -0700 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.5.1 Date: Wed, 17 Jan 2001 14:02:39 -0700 From: "David Rorke" To: Subject: NMI Watchdog Timer and kdb-v1_5-2_2_18.gz Patch Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_702B214C.2B4A4626" Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_702B214C.2B4A4626 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I'm attempting to use kdb 1.5 on 2.2.18 (via the patch kdb-v1_5-2_2_18.gz).= I'd like to use this in conjunction with the NMI watchdog timer, but it = appears that some of the code supporting the NMI watchdog timer may not have been backported from = 2.4 as part of this patch. For example CONFIG_UP_NMI_WATCHDOG is used in arch/i386/kernel= /traps.c but the full support for the UP NMI watchdog (generating watchdog events = based on the performance counters) doesn't appear to be included in the patch. Also, some of the = code in traps.c is conditionally compiled based on CONFIG_X86_IO_APIC_KAO but this doesn't = appear to be a valid config option. Also, the /proc NMI watchdog support appears to be = missing. Should I assume that the NMI watchdog feature isn't supported with the = backport to 2.2, or am I missing something? I'm aware that there is a separate NMI watchdog patch = for 2.2 kernels, but I don't believe this includes the UP support and it would need to be = integrated with kdb. Thanks in advance, Dave --=_702B214C.2B4A4626 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
 
I'm attempting to use kdb 1.5 on 2.2.18 (via the = patch=20 kdb-v1_5-2_2_18.gz).
 
I'd like to use this in conjunction with the NMI = watchdog=20 timer, but it appears that some of the
code supporting the NMI watchdog timer may not have = been=20 backported from 2.4 as part of
this patch.  For example CONFIG_UP_NMI_WATCHDOG = is used=20 in arch/i386/kernel/traps.c
but the full support for the UP NMI watchdog (generatin= g=20 watchdog events based on the performance
counters) doesn't appear to be included in the = patch. =20 Also, some of the code in traps.c is
conditionally compiled based on CONFIG_X86_IO_APIC_KAO = but=20 this doesn't appear to be
a valid config option.  Also, the /proc NMI = watchdog=20 support appears to be missing.
 
Should I assume that the NMI watchdog feature isn't = supported=20 with the backport to 2.2, or am I
missing something?  I'm aware that there is a = separate=20 NMI watchdog patch for 2.2 kernels, but I
don't believe this includes the UP support and it = would need=20 to be integrated with kdb.
 
Thanks in advance,
 
Dave
--=_702B214C.2B4A4626-- From owner-kdb@oss.sgi.com Sat Jan 20 08:05:38 2001 Received: by oss.sgi.com id ; Sat, 20 Jan 2001 08:05:19 -0800 Received: from ppp0.ocs.com.au ([203.34.97.3]:9990 "HELO mail.ocs.com.au") by oss.sgi.com with SMTP id ; Sat, 20 Jan 2001 08:04:45 -0800 Received: (qmail 11038 invoked from network); 20 Jan 2001 16:04:39 -0000 Received: from ocs3.ocs-net (192.168.255.3) by mail.ocs.com.au with SMTP; 20 Jan 2001 16:04:39 -0000 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: "David Rorke" cc: kdb@oss.sgi.com Subject: Re: NMI Watchdog Timer and kdb-v1_5-2_2_18.gz Patch In-reply-to: Your message of "Wed, 17 Jan 2001 14:02:39 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Jan 2001 03:04:38 +1100 Message-ID: <21075.980006678@ocs3.ocs-net> Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing On Wed, 17 Jan 2001 14:02:39 -0700, "David Rorke" wrote: >I'm attempting to use kdb 1.5 on 2.2.18 (via the patch kdb-v1_5-2_2_18.gz). > >I'd like to use this in conjunction with the NMI watchdog timer, but it >appears that some of the >code supporting the NMI watchdog timer may not have been backported from >2.4 as part of >this patch. Please send in plain text, not quoted printable plus html. kdb for 2.2 does not use the NMI oopser because the standard 2.2 kernel has no NMI watchdog. The feature was added in 2.3.20, around October 12, 1999. From owner-kdb@oss.sgi.com Sun Jan 21 20:15:58 2001 Received: by oss.sgi.com id ; Sun, 21 Jan 2001 20:15:49 -0800 Received: from bacchus.veritas.com ([204.177.156.37]:18613 "EHLO bacchus-int.veritas.com") by oss.sgi.com with ESMTP id ; Sun, 21 Jan 2001 20:15:36 -0800 Received: from megami.veritas.com (megami-13.veritas.com [166.98.13.101]) by bacchus-int.veritas.com (8.11.0/8.9.1) with SMTP id f0M4FZH29930 for ; Sun, 21 Jan 2001 20:15:35 -0800 (PST) Received: from muppetlabs.com([172.22.5.154]) (3220 bytes) by megami.veritas.com via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Sun, 21 Jan 2001 20:15:35 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #4 built 1999-Aug-24) Message-ID: <3A6BB3A0.3060007@muppetlabs.com> Date: Sun, 21 Jan 2001 20:14:24 -0800 From: Amit D Chaudhary User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; 0.7) Gecko/20010105 X-Accept-Language: en MIME-Version: 1.0 To: "kdb@oss.sgi.com" Subject: Error while compiling kernel with kdbv1.7-2.4.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Hi, I am getting errors while compiling the kdb patched 2.4.0 kernel. gcc = 2.96 modutils = 2.4.0 make = 3.77 I downloaded it only hours back. I can compile just the kernel and use it pretty regularly. The output is below. Thanks Amit make o/p gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o i386-dis.o i386-dis.c i386-dis.c: In function `print_insn_i386': i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' undeclared (first use in this function) i386-dis.c:2143: (Each undeclared identifier is reported only once i386-dis.c:2143: for each function it appears in.) i386-dis.c: In function `OP_ST': i386-dis.c:2757: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:2758: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_STi': i386-dis.c:2766: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:2767: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_SEG': i386-dis.c:3422: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3423: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_DIR': i386-dis.c:3435: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_OFF': i386-dis.c:3458: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_C': i386-dis.c:3527: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3528: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_D': i386-dis.c:3537: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3538: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_T': i386-dis.c:3547: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3548: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_MMX': i386-dis.c:3567: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3568: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_XMM': i386-dis.c:3576: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3577: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_3DNowSuffix': i386-dis.c:3695: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3696: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `OP_SIMD_Suffix': i386-dis.c:3734: parse error before `ATTRIBUTE_UNUSED' i386-dis.c:3735: parse error before `ATTRIBUTE_UNUSED' i386-dis.c: In function `SIMD_Fixup': i386-dis.c:3762: parse error before `ATTRIBUTE_UNUSED' make[2]: *** [i386-dis.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.0-evnt/arch/i386/kdb' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.0-evnt/arch/i386/kdb' make: *** [_dir_arch/i386/kdb] Error 2 From owner-kdb@oss.sgi.com Sun Jan 21 20:33:29 2001 Received: by oss.sgi.com id ; Sun, 21 Jan 2001 20:33:19 -0800 Received: from pneumatic-tube.sgi.com ([204.94.214.22]:30012 "EHLO pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP id ; Sun, 21 Jan 2001 20:32:55 -0800 Received: from sydney.sydney.sgi.com (sydney.sydney.sgi.com [134.14.48.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id UAA00827 for ; Sun, 21 Jan 2001 20:41:50 -0800 (PST) mail_from (kaos@melbourne.sgi.com) Received: from kao2.melbourne.sgi.com by sydney.sydney.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI) id PAA18605; Mon, 22 Jan 2001 15:32:26 +1100 X-Mailer: exmh version 2.1.1 10/15/1999 From: Keith Owens To: Amit D Chaudhary cc: "kdb@oss.sgi.com" Subject: Re: Error while compiling kernel with kdbv1.7-2.4.0 In-reply-to: Your message of "Sun, 21 Jan 2001 20:14:24 -0800." <3A6BB3A0.3060007@muppetlabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Jan 2001 15:31:33 +1100 Message-ID: <1876.980137893@kao2.melbourne.sgi.com> Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing On Sun, 21 Jan 2001 20:14:24 -0800, Amit D Chaudhary wrote: >I am getting errors while compiling the kdb patched 2.4.0 kernel. >i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' undeclared (first use in this Upgrade /usr/include/bfd.h. Mine is binutils-2.9.5.0.22-6. From owner-kdb@oss.sgi.com Sun Jan 21 22:30:50 2001 Received: by oss.sgi.com id ; Sun, 21 Jan 2001 22:30:29 -0800 Received: from bacchus.veritas.com ([204.177.156.37]:6077 "EHLO bacchus-int.veritas.com") by oss.sgi.com with ESMTP id ; Sun, 21 Jan 2001 22:30:00 -0800 Received: from megami.veritas.com (megami-13.veritas.com [166.98.13.101]) by bacchus-int.veritas.com (8.11.0/8.9.1) with SMTP id f0M6U0H07786 for ; Sun, 21 Jan 2001 22:30:00 -0800 (PST) Received: from muppetlabs.com([172.22.5.154]) (1185 bytes) by megami.veritas.com via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Sun, 21 Jan 2001 22:29:59 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #4 built 1999-Aug-24) Message-ID: <3A6BD321.4050201@muppetlabs.com> Date: Sun, 21 Jan 2001 22:28:49 -0800 From: Amit D Chaudhary User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; 0.7) Gecko/20010105 X-Accept-Language: en MIME-Version: 1.0 To: "kdb@oss.sgi.com" Subject: Re: Error while compiling kernel with kdbv1.7-2.4.0 References: <1876.980137893@kao2.melbourne.sgi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing Thanks, Compiled it. My binutils were current, GNU ld version 2.10.90 (with BFD 2.10.0.18) but had 2 sets of include directory with the one in /usr/local being older, removing it fixed the problem. Regards Amit Keith Owens wrote: > On Sun, 21 Jan 2001 20:14:24 -0800, > Amit D Chaudhary wrote: > >> I am getting errors while compiling the kdb patched 2.4.0 kernel. >> i386-dis.c:2143: `bfd_mach_i386_i386_intel_syntax' undeclared (first use in this > > > Upgrade /usr/include/bfd.h. Mine is binutils-2.9.5.0.22-6. From owner-kdb@oss.sgi.com Wed Jan 24 11:43:57 2001 Received: by oss.sgi.com id ; Wed, 24 Jan 2001 11:43:48 -0800 Received: from icicle.winternet.com ([198.174.169.13]:45821 "EHLO icicle.winternet.com") by oss.sgi.com with ESMTP id ; Wed, 24 Jan 2001 11:43:25 -0800 Received: from tundra.winternet.com (kfuchs@tundra.winternet.com [198.174.169.11]) by icicle.winternet.com (8.9.3/8.9.3mc) with ESMTP id NAA12785; Wed, 24 Jan 2001 13:42:19 -0600 (CST) SMTP "HELO" (ESMTP) greeting from tundra.winternet.com But _really_ from :: kfuchs@tundra.winternet.com [198.174.169.11] SMTP "MAIL From" = kfuchs@mail.winternet.com (Ken Fuchs) SMTP "RCPT To" = Received: (from kfuchs@localhost) by tundra.winternet.com (8.8.7/8.8.4) id NAA03106; Wed, 24 Jan 2001 13:42:17 -0600 (CST) Date: Wed, 24 Jan 2001 13:42:17 -0600 (CST) Message-Id: <200101241942.NAA03106@tundra.winternet.com> From: Ken Fuchs To: kdb@oss.sgi.com Subject: Is anyone using kdb for 2.2 (more specifically 2.2.18)? Sender: owner-kdb@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;kdb-outgoing I'm trying to use kdb-v1.5-2.2.18. However, I've encountered a mounting problem were my nfs mounts in fstab fail on boot up. ext2 filesystems mount OK on boot up. After boot up, mounts of either nfs or ext2 filesystems hang in the mount(2) function. Also, umount of an ext2 filesystem hangs. The system will not complete either an init to level 0 (halt) or 6 (reboot). (Multiuser remote access and the system console function OK.) I'm also getting three oops displays on boot up (digest follows): Entering kdb (current = 0xc7ac4000, pid 61 [=modprobe]) Panic: Oops due to panic @ 0xc8026054 [= usb_register_Rc1964387] Entering kdb (current = 0xc7920000, pid 295 [=modprobe]) Panic: Oops due to panic @ 0xc0109f39 [= ret_with_reschedule] Entering kdb (current = 0xc6ed0000, pid 574 [=mount]) Panic: Oops due to panic @ 0xc0129ec8 [= read_super+0xb8] The last one is the cause of the NFS mount failure. In the kernel build, I've used the RH 7.0 (2.2.16-22) .config, configured all new 2.2.17 and 2.2.18 to N, configured kdb, kdb=on, and use frame pointers. Has anyone else tried kdb-v1.5-2.2.18? Anyone experience the same problem(s)? Any suggestions concerning the above mentioned mount problems and oops messages? Sincerely, Ken Fuchs