From sgi-kdb@gmane.org Mon Jan 3 04:23:06 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 03 Jan 2005 04:23:13 -0800 (PST) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j03CMip6025589 for ; Mon, 3 Jan 2005 04:23:05 -0800 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ClRMg-0008HE-00 for ; Mon, 03 Jan 2005 13:31:14 +0100 Received: from adijon-152-1-53-216.w83-194.abo.wanadoo.fr ([83.194.39.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jan 2005 13:31:14 +0100 Received: from subdino2004 by adijon-152-1-53-216.w83-194.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Jan 2005 13:31:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: kdb@oss.sgi.com From: Vincent Pelletier Subject: 2.6.10 : fs/openpromfs/inode.c : small mistakes makes module oops when writing Date: Mon, 03 Jan 2005 13:20:43 +0100 Lines: 59 Message-ID: Mime-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adijon-152-1-53-216.w83-194.abo.wanadoo.fr User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: fr, en X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: ClamAV 0.80/645/Mon Dec 27 14:56:20 2004 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 898 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: subdino2004@yahoo.fr Precedence: bulk X-list: kdb Hi. This is the first time I post something in the lk* mailing lists, so please tell me if I'm wrong posting it here. I'm using kernel 2.6.10 from kernel.org, on an U10 sun ultrasparcIIi. I'm playing a bit with openprom settings using openpromfs, and I wasn't able to change the oem-logo. Here is the command and the oops message : # cat /some/logo/file > /proc/opemprom/options/oem-logo (same if openpromfs is mounted in /mnt/openprom for example) Jan 3 12:54:06 usparc kernel: cat(2323): Oops [#1] Jan 3 12:54:06 usparc kernel: TSTATE: 0000004411009600 TPC: 00000000020520c4 TNPC: 00000000020520c8 Y: 00000000 Tainted: P Jan 3 12:54:06 usparc kernel: TPC: Jan 3 12:54:06 usparc kernel: g0: 0000000000000000 g1: fffff800076b41e0 g2: 0000000000fffffe g3: 0000000000000000 Jan 3 12:54:06 usparc kernel: g4: fffff800075cd6e0 g5: fffff800076b41e0 g6: fffff80006978000 g7: 0000000070015638 Jan 3 12:54:06 usparc kernel: o0: 00000000000248a0 o1: 0000000000002000 o2: 00000000effff920 o3: 0000000000000000 Jan 3 12:54:06 usparc kernel: o4: 0000000000000c00 o5: 0000000000000c00 sp: fffff8000697b2e1 ret_pc: 0000000000011654 Jan 3 12:54:06 usparc kernel: RPC: <0x11654> Jan 3 12:54:06 usparc kernel: l0: 0000000000000001 l1: 0000000000000010 l2: 000000002e300047 l3: 0000000000470000 Jan 3 12:54:06 usparc kernel: l4: 000042435f322e30 l5: 0000000000000001 l6: 0000000000000000 l7: 0000000000023800 Jan 3 12:54:06 usparc kernel: i0: fffff800076b41e0 i1: 0000000000000000 i2: 0000000000000000 i3: 0000000000000000 Jan 3 12:54:06 usparc kernel: i4: 0000000000474c49 i5: 0000000000000047 i6: fffff8000697b411 i7: 000000000205340c Jan 3 12:54:06 usparc kernel: I7: Jan 3 12:54:06 usparc kernel: Caller[000000000205340c]: property_write+0x8ac/0x8e0 [openpromfs] Jan 3 12:54:06 usparc kernel: Caller[000000000048c548]: vfs_write+0xa8/0x100 Jan 3 12:54:06 usparc kernel: Caller[000000000048c62c]: sys_write+0x2c/0x60 Jan 3 12:54:06 usparc kernel: Caller[0000000000411174]: linux_sparc_syscall32+0x34/0x40 Jan 3 12:54:06 usparc kernel: Caller[0000000000012860]: 0x12860 Jan 3 12:54:06 usparc kernel: Instruction DUMP: 01000000 01000000 9de3bed0 03003fff 84102000 821063fe c65e2010 a8100018 The problem is here in the source file: Line numbers may not be accurate as I tried some changes. (line 86) static ssize_t property_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos) { [...] if (*ppos >= 0xffffff || count >= 0xffffff) return -EINVAL; (line 321) static ssize_t property_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) { [...] if (!filp->private_data) { i = property_read (filp, NULL, 0, NULL); So property_read tries to dereference ppos which is set to NULL when called from property_write. If property_write is called with NULL args it may oops too, as it uses args the same way. I think I can write a patch, just tell me if it has chances to be committed in the kernel (I'm not a kernel dev). If so, where could I find patch submission guidelines ? Vincent Pelletier --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Jan 3 04:48:42 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 03 Jan 2005 04:48:49 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j03CmK9j026293 for ; Mon, 3 Jan 2005 04:48:41 -0800 Received: from mail.ocs.com.au (pc-kao2.melbourne.sgi.com [134.14.52.228]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id XAA28094 for ; Mon, 3 Jan 2005 23:56:45 +1100 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id 55B4D1800AB; Mon, 3 Jan 2005 23:56:41 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 40CBCC00AA; Mon, 3 Jan 2005 23:56:41 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 3D57914008E; Mon, 3 Jan 2005 23:56:41 +1100 (EST) X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.0.4 From: Keith Owens To: Vincent Pelletier Cc: kdb@oss.sgi.com Subject: Re: 2.6.10 : fs/openpromfs/inode.c : small mistakes makes module oops when writing In-reply-to: Your message of "Mon, 03 Jan 2005 13:20:43 BST." Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Mon, 03 Jan 2005 23:56:41 +1100 Message-ID: <16667.1104757001@ocs3.ocs.com.au> X-Virus-Scanned: ClamAV 0.80/645/Mon Dec 27 14:56:20 2004 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 899 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Mon, 03 Jan 2005 13:20:43 +0100, Vincent Pelletier wrote: >This is the first time I post something in the lk* mailing lists, so >please tell me if I'm wrong posting it here. You mailed to the kdb mailing list. This list is dedicated to SGI's kernel debugger, it is not for general kernel problems. You really want to send your mail to linux-kernel@vger.kernel.org. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From linas@austin.ibm.com Fri Jan 7 02:45:56 2005 Received: with ECARTIS (v1.0.0; list kdb); Fri, 07 Jan 2005 02:46:04 -0800 (PST) Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.132]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j07Ajto3017352 for ; Fri, 7 Jan 2005 02:45:55 -0800 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e34.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j07Mjg9g527548 for ; Fri, 7 Jan 2005 17:45:42 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j07MjgGc322488 for ; Fri, 7 Jan 2005 15:45:42 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j07Mjf63008447 for ; Fri, 7 Jan 2005 15:45:41 -0700 Received: from austin.ibm.com (netmail2.austin.ibm.com [9.41.248.176]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j07MjfW0008431 for ; Fri, 7 Jan 2005 15:45:41 -0700 Received: from bilge (mail@dyn95394157.austin.ibm.com [9.53.94.157]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id j07MjXSB047406 for ; Fri, 7 Jan 2005 16:45:33 -0600 Received: from linas by bilge with local (Exim 3.36 #1 (Debian)) id 1Cn2rN-0008IF-00 for ; Fri, 07 Jan 2005 16:45:33 -0600 Date: Fri, 7 Jan 2005 16:45:33 -0600 To: kdb@oss.sgi.com Subject: [ak@muc.de: Re: [PATCH] kernel/printk.c lockless access] Message-ID: <20050107224533.GT22274@austin.ibm.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040818i From: Linas Vepstas X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 900 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: linas@austin.ibm.com Precedence: bulk X-list: kdb Hi Keith, I introduced a thread on LKML for adding logbuff access for debugger use. I made the patch look as much as possible as the KDB code, with the direct intention of making things easier for KDB, although my true intention is to have this be generically useful. --linas ----- Forwarded message from Andi Kleen ----- To: Linas Vepstas Cc: linux-kernel@vger.kernel.org, torvalds@osdl.org, akpm@osdl.org Subject: Re: [PATCH] kernel/printk.c lockless access From: Andi Kleen Linas Vepstas writes: > The 'fix' is to provide a routine that simply returns the pointers > to the log buffer. Better&simpler fix would be to just unstatic __log_buf You cannot call such functions generally when looking at memory dumps of some form. -Andi ----- End forwarded message ----- --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From phillips6215@bellsouth.net Wed Jan 12 09:26:56 2005 Received: with ECARTIS (v1.0.0; list kdb); Wed, 12 Jan 2005 09:27:08 -0800 (PST) Received: from imf19aec.mail.bellsouth.net (imf19aec.mail.bellsouth.net [205.152.59.67]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0CHQtr2005471 for ; Wed, 12 Jan 2005 09:26:56 -0800 Received: from comp1 ([68.220.75.70]) by imf19aec.mail.bellsouth.net (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with SMTP id <20050112172649.LSLZ2073.imf19aec.mail.bellsouth.net@comp1> for ; Wed, 12 Jan 2005 12:26:49 -0500 From: stan phillips II To: kdb@oss.sgi.com Subject: turn $5 into $2000 Date: Wed, 12 Jan 2005 12:26:10 -0500 X-Mailer: CSMTPConnection v2.01 Reply-To: stan phillips II MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Message-Id: <20050112172649.LSLZ2073.imf19aec.mail.bellsouth.net@comp1> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 901 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: phillips6215@bellsouth.net Precedence: bulk X-list: kdb I only need a moment of your time. I, like yourself am a normal guy. I've spent lots of money on get rich quick programs only to NOT get rich. The fact of the matter is you can't get rich quick. But over the past few months I've gone from 300 dollars a week to 1000 dollars a day, and growing. It takes work, but I promise, let me help you and you can make a second imcome well over your bosses' . If I've bothered you in any way I'm truely sorry, and apologize from the bottoms of my heart. I'm sorry. I've your interested in learning more about my idea, or about my self and then my idea go to my site. http://www.make2000plusaday.com/Moneymakeing.html Regards, Stan --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From gowda_avinash@emc.com Mon Jan 24 07:21:27 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 24 Jan 2005 07:21:34 -0800 (PST) Received: from corpeumxic2.corp.emc.com (corpeumxic2.corp.emc.com [152.62.121.26]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0OFLPNs020925 for ; Mon, 24 Jan 2005 07:21:26 -0800 Received: by corpeumxic2.corp.emc.com with Internet Mail Service (5.5.2653.19) id ; Mon, 24 Jan 2005 15:21:17 -0000 Message-ID: <50C05B7AA7D6924FB5E384EF14BC647BC451EE@inba1mx2.corp.emc.com> From: gowda_avinash@emc.com To: kaos@sgi.com, kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: RE: Announce: kdb v4.4 is available for kernel 2.6.10 Date: Mon, 24 Jan 2005 15:21:08 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 902 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: gowda_avinash@emc.com Precedence: bulk X-list: kdb All: I tried to get Kdb working on SuSe 9 ia64 box (kernel version 2.6.5-7.111.19). Turns out that the keyboard/machine goes into a hang state. I have a usb keyboard! Googling around I found that Keith had disabled the USB keyboard support some time back due to changes in some APIs (kernel version linux-2.6.5-SLES9_SP1_BRANCH). Is this something that could be a cause for my problem? Should I think about upgrading my kernel to 2.6.10 (hoping that the issue's been fixed in this version)? Thanks, avinash -----Original Message----- From: linux-ia64-owner@vger.kernel.org [mailto:linux-ia64-owner@vger.kernel.org] On Behalf Of Keith Owens Sent: Saturday, December 25, 2004 5:48 PM To: kdb@oss.sgi.com Cc: linux-kernel@vger.kernel.org; linux-ia64@vger.kernel.org Subject: Announce: kdb v4.4 is available for kernel 2.6.10 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 KDB (Linux Kernel Debugger) has been updated. ftp://oss.sgi.com/projects/kdb/download/v4.4/ ftp://ftp.ocs.com.au/pub/mirrors/oss.sgi.com/projects/kdb/download/v4.4/ Current versions are :- kdb-v4.4-2.6.10-common-1.bz2 kdb-v4.4-2.6.10-i386-1.bz2 kdb-v4.4-2.6.10-ia64-1.bz2 kdb-v4.4-2.6.9-rc2-x86-64-1.bz2 (may or may not work with 2.6.10). Changelog extract since kdb-v4.4-2.6.9-common-1. 2004-12-25 Keith Owens * Add kobject command. * Ignore low addresses and large offsets in kdbnearsym(). * Console updates for sn2 simulator. * kdb v4.4-2.6.10-common-1. 2004-12-07 Keith Owens * kdb v4.4-2.6.10-rc3-common-1. 2004-11-23 Keith Owens * Remove warning message from kdb_get_one_user_page(), it was too noisy. * kdb v4.4-2.6.10-rc2-common-1. 2004-11-02 Keith Owens * Build with kdb patch applied but CONFIG_KDB=n. * kdb v4.4-2.6.10-rc1-common-2. 2004-10-29 Keith Owens * Handle new compression scheme for kallsyms. * Handle move of DEAD and ZOMBIE for task->state to task->exit_state. * Tweak the concept of a valid kernel address to get all symbols, including the symbols in the ia64 gate page. * kdb v4.4-2.6.10-rc1-common-1. 2004-10-21 Keith Owens * Handle variable size for the kernel log buffer. * kdb v4.4-2.6.9-common-2. Changelog extract since kdb-v4.4-2.6.9-i386-1. 2004-12-25 Keith Owens * kdb v4.4-2.6.10-i386-1. 2004-12-07 Keith Owens * kdb v4.4-2.6.10-rc3-i386-1. 2004-11-23 Keith Owens * Coexist with asmlinkage/fastcall changes. * kdb v4.4-2.6.10-rc2-i386-1. 2004-10-29 Keith Owens * Handle change defintions for hard and soft irq context. * Make stack switch in kdb backtrace look more like the oops output. * kdb v4.4-2.6.10-rc1-i386-1. Changelog extract since kdb v4.4-2.6.9-ia64-1. 2004-12-25 Keith Owens * Add cpuinfo command. * kdb-v4.4-2.6.10-ia64-1. 2004-12-07 Keith Owens * Clean up error path in kdba_mca_init. * kdb-v4.4-2.6.10-rc3-ia64-1. 2004-11-15 Keith Owens * kdb-v4.4-2.6.10-rc2-ia64-1. 2004-10-29 Keith Owens * kdb-v4.4-2.6.10-rc1-ia64-1. ps. Bah, Hum{de}bug! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Exmh version 2.1.1 10/15/1999 iD8DBQFBzVpji4UHNye0ZOoRAmy+AJ4iSaztTqGLjr+Ck0X8+TMdXB41IQCghc/P p7GtfCEOmVPDj/SVHdecFyw= =oO+Z -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Jan 24 07:35:08 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 24 Jan 2005 07:35:14 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j0OFZ6Yp021913 for ; Mon, 24 Jan 2005 07:35:07 -0800 Received: from mail.ocs.com.au (pc-kao2.melbourne.sgi.com [134.14.52.228]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id CAA11147 for ; Tue, 25 Jan 2005 02:34:56 +1100 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id 3934E1800A2; Tue, 25 Jan 2005 02:34:52 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 1511BC00A6; Tue, 25 Jan 2005 02:34:52 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 118FE14008E; Tue, 25 Jan 2005 02:34:52 +1100 (EST) X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.0.4 From: Keith Owens To: gowda_avinash@emc.com Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: Announce: kdb v4.4 is available for kernel 2.6.10 In-reply-to: Your message of "Mon, 24 Jan 2005 15:21:08 -0000." <50C05B7AA7D6924FB5E384EF14BC647BC451EE@inba1mx2.corp.emc.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Tue, 25 Jan 2005 02:34:52 +1100 Message-ID: <14122.1106580892@ocs3.ocs.com.au> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 903 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Mon, 24 Jan 2005 15:21:08 -0000, gowda_avinash@emc.com wrote: >All: >I tried to get Kdb working on SuSe 9 ia64 box (kernel version >2.6.5-7.111.19). Turns out that the keyboard/machine goes into a hang state. >I have a usb keyboard! > >Googling around I found that Keith had disabled the USB keyboard support >some time back due to changes in some APIs (kernel version >linux-2.6.5-SLES9_SP1_BRANCH). > >Is this something that could be a cause for my problem? Should I think about >upgrading my kernel to 2.6.10 (hoping that the issue's been fixed in this >version)? The USB keyboard support in KDB was written by HP, because their systems have USB keyboards. I have no hardware to test on, so I have to rely on HP to keep the USB patches in KDB up to date. That has not happened recently. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From saravanan.mainker@gmail.com Mon Jan 24 20:26:06 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 24 Jan 2005 20:26:14 -0800 (PST) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0P4Q1LT019664 for ; Mon, 24 Jan 2005 20:26:06 -0800 Received: by wproxy.gmail.com with SMTP id 71so8834wri for ; Mon, 24 Jan 2005 20:25:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=j1xtPADGP5ueFptgwrAhpiQkW1GlCJ8JQXkU3luwZ3vc72DRyTx6AujBpAv2xp5UGtvwVvyZSLXNp6u0m2gkzRMxYPmaeaIpBEGjDnsD131CrUzsc+/U7ENDsBSFzW63QqJZ8Q28DgL4loANNOl5HVjr1VMAErl+G1ooXqNeZq8= Received: by 10.54.22.34 with SMTP id 34mr264027wrv; Mon, 24 Jan 2005 20:25:55 -0800 (PST) Received: by 10.54.41.4 with HTTP; Mon, 24 Jan 2005 20:25:55 -0800 (PST) Message-ID: <51a933b50501242025645ef27a@mail.gmail.com> Date: Tue, 25 Jan 2005 09:55:55 +0530 From: Saravanan s Reply-To: Saravanan s To: Keith Owens Subject: Re: Announce: kdb v4.4 is available for kernel 2.6.10 Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org In-Reply-To: <14122.1106580892@ocs3.ocs.com.au> Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit References: <50C05B7AA7D6924FB5E384EF14BC647BC451EE@inba1mx2.corp.emc.com> <14122.1106580892@ocs3.ocs.com.au> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 904 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: saravanan.mainker@gmail.com Precedence: bulk X-list: kdb Hi Keith, > I have no hardware to test on, so I have > to rely on HP to keep the USB patches in KDB up to date. Does that mean that there is USB support for KDBv4.4 for kernel 2.6 for i386 machines? Or the patch for i386 also comes from the HP guys. Regards Saravanan S On Tue, 25 Jan 2005 02:34:52 +1100, Keith Owens wrote: > On Mon, 24 Jan 2005 15:21:08 -0000, > gowda_avinash@emc.com wrote: > >All: > >I tried to get Kdb working on SuSe 9 ia64 box (kernel version > >2.6.5-7.111.19). Turns out that the keyboard/machine goes into a hang state. > >I have a usb keyboard! > > > >Googling around I found that Keith had disabled the USB keyboard support > >some time back due to changes in some APIs (kernel version > >linux-2.6.5-SLES9_SP1_BRANCH). > > > >Is this something that could be a cause for my problem? Should I think about > >upgrading my kernel to 2.6.10 (hoping that the issue's been fixed in this > >version)? > > The USB keyboard support in KDB was written by HP, because their > systems have USB keyboards. I have no hardware to test on, so I have > to rely on HP to keep the USB patches in KDB up to date. That has not > happened recently. > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Jan 24 20:44:35 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 24 Jan 2005 20:44:41 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j0P4iX5w020064 for ; Mon, 24 Jan 2005 20:44:34 -0800 Received: from kao2.melbourne.sgi.com (kao2.melbourne.sgi.com [134.14.55.180]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id PAA28792 for ; Tue, 25 Jan 2005 15:44:26 +1100 Received: by kao2.melbourne.sgi.com (Postfix, from userid 16331) id 5E756C00A6; Tue, 25 Jan 2005 15:44:26 +1100 (EST) Received: from kao2.melbourne.sgi.com (localhost [127.0.0.1]) by kao2.melbourne.sgi.com (Postfix) with ESMTP id 5AEC214008E; Tue, 25 Jan 2005 15:44:26 +1100 (EST) X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.0.4 From: Keith Owens To: Saravanan s Cc: kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: Announce: kdb v4.4 is available for kernel 2.6.10 In-reply-to: Your message of "Tue, 25 Jan 2005 09:55:55 +0530." <51a933b50501242025645ef27a@mail.gmail.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Tue, 25 Jan 2005 15:44:26 +1100 Message-ID: <15313.1106628266@kao2.melbourne.sgi.com> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 905 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Tue, 25 Jan 2005 09:55:55 +0530, Saravanan s wrote: >Hi Keith, > >> I have no hardware to test on, so I have >> to rely on HP to keep the USB patches in KDB up to date. > >Does that mean that there is USB support for KDBv4.4 for kernel 2.6 >for i386 machines? Or the patch for i386 also comes from the HP guys. All the USB console patches for kdb came from HP, both i386 and ia64. Neither work in 2.6 kernels at the moment. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From jfv@bluesong.net Mon Jan 24 21:52:30 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 24 Jan 2005 21:52:35 -0800 (PST) Received: from trane.bluesong.net (bdsl.66.13.29.10.gte.net [66.13.29.10]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0P5qO65022646 for ; Mon, 24 Jan 2005 21:52:30 -0800 Received: by trane.bluesong.net (Postfix, from userid 500) id EA6922419DA; Mon, 24 Jan 2005 21:52:18 -0800 (PST) Date: Mon, 24 Jan 2005 21:52:18 -0800 From: Jack F Vogel To: Keith Owens Cc: Saravanan s , kdb@oss.sgi.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: Announce: kdb v4.4 is available for kernel 2.6.10 Message-ID: <20050125055218.GA15014@trane.bluesong.net> Reply-To: jfv@bluesong.net References: <51a933b50501242025645ef27a@mail.gmail.com> <15313.1106628266@kao2.melbourne.sgi.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15313.1106628266@kao2.melbourne.sgi.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 906 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: jfv@bluesong.net Precedence: bulk X-list: kdb On Tue, Jan 25, 2005 at 03:44:26PM +1100, Keith Owens wrote: > On Tue, 25 Jan 2005 09:55:55 +0530, > Saravanan s wrote: > >Hi Keith, > > > >> I have no hardware to test on, so I have > >> to rely on HP to keep the USB patches in KDB up to date. > > > >Does that mean that there is USB support for KDBv4.4 for kernel 2.6 > >for i386 machines? Or the patch for i386 also comes from the HP guys. > > All the USB console patches for kdb came from HP, both i386 and ia64. > Neither work in 2.6 kernels at the moment. I have been looking at the USB code and talked with gregkh about it a bit, it looks to me that in order for this to work its going to take a self-contained polling driver. I've been busy so I havent looked too far yet for any pre-existent code that could be utilized. It may need to be written from scratch, which I also might attempt once I get my queue a bit reduced. But as is the code thats there isnt even close to working, its just a bit of infrastructure. Cheers, Jack --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From bedge@troikanetworks.com Thu Jan 27 09:33:37 2005 Received: with ECARTIS (v1.0.0; list kdb); Thu, 27 Jan 2005 09:33:43 -0800 (PST) Received: from loadstar.troikanetworks.com (loadstar.troikanetworks.com [12.31.172.12]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0RHXa8c004498 for ; Thu, 27 Jan 2005 09:33:37 -0800 Received: from tach1.troikanetworks.com ([12.31.174.2]) by loadstar.troikanetworks.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 27 Jan 2005 09:33:31 -0800 Received: from [127.0.0.1] (localhost [127.0.0.1]) by tach1.troikanetworks.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0RHXWND021568 for ; Thu, 27 Jan 2005 09:33:32 -0800 Message-ID: <41F925EB.1000607@troikanetworks.com> Date: Thu, 27 Jan 2005 09:33:31 -0800 From: Bruce Edge User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: kdb@oss.sgi.com Subject: incomplete kdb backtraces in 2.4.20 with gcc 3.3.4 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 27 Jan 2005 17:33:31.0216 (UTC) FILETIME=[51B21D00:01C50496] X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 907 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: bedge@troikanetworks.com Precedence: bulk X-list: kdb Since updating our base package set with newer versions in an attempt to keep current, it seems I've broken the backtrace display in the kernel. I’m seeing backtraces that don’t show all frames, even when those frames are in my driver code. Have anyone else seen this? I’m building with –DDEBUG as well as “–g” and “-no-omit-frame-pointer”. But even with all this, the backtrace in the example below is still missing a function. I dumped out the stack and verified that not only are the missing frames present, but that the frame pointers (EBP) are also getting saved on the stack. Particularly bad is the wrong arguments are getting shown for the few functions that it chooses to display. Here's my code's gcc args: gcc -Wall -Werror -g -O -I /usr/kahuna/include -I /usr/kahuna/include/inilib -I/usr/src/linux/include -I/usr/kahuna/include/drivers -I./ -I../ -D__KERNEL__ -DMODULE -D__SMP__ -DSMP -DKAHUNA_ASIC_BOARD -DEXPORT_SYMTAB -D__SMP__ -DSMP -DDEBUG -Wstrict-prototypes -DCPU586 -I /usr/kahuna/include -I /usr/kahuna/include/inilib -I/usr/src/linux/include -I/usr/kahuna/include/drivers -I./ -I../ *-fno-omit-frame-pointer* -pipe -include /usr/src/linux/include/linux/config.h -DMODVERSIONS -D__NO_VERSION__ -include /usr/src/linux/include/linux/modversions.h -include "cssdev.ver" -Werror -c cssdev_sac.c -o cssdev_sac.o I'm using kdb-4.3 and gcc 3.3.4, and a 2.4.20 kernel. Thanks, Bruce --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Thu Jan 27 12:00:52 2005 Received: with ECARTIS (v1.0.0; list kdb); Thu, 27 Jan 2005 12:00:57 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j0RK0ipx012861 for ; Thu, 27 Jan 2005 12:00:45 -0800 Received: from mail.ocs.com.au (pc-kao2.melbourne.sgi.com [134.14.52.228]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id HAA04539 for ; Fri, 28 Jan 2005 07:00:35 +1100 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id 9E2501800A2; Fri, 28 Jan 2005 07:00:31 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 400B2C00AC; Fri, 28 Jan 2005 07:00:31 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 3C89C14008E; Fri, 28 Jan 2005 07:00:31 +1100 (EST) X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.0.4 From: Keith Owens To: Bruce Edge Cc: kdb@oss.sgi.com Subject: Re: incomplete kdb backtraces in 2.4.20 with gcc 3.3.4 In-reply-to: Your message of "Thu, 27 Jan 2005 09:33:31 -0800." <41F925EB.1000607@troikanetworks.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Fri, 28 Jan 2005 07:00:31 +1100 Message-ID: <30599.1106856031@ocs3.ocs.com.au> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 908 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Thu, 27 Jan 2005 09:33:31 -0800, Bruce Edge wrote: >Since updating our base package set with newer versions in an attempt to >keep current, it seems I've broken the backtrace display in the kernel. >I'm seeing backtraces that don't show all frames, even when those frames >are in my driver code. Have anyone else seen this? I'm building with >-DDEBUG as well as 'g' and '-no-omit-frame-pointer'. But even with all >this, the backtrace in the example below is still missing a function. > >I dumped out the stack and verified that not only are the missing frames >present, but that the frame pointers (EBP) are also getting saved on the >stack. Please turn off smart quotes when sending mail to this list. I had to hand edit your mail to convert the smart quotes back to something that was readable. You did not provide any kdb output, which makes it impossible to see what your problem is, let alone fix it. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From balaji.ramaswamy@hcltech.com Mon Jan 31 00:21:13 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 31 Jan 2005 00:21:19 -0800 (PST) Received: from hclnpd.hclt-ntl.co.in (npd.hcltech.com [202.54.64.17] (may be forged)) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0V8L96C024868 for ; Mon, 31 Jan 2005 00:21:11 -0800 Received: from npd-mail.hclt-ntl.co.in ([10.105.1.104]) by hclnpd.hclt-ntl.co.in with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id D01R65TP; Mon, 31 Jan 2005 13:47:48 +0530 Received: by npd-mail.hclt-ntl.co.in with Internet Mail Service (5.5.2657.72) id ; Mon, 31 Jan 2005 13:51:01 +0530 Message-ID: <4B1D6623CCBD79489DE28D1CA062A47E9A130F@npd-mail.hclt-ntl.co.in> From: "Balaji Ramaswamy - NPD, Chennai" To: kdb@oss.sgi.com Subject: error while making bzImage Date: Mon, 31 Jan 2005 13:50:54 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-type: text/plain; charset=iso-8859-1 X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 909 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: balaji.ramaswamy@hcltech.com Precedence: bulk X-list: kdb hi, I am new to Kdb I have downloaded kdb-v4.3-2.4.20-common-1 kdb-v4.3-2.4.20-i386-1 I have unziped and patched the kdb while making bzImage i am getting the following error .can you please help me fix this error kksymoops.o(.text+0x1a0): In function `print_modules': : multiple definition of `print_modules' module.o(.text+0x1d50): first defined here ld: Warning: size of symbol `print_modules' changed from 118 to 150 in kksymoops.o make[2]: *** [kernel.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.20-8/kernel' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20-8/kernel' make: *** [_dir_kernel] Error 2 regards balaji --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe. From kaos@sgi.com Mon Jan 31 00:51:01 2005 Received: with ECARTIS (v1.0.0; list kdb); Mon, 31 Jan 2005 00:51:06 -0800 (PST) Received: from larry.melbourne.sgi.com (mverd138.asia.info.net [61.14.31.138]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j0V8oxuD026066 for ; Mon, 31 Jan 2005 00:51:00 -0800 Received: from mail.ocs.com.au (pc-kao2.melbourne.sgi.com [134.14.52.228]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id TAA09566 for ; Mon, 31 Jan 2005 19:50:51 +1100 Received: from ocs3.ocs.com.au (ocs3.ocs.com.au [192.168.255.3]) by mail.ocs.com.au (Postfix) with ESMTP id 81AD31800B1; Mon, 31 Jan 2005 19:50:36 +1100 (EST) Received: by ocs3.ocs.com.au (Postfix, from userid 16331) id 39F16C00A6; Mon, 31 Jan 2005 19:50:16 +1100 (EST) Received: from ocs3.ocs.com.au (localhost [127.0.0.1]) by ocs3.ocs.com.au (Postfix) with ESMTP id 367AE14008E; Mon, 31 Jan 2005 19:50:16 +1100 (EST) X-Mailer: exmh version 2.6.3_20040314 03/14/2004 with nmh-1.0.4 From: Keith Owens To: "Balaji Ramaswamy - NPD, Chennai" Cc: kdb@oss.sgi.com Subject: Re: error while making bzImage In-reply-to: Your message of "Mon, 31 Jan 2005 13:50:54 +0530." <4B1D6623CCBD79489DE28D1CA062A47E9A130F@npd-mail.hclt-ntl.co.in> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Date: Mon, 31 Jan 2005 19:50:16 +1100 Message-ID: <9396.1107161416@ocs3.ocs.com.au> X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean Content-Transfer-Encoding: 8bit X-archive-position: 910 X-ecartis-version: Ecartis v1.0.0 Sender: kdb-bounce@oss.sgi.com Errors-to: kdb-bounce@oss.sgi.com X-original-sender: kaos@sgi.com Precedence: bulk X-list: kdb On Mon, 31 Jan 2005 13:50:54 +0530, "Balaji Ramaswamy - NPD, Chennai" wrote: >hi, > I am new to Kdb I have downloaded > >kdb-v4.3-2.4.20-common-1 >kdb-v4.3-2.4.20-i386-1 > >I have unziped and patched the kdb while making bzImage i am getting the >following error .can you please help me fix this error > >kksymoops.o(.text+0x1a0): In function `print_modules': >: multiple definition of `print_modules' >module.o(.text+0x1d50): first defined here kdb patches are against the standard kernels from kernel.org, SGI cannot afford the time and effort to track every distribution with their non-standard patches. Your kernel has a file called kksymoops.c which is not in the standard kernel. At a guess you are trying to add kdb to a distribution like RedHat or SuSE. Either use a standard kernel.org kernel or ask your distributor for help with adding patches. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.