From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by oss.sgi.com id ; Tue, 27 Feb 2001 19:09:26 -0800 Received: from smtp.psdc.com ([209.125.203.83]:24654 "EHLO smtp.psdc.com") by oss.sgi.com with ESMTP id ; Tue, 27 Feb 2001 19:09:02 -0800 Received: from BANANA ([209.125.203.85]) by smtp.psdc.com (8.8.8/8.8.8) with SMTP id SAA28761 for ; Tue, 27 Feb 2001 18:52:53 -0800 Message-ID: <000a01c0a0cf$849efbe0$dde0490a@BANANA> From: "Steven Liu" To: Subject: binutils-2.8.1-mips.patch and egcs-1.1.2-mips.patch ? Date: Tue, 27 Feb 2001 07:11:10 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C0A08C.7616DF90" 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-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C0A08C.7616DF90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi ALL: Thank you for your help. If any one knows where I can find the following files:=20 binutils-2.8.1-mips.patch and egcs-1.1.2-mips.patch, please let me know. Regards, Steven Liu ------=_NextPart_000_0007_01C0A08C.7616DF90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi ALL:
 
Thank you for your help.
 
If any one knows where I can find the = following=20 files:
    =20 binutils-2.8.1-mips.patch  and
   =20 egcs-1.1.2-mips.patch,
please let me know.
 
Regards,
 
 
Steven Liu
 
 
------=_NextPart_000_0007_01C0A08C.7616DF90-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by oss.sgi.com id ; Wed, 28 Feb 2001 04:34:08 -0800 Received: from u-155-18.karlsruhe.ipdial.viaginterkom.de ([62.180.18.155]:12036 "EHLO u-155-18.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP id ; Wed, 28 Feb 2001 04:33:51 -0800 Received: from [193.98.169.28] ([193.98.169.28]:53376 "EHLO dea.waldorf-gmbh.de") by bacchus.dhis.org with ESMTP id ; Wed, 28 Feb 2001 04:33:29 -0800 Received: (from ralf@localhost) by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f1SCX7305490; Wed, 28 Feb 2001 13:33:07 +0100 Date: Wed, 28 Feb 2001 13:33:07 +0100 From: Ralf Baechle To: "Steven Liu" Cc: Subject: Re: binutils-2.8.1-mips.patch and egcs-1.1.2-mips.patch ? Message-ID: <20010228133307.A5452@bacchus.dhis.org> References: <000a01c0a0cf$849efbe0$dde0490a@BANANA> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000a01c0a0cf$849efbe0$dde0490a@BANANA>; from stevenliu@psdc.com on Tue, Feb 27, 2001 at 07:11:10AM -0800 X-Accept-Language: de,en,fr Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing On Tue, Feb 27, 2001 at 07:11:10AM -0800, Steven Liu wrote: > Thank you for your help. > > If any one knows where I can find the following files: > binutils-2.8.1-mips.patch and > egcs-1.1.2-mips.patch, > please let me know. They're part of the srpm crosscompiler packages on oss.sgi.com. Ralf From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by oss.sgi.com id ; Wed, 28 Feb 2001 13:42:44 -0800 Received: from stereotomy.lineo.com ([64.50.107.151]:38162 "HELO stereotomy.lineo.com") by oss.sgi.com with SMTP id ; Wed, 28 Feb 2001 13:42:27 -0800 Received: from Lineo.COM (localhost.localdomain [127.0.0.1]) by stereotomy.lineo.com (Postfix) with ESMTP id DD36F4C92B for ; Wed, 28 Feb 2001 14:42:26 -0700 (MST) Message-ID: <3A9D70C2.6010504@Lineo.COM> Date: Wed, 28 Feb 2001 14:42:26 -0700 From: Quinn Jensen Organization: Lineo, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001107 Netscape6/6.0 X-Accept-Language: en MIME-Version: 1.0 To: linux-mips@oss.sgi.com Subject: Patch allowing GDB to ignore misaligned data faults References: <000a01c0a0cf$849efbe0$dde0490a@BANANA> Content-Type: multipart/mixed; boundary="------------040204030603060306000202" Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing This is a multi-part message in MIME format. --------------040204030603060306000202 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit When using gdb on the kernel, I've found it helpful to allow misaligned exceptions to be emulated instead of being intercepted by gdb. The following patch does this. But is there a better way? Perhaps a config.in option? Or is this a case of treating the symptom? Maybe there are far too many altogether. The network stack seems to be littered with them--is skbuf alignment bad or something? Ouch, I just looked and after a couple of days there have been a lot! This machine is running with nfs root, so every time you breathe there's a lot of network I/O. What kind of "unaligned accesses" counts are others seeing? / # cat /proc/cpuinfo cpu : MIPS cpu model : RC32300 V0.0 system type : IDT 79S334 BogoMIPS : 149.91 byteorder : little endian unaligned accesses : 329630 wait instruction : no microsecond timers : no extra interrupt vector : yes hardware watchpoint : yes VCED exceptions : not available VCEI exceptions : not available / # uptime 2:07pm up 1 day, 21:07, load average: 0.00, 0.00, 0.00 Quinn --------------040204030603060306000202 Content-Type: text/plain; name="patch-gdb-stub" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-gdb-stub" diff -bpBuN -r -X - linux-sgi-cvs/arch/mips/kernel/gdb-stub.c linux+4/arch/mips/kernel/gdb-stub.c --- linux-sgi-cvs/arch/mips/kernel/gdb-stub.c Sun Dec 3 21:04:09 2000 +++ linux+4/arch/mips/kernel/gdb-stub.c Mon Feb 26 14:56:05 2001 @@ -399,8 +399,11 @@ void set_debug_traps(void) unsigned char c; save_and_cli(flags); - for (ht = hard_trap_info; ht->tt && ht->signo; ht++) + for (ht = hard_trap_info; ht->tt && ht->signo; ht++) { + /* let the emulator handle adel and ades */ + if (ht->tt == 4 || ht->tt == 5) continue; set_except_vector(ht->tt, trap_low); + } /* * In case GDB is started before us, ack any packets --------------040204030603060306000202-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by oss.sgi.com id ; Wed, 28 Feb 2001 14:21:23 -0800 Received: from gateway-1237.mvista.com ([12.44.186.158]:5880 "EHLO hermes.mvista.com") by oss.sgi.com with ESMTP id ; Wed, 28 Feb 2001 14:21:20 -0800 Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75]) by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id f1SMGv009199; Wed, 28 Feb 2001 14:16:57 -0800 Message-ID: <3A9D793E.4063ED17@mvista.com> Date: Wed, 28 Feb 2001 14:18:38 -0800 From: Jun Sun X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: en MIME-Version: 1.0 To: Quinn Jensen CC: linux-mips@oss.sgi.com Subject: Re: Patch allowing GDB to ignore misaligned data faults References: <000a01c0a0cf$849efbe0$dde0490a@BANANA> <3A9D70C2.6010504@Lineo.COM> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing Quinn Jensen wrote: > > When using gdb on the kernel, I've found it helpful to allow > misaligned exceptions to be emulated instead of being > intercepted by gdb. The following patch does this. But is > there a better way? Perhaps a config.in option? > This does not sound right: this is already fixed long time ago by not installing traps for exception 4&5. What kernel are you using? Jun From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by oss.sgi.com id ; Thu, 1 Mar 2001 08:04:55 -0800 Received: from stereotomy.lineo.com ([64.50.107.151]:27399 "HELO stereotomy.lineo.com") by oss.sgi.com with SMTP id ; Thu, 1 Mar 2001 08:04:38 -0800 Received: from Lineo.COM (localhost.localdomain [127.0.0.1]) by stereotomy.lineo.com (Postfix) with ESMTP id 158104C92B; Thu, 1 Mar 2001 09:04:36 -0700 (MST) Message-ID: <3A9E7313.5090608@Lineo.COM> Date: Thu, 01 Mar 2001 09:04:35 -0700 From: Quinn Jensen Organization: Lineo, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001107 Netscape6/6.0 X-Accept-Language: en MIME-Version: 1.0 To: jsun@hermes.mvista.com Cc: linux-mips@oss.sgi.com Subject: Re: Patch allowing GDB to ignore misaligned data faults References: <000a01c0a0cf$849efbe0$dde0490a@BANANA> <3A9D70C2.6010504@Lineo.COM> <3A9D793E.4063ED17@mvista.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-mips-outgoing jsun@hermes.mvista.com wrote > This does not sound right: this is already fixed long time ago by not > installing traps for exception 4&5. What kernel are you using You're right; I let my patch ferment too long and it rotted. Quinn From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <000a01c0a0cf$849efbe0$dde0490a@BANANA> From: "Steven Liu" Subject: binutils-2.8.1-mips.patch and egcs-1.1.2-mips.patch ? Date: Tue, 27 Feb 2001 07:11:10 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C0A08C.7616DF90" Sender: owner-linux-mips@oss.sgi.com Return-Path: To: linux-mips@oss.sgi.com Message-ID: <20010227151110.jZz5w1cc34ZaFFbqWHw2RkHtGgbGnvCHT0g5zGf1gCk@z> This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C0A08C.7616DF90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi ALL: Thank you for your help. If any one knows where I can find the following files:=20 binutils-2.8.1-mips.patch and egcs-1.1.2-mips.patch, please let me know. Regards, Steven Liu ------=_NextPart_000_0007_01C0A08C.7616DF90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi ALL:
 
Thank you for your help.
 
If any one knows where I can find the = following=20 files:
    =20 binutils-2.8.1-mips.patch  and
   =20 egcs-1.1.2-mips.patch,
please let me know.
 
Regards,
 
 
Steven Liu
 
 
------=_NextPart_000_0007_01C0A08C.7616DF90-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 28 Feb 2001 13:33:07 +0100 From: Ralf Baechle Subject: Re: binutils-2.8.1-mips.patch and egcs-1.1.2-mips.patch ? Message-ID: <20010228133307.A5452@bacchus.dhis.org> References: <000a01c0a0cf$849efbe0$dde0490a@BANANA> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c0a0cf$849efbe0$dde0490a@BANANA>; from stevenliu@psdc.com on Tue, Feb 27, 2001 at 07:11:10AM -0800 Sender: owner-linux-mips@oss.sgi.com Return-Path: To: Steven Liu Cc: linux-mips@oss.sgi.com Message-ID: <20010228123307.fZwukdtBCkwWYVTiEuF43XqKjTcZyPiCdhiRqdFgndc@z> On Tue, Feb 27, 2001 at 07:11:10AM -0800, Steven Liu wrote: > Thank you for your help. > > If any one knows where I can find the following files: > binutils-2.8.1-mips.patch and > egcs-1.1.2-mips.patch, > please let me know. They're part of the srpm crosscompiler packages on oss.sgi.com. Ralf