From owner-linux@cthulhu.engr.sgi.com  Thu Jul  1 00:44:34 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA29540
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 00:40:10 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA3992410; Wed, 30 Jun 1999 15:38:33 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA72780
	for linux-list;
	Wed, 30 Jun 1999 15:35:54 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA33643
	for <linux@engr.sgi.com>;
	Wed, 30 Jun 1999 15:35:52 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 PAA08270
	for <linux@engr.sgi.com>; Wed, 30 Jun 1999 15:35:50 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-20.uni-koblenz.de [141.26.131.20])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA26344
	for <linux@engr.sgi.com>; Thu, 1 Jul 1999 00:35:13 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA30446;
	Thu, 1 Jul 1999 00:34:58 +0200
Date: Thu, 1 Jul 1999 00:34:58 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu,
        Linux Announce Mailinglist <linux-announce@sws1.ctd.ornl.gov>,
        Arnaldo Carvalho de Melo <acme@conectiva.com.br>,
        Marcelo Tosatti <marcelo@conectiva.com.br>,
        Kirill Malkin <malkin@reldata.com>
Subject: New Linux/MIPS crosscompilers available
Message-ID: <19990701003458.A30366@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 5772
Lines: 114

-----BEGIN PGP SIGNED MESSAGE-----

Hi,

I've uploaded new patches to build native and cross binutils and compilers
for mips-linux and mipsel-linux targets for Linux/MIPS on ftp.linux.sgi.com
into /pub/linux/mips/crossdev/src/ rsp.  /pub/linux/mips/crossdev/src/egcs/.

Binaries of binutils and egcs are available for the following types of
hosts are available in /pub/linux/mips/crossdev/

  - Linux/i386 (glibc 2.1 required)
  - Linux/Alpha (glibc 2.0 or newer required)
  - Linux/Sparc (glibc 2.0 or newer required)
  - Linux/PPC (glibc 2.0 or newer required)

Credits for providing the Alpha and Sparc binaries go to Arnaldo Carvalho
de Melo (acme@conectiva.com.br).

Please read the list of changes to the patch files and RPM packages below.

Please report problems ralf@uni-koblenz.de or one of the Linux/MIPS
mailing lists.

  Ralf

Changes to egcs since egcs 1.0.2:

 - Fixed #ident operator to generate .ident, not .string.

 You must upgrade binutils to at least binutils-2.8.1-1.diff before you can
 use or build this compiler.

 You must installed this compiler release if you want to compile modutils;
 previous releases were producing bad code.

Changes to binutils since version binutils-2.8.1-2.diff:

 - TLB instructions are now applied to the same instruction scheduling
   rules as other coprocessor instructions.
 - Rebuilt the binary RPM using the new patch.

 You must upgrade to binutils-2.8.1-2.diff if you wish to compile Linux/MIPS
 kernels for R3000 CPUs.

Changes to binutils since version binutils-2.8.1-1.diff:

 - Fix the .ident pseudo op in gas to handle sections correctly.

 You must upgrade to at least this version before you want to upgrade
 to egcs-1.0.3a.diff.

66f22d90c7bdbf77035f35a4cffa0e63  binutils-2.8.1-3.diff.gz
24906a53ab1abc105256d29e4928a77e  binutils-mips-linux-2.8.1-1.alpha.rpm
331bbbe37ec6005a429d8e5886ccba1c  binutils-mipsel-linux-2.8.1-1.alpha.rpm
17c1a924b4934040e6a5d0f7eef42278  binutils-mips-linux-2.8.1-1.i386.rpm
1e45a295ec695b241434332721144b1e  binutils-mipsel-linux-2.8.1-1.i386.rpm
c3214c60813f045e72ca2162a23c717e  binutils-mips-linux-2.8.1-1.ppc.rpm
30652af3c6d6daf390f1c8b682dcdbde  binutils-mipsel-linux-2.8.1-1.ppc.rpm
289f49618cb1fd122c0a1080575e30b8  binutils-mips-linux-2.8.1-1.sparc.rpm
489e2e34bf8d1671645b85fb3c630f68  binutils-mipsel-linux-2.8.1-1.sparc.rpm
ef30d241f81c13cf443631bcd5ab1914  cross-binutils-2.8.1-1.src.rpm
e64f9950999f3e0850ba7f73e65b75e5  cross-egcs-1.0.3a-1.src.rpm
5f57e092d9b5f221054332fc039dc4ff  egcs-1.0.3a-2.diff.gz
04b9084199eb234b588ae8fcdb930dac  egcs-c++-mips-linux-1.0.3a-1.alpha.rpm
f10ddf2c07d2fd36ad02bed7a3e3acc7  egcs-c++-mipsel-linux-1.0.3a-1.alpha.rpm
bbcfe6b7b1594d639156b90687fb4a5c  egcs-g77-mips-linux-1.0.3a-1.alpha.rpm
1ccb88ad648f1ee762f45788e4a61e79  egcs-g77-mipsel-linux-1.0.3a-1.alpha.rpm
67af9cea602b93b6d125e569a3f938b3  egcs-libstdc++-mips-linux-2.8.0-1.alpha.rpm
f0d2a5c19cbaf63859405f725f41818b  egcs-libstdc++-mipsel-linux-2.8.0-1.alpha.rpm
e3bf275316b98adb6367304d9db01a1d  egcs-mips-linux-1.0.3a-1.alpha.rpm
1ae65785a9deb0cdedb5a656ade821c4  egcs-mipsel-linux-1.0.3a-1.alpha.rpm
720e571214f8d9ba05a998a10704af6b  egcs-objc-mips-linux-1.0.3a-1.alpha.rpm
32bc3f37365483d5b65bd1aa4c8e0876  egcs-objc-mipsel-linux-1.0.3a-1.alpha.rpm
3d0dc466d92175c121300bdef4881a33  egcs-c++-mips-linux-1.0.3a-1.i386.rpm
c4272a37fe8e57b3f9bb8be738274836  egcs-c++-mipsel-linux-1.0.3a-1.i386.rpm
c0de740218490e1b5256c002df724e9e  egcs-g77-mips-linux-1.0.3a-1.i386.rpm
9d539da26bb07b7edca4c2106cb23d3a  egcs-g77-mipsel-linux-1.0.3a-1.i386.rpm
e6bd26ab57563f6d6e854325728fe3f2  egcs-libstdc++-mips-linux-2.8.0-1.i386.rpm
42300569bb1356d4c3209006700f1c6a  egcs-libstdc++-mipsel-linux-2.8.0-1.i386.rpm
9d69a4a9bb481ff8bde126b58e13f184  egcs-mips-linux-1.0.3a-1.i386.rpm
a84256a9295121d8042e0a5a8f1127ea  egcs-mipsel-linux-1.0.3a-1.i386.rpm
e5583f2486e5a87e4715e2a0757f316d  egcs-objc-mips-linux-1.0.3a-1.i386.rpm
0a1d9166d05c40fe242ebf3e8e4c9d67  egcs-objc-mipsel-linux-1.0.3a-1.i386.rpm
f0f1d54a00c61541326d7a9c6fabd856  egcs-c++-mips-linux-1.0.3a-1.ppc.rpm
f28e90e7bf2494be0c55d85a15ed7763  egcs-c++-mipsel-linux-1.0.3a-1.ppc.rpm
ee7eb7f1bb1a24ba024ef6b16eb140d1  egcs-g77-mips-linux-1.0.3a-1.ppc.rpm
599424fb7cb8c6f9c665b4724be07bc8  egcs-g77-mipsel-linux-1.0.3a-1.ppc.rpm
bf4a42ed26188fd3deaceeaf864d7765  egcs-libstdc++-mips-linux-2.8.0-1.ppc.rpm
770888f1c4c2882c9e5d1c6627c3ab81  egcs-libstdc++-mipsel-linux-2.8.0-1.ppc.rpm
be4bf0ac5d0804fcd6a31ec88cfe651e  egcs-mips-linux-1.0.3a-1.ppc.rpm
679de1a46ea47ef7a829e6abcb47a257  egcs-mipsel-linux-1.0.3a-1.ppc.rpm
3ab9e864b8b3d58bcac6c07fa7363daf  egcs-objc-mips-linux-1.0.3a-1.ppc.rpm
c48aaeabd8b7373ee8fd3b358fa0869c  egcs-objc-mipsel-linux-1.0.3a-1.ppc.rpm
f5dacd4ad42184f57a8cff6ea650e4be  egcs-c++-mips-linux-1.0.3a-1.sparc.rpm
09f2301fc208bf434fb83c6ccebe9752  egcs-c++-mipsel-linux-1.0.3a-1.sparc.rpm
dd9630b77a2ec7fa057da244040b4d6d  egcs-g77-mips-linux-1.0.3a-1.sparc.rpm
26c01a32ec26cbc1746bca05c9726e3b  egcs-g77-mipsel-linux-1.0.3a-1.sparc.rpm
f6c2debe62d93ddedf95a91ee98805fb  egcs-libstdc++-mips-linux-2.8.0-1.sparc.rpm
3da0d34a7420762c75fe477416451b71  egcs-libstdc++-mipsel-linux-2.8.0-1.sparc.rpm2ab9227097946bfbd4e795a07cad82a1  egcs-mips-linux-1.0.3a-1.sparc.rpm
0f19e28546a185da5969442a6d35b495  egcs-mipsel-linux-1.0.3a-1.sparc.rpm
6cdcfe0d1b52d3fd033c64a289ee4836  egcs-objc-mips-linux-1.0.3a-1.sparc.rpm
32ca712e0aa483520afe39b87b0fc6ab  egcs-objc-mipsel-linux-1.0.3a-1.sparc.rpm

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAwUBN3qbV0ckbl6vezDBAQGUsgP9F1VrQQELRKgm5SuVG7z13235ZgBmRnhA
dYkE9NQMY798XedAnuf7SmZZGeaqYivM1/td8AXaDG8gueMcAzOoIkNhdeOGBVj2
L7CilWqpW60iMdTsjbXYT+azD4/xAB8CoBnK7hgEeZIqkEgTXfxPuOeb8G+2NAGc
QpMp1L5xE+k=
=Spnq
-----END PGP SIGNATURE-----

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  1 02:28:44 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id CAA16884
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 02:28:43 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id RAA4040200; Wed, 30 Jun 1999 17:26:54 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id RAA89060
	for linux-list;
	Wed, 30 Jun 1999 17:24:18 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id RAA96879;
	Wed, 30 Jun 1999 17:24:15 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 RAA08080; Wed, 30 Jun 1999 17:24:13 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-20.uni-koblenz.de [141.26.131.20])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id CAA00628;
	Thu, 1 Jul 1999 02:24:08 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id CAA31519;
	Thu, 1 Jul 1999 02:23:58 +0200
Date: Thu, 1 Jul 1999 02:23:57 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "William J. Earl" <wje@fir.engr.sgi.com>
Cc: Ulf Carlsson <ulfc@thepuffingroup.com>, linux@cthulhu.engr.sgi.com
Subject: Re: Memory corruption
Message-ID: <19990701022357.D30652@uni-koblenz.de>
References: <19990622033931.A7201@thepuffingroup.com> <199906300101.SAA09334@fir.engr.sgi.com> <19990630044702.A6969@thepuffingroup.com> <199906302201.PAA29334@fir.engr.sgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <199906302201.PAA29334@fir.engr.sgi.com>; from William J. Earl on Wed, Jun 30, 1999 at 03:01:27PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2696
Lines: 61

On Wed, Jun 30, 1999 at 03:01:27PM -0700, William J. Earl wrote:

>      I have been looking at the fault handling and the cache flushing routines
> for the R4600.  In do_no_page() in mm/memory.c, we have:
> 
> 	flush_page_to_ram(page);
> 
> I don't see where any code invalidates the icache, which might have
> cached lines from a previous incarnation of the page.
> flush_page_to_ram(), for the R4600, essentially does a writeback of
> the dcache, if I understand the code correctly.  I believe that an
> icache invalidate is also needed, at least for executable pages
> (including any page for which mprotect() with PROT_EXEC has been
> called, not just for text pages from an executable file).  Also,
> unless something has changed, my understanding is that conflicting
> virtual aliases (in the dcache) are still possible, which will also
> lead to data corruption when it happens.

The particular flush_page_to_ram() call is only necessary because the
call to vma->vm_ops->nopage() may have brought the page into the
primary cache under it's KSEG0 address.

>      In particular, if process A mmaps a file page at virtual index
> 0 and process B happens to mmap the same file page at virtual index
> 1, they will in general corrupt each other's view of the data.

Oh, the common case is either shared r/o mappings or SysV SHM which per
ABI is 64kb aligned, so the hairy case doesn't hit us.  Usually ...

Especially I don't see why anything should corrupt executable pages
which are r/o mapped.

>      There is a comment in memory.c that a non-present page shouldn't
> be cached, but it is not yet clear to me that this is guaranteed for
> the icache.

Flushing the caches for pages which are being unmapped is done by
flush_cach_page and takes care of the VM_EXEC flag.

On exec, fork or exit we flush the entire cache so that problems shouldn't
hit us either.

Actually we're pretty generous with our cacheflushed, we flush more than we
should.

> Also, the flush_page_to_ram() slows down processing on
> machines which physical cache tags, for cases where the virtual
> index used by the kernel and the virtual index used by the application
> are the same.  It should have an extra argument of the intended user virtual
> address, so that it can decide whether to flush or not on architectures
> such as MIPS.

For R3000 and R6000 flush_page_to_ram() is a no-op, see arch/mips/mm/r2300.c
and arch/mips/mm/r6000.c.

For virtual indexed CPUs something like change_page_colour(oldvaddr, newvaddr)
would usually do a more efficient job than always flushing the page to
memory especially when combined with an allocator which takes the vaddr where
the page will be mapped as a hint.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  1 10:58:35 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id KAA08640
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 10:58:32 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id BAA03193; Thu, 1 Jul 1999 01:55:08 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id BAA10162
	for linux-list;
	Thu, 1 Jul 1999 01:48:16 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id BAA53359
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 1 Jul 1999 01:48:14 -0700 (PDT)
	mail_from (wa0191@stud.uni-wuppertal.de)
Received: from mail.urz.uni-wuppertal.de (mail.urz.uni-wuppertal.de [132.195.64.1]) 
	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 BAA03203
	for <linux@cthulhu.engr.sgi.com>; Thu, 1 Jul 1999 01:48:01 -0700 (PDT)
	mail_from (wa0191@stud.uni-wuppertal.de)
Received: from nachtfalke.dhis.org (root@isdn40.dialin.uni-wuppertal.de [132.195.23.40])
	by mail.urz.uni-wuppertal.de (8.9.2/8.9.2) with ESMTP id KAA76577359
	for <linux@cthulhu.engr.sgi.com>; Thu, 1 Jul 1999 10:47:26 +0200 (MDT)
Received: (from nachtfalke@localhost)
	by nachtfalke.dhis.org (8.8.8/8.8.8) id KAA00725
	for linux@cthulhu.engr.sgi.com; Thu, 1 Jul 1999 10:37:33 +0200
From: Alexander Graefe <wa0191@stud.uni-wuppertal.de>
Date: Thu, 1 Jul 1999 10:37:32 +0200
To: linux@cthulhu.engr.sgi.com
Subject: Linux on my INDY, now what ?
Message-ID: <19990701103732.A393@ganymede>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
X-Goddess: Willow
X-Farbe: Gelb
X-Geschmack: siehe X-Farbe
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 968
Lines: 26

Hi all.

I recently managed to install Linux on my Indy by just installing over
the whole IRIX partition. I never thought that would work, but it did.
:)
The only thing that bugs me now is that I have to netboot it, but I
can live with that.
I was able to compile a few things, like Apache 1.3.6 and Roxen
1.3.111 without problems, and they seem to run just fine.
Now I am wondering, did anyone get MySQL to compile on HardHat ?
My version (3.22.23b) complains that my egcs should be at least 1.0.3,
but I haven't found anything on ftp.linux.sgi.com newer than 1.0.2,
and the latest egcs-release doesn't work out of the box.

And what is the latest kernel ? I am using the 2.2.1-sound kernel, but
I wanted to compile my own kernel, but I couldn't find sources for 2.2
on ftp.linux.sgi.com, only for 2.1.

Otherwise, great work, now I finally can really put that Indy to use.

Bye,
	LeX

-- 
Today's excuse:
Smell from unhygenic janitorial staff wrecked the tape heads

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  1 13:28:03 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id NAA01827
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 13:27:48 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id EAA00879; Thu, 1 Jul 1999 04:26:12 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id EAA28862
	for linux-list;
	Thu, 1 Jul 1999 04:23:02 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id EAA95451;
	Thu, 1 Jul 1999 04:22:54 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from mail.ivm.net (mail.ivm.net [62.204.1.4]) 
	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 EAA07271; Thu, 1 Jul 1999 04:22:52 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from franz.no.dom (port44.koeln.ivm.de [195.247.239.44])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id NAA18047;
	Thu, 1 Jul 1999 13:22:43 +0200
X-To: linux@cthulhu.engr.sgi.com
Message-ID: <XFMail.990701132545.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <199907010053.RAA00061@fir.engr.sgi.com>
Date: Thu, 01 Jul 1999 13:25:45 +0200 (MEST)
Reply-To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Organization: none
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To: "William J. Earl" <wje@fir.engr.sgi.com>
Subject: Re: Memory corruption
Cc: linux@cthulhu.engr.sgi.com, Ulf Carlsson <ulfc@thepuffingroup.com>,
        Ralf Baechle <ralf@uni-koblenz.de>, linux-mips@fnet.fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Content-Length: 1291
Lines: 32


On 01-Jul-99 William J. Earl wrote:
> Ralf Baechle writes:
[...]
>  > Actually we're pretty generous with our cacheflushed, we flush more than we
>  > should.
> 
>      Yes, but it is not clear that all paths are covered.
> 
>  > > Also, the flush_page_to_ram() slows down processing on
>  > > machines which physical cache tags, for cases where the virtual
>  > > index used by the kernel and the virtual index used by the application
>  > > are the same.  It should have an extra argument of the intended user virtual
>  > > address, so that it can decide whether to flush or not on architectures
>  > > such as MIPS.
>  > 
>  > For R3000 and R6000 flush_page_to_ram() is a no-op, see arch/mips/mm/r2300.c
>  > and arch/mips/mm/r6000.c.
> 
>     Yes, since those have write-through caches.  The icache
> invalidation is still an issue, if there are any paths, such as
> try_to_swap_out(), which break a virtual-to-physical mapping without
> flushing the icache.

A good point. That seems to be exactly the problem R3k DECstations have. Processes
are dying with SIGABRT SIGBUS or SIGSEGV shortly after swapping occurs. Trying to
hunt that down I removed all optimisations from the cacheflushing routines and 
replaced them with flush_cache_all() but that didn't help.

---
Regards,
Harald

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  1 16:48:07 1999
Received: from dns1.rz.fh-heilbronn.de (dns1.rz.fh-heilbronn.de [141.7.1.18])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id QAA08480
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 16:47:46 +0200
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by dns1.rz.fh-heilbronn.de (8.8.8/8.8.5) with ESMTP id QAA14779
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 16:47:44 +0200 (MET DST)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id HAA4126518; Thu, 1 Jul 1999 07:43:06 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id HAA91970
	for linux-list;
	Thu, 1 Jul 1999 07:38:27 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id HAA42438
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 1 Jul 1999 07:38:25 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from lilith.dpo.uab.edu (lilith.dpo.uab.edu [138.26.1.128]) 
	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 HAA09661
	for <linux@cthulhu.engr.sgi.com>; Thu, 1 Jul 1999 07:38:22 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from mdk187.tucc.uab.edu (mdk187.tucc.uab.edu [138.26.15.201])
	by lilith.dpo.uab.edu (8.9.3/8.9.3) with SMTP id JAA26192
	for <linux@cthulhu.engr.sgi.com>; Thu, 1 Jul 1999 09:17:01 -0500
Date: Thu, 1 Jul 1999 09:48:25 -0500 (CDT)
From: "Andrew R. Baker" <andrewb@uab.edu>
X-Sender: andrewb@mdk187.tucc.uab.edu
To: Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Latest Indigo2 SCSI patch
Message-ID: <Pine.LNX.3.96.990701094704.3088B-100000@mdk187.tucc.uab.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 195
Lines: 6


Could Indigo2 and Indy users try this patch out?  It gets the second SCSI
controller up and running on the Indigo2.  If there are no complaints, I
am going to put it into the CVS tree.

-Andrew

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  1 19:03:00 1999
Received: from dns1.rz.fh-heilbronn.de (dns1.rz.fh-heilbronn.de [141.7.1.18])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id TAA23874
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 19:02:59 +0200
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by dns1.rz.fh-heilbronn.de (8.8.8/8.8.5) with ESMTP id SAA16129
	for <pstadt@stud.fh-heilbronn.de>; Thu, 1 Jul 1999 18:03:34 +0200 (MET DST)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id IAA23762; Thu, 1 Jul 1999 08:59:21 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id IAA85961
	for linux-list;
	Thu, 1 Jul 1999 08:55:21 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id IAA74698
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 1 Jul 1999 08:55:19 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from lilith.dpo.uab.edu (lilith.dpo.uab.edu [138.26.1.128]) 
	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 IAA04480
	for <linux@cthulhu.engr.sgi.com>; Thu, 1 Jul 1999 08:55:15 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from mdk187.tucc.uab.edu (mdk187.tucc.uab.edu [138.26.15.201])
	by lilith.dpo.uab.edu (8.9.3/8.9.3) with SMTP id KAA00478
	for <linux@cthulhu.engr.sgi.com>; Thu, 1 Jul 1999 10:33:55 -0500
Date: Thu, 1 Jul 1999 11:05:19 -0500 (CDT)
From: "Andrew R. Baker" <andrewb@uab.edu>
X-Sender: andrewb@mdk187.tucc.uab.edu
To: Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Latest Indigo2 SCSI patch
In-Reply-To: <Pine.LNX.3.96.990701094704.3088B-100000@mdk187.tucc.uab.edu>
Message-ID: <Pine.LNX.3.96.990701103639.3088C-200000@mdk187.tucc.uab.edu>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="445303055-1189053499-930845119=:3088"
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 5622
Lines: 104

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--445303055-1189053499-930845119=:3088
Content-Type: TEXT/PLAIN; charset=US-ASCII


OK, eventually I will remember to attach the patch with my announcements.

On Thu, 1 Jul 1999, Andrew R. Baker wrote:
> 
> Could Indigo2 and Indy users try this patch out?  It gets the second SCSI
> controller up and running on the Indigo2.  If there are no complaints, I
> am going to put it into the CVS tree.
> 
> -Andrew
> 

--445303055-1189053499-930845119=:3088
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=patch
Content-ID: <Pine.LNX.3.96.990701110519.3088D@mdk187.tucc.uab.edu>
Content-Description: 
Content-Transfer-Encoding: BASE64

LS0tIHNnaXdkOTMuYy5vcmlnCUZyaSBKdW4gMjUgMTU6MzE6NTUgMTk5OQ0K
KysrIHNnaXdkOTMuYwlUdWUgSnVuIDI5IDEzOjIxOjU4IDE5OTkNCkBAIC00
Myw2ICs0Myw3IEBADQogfTsNCiANCiBzdHJ1Y3QgU2NzaV9Ib3N0ICpzZ2l3
ZDkzX2hvc3QgPSBOVUxMOw0KK3N0cnVjdCBTY3NpX0hvc3QgKnNnaXdkOTNf
aG9zdDEgPSBOVUxMOw0KIA0KIC8qIFd1ZmYgd3VmZiwgd3VmZiwgd2QzM2M5
My5jLCB3dWZmIHd1ZmYsIG9iamVjdCBvcmllbnRlZCwgYm93IHdvdy4gKi8N
CiBzdGF0aWMgaW5saW5lIHZvaWQgd3JpdGVfd2QzM2M5M19jb3VudCh3ZDMz
YzkzX3JlZ3MgKnJlZ3AsIHVuc2lnbmVkIGxvbmcgdmFsdWUpDQpAQCAtNzAs
NyArNzEsNyBAQA0KIAl1bnNpZ25lZCBsb25nIGZsYWdzOw0KIA0KIAlzcGlu
X2xvY2tfaXJxc2F2ZSgmaW9fcmVxdWVzdF9sb2NrLCBmbGFncyk7DQotCXdk
MzNjOTNfaW50cihzZ2l3ZDkzX2hvc3QpOw0KKwl3ZDMzYzkzX2ludHIoKHN0
cnVjdCBTY3NpX0hvc3QgKikgZGV2X2lkKTsNCiAJc3Bpbl91bmxvY2tfaXJx
cmVzdG9yZSgmaW9fcmVxdWVzdF9sb2NrLCBmbGFncyk7DQogfQ0KIA0KQEAg
LTIzNiw5ICsyMzcsOSBAQA0KICNlbmRpZg0KIH0NCiANCi12b2lkIHNnaXdk
OTNfcmVzZXQodm9pZCkNCit2b2lkIHNnaXdkOTNfcmVzZXQodWNoYXIgKmJh
c2UpDQogew0KLQlzdHJ1Y3QgaHBjM19zY3NpcmVncyAqaHJlZ3MgPSAmaHBj
M2MwLT5zY3NpX2NoYW4wOw0KKwlzdHJ1Y3QgaHBjM19zY3NpcmVncyAqaHJl
Z3MgPSAoc3RydWN0IGhwYzNfc2NzaXJlZ3MgKikgYmFzZTsNCiANCiAJaHJl
Z3MtPmN0cmwgPSBIUEMzX1NDVFJMX0NSRVNFVDsNCiAJdWRlbGF5ICg1MCk7
DQpAQCAtMjY2LDkgKzI2NywxMSBAQA0KIHsNCiAJc3RhdGljIHVuc2lnbmVk
IGNoYXIgY2FsbGVkID0gMDsNCiAJc3RydWN0IGhwYzNfc2NzaXJlZ3MgKmhy
ZWdzID0gJmhwYzNjMC0+c2NzaV9jaGFuMDsNCisJc3RydWN0IGhwYzNfc2Nz
aXJlZ3MgKmhyZWdzMSA9ICZocGMzYzAtPnNjc2lfY2hhbjE7DQogCXN0cnVj
dCBXRDMzQzkzX2hvc3RkYXRhICpoZGF0YTsNCisJc3RydWN0IFdEMzNDOTNf
aG9zdGRhdGEgKmhkYXRhMTsNCiAJdWNoYXIgKmJ1ZjsNCi0NCisJDQogCWlm
KGNhbGxlZCkNCiAJCXJldHVybiAwOyAvKiBTaG91bGQgYml0Y2ggb24gdGhl
IGNvbnNvbGUgYWJvdXQgdGhpcy4uLiAqLw0KIA0KQEAgLTI4MSw3ICsyODQs
NyBAQA0KIAlidWYgPSAodWNoYXIgKikgZ2V0X2ZyZWVfcGFnZShHRlBfS0VS
TkVMKTsNCiAJaW5pdF9ocGNfY2hhaW4oYnVmKTsNCiAJZG1hX2NhY2hlX3di
YWNrX2ludigodW5zaWduZWQgbG9uZykgYnVmLCBQQUdFX1NJWkUpOw0KLQ0K
KwkvKiBIUENfU0NTSV9SRUcwIHwgMHgwMyB8IEtTRUcxICovDQogCXdkMzNj
OTNfaW5pdChzZ2l3ZDkzX2hvc3QsICh3ZDMzYzkzX3JlZ3MgKikgMHhiZmJj
MDAwMywNCiAJCSAgICAgZG1hX3NldHVwLCBkbWFfc3RvcCwgV0QzM0M5M19G
U18xNl8yMCk7DQogDQpAQCAtMjkxLDYgKzI5NCwyNyBAQA0KIAlkbWFfY2Fj
aGVfd2JhY2tfaW52KCh1bnNpZ25lZCBsb25nKSBidWYsIFBBR0VfU0laRSk7
DQogDQogCXJlcXVlc3RfaXJxKDEsIHNnaXdkOTNfaW50ciwgMCwgIlNHSSBX
RDkzIiwgKHZvaWQgKikgc2dpd2Q5M19ob3N0KTsNCisgICAgICAgIC8qIHNl
dCB1cCBzZWNvbmQgY29udHJvbGxlciBvbiB0aGUgSW5kaWdvMiAqLw0KKwlp
Zighc2dpX2d1aW5lc3MpIHsNCisJCXNnaXdkOTNfaG9zdDEgPSBzY3NpX3Jl
Z2lzdGVyKEhQc1VYLCBzaXplb2Yoc3RydWN0IFdEMzNDOTNfaG9zdGRhdGEp
KTsNCisJCXNnaXdkOTNfaG9zdDEtPmJhc2UgPSAodW5zaWduZWQgY2hhciAq
KSBocmVnczE7DQorCQlzZ2l3ZDkzX2hvc3QxLT5pcnEgPSAyOw0KKw0KKwkJ
YnVmID0gKHVjaGFyICopIGdldF9mcmVlX3BhZ2UoR0ZQX0tFUk5FTCk7DQor
CQlpbml0X2hwY19jaGFpbihidWYpOw0KKwkJZG1hX2NhY2hlX3diYWNrX2lu
digodW5zaWduZWQgbG9uZykgYnVmLCBQQUdFX1NJWkUpOw0KKwkJLyogSFBD
X1NDU0lfUkVHMSB8IDB4MDMgfCBLU0VHMSAqLw0KKwkJd2QzM2M5M19pbml0
KHNnaXdkOTNfaG9zdDEsICh3ZDMzYzkzX3JlZ3MgKikgMHhiZmJjODAwMywN
CisJCQkgICAgIGRtYV9zZXR1cCwgZG1hX3N0b3AsIFdEMzNDOTNfRlNfMTZf
MjApOw0KKw0KKwkJaGRhdGExID0gKHN0cnVjdCBXRDMzQzkzX2hvc3RkYXRh
ICopc2dpd2Q5M19ob3N0MS0+aG9zdGRhdGE7DQorCQloZGF0YTEtPm5vX3N5
bmMgPSAwOw0KKwkJaGRhdGExLT5kbWFfYm91bmNlX2J1ZmZlciA9ICh1Y2hh
ciAqKSAoS1NFRzFBRERSKGJ1ZikpOw0KKwkJZG1hX2NhY2hlX3diYWNrX2lu
digodW5zaWduZWQgbG9uZykgYnVmLCBQQUdFX1NJWkUpOw0KKw0KKwkJcmVx
dWVzdF9pcnEoMiwgc2dpd2Q5M19pbnRyLCAwLCAiU0dJIFdEOTMiLCAodm9p
ZCAqKSBzZ2l3ZDkzX2hvc3QxKTsNCisJfQ0KKwkNCiAJY2FsbGVkID0gMTsN
CiANCiAJcmV0dXJuIDE7IC8qIEZvdW5kIG9uZS4gKi8NCi0tLSB3ZDMzYzkz
LmMub3JpZwlGcmkgSnVuIDI1IDE1OjI5OjI1IDE5OTkNCisrKyB3ZDMzYzkz
LmMJVHVlIEp1biAyOSAxMzoxNTo0NiAxOTk5DQpAQCAtMTAyOCw3ICsxMDI4
LDcgQEANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBob3N0ZGF0YS0+
c3luY194ZmVyW2NtZC0+dGFyZ2V0XSA9IGlkOw0KICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIH0NCiAjaWZkZWYgU1lOQ19ERUJVRw0KLXByaW50aygi
c3luY194ZmVyPSUwMngiLGhvc3RkYXRhLT5zeW5jX3hmZXJbY21kLT50YXJn
ZXRdKTsNCitwcmludGsoIiBzeW5jX3hmZXI9JTAyeFxuIixob3N0ZGF0YS0+
c3luY194ZmVyW2NtZC0+dGFyZ2V0XSk7DQogI2VuZGlmDQogICAgICAgICAg
ICAgICAgICAgICAgICAgaG9zdGRhdGEtPnN5bmNfc3RhdFtjbWQtPnRhcmdl
dF0gPSBTU19TRVQ7DQogICAgICAgICAgICAgICAgICAgICAgICAgd3JpdGVf
d2QzM2M5M19jbWQocmVncCxXRF9DTURfTkVHQVRFX0FDSyk7DQpAQCAtMTM2
Miw3ICsxMzYyLDcgQEANCiAjaWZkZWYgQ09ORklHX1NHSQ0KIHsNCiBpbnQg
YnVzeWNvdW50ID0gMDsNCi1leHRlcm4gdm9pZCBzZ2l3ZDkzX3Jlc2V0KHZv
aWQpOw0KK2V4dGVybiB2b2lkIHNnaXdkOTNfcmVzZXQodWNoYXIqKTsNCiAN
CiAgICAvKiB3YWl0ICd0aWwgdGhlIGNoaXAgZ2V0cyBzb21lIHRpbWUgZm9y
IHVzICovDQogICAgd2hpbGUgKFJFQURfQVVYX1NUQVQoKSAmIEFTUl9CU1kg
JiYgYnVzeWNvdW50KysgPCAxMDApDQpAQCAtMTM3Niw3ICsxMzc2LDcgQEAN
CiAgICAgKi8NCiAgICAvKiBzdGlsbCBidXN5ID8gKi8NCiAgICBpZiAoUkVB
RF9BVVhfU1RBVCgpICYgQVNSX0JTWSkNCi0Jc2dpd2Q5M19yZXNldCgpOyAv
KiB5ZWFoLCBnaXZlIGl0IHRoZSBoYXJkIG9uZSAqLw0KKwlzZ2l3ZDkzX3Jl
c2V0KGluc3RhbmNlLT5iYXNlKTsgLyogeWVhaCwgZ2l2ZSBpdCB0aGUgaGFy
ZCBvbmUgKi8NCiB9DQogI2VuZGlmDQogDQo=
--445303055-1189053499-930845119=:3088--

From owner-linux@cthulhu.engr.sgi.com  Sat Jul  3 00:54:38 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA06103
	for <pstadt@stud.fh-heilbronn.de>; Sat, 3 Jul 1999 00:54:33 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA4282470; Fri, 2 Jul 1999 15:49:38 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA29553
	for linux-list;
	Fri, 2 Jul 1999 15:43:09 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA75527;
	Fri, 2 Jul 1999 15:43:05 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 PAA04011; Fri, 2 Jul 1999 15:43:02 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-10.uni-koblenz.de [141.26.131.10])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA02592;
	Sat, 3 Jul 1999 00:42:53 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA09729;
	Sat, 3 Jul 1999 00:41:25 +0200
Date: Sat, 3 Jul 1999 00:41:25 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "William J. Earl" <wje@fir.engr.sgi.com>
Cc: Ulf Carlsson <ulfc@thepuffingroup.com>, linux@cthulhu.engr.sgi.com
Subject: Re: Memory corruption
Message-ID: <19990703004125.A9423@uni-koblenz.de>
References: <19990622033931.A7201@thepuffingroup.com> <199906300101.SAA09334@fir.engr.sgi.com> <19990630044702.A6969@thepuffingroup.com> <199906302201.PAA29334@fir.engr.sgi.com> <19990701022357.D30652@uni-koblenz.de> <199907010053.RAA00061@fir.engr.sgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <199907010053.RAA00061@fir.engr.sgi.com>; from William J. Earl on Wed, Jun 30, 1999 at 05:53:58PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 3947
Lines: 83

On Wed, Jun 30, 1999 at 05:53:58PM -0700, William J. Earl wrote:

>      Suppose physical page X has been used as logical page 100 of executable
> file ABC, and is then freed, but is still partially in the icache at 
> virtual index 0.  Then suppose the page X is reused as logical page 200 of
> executable DEF, at virtual index 0.  The writeback of the data cache is
> good, but there are still cache lines from file ABC in the icache.  If
> nothing flushes the icache (and there is no reason to flush the icache
> when reusing a page for data), the icache will have stale data with respect
> to the new identity of page X as logical page 200 of executable DEF.

Ok, yes that can happen in theory if code has been executed in a page
which was not marked PROT_EXEC but execed though.  Fixing that makes things
quite a bit slower, we'll have to flush the icache on every flush_cache_page.
flush_cache_range() already does this.

Hmm...  Maybe a my-software-behaves-properly-and-I-know-this-is-dangerous-
sysctl() which restablishes the current i-cache flushing behaviour if
VM_EXEC is unset?

I herewith order an execution protection bit for the next generation MIPS
and while we're at it an integer add with carry for faster IP checksums.

> The icache issue applies to all processors.  The dcache issue applies only
> to the R4000PC, R4600, and R5000.

And R41xx, R42xx, R43xx, R4700, Nevada, Kronus, Sony Playstation II CPU ...

>  > Flushing the caches for pages which are being unmapped is done by
>  > flush_cach_page and takes care of the VM_EXEC flag.
>  > 
>  > On exec, fork or exit we flush the entire cache so that problems shouldn't
>  > hit us either.
>
> It is not clear this works as expected if the page is stolen by vmscan.

The thing is that as I already mentioned above a page might be in the
icache even though it isn't marked as VM_EXEC.

>  > Actually we're pretty generous with our cacheflushed, we flush more
>  > than we should.
>
> Yes, but it is not clear that all paths are covered.
>
>  > > Also, the flush_page_to_ram() slows down processing on
>  > > machines which physical cache tags, for cases where the virtual
>  > > index used by the kernel and the virtual index used by the application
>  > > are the same.  It should have an extra argument of the intended user
>  > > virtual address, so that it can decide whether to flush or not on
>  > > architectures such as MIPS.
>  > 
>  > For R3000 and R6000 flush_page_to_ram() is a no-op, see
>  >  arch/mips/mm/r2300.c and arch/mips/mm/r6000.c.
>
> Yes, since those have write-through caches.

The cache write policy doesn't matter in that case.

> The icache invalidation is still an issue, if there are any paths, such
> as try_to_swap_out(), which break a virtual-to-physical mapping without
> flushing the icache.

>  > For virtual indexed CPUs something like change_page_colour(oldvaddr,
>  > newvaddr) would usually do a more efficient job than always flushing the
>  > page to memory especially when combined with an allocator which takes the
>  > vaddr where the page will be mapped as a hint.
>
>       Right.  Also, for IRIX and RISCos, I had mmap prefer an mmap
> address for which color(address) == color(file_offset), so that
> applications not using MAP_FIXED would always map a given file page at
> the same virtual color, and I had the kernel use page_mapin() to make
> a page addressable, so that I could have page_mapin() create a KSEG2
> mapping of the appropriate color if it were different from the KSEG0
> color of the page (for cases where the allocator could not allocate a
> page with KSEG0 color to match the desired virtual color).
> page_mapin() would of course return the KSEG0 address if the KSEG0
> color matched the virtual color.  The color changing code is still
> neaded to deal with MAP_FIXED and so on, but it is much less
> performance-critical.

That will also deal efficiently with the way ld.so loads ELF binaries.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Sat Jul  3 21:13:07 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA18183
	for <pstadt@stud.fh-heilbronn.de>; Sat, 3 Jul 1999 21:13:05 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA4374505; Sat, 3 Jul 1999 12:10:57 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA20109
	for linux-list;
	Sat, 3 Jul 1999 12:06:35 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA21774
	for <linux@cthulhu.engr.sgi.com>;
	Sat, 3 Jul 1999 12:06:28 -0700 (PDT)
	mail_from (m_thrope@rigelfore.com)
Received: from slug.rigelfore.com (c69494-a.plstn1.sfba.home.com [24.2.21.88]) 
	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 MAA04586
	for <linux@cthulhu.engr.sgi.com>; Sat, 3 Jul 1999 12:06:27 -0700 (PDT)
	mail_from (m_thrope@rigelfore.com)
Received: (qmail 615 invoked from network); 3 Jul 1999 19:07:02 -0000
Received: from unknown (HELO rigelfore.com) (192.168.42.2)
  by 192.168.42.1 with SMTP; 3 Jul 1999 19:07:02 -0000
Message-ID: <377E5E52.2F4AFEF0@rigelfore.com>
Date: Sat, 03 Jul 1999 12:02:42 -0700
From: Eric Melville <m_thrope@rigelfore.com>
Organization: iLL
X-Mailer: Mozilla 4.5 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: sgi <linux@cthulhu.engr.sgi.com>
Subject: kernel for r4400 v6.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 116
Lines: 4

could someone please give me a url for the kernel i should be attempting
to boot on my r4400 v6.0 indy? thanks.

-E

From owner-linux@cthulhu.engr.sgi.com  Tue Jul  6 00:11:31 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA27565
	for <pstadt@stud.fh-heilbronn.de>; Tue, 6 Jul 1999 00:11:29 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA4577333; Mon, 5 Jul 1999 15:07:39 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA41648
	for linux-list;
	Mon, 5 Jul 1999 15:01:49 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA18147;
	Mon, 5 Jul 1999 15:00:02 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 OAA00318; Mon, 5 Jul 1999 14:58:44 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-24.uni-koblenz.de [141.26.131.24])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id XAA08326;
	Mon, 5 Jul 1999 23:58:40 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id OAA05468;
	Mon, 5 Jul 1999 14:28:37 +0200
Date: Mon, 5 Jul 1999 14:28:37 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "William J. Earl" <wje@fir.engr.sgi.com>
Cc: digital convergence <digital_convergence@yahoo.com>,
        linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: IRIX binary compatibility (Was: Re: X VNC server compiled on Hardhat!!)
Message-ID: <19990705142836.B5432@uni-koblenz.de>
References: <19990614043723.24062.rocketmail@web502.yahoomail.com> <19990614123809.C14977@uni-koblenz.de> <199906300008.RAA09229@fir.engr.sgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <199906300008.RAA09229@fir.engr.sgi.com>; from William J. Earl on Tue, Jun 29, 1999 at 05:08:31PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 1033
Lines: 23

On Tue, Jun 29, 1999 at 05:08:31PM -0700, William J. Earl wrote:

> Ralf Baechle writes:
>  > On Sun, Jun 13, 1999 at 09:37:23PM -0700, digital convergence wrote:
>  > 
>  > > btw, how well is native IRIX binary loading supported? I wish to run a
>  > > copy of BMRT on my farm of indy's under linux, but it won't let me
>  > > execute any of the binaries (they're R4000 optimised old style linkage
>  > > bins)....
>  > 
>  > Only a limited number of syscalls and other interfaces is supported at
>  > all and I haven't received any reports about the IRIX compatibility
>  > stuff in ages.  Anybody interested in maintaining this facility?
> 
>        IRIX 4.* binaries are COFF binaries, not ELF, and have a very
> different ABI from IRIX 5.* binaries.  The present support is really
> for IRIX 5 binaries, which are much closer in interface semantics to
> Linux native binaries.

So far not a single person has asked for binary compatibility with
IRIX < 5.0, so ECOFF support isn't exactly something I'm worried about ...

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Tue Jul  6 00:37:38 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA30856
	for <pstadt@stud.fh-heilbronn.de>; Tue, 6 Jul 1999 00:37:35 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA16307; Mon, 5 Jul 1999 15:35:24 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA64411
	for linux-list;
	Mon, 5 Jul 1999 15:32:49 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA82341
	for <linux@engr.sgi.com>;
	Mon, 5 Jul 1999 15:32:42 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 PAA03108
	for <linux@engr.sgi.com>; Mon, 5 Jul 1999 15:32:04 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-24.uni-koblenz.de [141.26.131.24])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA09763
	for <linux@engr.sgi.com>; Tue, 6 Jul 1999 00:31:58 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA07089;
	Tue, 6 Jul 1999 00:31:23 +0200
Date: Tue, 6 Jul 1999 00:31:23 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Eric Jorgensen <alhaz@xmission.com>
Cc: "R.Charles Sweeten" <alpha@rasgroup.rasgroup.com>,
        linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: Tandem 4440/A ??
Message-ID: <19990706003123.D6351@uni-koblenz.de>
References: <Pine.LNX.3.93.990705084553.17554A-100000@rasgroup.rasgroup.com> <3780F4D5.D9ACE8B3@xmission.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <3780F4D5.D9ACE8B3@xmission.com>; from Eric Jorgensen on Mon, Jul 05, 1999 at 12:09:25PM -0600
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2131
Lines: 42

On Mon, Jul 05, 1999 at 12:09:25PM -0600, Eric Jorgensen wrote:

> here with my own server on a T1 colocated at a company i work for, so I
> should go ahead and start a "Linux/Mips on Jazz/ARC Hardware" home page,
> if nobody else has one in the works already. Of course, it'd be cooler
> if i were running it on a Magnum, instead of a Sparc 2. Or if i had
> Linux running on my Magnum at all . . . . . 

Linux works just fine in little endian mode on Magnum 4000.  The big
endian mode uses the same partitioning scheme like IRIX which we
purely coincidentaly happen to support :-)

fdisk has some not too great support for creating Mips Disk Volume
Headers in current versions.  I've just written half of dvhtools and
in the same washup will rewrite a free version of fx.

> Jazz platform machines are bi-endian, being able to boot into either NT
> or RISCos. If yours is in big-endian mode and boots to an SRM console
> once you've got it hooked up to some video and a keyboard, you will need
> to switch the system into little-endian mode. on the Magnum this
> involves using a disk to load the ARC console into the boot prom, and
> the Magnum disk may or may not work in your system. You'll know SRM by
> the sinking feeling of futility generally associated with it. It's
> designed to mount a BSD filesystem and launch the OS, and I don't know
> if anybody has managed to get Linux/Mips to boot from SRM. It may well
> be possible, since Linux/Alpha is now booting correctly from the similar
> SRM console on AXP systems. 

It's actually fairly easy to get Linux running on that old Mips firmware.
For the most part of it you can just ignore it's existence.  For the
rest of it I can send you actual code :-)

I hope all that sounds at least somewhat attrative to somebody to
actually complete the big endian port.  Myself and if necessary hopefully
a couple of MIPS RISC/os engineers as well can help if necessary :-)

> To make things more confusing, Alpha and Mips both have both SRM and
> ARC consoles available, and both call their boot loader MiLo. 

We don't use Milo anymore on the little endian ARC machines.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Tue Jul  6 10:34:56 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id KAA23366
	for <pstadt@stud.fh-heilbronn.de>; Tue, 6 Jul 1999 10:34:49 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id BAA4542739; Tue, 6 Jul 1999 01:32:23 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id BAA56843
	for linux-list;
	Tue, 6 Jul 1999 01:28:02 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id BAA57225
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 6 Jul 1999 01:28:00 -0700 (PDT)
	mail_from (torbjorn.gannholm@fra.se)
Received: from x.fra.se (x.fra.se [193.12.220.1]) 
	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 BAA01662
	for <linux@cthulhu.engr.sgi.com>; Tue, 6 Jul 1999 01:27:57 -0700 (PDT)
	mail_from (torbjorn.gannholm@fra.se)
Received: from fra.se by x.fra.se via ESMTP (940816.SGI.8.6.9/940406.SGI.AUTO)
	for <linux@cthulhu.engr.sgi.com> id KAA03965; Tue, 6 Jul 1999 10:37:36 +0200
Message-ID: <3781C04E.D0654180@fra.se>
Date: Tue, 06 Jul 1999 10:37:35 +0200
From: Torbjorn Gannholm <torbjorn.gannholm@fra.se>
X-Mailer: Mozilla 4.05 [en] (X11; I; IRIX 5.3 IP12)
MIME-Version: 1.0
To: "linux@cthulhu.engr.sgi.com" <linux@cthulhu.engr.sgi.com>
Subject: unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 1
Lines: 1



From owner-linux@cthulhu.engr.sgi.com  Wed Jul  7 00:38:11 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA01183
	for <pstadt@stud.fh-heilbronn.de>; Wed, 7 Jul 1999 00:38:09 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA4660687; Tue, 6 Jul 1999 15:34:29 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA65648
	for linux-list;
	Tue, 6 Jul 1999 15:28:38 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA51842;
	Tue, 6 Jul 1999 15:27:52 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 PAA03813; Tue, 6 Jul 1999 15:27:50 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-28.uni-koblenz.de [141.26.131.28])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA28457;
	Wed, 7 Jul 1999 00:27:47 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id PAA28855;
	Tue, 6 Jul 1999 15:05:49 +0200
Date: Tue, 6 Jul 1999 15:05:49 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: "William J. Earl" <wje@fir.engr.sgi.com>
Cc: Ulf Carlsson <ulfc@thepuffingroup.com>, linux@cthulhu.engr.sgi.com,
        linux-mips@fnet.fr, linux-mips@vger.rutgers.edu
Subject: Re: Memory corruption
Message-ID: <19990706150549.A28849@uni-koblenz.de>
References: <19990622033931.A7201@thepuffingroup.com> <199906300101.SAA09334@fir.engr.sgi.com> <19990630044702.A6969@thepuffingroup.com> <199906302201.PAA29334@fir.engr.sgi.com> <19990701022357.D30652@uni-koblenz.de> <199907010053.RAA00061@fir.engr.sgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <199907010053.RAA00061@fir.engr.sgi.com>; from William J. Earl on Wed, Jun 30, 1999 at 05:53:58PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 182
Lines: 7

I've received a report from some person who is working on his own R3081
port.  He also observes data corruption and suspects reading of swapped
pages is causing that.

Sigh,

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Tue Jul  6 15:49:35 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id PAA14378
	for <pstadt@stud.fh-heilbronn.de>; Tue, 6 Jul 1999 15:49:25 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id GAA05282; Tue, 6 Jul 1999 06:41:43 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id GAA43399
	for linux-list;
	Tue, 6 Jul 1999 06:38:31 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from neteng.engr.sgi.com (neteng.engr.sgi.com [192.26.80.10])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id GAA32822
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 6 Jul 1999 06:38:29 -0700 (PDT)
	mail_from (owner-linux@neteng.engr.sgi.com)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by neteng.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id GAA22753 for <linux@neteng.engr.sgi.com>; Tue, 6 Jul 1999 06:38:28 -0700 (PDT)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id GAA98976
	for <linux@neteng.engr.sgi.com>;
	Tue, 6 Jul 1999 06:38:27 -0700 (PDT)
	mail_from (ivanl@pacific.net.sg)
Received: from sunny.pacific.net.sg (sunny.pacific.net.sg [203.120.90.127]) 
	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 GAA01039
	for <linux@neteng.engr.sgi.com>; Tue, 6 Jul 1999 06:38:26 -0700 (PDT)
	mail_from (ivanl@pacific.net.sg)
Received: from pop3.pacific.net.sg (pop3.pacific.net.sg [203.120.90.45])
        by sunny.pacific.net.sg with ESMTP
        id VAA29089 for <linux@neteng.engr.sgi.com>; Tue, 6 Jul 1999 21:38:24 +0800 (SGT)
Received: from ilws (spoff37.pacific.net.sg [203.120.95.37])
        by pop3.pacific.net.sg with SMTP
        id VAA21368 for <linux@neteng.engr.sgi.com>; Tue, 6 Jul 1999 21:38:24 +0800 (SGT)
From: "Ivan Leong" <ivanl@pacific.net.sg>
To: <linux@neteng.engr.sgi.com>
Subject: where's dhcp_bootp?
Date: Tue, 6 Jul 1999 21:38:24 +0800
Message-ID: <NDBBJCODHKOEMPLCNOFGAEKNCBAA.ivanl@pacific.net.sg>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 258
Lines: 8

i've two indies and right in the midst of getting
linux on it off the net.

both indies are on irix 5.3 and it's bootp
doesn't work correctly. i believe a dhcp_bootp
is needed but where can i find such a beast?

cc reply to ivanl@pacific.net.sg appreciated.

From owner-linux@cthulhu.engr.sgi.com  Wed Jul  7 01:39:35 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id BAA09400
	for <pstadt@stud.fh-heilbronn.de>; Wed, 7 Jul 1999 01:39:33 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA15105; Tue, 6 Jul 1999 16:37:30 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id QAA78491
	for linux-list;
	Tue, 6 Jul 1999 16:35:04 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from neteng.engr.sgi.com (neteng.engr.sgi.com [192.26.80.10])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id QAA86708
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 6 Jul 1999 16:35:01 -0700 (PDT)
	mail_from (owner-linux@neteng.engr.sgi.com)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by neteng.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id QAA40520 for <linux@neteng.engr.sgi.com>; Tue, 6 Jul 1999 16:34:56 -0700 (PDT)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id QAA46429
	for <linux@neteng.engr.sgi.com>;
	Tue, 6 Jul 1999 16:34:55 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 QAA04202
	for <linux@neteng.engr.sgi.com>; Tue, 6 Jul 1999 16:34:52 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-28.uni-koblenz.de [141.26.131.28])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id BAA00643
	for <linux@neteng.engr.sgi.com>; Wed, 7 Jul 1999 01:34:43 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id BAA01736;
	Wed, 7 Jul 1999 01:34:03 +0200
Date: Wed, 7 Jul 1999 01:34:01 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Ivan Leong <ivanl@pacific.net.sg>
Cc: linux@neteng.engr.sgi.com
Subject: Re: where's dhcp_bootp?
Message-ID: <19990707013401.C1630@uni-koblenz.de>
References: <NDBBJCODHKOEMPLCNOFGAEKNCBAA.ivanl@pacific.net.sg>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <NDBBJCODHKOEMPLCNOFGAEKNCBAA.ivanl@pacific.net.sg>; from Ivan Leong on Tue, Jul 06, 1999 at 09:38:24PM +0800
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 580
Lines: 17

On Tue, Jul 06, 1999 at 09:38:24PM +0800, Ivan Leong wrote:

> i've two indies and right in the midst of getting
> linux on it off the net.
> 
> both indies are on irix 5.3 and it's bootp
> doesn't work correctly. i believe a dhcp_bootp
> is needed but where can i find such a beast?

IRIX bootp definately works, it unfortunately just has a different
configfile from Linux's bootp.

The bootp daemon usually used with Linux build and works just perfect
under IRIX (6.5 in my case), so just rip of the sources from some
Linux distribution.  I uses RH 6.0 in my case, btw.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Wed Jul  7 15:18:29 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id PAA03945
	for <pstadt@stud.fh-heilbronn.de>; Wed, 7 Jul 1999 15:18:26 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id GAA4819978; Wed, 7 Jul 1999 06:11:15 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id GAA40819
	for linux-list;
	Wed, 7 Jul 1999 06:06:36 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from neteng.engr.sgi.com (neteng.engr.sgi.com [192.26.80.10])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id GAA91268
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 7 Jul 1999 06:06:33 -0700 (PDT)
	mail_from (owner-linux@neteng.engr.sgi.com)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by neteng.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id GAA74604 for <linux@neteng.engr.sgi.com>; Wed, 7 Jul 1999 06:06:31 -0700 (PDT)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id GAA16855
	for <linux@neteng.engr.sgi.com>;
	Wed, 7 Jul 1999 06:06:29 -0700 (PDT)
	mail_from (clepple@mitre.org)
Received: from linus.mitre.org (linus.mitre.org [129.83.10.1]) 
	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 GAA07651
	for <linux@neteng.engr.sgi.com>; Wed, 7 Jul 1999 06:06:28 -0700 (PDT)
	mail_from (clepple@mitre.org)
Received: from mitre.org (localhost [127.0.0.1])
	by linus.mitre.org (8.8.7/8.8.7) with ESMTP id JAA11713
	for <linux@neteng.engr.sgi.com>; Wed, 7 Jul 1999 09:06:26 -0400 (EDT)
Message-ID: <378350D1.77F4554D@mitre.org>
Date: Wed, 07 Jul 1999 09:06:26 -0400
From: Charles Lepple <clepple@mitre.org>
Reply-To: clepple@foo.tho.org
X-Mailer: Mozilla 4.51 [en] (X11; U; SunOS 5.5.1 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: linux@neteng.engr.sgi.com
Subject: Re: where's dhcp_bootp?
References: <NDBBJCODHKOEMPLCNOFGAEKNCBAA.ivanl@pacific.net.sg> <19990707013401.C1630@uni-koblenz.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 381
Lines: 11

Ralf Baechle wrote:
> IRIX bootp definately works, it unfortunately just has a different
> configfile from Linux's bootp.

One thing that can bite you is that many bootp daemons give no
indication of truncated replies (ie, your parameters don't fit into one
packet). Use a sniffer-- I've solved a number of problems by just not
sending as much.

--Charles Lepple
clepple@mitre.org

From owner-linux@cthulhu.engr.sgi.com  Wed Jul  7 23:35:32 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id XAA20136
	for <pstadt@stud.fh-heilbronn.de>; Wed, 7 Jul 1999 23:35:29 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id OAA07212; Wed, 7 Jul 1999 14:12:46 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id OAA76494
	for linux-list;
	Wed, 7 Jul 1999 14:07:39 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id OAA63533;
	Wed, 7 Jul 1999 14:07:08 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from mail.ivm.net (mail.ivm.net [62.204.1.4]) 
	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 OAA06452; Wed, 7 Jul 1999 14:07:06 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from franz.no.dom (port4.koeln.ivm.de [195.247.239.4])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id XAA30233;
	Wed, 7 Jul 1999 23:05:51 +0200
X-To: wje@fir.engr.sgi.com
Message-ID: <XFMail.990707230857.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <19990706150549.A28849@uni-koblenz.de>
Date: Wed, 07 Jul 1999 23:08:57 +0200 (MEST)
Reply-To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Organization: none
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To: Ralf Baechle <ralf@uni-koblenz.de>
Subject: Re: Memory corruption
Cc: linux-mips@vger.rutgers.edu, linux-mips@fnet.fr,
        linux@cthulhu.engr.sgi.com, Ulf Carlsson <ulfc@thepuffingroup.com>,
        "William J. Earl" <wje@fir.engr.sgi.com>
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Content-Length: 558
Lines: 17


On 06-Jul-99 Ralf Baechle wrote:
> I've received a report from some person who is working on his own R3081
> port.  He also observes data corruption and suspects reading of swapped
> pages is causing that.

That's definitely true for R3k DECstations, and no, flushing the icache in
flush_tlb_page() does not help. I have added cacheflushing to all tlb routines,
copy_page and even rw_swap_page_base() and swap_after_unlock_page() without
success.

Any ideas?
---
Regards,
Harald

P.S.: I'll be on vacation until July 18th so this has twait a little bit :-)

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 04:02:47 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id EAA03329
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 04:02:46 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA19733; Wed, 7 Jul 1999 18:59:34 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id SAA37880
	for linux-list;
	Wed, 7 Jul 1999 18:54:51 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id SAA93683;
	Wed, 7 Jul 1999 18:54:11 -0700 (PDT)
	mail_from (imp@harmony.village.org)
Received: from rover.village.org (rover.village.org [204.144.255.49]) 
	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 SAA08529; Wed, 7 Jul 1999 18:54:09 -0700 (PDT)
	mail_from (imp@harmony.village.org)
Received: from harmony.village.org (harmony.village.org [10.0.0.6])
	by rover.village.org (8.9.3/8.9.3) with ESMTP id TAA27082;
	Wed, 7 Jul 1999 19:53:57 -0600 (MDT)
	(envelope-from imp@harmony.village.org)
Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA05482; Wed, 7 Jul 1999 19:51:37 -0600 (MDT)
Message-Id: <199907080151.TAA05482@harmony.village.org>
To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Subject: Re: Memory corruption 
Cc: Ralf Baechle <ralf@uni-koblenz.de>, linux-mips@vger.rutgers.edu,
        linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com,
        Ulf Carlsson <ulfc@thepuffingroup.com>,
        "William J. Earl" <wje@fir.engr.sgi.com>
In-reply-to: Your message of "Wed, 07 Jul 1999 23:08:57 +0200."
		<XFMail.990707230857.Harald.Koerfgen@home.ivm.de> 
References: <XFMail.990707230857.Harald.Koerfgen@home.ivm.de>  
Date: Wed, 07 Jul 1999 19:51:37 -0600
From: Warner Losh <imp@village.org>
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 571
Lines: 12

In message <XFMail.990707230857.Harald.Koerfgen@home.ivm.de> Harald Koerfgen writes:
: That's definitely true for R3k DECstations, and no, flushing the icache in
: flush_tlb_page() does not help. I have added cacheflushing to all tlb routines,
: copy_page and even rw_swap_page_base() and swap_after_unlock_page() without
: success.

Don'y you want to flush the dcache as well?  I think that you can run
into problems when you have a dirty dcache and then dma into the pages
that are dirty.  Instant karma corruption, no?  Or am I thinking of
some other problem?

Warner

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 05:22:44 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id FAA13167
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 05:22:43 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id UAA4884188; Wed, 7 Jul 1999 20:18:06 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id UAA28720
	for linux-list;
	Wed, 7 Jul 1999 20:14:25 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from fir.engr.sgi.com (fir.engr.sgi.com [150.166.40.90])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via SMTP id UAA67312;
	Wed, 7 Jul 1999 20:14:20 -0700 (PDT)
	mail_from (wje@fir.engr.sgi.com)
Received: (from wje@localhost) by fir.engr.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) id UAA20666; Wed, 7 Jul 1999 20:12:03 -0700
From: "William J. Earl" <wje@fir.engr.sgi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14212.5891.237364.112104@fir.engr.sgi.com>
Date: Wed, 7 Jul 1999 20:12:03 -0700 (PDT)
To: Warner Losh <imp@village.org>
Cc: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>,
        Ralf Baechle <ralf@uni-koblenz.de>, linux-mips@vger.rutgers.edu,
        linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com,
        Ulf Carlsson <ulfc@thepuffingroup.com>,
        "William J. Earl" <wje@fir.engr.sgi.com>
Subject: Re: Memory corruption 
In-Reply-To: <199907080151.TAA05482@harmony.village.org>
References: <XFMail.990707230857.Harald.Koerfgen@home.ivm.de>
	<199907080151.TAA05482@harmony.village.org>
X-Mailer: VM 6.72 under Emacs 19.34.1
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 893
Lines: 16

Warner Losh writes:
 > In message <XFMail.990707230857.Harald.Koerfgen@home.ivm.de> Harald Koerfgen writes:
 > : That's definitely true for R3k DECstations, and no, flushing the icache in
 > : flush_tlb_page() does not help. I have added cacheflushing to all tlb routines,
 > : copy_page and even rw_swap_page_base() and swap_after_unlock_page() without
 > : success.
 > 
 > Don'y you want to flush the dcache as well?  I think that you can run
 > into problems when you have a dirty dcache and then dma into the pages
 > that are dirty.  Instant karma corruption, no?  Or am I thinking of
 > some other problem?

      The R3000 has a write-through cache, so there cannot be dirty cache
lines, although you do have to flush the write buffers to be completely
correct (in the case of a DMA device writing to memory VERY quickly after
the register write which starts it up, on some hardware). 

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 23:54:03 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id XAA02000
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 23:53:53 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id OAA05709; Thu, 8 Jul 1999 14:50:51 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id OAA41637
	for linux-list;
	Thu, 8 Jul 1999 14:47:55 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id OAA36728;
	Thu, 8 Jul 1999 14:47:12 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 OAA05071; Thu, 8 Jul 1999 14:47:06 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-3.uni-koblenz.de [141.26.131.3])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id XAA06588;
	Thu, 8 Jul 1999 23:46:58 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id MAA04105;
	Thu, 8 Jul 1999 12:39:15 +0200
Date: Thu, 8 Jul 1999 12:39:14 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Cc: linux-mips@vger.rutgers.edu, linux-mips@fnet.fr,
        linux@cthulhu.engr.sgi.com, Ulf Carlsson <ulfc@thepuffingroup.com>,
        "William J. Earl" <wje@fir.engr.sgi.com>
Subject: Re: Memory corruption
Message-ID: <19990708123914.E4012@uni-koblenz.de>
References: <19990706150549.A28849@uni-koblenz.de> <XFMail.990707230857.Harald.Koerfgen@home.ivm.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <XFMail.990707230857.Harald.Koerfgen@home.ivm.de>; from Harald Koerfgen on Wed, Jul 07, 1999 at 11:08:57PM +0200
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 1345
Lines: 29

On Wed, Jul 07, 1999 at 11:08:57PM +0200, Harald Koerfgen wrote:

> On 06-Jul-99 Ralf Baechle wrote:
> > I've received a report from some person who is working on his own R3081
> > port.  He also observes data corruption and suspects reading of swapped
> > pages is causing that.
> 
> That's definitely true for R3k DECstations, and no, flushing the icache in
> flush_tlb_page() does not help. I have added cacheflushing to all tlb routines,
> copy_page and even rw_swap_page_base() and swap_after_unlock_page() without
> success.

Note that on R3000 with it's physical indexed caches there is no way that
cache problems should be able to crash the whole system.  At least under the
provision that DMA drivers get their cacheflushing right.

I recently tried to put our memcpy / memmove from the kernel into libc
and as result ended up with a libc which was almost unusable.  Also, a
part of memove is disabled by #if 0, it was demonstrated to cause data
corruption.  Time to fix that bastard.  The whole file is a big mess, btw.
because the code tries to share as much code as possible between memcpy,
memmove and __copy_{to,from}_user.  So put on your peril sensitive
glasses ;-)

> P.S.: I'll be on vacation until July 18th so this has twait a little bit :-)

s/.*/P.S.: I have plenty of time for hacking during my vacation :-)/p ;-)

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 17:38:49 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id RAA09545
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 17:38:47 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id IAA4961172; Thu, 8 Jul 1999 08:29:32 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id IAA73628
	for linux-list;
	Thu, 8 Jul 1999 08:22:32 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from beyond.clubfed.sgi.com (beyond.clubfed.sgi.com [169.238.1.2])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id IAA53924
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 8 Jul 1999 08:22:30 -0700 (PDT)
	mail_from (npearl@clubfed.sgi.com)
Received: from tenampa.clubfed.sgi.com by beyond.clubfed.sgi.com via ESMTP (980427.SGI.8.8.8/940406.SGI)
	for <@beyond.clubfed.sgi.com:linux@cthulhu.engr.sgi.com> id LAA90616; Thu, 8 Jul 1999 11:22:29 -0400 (EDT)
Received: from clubfed.sgi.com (localhost [127.0.0.1]) by tenampa.clubfed.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id LAA24954 for <linux@cthulhu.engr>; Thu, 8 Jul 1999 11:22:28 -0400 (EDT)
Message-ID: <3784C234.F6500BC6@clubfed.sgi.com>
Date: Thu, 08 Jul 1999 11:22:28 -0400
From: Nate Pearlstein <npearl@clubfed.sgi.com>
Organization: SGI South Eastern Field Technical Support
X-Mailer: Mozilla 4.61C-SGI [en] (X11; U; IRIX 6.5 IP32)
X-Accept-Language: en
MIME-Version: 1.0
To: linux@cthulhu.engr.sgi.com
Subject: challenge s install woes.
Content-Type: multipart/mixed;
 boundary="------------08A53E2319A4FFDD5E74667C"
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2585
Lines: 78

This is a multi-part message in MIME format.
--------------08A53E2319A4FFDD5E74667C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

The latest document on www.linux.sgi.com,
http://www.linux.sgi.com/mips/manhattan , that gives instructions for
installing harhat 5.1 on SGI Indy, in my case a chall s has that little
section at the end called:

Running Linux on Challenge S.

I was able to run the linux install process, though using IRISconsole to
talk to serial port 1 on the back of the challenge s is really bizarre. 
The screen redraws are odd and it usually requires 2 character inputs to
really do something.  that is having to press space bar twice or figure
out how many tabs to press to get back to the button you want and then
press space, but I digress.

Anyway, it says Don't forget to change setup-1.9.1-2.noarch.rpm to add
some securetty's so that you can log in over the network.  My problem is
that I don't know hoe to edit a *.rpm file.  I can't figure out how to
extract a rpm spec file.  I would like to just leave out the securettys
file all together for now.

After reading the rpm man page I can see how to create an rpm file and I
know how to extract the files that get installed from an rpm but I don't
want to accidentally forget something that may be only mentioned in a
spec file.

Right now I have a machine that is pingable and telnetd responds to
telnet but of course I can't get in.


I tried to boot using the installfs as the root file system but it
immediately launches the install program, I'm trying to use the nfsroot
to get at my /dev/sdb1 so that I can remove the /etc/securettys file.



Any suggestions?  Thanks


Thanks

Later
-- 
===============================================================
		50% of all statistics are inaccurate.
===============================================================
Nate Pearlstein - npearl@sgi.com - Field Technical Analyst
--------------08A53E2319A4FFDD5E74667C
Content-Type: text/x-vcard; charset=us-ascii;
 name="npearl.vcf"
Content-Description: Card for Nate Pearlstein
Content-Disposition: attachment;
 filename="npearl.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Pearlstein;Nate
tel;pager:1-888-740-4081
tel;cell:301-641-5717
tel;fax:301-595-2637
tel;work:301-595-2629
x-mozilla-html:FALSE
org:SGI South Eastern Field Technical Support
adr:;;12200-G Plum Orchard Dr.;Silver Spring;MD;20709;USA
version:2.1
email;internet:npearl@sgi.com
title:Field Technical Analyst
x-mozilla-cpt:;14656
fn:Nate Pearlstein
end:vcard

--------------08A53E2319A4FFDD5E74667C--

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 18:52:12 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id SAA20652
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 18:52:10 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA4947568; Thu, 8 Jul 1999 09:46:55 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id JAA44181
	for linux-list;
	Thu, 8 Jul 1999 09:40:13 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id JAA46724
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 8 Jul 1999 09:40:11 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from lilith.dpo.uab.edu (lilith.dpo.uab.edu [138.26.1.128]) 
	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 JAA00199
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 09:40:09 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from mdk187.tucc.uab.edu (mdk187.tucc.uab.edu [138.26.15.201])
	by lilith.dpo.uab.edu (8.9.3/8.9.3) with SMTP id LAA09120;
	Thu, 8 Jul 1999 11:40:06 -0500
Date: Thu, 8 Jul 1999 11:50:22 -0500 (CDT)
From: "Andrew R. Baker" <andrewb@uab.edu>
X-Sender: andrewb@mdk187.tucc.uab.edu
To: Nate Pearlstein <npearl@clubfed.sgi.com>
cc: linux@cthulhu.engr.sgi.com
Subject: Re: challenge s install woes.
In-Reply-To: <3784C234.F6500BC6@clubfed.sgi.com>
Message-ID: <Pine.LNX.3.96.990708114826.21657A-100000@mdk187.tucc.uab.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 385
Lines: 13



On Thu, 8 Jul 1999, Nate Pearlstein wrote:
> 
> I tried to boot using the installfs as the root file system but it
> immediately launches the install program, I'm trying to use the nfsroot
> to get at my /dev/sdb1 so that I can remove the /etc/securettys file.
> 

in the /sbin directory on the nfsroot area, do a "cp sh init".  This will
install ash as the init program.  

-Andrew

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 19:11:13 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id TAA22440
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 19:10:42 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA05727; Thu, 8 Jul 1999 10:07:28 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id KAA95582
	for linux-list;
	Thu, 8 Jul 1999 10:04:34 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id KAA26163
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 8 Jul 1999 10:04:31 -0700 (PDT)
	mail_from (mrbill@feeding.frenzy.com)
Received: from feeding.frenzy.com (feeding.frenzy.com [209.198.142.194]) 
	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 KAA05888
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 10:04:30 -0700 (PDT)
	mail_from (mrbill@feeding.frenzy.com)
Received: (from mrbill@localhost)
	by feeding.frenzy.com (8.8.8/8.8.7) id MAA06784;
	Thu, 8 Jul 1999 12:04:29 -0500 (CDT)
Message-ID: <19990708120428.A5358@frenzy.com>
Date: Thu, 8 Jul 1999 12:04:28 -0500
From: Bill Bradford <mrbill@frenzy.com>
To: linux@cthulhu.engr.sgi.com
Subject: Indigo2 status?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1i
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 288
Lines: 9

Has there been any progress on the Indigo2 port?

Bill

-- 
Bill Bradford * mrbill@sunhelp.org * http://www.sunhelp.org
------------------------------------------------------------
>From a Sun Microsystems bug report (#4102680):
"Workaround: don't pound on the mouse like a wild monkey."

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 20:09:04 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id UAA31762
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 20:09:02 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id LAA02010; Thu, 8 Jul 1999 11:04:44 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id LAA40186
	for linux-list;
	Thu, 8 Jul 1999 11:00:07 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from fir.engr.sgi.com (fir.engr.sgi.com [150.166.40.90])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via SMTP id KAA92486;
	Thu, 8 Jul 1999 10:59:57 -0700 (PDT)
	mail_from (wje@fir.engr.sgi.com)
Received: (from wje@localhost) by fir.engr.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) id KAA05663; Thu, 8 Jul 1999 10:56:41 -0700
From: "William J. Earl" <wje@fir.engr.sgi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14212.58969.26507.519213@fir.engr.sgi.com>
Date: Thu, 8 Jul 1999 10:56:41 -0700 (PDT)
To: "Gleb O. Raiko" <raiko@niisi.msk.ru>
Cc: "William J. Earl" <wje@fir.engr.sgi.com>, Warner Losh <imp@village.org>,
        Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        Ralf Baechle <ralf@uni-koblenz.de>, linux-mips@vger.rutgers.edu,
        linux-mips@fnet.fr, linux@cthulhu.engr.sgi.com,
        Ulf Carlsson <ulfc@thepuffingroup.com>
Subject: Re: Memory corruption
In-Reply-To: <37846EE7.EADD9E32@niisi.msk.ru>
References: <XFMail.990707230857.Harald.Koerfgen@home.ivm.de>
	<199907080151.TAA05482@harmony.village.org>
	<14212.5891.237364.112104@fir.engr.sgi.com>
	<37846EE7.EADD9E32@niisi.msk.ru>
X-Mailer: VM 6.72 under Emacs 19.34.1
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 2248
Lines: 39

Gleb O. Raiko writes:
 > "William J. Earl" wrote:
...
 > >       The R3000 has a write-through cache, so there cannot be dirty cache
 > > lines, although you do have to flush the write buffers to be completely
 > > correct (in the case of a DMA device writing to memory VERY quickly after
 > > the register write which starts it up, on some hardware).
 > 
 > You must flush d-cache after dma. While some cache controllers are able
 > to watch the bus and flush the data that are invalidated due to DMA
 > transfers, I think, most r3k boxes doesn't have such beasts. Flushing
 > d-cache wasn't implemented at the same time as the cache stuff because
 > we hadn't boxes with DMA devices.

     Most R3000 (and many R4000/R4600/R5000) boxes do not have
cache-coherent I/O, and Linux/MIPS does do cache flushing.  If
everything is well-organized, one can flush the d-cache only before an
I/O.  On an R3000, it does not much matter which approach you take,
since the caches are write-through (aside from the need to flush the
write-buffer before initiating a DMA).  For later processors, you must
flush the d-cache BEFORE a DMA, since victim writebacks of dirty lines
after a DMA into memory has updated memory will lead to I/O data
corruption, and failure to flush dirty lines before a DMA from memory
will lead to stale data being written to disk.  If it is possible for
the CPU to access the buffer during the DMA, then you must invalidate
the cache for the buffer after a DMA into memory as well, but a
well-constructed system should never do that.  

    If you have a buffer which is not cache-line-aligned (which is
possible with the general case of raw or direct I/O, although not in
unmodified Linux at the moment), then, for DMA into memory, you must
use temporary buffers for any portion of the buffer which occupies
just part of a cache line, and copy the data from the temporary buffer
to the real buffer after the DMA completes, to account for the
possibility of a separate thread modifying data outside the buffer in
the shared cache line, leading to a victim writeback (or a
writethrough on the R3000).  This could apply even to the R3000, depending
on how the compiler generates code for a partial-word update, although
it is unlikely.

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 20:56:35 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id UAA07731
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 20:56:33 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id LAA06295; Thu, 8 Jul 1999 11:50:05 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id LAA89963
	for linux-list;
	Thu, 8 Jul 1999 11:46:50 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id LAA43986
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 8 Jul 1999 11:46:48 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from lilith.dpo.uab.edu (lilith.dpo.uab.edu [138.26.1.128]) 
	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 LAA04369
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 11:46:46 -0700 (PDT)
	mail_from (andrewb@uab.edu)
Received: from mdk187.tucc.uab.edu (mdk187.tucc.uab.edu [138.26.15.201])
	by lilith.dpo.uab.edu (8.9.3/8.9.3) with SMTP id NAA28270;
	Thu, 8 Jul 1999 13:46:35 -0500
Date: Thu, 8 Jul 1999 13:56:50 -0500 (CDT)
From: "Andrew R. Baker" <andrewb@uab.edu>
X-Sender: andrewb@mdk187.tucc.uab.edu
To: Bill Bradford <mrbill@frenzy.com>
cc: linux@cthulhu.engr.sgi.com
Subject: Re: Indigo2 status?
In-Reply-To: <19990708120428.A5358@frenzy.com>
Message-ID: <Pine.LNX.3.96.990708135430.21839A-100000@mdk187.tucc.uab.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 298
Lines: 10



On Thu, 8 Jul 1999, Bill Bradford wrote:
> Has there been any progress on the Indigo2 port?

The CVS tree now has support for it.  Most recently, support for the
second SCSI controller has been added.  Graphics support is still
non-existent.  (Use a serial console for initial setup.)  

-Andrew

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 21:17:16 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA09448
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 21:17:14 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA4990621; Thu, 8 Jul 1999 12:15:35 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA33003
	for linux-list;
	Thu, 8 Jul 1999 12:12:46 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA16933
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 8 Jul 1999 12:12:44 -0700 (PDT)
	mail_from (mars@lysator.liu.se)
Received: from samantha.lysator.liu.se (samantha.lysator.liu.se [130.236.254.202]) 
	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 MAA06282
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 12:12:42 -0700 (PDT)
	mail_from (mars@lysator.liu.se)
Received: from tingeling.lysator.liu.se (mars@tingeling.lysator.liu.se [130.236.254.60])
	by samantha.lysator.liu.se (8.9.3/8.9.3) with ESMTP id VAA05143
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 21:12:38 +0200 (MET DST)
Received: from localhost (mars@localhost)
	by tingeling.lysator.liu.se (8.8.8/8.8.7) with SMTP id VAA01900
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 21:12:34 +0200 (MET DST)
X-Authentication-Warning: tingeling.lysator.liu.se: mars owned process doing -bs
Date: Thu, 8 Jul 1999 21:12:33 +0200 (MET DST)
From: Stefan Mars <mars@lysator.liu.se>
To: linux@cthulhu.engr.sgi.com
Subject: Re: Indigo2 status?
In-Reply-To: <Pine.LNX.3.96.990708135430.21839A-100000@mdk187.tucc.uab.edu>
Message-ID: <Pine.GSO.3.96rindlow.990708211029.1819B-100000@tingeling.lysator.liu.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 357
Lines: 10

> > Has there been any progress on the Indigo2 port?
> 
> The CVS tree now has support for it.  Most recently, support for the
> second SCSI controller has been added.  Graphics support is still
> non-existent.  (Use a serial console for initial setup.)  

Actually, how much work is involved in porting to another sgi machine?

/Stefan
mars@lysator.liu.se

From owner-linux@cthulhu.engr.sgi.com  Thu Jul  8 21:36:50 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA11105
	for <pstadt@stud.fh-heilbronn.de>; Thu, 8 Jul 1999 21:36:49 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id MAA05817; Thu, 8 Jul 1999 12:27:17 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA25545
	for linux-list;
	Thu, 8 Jul 1999 12:24:41 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA07045
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 8 Jul 1999 12:24:39 -0700 (PDT)
	mail_from (dhankins@goliath.mercenary.net)
Received: from goliath.mercenary.net (goliath.mercenary.net [209.122.24.44]) 
	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 MAA02767
	for <linux@cthulhu.engr.sgi.com>; Thu, 8 Jul 1999 12:24:37 -0700 (PDT)
	mail_from (dhankins@goliath.mercenary.net)
Received: (from dhankins@localhost)
	by goliath.mercenary.net (8.8.7/8.8.7) id PAA13516
	for linux@cthulhu.engr.sgi.com; Thu, 8 Jul 1999 15:24:36 -0400
Message-ID: <19990708152436.B13152@mercenary.net>
Date: Thu, 8 Jul 1999 15:24:36 -0400
From: "David W. Hankins" <dhankins@mercenary.net>
To: linux@cthulhu.engr.sgi.com
Subject: Re: Indigo2 status?
References: <19990708120428.A5358@frenzy.com> <Pine.LNX.3.96.990708135430.21839A-100000@mdk187.tucc.uab.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <Pine.LNX.3.96.990708135430.21839A-100000@mdk187.tucc.uab.edu>; from Andrew R. Baker on Thu, Jul 08, 1999 at 01:56:50PM -0500
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 669
Lines: 15

On Thu, Jul 08, 1999 at 01:56:50PM -0500, Andrew R. Baker wrote:
> The CVS tree now has support for it.  Most recently, support for the
> second SCSI controller has been added.  Graphics support is still
> non-existent.  (Use a serial console for initial setup.)  

Has anyone taken up the indigo2 /dev/fb project?

I've got an indigo2 extreme here and I'll be itching to start playing with
it (both the 2d and 3d) as soon as I get a second drive and drive
enclosure...but probably won't be much more than weekend tinkering.

-- 
David W. Hankins	"If you don't do it right the first time,
Network Mercenary			you'll just have to do it again."
							-- Jack T. Hankins

From owner-linux@cthulhu.engr.sgi.com  Fri Jul  9 18:15:41 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id SAA06939
	for <pstadt@stud.fh-heilbronn.de>; Fri, 9 Jul 1999 18:15:39 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id JAA26263; Fri, 9 Jul 1999 09:11:54 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id JAA63753
	for linux-list;
	Fri, 9 Jul 1999 09:06:31 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id JAA97547
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 9 Jul 1999 09:06:28 -0700 (PDT)
	mail_from (torbjorn.gannholm@fra.se)
Received: from x.fra.se (x.fra.se [193.12.220.1]) 
	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 JAA01567
	for <linux@cthulhu.engr.sgi.com>; Fri, 9 Jul 1999 09:06:23 -0700 (PDT)
	mail_from (torbjorn.gannholm@fra.se)
Received: from fra.se by x.fra.se via ESMTP (940816.SGI.8.6.9/940406.SGI.AUTO)
	for <linux@cthulhu.engr.sgi.com> id SAA04681; Fri, 9 Jul 1999 18:16:08 +0200
Message-ID: <37862047.1200BF7E@fra.se>
Date: Fri, 09 Jul 1999 18:16:08 +0200
From: Torbjorn Gannholm <torbjorn.gannholm@fra.se>
X-Mailer: Mozilla 4.05 [en] (X11; I; IRIX 5.3 IP12)
MIME-Version: 1.0
To: "linux@cthulhu.engr.sgi.com" <linux@cthulhu.engr.sgi.com>
Subject: How do I get off this list?
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Content-Length: 185
Lines: 9

Anybody know how one gets taken off this list?

--
/Torbjörn

This message is a personal message from Torbjörn Gannholm
and does not necessarily represent the opinion of my employer.



From owner-linux@cthulhu.engr.sgi.com  Fri Jul  9 23:24:34 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id XAA28867
	for <pstadt@stud.fh-heilbronn.de>; Fri, 9 Jul 1999 23:24:32 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id OAA00210; Fri, 9 Jul 1999 14:18:11 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id OAA91212
	for linux-list;
	Fri, 9 Jul 1999 14:14:34 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id OAA02871
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 9 Jul 1999 14:14:31 -0700 (PDT)
	mail_from (mikehill@hgeng.com)
Received: from calvin.tor.onramp.ca (calvin.tor.onramp.ca [204.225.88.15]) 
	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 OAA01600
	for <linux@cthulhu.engr.sgi.com>; Fri, 9 Jul 1999 14:14:29 -0700 (PDT)
	mail_from (mikehill@hgeng.com)
Received: (qmail 22234 invoked from network); 9 Jul 1999 21:14:24 -0000
Received: from imail.hgeng.com (HELO bart.hgeng.com) (199.246.72.233)
  by mail.onramp.ca with SMTP; 9 Jul 1999 21:14:24 -0000
Received: by BART with Internet Mail Service (5.5.2232.9)
	id <3F12RBQ3>; Fri, 9 Jul 1999 17:16:03 -0400
Message-ID: <E138DB347D10D3119C630008C79F5DEC07EABC@BART>
From: Mike Hill <mikehill@hgeng.com>
To: "'Andrew R. Baker'" <andrewb@uab.edu>,
        Linux SGI
	 <linux@cthulhu.engr.sgi.com>
Subject: RE: Latest Indigo2 SCSI patch
Date: Fri, 9 Jul 1999 17:15:56 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2694
Lines: 71

Here's my latest result.  With nfs correctly configured on the server, the
procedure gets stuck on my external hard drive, which is not well-liked by
IRIX either.

PROMLIB: Total free ram 65839104 bytes (64296K,62MB)
CPU: MIPS-R4000 FPU<MIPS-R4000FPC> ICACHE DCACHE SCACHE 
Loading R4000 MMU routines.
CPU revision is: 00000430
Primary instruction cache 8kb, linesize 16 bytes)
Primary data cache 8kb, linesize 16 bytes)
Secondary cache sized at 1024K linesize 128
Linux version 2.2.1 (root@binkley) (gcc version egcs-2.90.27 980315
(egcs-1.0.2 release)) #13 Sun Jul 4 06:41:48 EDT 1999
MC: SGI memory controller Revision 3
calculating r4koff... 0007a205(500229)
Console: colour dummy device 80x25
zs0: console input
Console: ttyS0 (Zilog8530)
Calibrating delay loop... 49.87 BogoMIPS
Memory: 60952k/196140k available (1120k kernel code, 2188k data)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5 
SGI Zilog8530 serial driver version 1.00
tty00 at 0xbfbd9830 (irq = 21) is a Zilog8530
tty01 at 0xbfbd9838 (irq = 21) is a Zilog8530
DS1286 Real Time Clock Driver v1.0
streamable misc devices registered (keyb:150, gfx:148)
RAM disk driver initialized:  16 RAM disks of 4096K size
loop: registered device at major 7
wd33c93-0: chip=WD33c93B/13 no_sync=0xff no_dma=0 debug_flags=0x00
           setup_args=,,,,,,,,,
           Version 1.25 - 09/Jul/1997, Compiled Jul  4 1999 at 06:43:17
wd33c93-1: chip=WD33c93B/13 no_sync=0xff no_dma=0 debug_flags=0x00
           setup_args=,,,,,,,,,
           Version 1.25 - 09/Jul/1997, Compiled Jul  4 1999 at 06:43:17
scsi0 : SGI WD93
scsi1 : SGI WD93
scsi : 2 hosts.
 sending SDTR 0103013f0c sync_xfer=2c
  Vendor: SGI       Model: SEAGATE ST31200N  Rev: 9278
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
scsi : aborting command due to timeout : pid 13, scsi1, channel 0, id 4, lun
0 Inquiry 00 00 00 ff 00 


I'll see about scrounging up another drive to test.  This one was a Quantum
ProDrive, similar to one I once discussed with Dave Olson.

Mike



> -----Original Message-----
> From:	Andrew R. Baker [SMTP:andrewb@uab.edu]
> Sent:	July 1, 1999 10:48 AM
> To:	Linux SGI
> Subject:	Latest Indigo2 SCSI patch
> 
> 
> Could Indigo2 and Indy users try this patch out?  It gets the second SCSI
> controller up and running on the Indigo2.  If there are no complaints, I
> am going to put it into the CVS tree.
> 
> -Andrew

From owner-linux@cthulhu.engr.sgi.com  Sat Jul 10 21:45:46 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA32573
	for <pstadt@stud.fh-heilbronn.de>; Sat, 10 Jul 1999 21:45:43 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id MAA03414; Sat, 10 Jul 1999 12:43:47 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA64449
	for linux-list;
	Sat, 10 Jul 1999 12:38:51 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA27757
	for <linux@cthulhu.engr.sgi.com>;
	Sat, 10 Jul 1999 12:38:48 -0700 (PDT)
	mail_from (m_thrope@rigelfore.com)
Received: from slug.rigelfore.com (c69494-a.plstn1.sfba.home.com [24.2.21.88]) 
	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 MAA01136
	for <linux@cthulhu.engr.sgi.com>; Sat, 10 Jul 1999 12:38:47 -0700 (PDT)
	mail_from (m_thrope@rigelfore.com)
Received: (qmail 5727 invoked from network); 10 Jul 1999 19:45:06 -0000
Received: from unknown (HELO rigelfore.com) (192.168.42.2)
  by 192.168.42.1 with SMTP; 10 Jul 1999 19:45:06 -0000
Message-ID: <3787A053.2FACA65B@rigelfore.com>
Date: Sat, 10 Jul 1999 12:34:43 -0700
From: Eric Melville <m_thrope@rigelfore.com>
Organization: iLL
X-Mailer: Mozilla 4.5 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: sgi <linux@cthulhu.engr.sgi.com>
Subject: kernel for r4400 v6.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 116
Lines: 4

could someone please give me a url for the kernel i should be attempting
to boot on my r4400 v6.0 indy? thanks.

-E

From owner-linux@cthulhu.engr.sgi.com  Sun Jul 11 01:22:33 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id BAA00010
	for <pstadt@stud.fh-heilbronn.de>; Sun, 11 Jul 1999 01:22:30 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA12977; Sat, 10 Jul 1999 16:18:30 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id QAA41304
	for linux-list;
	Sat, 10 Jul 1999 16:15:45 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id QAA78474
	for <linux@engr.sgi.com>;
	Sat, 10 Jul 1999 16:15:41 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 QAA03397
	for <linux@engr.sgi.com>; Sat, 10 Jul 1999 16:15:38 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-1.uni-koblenz.de [141.26.131.1])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id BAA12137
	for <linux@engr.sgi.com>; Sun, 11 Jul 1999 01:15:35 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id BAA21653;
	Sun, 11 Jul 1999 01:15:25 +0200
Date: Sun, 11 Jul 1999 01:15:24 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: CVS archive
Message-ID: <19990711011524.D17143@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 545
Lines: 18

Hi,

I recently updated the CVS server on linus.linux.sgi.com.  The old one
was misshaving when working on a branch.  That is after a sequence
of commands like

  cvs update -d -P -r linux_2_2
  cvs update -d -P

the final local copy would end up containing files both from the branch
linux_2_2 and the main branch.

This is fixed now.  Just in case everybody who is working on a branch
should explicitly give an ``-r <branch-tag>'' option on the next update,
ESPECIALLY before doing checkins; the archive might get messed up
otherwise.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 12 14:49:24 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id OAA25746
	for <pstadt@stud.fh-heilbronn.de>; Mon, 12 Jul 1999 14:49:19 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id FAA02686; Mon, 12 Jul 1999 05:46:45 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id FAA59221
	for linux-list;
	Mon, 12 Jul 1999 05:39:34 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id FAA04565
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 12 Jul 1999 05:39:31 -0700 (PDT)
	mail_from (ednes@zaphod.et.tudelft.nl)
Received: from zaphod.et.tudelft.nl (zaphod.et.tudelft.nl [130.161.38.84]) 
	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 FAA02828
	for <linux@cthulhu.engr.sgi.com>; Mon, 12 Jul 1999 05:39:29 -0700 (PDT)
	mail_from (ednes@zaphod.et.tudelft.nl)
Received: (from ednes@localhost)
	by zaphod.et.tudelft.nl (8.8.7/8.8.7) id OAA16846;
	Mon, 12 Jul 1999 14:39:26 +0200
Message-Id: <199907121239.OAA16846@zaphod.et.tudelft.nl>
Subject: Small problems on Indy
To: linux@cthulhu.engr.sgi.com
Date: Mon, 12 Jul 1999 14:39:26 +0200 (CEST)
Cc: E.Hakkennes@et.tudelft.nl (Edwin Hakkennes)
From: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>
Content-Type: text
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2306
Lines: 79

Hi all,

After lurking on the sgi-list for more than a year, I installed one of
our indy's with hardhat. I couldn't get bootp working, so I copied the
install kernel to the efs-root of the Irix (5.2?) disk, which proved a
workable solution.

I have a few questions:

1) The console uses 62 lines, but I can see only 47 of them using an
Iiyama monitor. I also tried a genuine SGI monitor, which gives me all
62 lines. How can I set the number of lines?

2) How can I specify kernel options in the ARC firmware?  

I tried
setenv -p OSLoadOptions "root=/dev/sdb1"
init
printenv OSLoadOptions 
which gives
OSLoadOptions=root=/dev/sd

so this doesn't seem to work.
Can I use rdev on i386 machine for this?

3) What is the prefered partitioning scheme.  I would like to go back
to one disk, with no IRIX installed. So the question is what partition 
types is the arc-firmware able to boot from? (iso,fat)

Can we alternatively store the kernel in the disk-label? From within Linux??

Is the following possible?  

sda1    20 MB      /boot    type=efs (or iso9660, or fat)
sda2   100 MB      /        type=ext2
sda3   whole disk? 				Is this necessary?
sda4   800 MB      /usr     type=ext2
sda5   128 MB      SWAP
sda6   REST        /data    type=ext2

Is linux capable of writing to an efs partition?


Thanks in advance,


Edwin Hakkennes


(I'm running 
Linux version 2.1.100 (root@alex3.med.iacnet.com) (gcc version 2.7.2) #1 Sun Jul 12 17:32:40 EDT 1998
on a 100Mhz Indy:
cpu                     : MIPS
cpu model               : R4600 V1.0
system type             : SGI Indy
BogoMIPS                : 99.94
byteorder               : big endian
unaligned accesses      : 0
wait instruction        : yes
microsecond timers      : no
extra interrupt vector  : no
hardware watchpoint     : no

Hinv of its neighbor running IRIX:

1 100 MHZ IP22 Processor
FPU: MIPS R4610 Floating Point Chip Revision: 0.0
CPU: MIPS R4600 Processor Chip Revision: 1.0
On-board serial ports: 2
On-board bi-directional parallel port
Data cache size: 16 Kbytes
Instruction cache size: 16 Kbytes
Main memory size: 64 Mbytes
Iris Audio Processor: version A2 revision 4.1.0
Integral Ethernet: ec0, version 1
Disk drive: unit 1 on SCSI controller 0
Integral SCSI controller 0: Version WD33C93B, revision D
Graphics board: Indy 8-bit
)

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 12 23:29:23 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id XAA16696
	for <pstadt@stud.fh-heilbronn.de>; Mon, 12 Jul 1999 23:29:20 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA2026433; Mon, 12 Jul 1999 14:26:01 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id OAA28442
	for linux-list;
	Mon, 12 Jul 1999 14:20:04 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id OAA07006
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 12 Jul 1999 14:19:56 -0700 (PDT)
	mail_from (sgi.com!rachael.franken.de!hub-fue!alpha.franken.de!tsbogend)
Received: from rachael.franken.de (rachael.franken.de [193.175.24.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 OAA02533
	for <linux@cthulhu.engr.sgi.com>; Mon, 12 Jul 1999 14:19:53 -0700 (PDT)
	mail_from (rachael.franken.de!hub-fue!alpha.franken.de!tsbogend)
Received: from hub-fue by rachael.franken.de
	via rmail with uucp
	id <m113nUD-0027Y5C@rachael.franken.de>
	for cthulhu.engr.sgi.com!linux; Mon, 12 Jul 1999 23:19:41 +0200 (MET DST)
	(Smail-3.2 1996-Jul-4 #4 built DST-Sep-8)
Received: by hub-fue.franken.de (Smail3.1.29.1 #35)
	id m113nU6-002OztC; Mon, 12 Jul 99 23:19 MET DST
Received: (from tsbogend@localhost)
	by alpha.franken.de (8.8.7/8.8.5) id WAA01993;
	Mon, 12 Jul 1999 22:56:59 +0200
Message-ID: <19990712225659.A1990@alpha.franken.de>
Date: Mon, 12 Jul 1999 22:56:59 +0200
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>, linux@cthulhu.engr.sgi.com
Subject: Re: Small problems on Indy
References: <199907121239.OAA16846@zaphod.et.tudelft.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2
In-Reply-To: <199907121239.OAA16846@zaphod.et.tudelft.nl>; from Edwin Hakkennes on Mon, Jul 12, 1999 at 02:39:26PM +0200
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 730
Lines: 16

On Mon, Jul 12, 1999 at 02:39:26PM +0200, Edwin Hakkennes wrote:
> 1) The console uses 62 lines, but I can see only 47 of them using an
> Iiyama monitor. I also tried a genuine SGI monitor, which gives me all
> 62 lines. How can I set the number of lines?

The screen size is compiled into the old kernels. Get a newer kernel, which
will autodetect the screen size setup by the ARC console. You can find a newer
kernel on ftp://ftp.linux.sgi.com/pub/linux/mips/test/vmlinux-indy* (take
the newest one).

Thomas.

-- 
   This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
                                        [Martin `MJ' Mares on linux-kernel]

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 12 23:27:41 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id XAA16650
	for <pstadt@stud.fh-heilbronn.de>; Mon, 12 Jul 1999 23:27:29 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA17420; Mon, 12 Jul 1999 14:23:58 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id OAA47161
	for linux-list;
	Mon, 12 Jul 1999 14:19:59 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id OAA19124
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 12 Jul 1999 14:19:56 -0700 (PDT)
	mail_from (sgi.com!rachael.franken.de!hub-fue!alpha.franken.de!tsbogend)
Received: from rachael.franken.de (rachael.franken.de [193.175.24.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 OAA03312
	for <linux@cthulhu.engr.sgi.com>; Mon, 12 Jul 1999 14:19:54 -0700 (PDT)
	mail_from (rachael.franken.de!hub-fue!alpha.franken.de!tsbogend)
Received: from hub-fue by rachael.franken.de
	via rmail with uucp
	id <m113nUH-0027YIC@rachael.franken.de>
	for cthulhu.engr.sgi.com!linux; Mon, 12 Jul 1999 23:19:45 +0200 (MET DST)
	(Smail-3.2 1996-Jul-4 #4 built DST-Sep-8)
Received: by hub-fue.franken.de (Smail3.1.29.1 #35)
	id m113nU6-002OzuC; Mon, 12 Jul 99 23:19 MET DST
Received: (from tsbogend@localhost)
	by alpha.franken.de (8.8.7/8.8.5) id WAA02020;
	Mon, 12 Jul 1999 22:59:11 +0200
Message-ID: <19990712225911.B1990@alpha.franken.de>
Date: Mon, 12 Jul 1999 22:59:11 +0200
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Eric Melville <m_thrope@rigelfore.com>, sgi <linux@cthulhu.engr.sgi.com>
Subject: Re: kernel for r4400 v6.0
References: <3787A053.2FACA65B@rigelfore.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2
In-Reply-To: <3787A053.2FACA65B@rigelfore.com>; from Eric Melville on Sat, Jul 10, 1999 at 12:34:43PM -0700
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 495
Lines: 14

On Sat, Jul 10, 1999 at 12:34:43PM -0700, Eric Melville wrote:
> could someone please give me a url for the kernel i should be attempting
> to boot on my r4400 v6.0 indy? thanks.

Please try the latest vmlinux-indy-* from 

ftp://ftp.linux.sgi.com/pub/linux/mips/test

Thomas.

-- 
   This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
                                        [Martin `MJ' Mares on linux-kernel]

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 13 00:37:34 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA00310
	for <pstadt@stud.fh-heilbronn.de>; Tue, 13 Jul 1999 00:37:32 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA5506095; Mon, 12 Jul 1999 15:33:40 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA96990
	for linux-list;
	Mon, 12 Jul 1999 15:29:31 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA49236
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 12 Jul 1999 15:29:25 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 PAA07677
	for <linux@cthulhu.engr.sgi.com>; Mon, 12 Jul 1999 15:29:22 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-11.uni-koblenz.de [141.26.131.11])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA23700
	for <linux@cthulhu.engr.sgi.com>; Tue, 13 Jul 1999 00:29:18 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA04607;
	Tue, 13 Jul 1999 00:27:41 +0200
Date: Tue, 13 Jul 1999 00:27:40 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: Small problems on Indy
Message-ID: <19990713002740.B3015@uni-koblenz.de>
References: <199907121239.OAA16846@zaphod.et.tudelft.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <199907121239.OAA16846@zaphod.et.tudelft.nl>; from Edwin Hakkennes on Mon, Jul 12, 1999 at 02:39:26PM +0200
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2190
Lines: 67

On Mon, Jul 12, 1999 at 02:39:26PM +0200, Edwin Hakkennes wrote:

> After lurking on the sgi-list for more than a year, I installed one of
> our indy's with hardhat. I couldn't get bootp working, so I copied the
> install kernel to the efs-root of the Irix (5.2?) disk, which proved a
> workable solution.
> 
> I have a few questions:
> 
> 1) The console uses 62 lines, but I can see only 47 of them using an
> Iiyama monitor. I also tried a genuine SGI monitor, which gives me all
> 62 lines. How can I set the number of lines?

You seem to be running the kernel shipping with Hard Hat which had problems
like this due different positioning of the gfx.  Current kernels are
more like IRIX in that aspect.

> 2) How can I specify kernel options in the ARC firmware?  
> 
> I tried
> setenv -p OSLoadOptions "root=/dev/sdb1"
> init
> printenv OSLoadOptions 
> which gives
> OSLoadOptions=root=/dev/sd

Run it like /vmlinux root=/dev/sdc1 or so.

> so this doesn't seem to work.
> Can I use rdev on i386 machine for this?

Yes, but it will not work ;-)

> 3) What is the prefered partitioning scheme.  I would like to go back
> to one disk, with no IRIX installed. So the question is what partition 
> types is the arc-firmware able to boot from? (iso,fat)

The volume header, EFS and BOOTP/TFTP.

If you're using IRIX's sash then you can also boot a kernel from XFS
or whatever else sash supports.

> Can we alternatively store the kernel in the disk-label? From within Linux??

I'm working on a tool to do this.  Even better, on a bootloader which
will be able to read the kernel to launch from a ext2 filesystem.

For the time being you can use dvhtool under IRIX to do this.

> Is the following possible?  
> 
> sda1    20 MB      /boot    type=efs (or iso9660, or fat)
> sda2   100 MB      /        type=ext2
> sda3   whole disk? 				Is this necessary?

That whole disk partition thing is actually an IRIX-ism which wasn't
supposed to make it into Linux ...

> sda4   800 MB      /usr     type=ext2
> sda5   128 MB      SWAP
> sda6   REST        /data    type=ext2
> 
> Is linux capable of writing to an efs partition?

No, only reading and that only in current kernel versions.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 13 05:16:03 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id FAA16512
	for <pstadt@stud.fh-heilbronn.de>; Tue, 13 Jul 1999 05:16:01 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id UAA15530; Mon, 12 Jul 1999 20:13:30 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id UAA20170
	for linux-list;
	Mon, 12 Jul 1999 20:10:28 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id UAA56234
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 12 Jul 1999 20:10:26 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37] (may be forged)) 
	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 UAA02538
	for <linux@cthulhu.engr.sgi.com>; Mon, 12 Jul 1999 20:10:25 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.3/8.9.3) with ESMTP id UAA10581
	for <linux@cthulhu.engr.sgi.com>; Mon, 12 Jul 1999 20:08:02 -0700
Message-ID: <378AADF5.96152E0B@cobaltnet.com>
Date: Mon, 12 Jul 1999 20:09:41 -0700
From: Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: linux@cthulhu.engr.sgi.com
Subject: Float / Double issues
Content-Type: multipart/mixed;
 boundary="------------8A90B65AE71755DDB64EF4A6"
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 2634
Lines: 153

This is a multi-part message in MIME format.
--------------8A90B65AE71755DDB64EF4A6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hey gang - I have what seems to be two seperate issues on Mips/Linux
(cobalt boxes).

1) Programs using doubles with pthreads get corrupted data in the
doubles.
2) Floats and va_arg crash with an FPE

below are two snippets that show these, at least on our boxes.  If
someone could confirm or deny their existence on any other platform?


Tim




--------------8A90B65AE71755DDB64EF4A6
Content-Type: text/plain; charset=us-ascii;
 name="double.c"
Content-Disposition: inline;
 filename="double.c"
Content-Transfer-Encoding: 7bit

#include <stdio.h>
#include <pthread.h>
#include <stdarg.h>

void doit(int, double, unsigned int);
void vait(unsigned int, ...);
void *ptfn(void *);
void doit2(int, int);
void vait2(int, ...);
void *ptfn2(void *);

int main() 
{
	pthread_t pt1;
	double d1 = 1.234; 

	printf("Without threads: \n");
	ptfn((void *)&d1);
	printf("\n");
	fflush(stdout);

	printf("With threads: \n");
	pthread_create(&pt1, NULL, ptfn, &d1);
	printf("\n");
	fflush(stdout);

	pthread_exit(0);
	return 0;
}

void *ptfn(void *x)
{
	char ar[16];
	unsigned int decimals = 5;
	double d = *(double *)x;

	doit(1, d, decimals);
	vait(decimals, d);
}

void doit(int x, double d, unsigned int ui)
{
	char buff[331];

	sprintf(buff,"double: %.*f",ui,d);
	printf("%s\n", buff);
}

void vait(unsigned int ui, ...)
{
	double d=-10.0;
	va_list va;

	va_start(va, ui);

	printf("double before va_arg: %f\n", d);
	d = va_arg(va, double);
	printf("double after va_arg: %f\n", d);

	va_end(va);

	doit(1, d, ui);
}

--------------8A90B65AE71755DDB64EF4A6
Content-Type: text/plain; charset=us-ascii;
 name="float.c"
Content-Disposition: inline;
 filename="float.c"
Content-Transfer-Encoding: 7bit

#include <stdio.h>
#include <stdarg.h>

void doit(int, float, unsigned int);
void vait(unsigned int, ...);
void *ptfn(void *);

int main() 
{
	float d1 = 1.234; 

	printf("Without threads: \n");
	ptfn((void *)&d1);
	printf("\n");
	fflush(stdout);

	return 0;
}

void *ptfn(void *x)
{
	char ar[16];
	unsigned int decimals = 5;
	float d = *(float *)x;

	doit(1, d, decimals);
	vait(decimals, d);
}

void doit(int x, float d, unsigned int ui)
{
	char buff[331];

	sprintf(buff,"float: %.*f",ui,d);
	printf("%s\n", buff);
}

void vait(unsigned int ui, ...)
{
	float d=-10.0;
	va_list va;

	va_start(va, ui);

	printf("float before va_arg: %f\n", d);
	d = va_arg(va, float);
	printf("float after va_arg: %f\n", d);

	va_end(va);

	doit(1, d, ui);
}

--------------8A90B65AE71755DDB64EF4A6--

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 02:56:35 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id CAA20386
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 02:56:33 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id RAA01686; Wed, 14 Jul 1999 17:50:40 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id RAA81837
	for linux-list;
	Wed, 14 Jul 1999 17:46:48 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id RAA68284
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 14 Jul 1999 17:46:46 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 RAA06320
	for <linux@cthulhu.engr.sgi.com>; Wed, 14 Jul 1999 17:46:44 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-10.uni-koblenz.de [141.26.131.10])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id CAA10361
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 02:46:41 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id WAA01008;
	Wed, 14 Jul 1999 22:52:22 +0200
Date: Wed, 14 Jul 1999 22:52:22 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: Float / Double issues
Message-ID: <19990714225222.A998@uni-koblenz.de>
References: <378AADF5.96152E0B@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <378AADF5.96152E0B@cobaltnet.com>; from Tim Hockin on Mon, Jul 12, 1999 at 08:09:41PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 606
Lines: 17

On Mon, Jul 12, 1999 at 08:09:41PM -0700, Tim Hockin wrote:

> 2) Floats and va_arg crash with an FPE
> 
> below are two snippets that show these, at least on our boxes.  If
> someone could confirm or deny their existence on any other platform?

The float / va_arg bug is a pilot error.  See ANSI C draft chapter 6.5.2.2,
paragraph 6 and7.  In short the problem is that float parameters will be
promoted to double.  You therefore have to to change the call of va_arg
in your float.c to va_arg(va, float).

Obvious, heh ;-)

Btw, SGI's compiler also doesn't attempt to get va_arg(..., float) right.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 02:51:46 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id CAA20054
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 02:51:44 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id RAA05944; Wed, 14 Jul 1999 17:50:33 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id RAA82336
	for linux-list;
	Wed, 14 Jul 1999 17:46:47 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id RAA58684
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 14 Jul 1999 17:46:44 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 RAB05560
	for <linux@cthulhu.engr.sgi.com>; Wed, 14 Jul 1999 17:46:42 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-10.uni-koblenz.de [141.26.131.10])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id CAA10357
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 02:46:40 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id XAA01242;
	Wed, 14 Jul 1999 23:53:46 +0200
Date: Wed, 14 Jul 1999 23:53:46 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: Float / Double issues
Message-ID: <19990714235346.A1231@uni-koblenz.de>
References: <378AADF5.96152E0B@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <378AADF5.96152E0B@cobaltnet.com>; from Tim Hockin on Mon, Jul 12, 1999 at 08:09:41PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 831
Lines: 22

On Mon, Jul 12, 1999 at 08:09:41PM -0700, Tim Hockin wrote:

> Hey gang - I have what seems to be two seperate issues on Mips/Linux
> (cobalt boxes).
> 
> 1) Programs using doubles with pthreads get corrupted data in the
> doubles.

That one is funny.  It was/is a longstanding libc bug originally reported
by Dong Liu.  I actually thought it'd be fixed but now thanks to your
report I see it's still broken.  So the multithreaded variant of your
double.c doesn't work at all on our libc.

The bug is in glibc/sysdeps/unix/sysv/linux/mips/clone.S; I suppose
Cobalt's libc which I last worked on late October is still using my
old clone.S from that time or somebody else there came up with a funky
new bug completly on it's own - which might explain why double.c cannot
even successfully create the threads.

More later ...

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 02:52:03 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id CAA20067
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 02:52:01 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id RAA07208; Wed, 14 Jul 1999 17:50:33 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id RAA14761
	for linux-list;
	Wed, 14 Jul 1999 17:46:38 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id RAA87292
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 14 Jul 1999 17:46:34 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 RAA02944
	for <linux@cthulhu.engr.sgi.com>; Wed, 14 Jul 1999 17:46:32 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-10.uni-koblenz.de [141.26.131.10])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id CAA10340
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 02:46:28 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id CAA01379;
	Thu, 15 Jul 1999 02:38:57 +0200
Date: Thu, 15 Jul 1999 02:38:57 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: Float / Double issues
Message-ID: <19990715023857.A1282@uni-koblenz.de>
References: <378AADF5.96152E0B@cobaltnet.com> <19990714235346.A1231@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=NzB8fVQJ5HfG6fxh
X-Mailer: Mutt 0.95.4us
In-Reply-To: <19990714235346.A1231@uni-koblenz.de>; from Ralf Baechle on Wed, Jul 14, 1999 at 11:53:46PM +0200
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 4996
Lines: 192


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 14, 1999 at 11:53:46PM +0200, Ralf Baechle wrote:

> > Hey gang - I have what seems to be two seperate issues on Mips/Linux
> > (cobalt boxes).
> > 
> > 1) Programs using doubles with pthreads get corrupted data in the
> > doubles.
> 
> That one is funny.  It was/is a longstanding libc bug originally reported
> by Dong Liu.  I actually thought it'd be fixed but now thanks to your
> report I see it's still broken.  So the multithreaded variant of your
> double.c doesn't work at all on our libc.
> 
> The bug is in glibc/sysdeps/unix/sysv/linux/mips/clone.S; I suppose
> Cobalt's libc which I last worked on late October is still using my
> old clone.S from that time or somebody else there came up with a funky
> new bug completly on it's own - which might explain why double.c cannot
> even successfully create the threads.
> 
> More later ...

It is later :-)

Attached are fixed versions of clone.S.  I also attach Dong's old test
program.  While now threads are working dong.c still fails for a large
number of threads, that is > 1000 or so with a SIGSEGV.  This of course
doesn't solve your problem yet, Tim - but now we've got the same problem ...

  Ralf

--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="clone.S"

/* Copyright (C) 1996 Free Software Foundation, Inc.
   This file is part of the GNU C Library.
   Contributed by Ralf Baechle <ralf@gnu.ai.mit.edu>, 1996.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public License as
   published by the Free Software Foundation; either version 2 of the
   License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public
   License along with the GNU C Library; see the file COPYING.LIB.  If not,
   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* clone() is even more special than fork() as it mucks with stacks
   and invokes a function in the right context after its all over.  */

#include <sys/asm.h>
#include <asm/unistd.h>
#include <sysdep.h>
#define _ERRNO_H	1
#include <errnos.h>

/* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg) */

	.text
NESTED(__clone,4*SZREG,sp)
	.set	noreorder
	.cpload	$25
	.set	reorder
	subu	sp, 32
	.cprestore 16

#ifdef PROF
	.set	noat
	move	$1, ra
	jal	_mcount
	.set	at
#endif

	/* Sanity check arguments.  */
	li	v0, EINVAL
	beqz	a0, error	/* no NULL function pointers */
	beqz	a1, error	/* no NULL stack pointers */

	subu	a1, 32			# reserve argument save space
	sw	a0, 0(a1)		# save function pointer
	sw	a3, 4(a1)		# save argument pointer

	move	a0, a2			# Do the system call
	li	v0, __NR_clone
	syscall

	bnez	a3, error
	beqz	v0, __thread_start

	addiu	sp, 32
	ret

	/* Something bad happened -- no child created */
error:
	addiu	sp, 32
#ifdef __PIC__
	la	t9, __syscall_error
	jr	t9
#else
	j	__syscall_error
#endif
	END(__clone)

/* Load up the arguments to the function.  Put this block of code in
   its own function so that we can terminate the stack trace with our
   debug info.  */

ENTRY(__thread_start)
	/* cp is already loaded.  */
	.cprestore 16
	lw	t9, 0(sp)		# func ptr
	lw	a0, 4(sp)		# arg ptr

	/* Call the user's function */
	jalr		t9

	/* Call _exit rather than doing it inline for breakpoint purposes */
	move		a0, v0
	jal		_exit
	/* Unreached  */
	END(__thread_start)

weak_alias(__clone, clone)

--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dliu.c"

#include <pthread.h>
#include <stdio.h>

void* new_thread(void* arg)
{
	int i;
	printf("Thread[%s] stack at %x\n",arg, &i);
	for (i = 0; i< 4; i++) {
	    printf("Thread[%s] %d\n", arg, i);
	    sched_yield();
	}
	return(NULL);
}

#define NUM_OF_THREAD 10000
main(int argc, char **argv)

{
        int num = NUM_OF_THREAD;
	pthread_t thread[NUM_OF_THREAD];
	
	char *args[NUM_OF_THREAD];
	int i;
	int last;
	void *status;

	if (argc > 1)
	    num = atoi(argv[1]);
	if (num>NUM_OF_THREAD)
	    num = NUM_OF_THREAD;
	printf("Original thread stack at %x\n", &i);

	for (i = 0 ; i < num; i++) {
	    args[i] = (char *)malloc(80);
	    sprintf(args[i], "%04d", i);
	    if (pthread_create(&thread[i],
			       NULL,
			       new_thread, (void *)args[i])) {
		printf("Error: creating new thread[%d]\n", i);
		break;
	    }
	}

	last = i;

	for (i = 0 ; i < last; i++) {
	    pthread_join(thread[i], &status);
	    printf("thread[%d] return status' address %p\n",i, status);
	}
	printf("%d threads created\n", last);
	exit(0);
}

--NzB8fVQJ5HfG6fxh--

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 03:24:18 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id DAA22098
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 03:24:17 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA5823442; Wed, 14 Jul 1999 18:22:24 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id SAA20787
	for linux-list;
	Wed, 14 Jul 1999 18:19:07 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id SAA57502
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 14 Jul 1999 18:18:59 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37] (may be forged)) 
	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 SAA07478
	for <linux@cthulhu.engr.sgi.com>; Wed, 14 Jul 1999 18:18:58 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.3/8.9.3) with ESMTP id SAA23075;
	Wed, 14 Jul 1999 18:16:31 -0700
Message-ID: <378D36E5.CBF85556@cobaltnet.com>
Date: Wed, 14 Jul 1999 18:18:29 -0700
From: Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Ralf Baechle <ralf@uni-koblenz.de>, linux@cthulhu.engr.sgi.com
CC: cjohnson@cobaltnet.com
Subject: Re: Float / Double issues - solved, perhaps
References: <378AADF5.96152E0B@cobaltnet.com> <19990714235346.A1231@uni-koblenz.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 1904
Lines: 43

Ralf Baechle wrote:

> On Mon, Jul 12, 1999 at 08:09:41PM -0700, Tim Hockin wrote:
>
> > Hey gang - I have what seems to be two seperate issues on Mips/Linux
> > (cobalt boxes).
> >
> > 1) Programs using doubles with pthreads get corrupted data in the
> > doubles.
>
> That one is funny.  It was/is a longstanding libc bug originally reported
> by Dong Liu.  I actually thought it'd be fixed but now thanks to your
> report I see it's still broken.  So the multithreaded variant of your
> double.c doesn't work at all on our libc.
>
> The bug is in glibc/sysdeps/unix/sysv/linux/mips/clone.S; I suppose
> Cobalt's libc which I last worked on late October is still using my
> old clone.S from that time or somebody else there came up with a funky
> new bug completly on it's own - which might explain why double.c cannot
> even successfully create the threads.

We have the fix, I think.  Not clone.S, but in
glibc-2.0.7/linuxthreads/internals.h line 86 we need to tell gcc that this
struct (_pthread_descr_struct - which defines the offset of a thread's stack
from a well-aligned, malloc() returned addr) be padded to be aligned
correctly on an 8byte boundary:

-};
+} __attribute__ ((aligned(__alignof__(double))));

It's working for us now.  Please confirm if it works for you folks, too.  A
bug report has been filed for glibc, though I doubt if anything official
goes on for 2.0.x, now. Hopefully 2.1.x will fold this in.  A thread's stack
really should always be well aligned :)  Funny, the doubles were actually
calculated right, but stdio functions use va_arg - which expected double's
to be aligned, and weren't.  The work got done, but it couldn't tell us!

As for the va_arg "bug" - I realized it was pilot error shortly after
sending it out.  I just needed to look at something that was NOT this double
bug for a while. :)  So the new question is who wants to do thread support
in gdb !!

Tim

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 16:37:18 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id QAA10472
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 16:37:08 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id HAA03424; Thu, 15 Jul 1999 07:35:10 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id HAA19836
	for linux-list;
	Thu, 15 Jul 1999 07:30:58 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id HAA41866
	for <linux@engr.sgi.com>;
	Thu, 15 Jul 1999 07:30:54 -0700 (PDT)
	mail_from (stefan.mars@esavionics.se)
Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110]) 
	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 HAA06418
	for <linux@engr.sgi.com>; Thu, 15 Jul 1999 07:30:52 -0700 (PDT)
	mail_from (stefan.mars@esavionics.se)
Received: from athena.lmemw.ericsson.se (athena.lmemw.ericsson.se [147.214.118.10])
	by penguin.wise.edt.ericsson.se (8.9.3/8.9.3/WIREfire-1.3) with SMTP id QAA12946
	for <linux@engr.sgi.com>; Thu, 15 Jul 1999 16:30:50 +0200 (MET DST)
Received: from exjobbpc by athena.lmemw.ericsson.se (SMI-8.6/LME-DOM-2.2.3)
	id QAA02898; Thu, 15 Jul 1999 16:30:17 +0200
Message-ID: <001101becece$8a148ce0$1b76d693@lmemw.ericsson.se>
From: "Stefan Mars" <stefan.mars@esavionics.se>
To: <linux@cthulhu.engr.sgi.com>
Subject: Linux fs on Irix and the other way around
Date: Thu, 15 Jul 1999 16:30:08 +0200
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.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 374
Lines: 12

Hi,

I have been looking around for information on how to get linux filesystems
to mount under Irix. From the project webpages I see that there is at least
some kind of support for ext2fs, though I haven't seen the source for it.

Can some kind soul point me towards information for writing/porting
filesystemdrivers to Irix?

/Stefan Mars

Email: stefan.mars@esavionics.se

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 21:12:03 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA29832
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 21:11:59 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA25503; Thu, 15 Jul 1999 12:04:28 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA15785
	for linux-list;
	Thu, 15 Jul 1999 12:01:22 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA21266
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 15 Jul 1999 12:01:20 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37] (may be forged)) 
	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 MAA07289
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 12:01:19 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.3/8.9.3) with ESMTP id LAA16092
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 11:58:58 -0700
Message-ID: <378E2FEF.6E82871A@cobaltnet.com>
Date: Thu, 15 Jul 1999 12:01:03 -0700
From: Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: linux@cthulhu.engr.sgi.com
Subject: gp
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 317
Lines: 12

Ralf + crew

just playing around with kernel, and wondering what (if any) work has
been done to use gp within the kernel.  I know it is built with -G 0
now.

I looked into it, and made sure that gp got saved and restored correctly
(I think), but when I compile with -G > 0 gcc (or egcs) gets signal 11 -
ideas?

Tim


From owner-linux@cthulhu.engr.sgi.com  Thu Jul 15 21:12:07 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA29831
	for <pstadt@stud.fh-heilbronn.de>; Thu, 15 Jul 1999 21:11:58 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA5898301; Thu, 15 Jul 1999 12:10:06 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA34443
	for linux-list;
	Thu, 15 Jul 1999 12:07:04 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA64373
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 15 Jul 1999 12:07:02 -0700 (PDT)
	mail_from (ednes@zaphod.et.tudelft.nl)
Received: from zaphod.et.tudelft.nl (zaphod.et.tudelft.nl [130.161.38.84]) 
	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 MAA02055
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 12:07:00 -0700 (PDT)
	mail_from (ednes@zaphod.et.tudelft.nl)
Received: (from ednes@localhost)
	by zaphod.et.tudelft.nl (8.8.7/8.8.7) id VAA28323;
	Thu, 15 Jul 1999 21:06:59 +0200
Message-Id: <199907151906.VAA28323@zaphod.et.tudelft.nl>
Subject: updating 5.1 distro
To: linux@cthulhu.engr.sgi.com
Date: Thu, 15 Jul 1999 21:06:58 +0200 (CEST)
Cc: E.Hakkennes@et.tudelft.nl (Edwin Hakkennes)
From: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>
Content-Type: text
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 939
Lines: 29

Hi all,

We are planning to use an old Indy with 9G of disk as an
ftp-mirror-site. As this will obviously attract hackers, our sys-admin
really wants to bring the machine in an up-to-date security state
before widely announing it. Right now it has RedHat 5.1 installed,
without any security updates. This seems to run fine.

I've seen some effort to produce redhat5.2 RPMS and even a message
about getting glibc2.1 to work on mipseb, but nothing further.

My (next) questions are:

1) Is there already someone building/maintaining a 5.2 or 6.0 distro?

2) Would supplying the right packages/hdlist to the 5.1 installer work?

3) Are the diffs needed to build the 5.1 distro backported in RedHat 6.0?
   (if not, are these stored somewhere?)

I'm running rpm --rebuild *redhat6.0.src.rpm right now. At least
glibc2.1 is giving errors, I'll see about some more tomorrow morning.

Thanks for any answers and 
Greetings,

Edwin Hakkennes

   

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 16 03:12:05 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id DAA03712
	for <pstadt@stud.fh-heilbronn.de>; Fri, 16 Jul 1999 03:12:04 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA5899871; Thu, 15 Jul 1999 18:10:30 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id SAA67326
	for linux-list;
	Thu, 15 Jul 1999 18:05:55 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id SAA42220
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 15 Jul 1999 18:05:52 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 SAA02685
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 18:05:51 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-30.uni-koblenz.de [141.26.131.30])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id DAA21556
	for <linux@cthulhu.engr.sgi.com>; Fri, 16 Jul 1999 03:05:48 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id CAA04119;
	Fri, 16 Jul 1999 02:57:32 +0200
Date: Fri, 16 Jul 1999 02:57:32 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com, cjohnson@cobaltnet.com
Subject: Re: Float / Double issues - solved, perhaps
Message-ID: <19990716025732.B4105@uni-koblenz.de>
References: <378AADF5.96152E0B@cobaltnet.com> <19990714235346.A1231@uni-koblenz.de> <378D36E5.CBF85556@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <378D36E5.CBF85556@cobaltnet.com>; from Tim Hockin on Wed, Jul 14, 1999 at 06:18:29PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 1251
Lines: 30

On Wed, Jul 14, 1999 at 06:18:29PM -0700, Tim Hockin wrote:

> We have the fix, I think.  Not clone.S, but in
> glibc-2.0.7/linuxthreads/internals.h line 86 we need to tell gcc that this
> struct (_pthread_descr_struct - which defines the offset of a thread's stack
> from a well-aligned, malloc() returned addr) be padded to be aligned
> correctly on an 8byte boundary:
> 
> -};
> +} __attribute__ ((aligned(__alignof__(double))));
> 
> It's working for us now.  Please confirm if it works for you folks, too.  A
> bug report has been filed for glibc, though I doubt if anything official
> goes on for 2.0.x, now. Hopefully 2.1.x will fold this in.  A thread's stack
> really should always be well aligned :)  Funny, the doubles were actually
> calculated right,

It's dangerous though.  If the code would have attempted to use a MIPS II
ldc1 / sdc1 instruction to access the floating point number, the code
would have been killed by arch/mips/kernel/unaligned.c.

> but stdio functions use va_arg - which expected double's
> to be aligned, and weren't.  The work got done, but it couldn't tell us!

The MIPS ABI wants a 8 byte alignment for the stack and even 16 byte for
ABI64.  Now we know what can happen if not :-)

Thanks for your fix,

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 16 03:40:20 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id DAA11436
	for <pstadt@stud.fh-heilbronn.de>; Fri, 16 Jul 1999 03:40:18 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id SAA02257; Thu, 15 Jul 1999 18:39:15 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id SAA02371
	for linux-list;
	Thu, 15 Jul 1999 18:36:24 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id SAA83194
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 15 Jul 1999 18:36:21 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 SAA04193
	for <linux@cthulhu.engr.sgi.com>; Thu, 15 Jul 1999 18:36:19 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-30.uni-koblenz.de [141.26.131.30])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id DAA22160
	for <linux@cthulhu.engr.sgi.com>; Fri, 16 Jul 1999 03:36:17 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id DAA04810;
	Fri, 16 Jul 1999 03:35:36 +0200
Date: Fri, 16 Jul 1999 03:35:36 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: gp
Message-ID: <19990716033536.A4133@uni-koblenz.de>
References: <378E2FEF.6E82871A@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <378E2FEF.6E82871A@cobaltnet.com>; from Tim Hockin on Thu, Jul 15, 1999 at 12:01:03PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 632
Lines: 16

On Thu, Jul 15, 1999 at 12:01:03PM -0700, Tim Hockin wrote:

> just playing around with kernel, and wondering what (if any) work has
> been done to use gp within the kernel.  I know it is built with -G 0
> now.
> 
> I looked into it, and made sure that gp got saved and restored correctly
> (I think), but when I compile with -G > 0 gcc (or egcs) gets signal 11 -
> ideas?

In Linux 2.1 / 2.2 we have an other use of the gp; it contains the
current variable.  See include/asm-mips/current.h.  It's been on my to do
list for a long time to check if -G > 0 will be a better use of $28 than
putting the current variable there.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Sun Jul 18 21:32:47 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA11929
	for <pstadt@stud.fh-heilbronn.de>; Sun, 18 Jul 1999 21:32:44 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id MAA05626; Sun, 18 Jul 1999 12:28:10 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA74071
	for linux-list;
	Sun, 18 Jul 1999 12:22:34 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA76424
	for <linux@cthulhu.engr.sgi.com>;
	Sun, 18 Jul 1999 12:22:31 -0700 (PDT)
	mail_from (m_thrope@rigelfore.com)
Received: from slug.rigelfore.com (c69494-a.plstn1.sfba.home.com [24.2.21.88]) 
	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 MAA05027
	for <linux@cthulhu.engr.sgi.com>; Sun, 18 Jul 1999 12:22:30 -0700 (PDT)
	mail_from (m_thrope@rigelfore.com)
Received: (qmail 13651 invoked from network); 18 Jul 1999 19:35:29 -0000
Received: from unknown (HELO rigelfore.com) (192.168.42.2)
  by 192.168.42.1 with SMTP; 18 Jul 1999 19:35:29 -0000
Message-ID: <37922879.C3136AE3@rigelfore.com>
Date: Sun, 18 Jul 1999 12:18:17 -0700
From: Eric Melville <m_thrope@rigelfore.com>
Organization: iLL
X-Mailer: Mozilla 4.5 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: sgi <linux@cthulhu.engr.sgi.com>
Subject: Re: 200mhz indy
References: <3773BD69.DF77FC27@rigelfore.com> <19990628131216.C735@uni-koblenz.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 1082
Lines: 21

ok, this morning i successfully booted my r4400 rev. 6.0 indy! thanks
for the help... but now i've got a problem installing it. i'm a little
low on disk space for the whole hardhat archive. i was thinking i could
dump the rpms to a cd and then hook me external scsi cdrom to the indy,
however the root fs for hardhat setup seems to be missing mount, plus i
don't know if the redhat installer can be "tricked" like that (i have NO
redhat experience).

-E

> > i have an r4400 revision 6 200mhz indy. i tried to get linux working at
> > about the time the 2.2.1 kernel was released, but it wouldn't go. any
> > chance i'd have better luck now?
> 
> Yes, we've fixed a bug freeing memory used by the PROMs and I'm almost
> certain that this bug caused your 6.0 machine to freeze.
> 
> Iff that still doesn't help, could you do some experiment for me?  I want
> to know if the problem is really related to the CPU version 6.0 and you
> seem to have multiple Indys.  Could just try and put the R4400 6.0 module
> into the Indy which seems to be fine with Linux and report your findings?

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 19 15:41:57 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id PAA01306
	for <pstadt@stud.fh-heilbronn.de>; Mon, 19 Jul 1999 15:41:54 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id GAA03545; Mon, 19 Jul 1999 06:35:05 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id GAA12564
	for linux-list;
	Mon, 19 Jul 1999 06:31:06 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id GAA33838
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 19 Jul 1999 06:31:01 -0700 (PDT)
	mail_from (ednes@zaphod.et.tudelft.nl)
Received: from zaphod.et.tudelft.nl (zaphod.et.tudelft.nl [130.161.38.84]) 
	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 GAA08950
	for <linux@cthulhu.engr.sgi.com>; Mon, 19 Jul 1999 06:30:59 -0700 (PDT)
	mail_from (ednes@zaphod.et.tudelft.nl)
Received: (from ednes@localhost)
	by zaphod.et.tudelft.nl (8.8.7/8.8.7) id PAA06009;
	Mon, 19 Jul 1999 15:30:53 +0200
Message-Id: <199907191330.PAA06009@zaphod.et.tudelft.nl>
Subject: Re: 200mhz indy
To: m_thrope@rigelfore.com (Eric Melville)
Date: Mon, 19 Jul 1999 15:30:53 +0200 (CEST)
Cc: linux@cthulhu.engr.sgi.com
In-Reply-To: <37922879.C3136AE3@rigelfore.com> from "Eric Melville" at Jul 18, 99 12:18:17 pm
From: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>
Content-Type: text
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 1149
Lines: 32

Hi Eric,

> 
> ok, this morning i successfully booted my r4400 rev. 6.0 indy! thanks
> for the help... but now i've got a problem installing it. i'm a little
> low on disk space for the whole hardhat archive. i was thinking i could
> dump the rpms to a cd and then hook me external scsi cdrom to the indy,
> however the root fs for hardhat setup seems to be missing mount, plus i
> don't know if the redhat installer can be "tricked" like that (i have NO
> redhat experience).
> 

I didn't try this, but it should work. At least it works with
redhat-alpha.

If you can get the kernel loaded and recognising the CD, it should be
do-able. Just boot the kernel with vmlinux root=/dev/scd0 

You can't just dump the RPMS to the CD. The whole install image should
be on the CD, it should be mountable as a rootfs.

Beware that there are quite some absolute symlinks. They could pose
problems. Make sure that mkisofs picks the right contents in this case.
(e.g. sbin/init instead of /sbin/init)


BTW: I'm trying to come up with recompiled rpm for the updates relative to
HardHat. Is anyone interested in these?

Greetings and good luck,

Edwin Hakkennes

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 19 19:46:44 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id TAA16786
	for <pstadt@stud.fh-heilbronn.de>; Mon, 19 Jul 1999 19:46:35 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id KAA6343068; Mon, 19 Jul 1999 10:43:33 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id KAA22480
	for linux-list;
	Mon, 19 Jul 1999 10:38:59 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id KAA67066
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 19 Jul 1999 10:38:52 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from mail.ivm.net (mail.ivm.net [62.204.1.4]) 
	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 KAA08868
	for <linux@cthulhu.engr.sgi.com>; Mon, 19 Jul 1999 10:38:51 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from franz.no.dom (port22.koeln.ivm.de [195.247.239.22])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id TAA14684;
	Mon, 19 Jul 1999 19:38:34 +0200
X-To: linux@cthulhu.engr.sgi.com
Message-ID: <XFMail.990719194145.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Date: Mon, 19 Jul 1999 19:41:45 +0200 (MEST)
Reply-To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Organization: none
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To: linux-mips@fnet.fr, SGI Linux <linux@cthulhu.engr.sgi.com>,
        linuxce-devel@linuxce.org
Subject: Bye, bye, "generic kernels"
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Content-Length: 814
Lines: 21

Hi gang,

I am planning to commit the R3000 changes to the CVS this week. In preparation
for that I have cleaned up some things and made the CPU configuration finer
granulated (if you want it) so that it will be possible to configure Linux for
CPUs with, for example, an R4000 core but without ll/sc instructions.

As a side effect it will be no longer possible to build "generic" kernels, i.e.
kernels that are able to work on R3xxx and R4xxx machines and you'll have to
choose at least the right CPU core.

Wanting to have "generic" kernels leads to major uglinesses like avoidable
indirect function calls and self-modifying code and I don't like that.

AFAIK only the DECstations will be affected and I can happily live with that
when it leads to cleaner, leaner and faster code.

Comments?
---
Regards,
Harald

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 19 21:58:11 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id VAA07604
	for <pstadt@stud.fh-heilbronn.de>; Mon, 19 Jul 1999 21:58:07 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id MAA05201; Mon, 19 Jul 1999 12:56:42 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id MAA00777
	for linux-list;
	Mon, 19 Jul 1999 12:51:55 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id MAA68411
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 19 Jul 1999 12:51:52 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from mail.ivm.net (mail.ivm.net [62.204.1.4]) 
	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 MAA05303
	for <linux@cthulhu.engr.sgi.com>; Mon, 19 Jul 1999 12:51:50 -0700 (PDT)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from franz.no.dom (port53.koeln.ivm.de [195.247.239.53])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id VAA19933;
	Mon, 19 Jul 1999 21:51:29 +0200
X-To: linux@cthulhu.engr.sgi.com
Message-ID: <XFMail.990719215440.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.3 [p0] on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <006401bed20f$37ebdf60$b1119526@tecra.ltc.com>
Date: Mon, 19 Jul 1999 21:54:41 +0200 (MEST)
Reply-To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Organization: none
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To: "Bradley D. LaRonde" <brad@ltc.com>
Subject: Re: Bye, bye, "generic kernels"
Cc: linuxce-devel@linuxce.org, SGI Linux <linux@cthulhu.engr.sgi.com>,
        linux-mips@fnet.fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Content-Length: 1365
Lines: 41


On 19-Jul-99 Bradley D. LaRonde wrote:
> Off topic:  I'm wondering - why did I need to apply the R3000 patch for my
> R4000 processor build?  Is it just called the R3000 patch but really it's
> more than that?

Well, the VR4111 doesn't support ll/sc instructions and without the R3000 patch 
you will have no chance to get a working kernel.

> On topic:  I like the fine-grained CPU configuration.  By any chance did you
> include Vr4111 in there?

Not exactly. I was more thinking along the lines of:

"Hey, I have this wonderful CPU with an R4000 core (i.e. R4000 exception
handling) but it doesn't support ll/sc instructions so use the R3000 variant
for atomic operations"

or

"My CPU is based on an R3000 but it does have ll/sc instructions so use them"

or even

"Yes, my box has an R3000 variant but linux doesn't have to care about the
writeback buffer, some magical hardware does this".

That is already implemented (No big deal, to be honest. Just some config.in
hacking and replacing some "#if (_MIPS_ISA == _MIPS_ISA_MIPS1)" with "#if
!defined (CONFIG_CPU_HAS_LLSC)").

This concept can easily be expanded to, let's say, DMA snooping or "cache
coherent I/O", if needed.

An additional idea is to hide all these details from Joe Average, based on
assumptions from the machine and CPU type, but to make them available to
developers.

---
Regards,
Harald

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 20 00:07:55 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA29183
	for <pstadt@stud.fh-heilbronn.de>; Tue, 20 Jul 1999 00:07:53 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA13296; Mon, 19 Jul 1999 15:05:31 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA24591
	for linux-list;
	Mon, 19 Jul 1999 15:01:31 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA54524
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 19 Jul 1999 15:01:22 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 PAA08894
	for <linux@cthulhu.engr.sgi.com>; Mon, 19 Jul 1999 15:01:17 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-19.uni-koblenz.de [141.26.131.19])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA13740
	for <linux@cthulhu.engr.sgi.com>; Tue, 20 Jul 1999 00:01:14 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA14039;
	Tue, 20 Jul 1999 00:00:25 +0200
Date: Tue, 20 Jul 1999 00:00:25 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>
Cc: Eric Melville <m_thrope@rigelfore.com>, linux@cthulhu.engr.sgi.com
Subject: Re: 200mhz indy
Message-ID: <19990720000025.A13786@uni-koblenz.de>
References: <37922879.C3136AE3@rigelfore.com> <199907191330.PAA06009@zaphod.et.tudelft.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <199907191330.PAA06009@zaphod.et.tudelft.nl>; from Edwin Hakkennes on Mon, Jul 19, 1999 at 03:30:53PM +0200
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 484
Lines: 12

On Mon, Jul 19, 1999 at 03:30:53PM +0200, Edwin Hakkennes wrote:

> BTW: I'm trying to come up with recompiled rpm for the updates relative to
> HardHat. Is anyone interested in these?

The update will be huge.  I've compiled about 80% of the Redhat 6.0
packages for MIPS and work on the rest.  It's basically more like a
Rought Cuts II than an update.  So I'd appreciate if somebody could
tackle the installer such that all in all we end up with a RH 6.0
based distribution.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 20 00:24:40 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA30592
	for <pstadt@stud.fh-heilbronn.de>; Tue, 20 Jul 1999 00:24:35 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA16246; Mon, 19 Jul 1999 15:20:25 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA30922
	for linux-list;
	Mon, 19 Jul 1999 15:17:02 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA28974
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 19 Jul 1999 15:17:00 -0700 (PDT)
	mail_from (adevries@engsoc.carleton.ca)
Received: from lager.engsoc.carleton.ca (lager.engsoc.carleton.ca [134.117.69.26]) 
	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 PAA05647
	for <linux@cthulhu.engr.sgi.com>; Mon, 19 Jul 1999 15:16:58 -0700 (PDT)
	mail_from (adevries@engsoc.carleton.ca)
Received: from localhost (adevries@localhost)
	by lager.engsoc.carleton.ca (8.9.3/8.9.3) with ESMTP id SAA13182;
	Mon, 19 Jul 1999 18:17:14 -0400
X-Authentication-Warning: lager.engsoc.carleton.ca: adevries owned process doing -bs
Date: Mon, 19 Jul 1999 18:17:14 -0400 (EDT)
From: Alex deVries <adevries@engsoc.carleton.ca>
To: Ralf Baechle <ralf@uni-koblenz.de>
cc: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>,
        Eric Melville <m_thrope@rigelfore.com>, linux@cthulhu.engr.sgi.com
Subject: Re: 200mhz indy
In-Reply-To: <19990720000025.A13786@uni-koblenz.de>
Message-ID: <Pine.LNX.4.10.9907191816570.12149-100000@lager.engsoc.carleton.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 693
Lines: 24


I'm working on the installer from 6.0 as we speak...

- A

-- 
Alex deVries, puffin on LinuxNet.
Linux on HP PA RISC. The final frontier.

On Tue, 20 Jul 1999, Ralf Baechle wrote:

> On Mon, Jul 19, 1999 at 03:30:53PM +0200, Edwin Hakkennes wrote:
> 
> > BTW: I'm trying to come up with recompiled rpm for the updates relative to
> > HardHat. Is anyone interested in these?
> 
> The update will be huge.  I've compiled about 80% of the Redhat 6.0
> packages for MIPS and work on the rest.  It's basically more like a
> Rought Cuts II than an update.  So I'd appreciate if somebody could
> tackle the installer such that all in all we end up with a RH 6.0
> based distribution.
> 
>   Ralf
> 

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 20 14:10:53 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id OAA15200
	for <pstadt@stud.fh-heilbronn.de>; Tue, 20 Jul 1999 14:10:50 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id FAA00953; Tue, 20 Jul 1999 05:08:29 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id FAA69182
	for linux-list;
	Tue, 20 Jul 1999 05:05:32 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id FAA77102
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 20 Jul 1999 05:05:30 -0700 (PDT)
	mail_from (mkomiya@crossnet.co.jp)
Received: from crossnet.co.jp ([210.232.77.94]) 
	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 FAA03530
	for <linux@cthulhu.engr.sgi.com>; Tue, 20 Jul 1999 05:05:28 -0700 (PDT)
	mail_from (mkomiya@crossnet.co.jp)
Received: from crossnet.co.jp (nimbus [192.168.77.96])
	by crossnet.co.jp (8.8.7/3.6Wbeta6) with ESMTP id MAA06015
	for <linux@cthulhu.engr.sgi.com>; Tue, 20 Jul 1999 12:07:05 +0900
Message-ID: <37946628.F2D5BA61@crossnet.co.jp>
Date: Tue, 20 Jul 1999 21:06:00 +0900
From: Masami Komiya <mkomiya@crossnet.co.jp>
X-Mailer: Mozilla 4.5 [ja] (Win98; I)
X-Accept-Language: ja
MIME-Version: 1.0
To: linux@cthulhu.engr.sgi.com
Subject: glibc cross-compile error
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 587
Lines: 24

I could not cross-compile glibc using Linux/MIPS-2.2.10 sources
because of asm-mips/timex.h.
My workarround is 

*** timex.h.org	Fri Jun 11 11:18:29 1999
--- timex.h	Tue Jul 20 20:34:59 1999
***************
*** 31,36 ****
--- 31,40 ----
  typedef unsigned int cycles_t;
  extern cycles_t cacheflush_time;
  
+ #ifndef __ASM_MIPS_MIPSREGS_H
+ #include <asm/mipsregs.h>
+ #endif
+ 
  static inline cycles_t get_cycles (void)
  {
  	return read_32bit_cp0_register(CP0_COUNT);

I afraid this workarround will be the cause of the another.
Does anyone has the better solution ?

Masami Komiya

From owner-linux@cthulhu.engr.sgi.com  Wed Jul 21 00:59:47 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA31056
	for <pstadt@stud.fh-heilbronn.de>; Wed, 21 Jul 1999 00:59:45 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA6605053; Tue, 20 Jul 1999 15:57:14 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA84117
	for linux-list;
	Tue, 20 Jul 1999 15:51:42 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA40403
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 20 Jul 1999 15:51:36 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 PAA04621
	for <linux@cthulhu.engr.sgi.com>; Tue, 20 Jul 1999 15:51:26 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-23.uni-koblenz.de [141.26.131.23])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA27176
	for <linux@cthulhu.engr.sgi.com>; Wed, 21 Jul 1999 00:51:23 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA16545;
	Wed, 21 Jul 1999 00:49:43 +0200
Date: Wed, 21 Jul 1999 00:49:43 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Alex deVries <adevries@engsoc.carleton.ca>
Cc: Edwin Hakkennes <E.Hakkennes@et.tudelft.nl>,
        Eric Melville <m_thrope@rigelfore.com>, linux@cthulhu.engr.sgi.com
Subject: Re: 200mhz indy
Message-ID: <19990721004943.E14367@uni-koblenz.de>
References: <19990720000025.A13786@uni-koblenz.de> <Pine.LNX.4.10.9907191816570.12149-100000@lager.engsoc.carleton.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <Pine.LNX.4.10.9907191816570.12149-100000@lager.engsoc.carleton.ca>; from Alex deVries on Mon, Jul 19, 1999 at 06:17:14PM -0400
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 269
Lines: 8

On Mon, Jul 19, 1999 at 06:17:14PM -0400, Alex deVries wrote:

> I'm working on the installer from 6.0 as we speak...

I should have reached 80% of the RH 6.0 packages.  The Indy is still
compiling, a 180MHz R5k is annoyingly slow for building 300 packages ...

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 23 02:14:30 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id CAA28226
	for <pstadt@stud.fh-heilbronn.de>; Fri, 23 Jul 1999 02:14:29 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id RAA6905149; Thu, 22 Jul 1999 17:12:16 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id RAA83652
	for linux-list;
	Thu, 22 Jul 1999 17:04:35 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id RAA46402
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 22 Jul 1999 17:04:26 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 RAA06318
	for <linux@cthulhu.engr.sgi.com>; Thu, 22 Jul 1999 17:04:24 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-8.uni-koblenz.de [141.26.131.8])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id CAA21455
	for <linux@cthulhu.engr.sgi.com>; Fri, 23 Jul 1999 02:04:21 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id CAA23770;
	Fri, 23 Jul 1999 02:04:03 +0200
Date: Fri, 23 Jul 1999 02:04:03 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Masami Komiya <mkomiya@crossnet.co.jp>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: glibc cross-compile error
Message-ID: <19990723020403.Z14367@uni-koblenz.de>
References: <37946628.F2D5BA61@crossnet.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <37946628.F2D5BA61@crossnet.co.jp>; from Masami Komiya on Tue, Jul 20, 1999 at 09:06:00PM +0900
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 773
Lines: 29

On Tue, Jul 20, 1999 at 09:06:00PM +0900, Masami Komiya wrote:

> I could not cross-compile glibc using Linux/MIPS-2.2.10 sources
> because of asm-mips/timex.h.

> *** timex.h.org	Fri Jun 11 11:18:29 1999
> --- timex.h	Tue Jul 20 20:34:59 1999
> ***************
> *** 31,36 ****
> --- 31,40 ----
>   typedef unsigned int cycles_t;
>   extern cycles_t cacheflush_time;
>   
> + #ifndef __ASM_MIPS_MIPSREGS_H
> + #include <asm/mipsregs.h>
> + #endif
> + 
>   static inline cycles_t get_cycles (void)
>   {
>   	return read_32bit_cp0_register(CP0_COUNT);
> 
> I afraid this workarround will be the cause of the another.
> Does anyone has the better solution ?

Wrap all the C-code in that file with #ifdef __KERNEL__ ... #endif.

It's fixed in my development sources.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 23 03:05:55 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id DAA08275
	for <pstadt@stud.fh-heilbronn.de>; Fri, 23 Jul 1999 03:05:53 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA16167; Thu, 22 Jul 1999 18:04:17 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id SAA33421
	for linux-list;
	Thu, 22 Jul 1999 18:00:30 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id SAA29643
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 22 Jul 1999 18:00:28 -0700 (PDT)
	mail_from (duke@frodo.heloc.com)
Received: from fire.heloc.com (wally.heloc.com [209.47.200.155]) 
	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 SAA00097
	for <linux@cthulhu.engr.sgi.com>; Thu, 22 Jul 1999 18:00:27 -0700 (PDT)
	mail_from (duke@frodo.heloc.com)
Received: from drugs.heloc.com (drugs.heloc.com [192.168.1.24])
	by fire.heloc.com (8.9.3/8.9.2) with ESMTP id VAA11839
	for <linux@cthulhu.engr.sgi.com>; Thu, 22 Jul 1999 21:00:25 -0400 (EDT)
Received: from frodo.heloc.com (frodo.heloc.com [192.168.1.21])
	by drugs.heloc.com (8.9.3/8.9.2) with ESMTP id VAA89089
	for <@relay.heloc.com:linux@cthulhu.engr.sgi.com>; Thu, 22 Jul 1999 21:00:11 -0400 (EDT)
Received: (from duke@localhost) by frodo.heloc.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) id VAA50473 for linux@cthulhu.engr.sgi.com; Thu, 22 Jul 1999 21:00:58 -0400 (EDT)
From: "Rob Dueckman" <duke@heloc.com>
Message-Id: <990722210058.ZM50511@frodo.heloc.com>
Date: Thu, 22 Jul 1999 21:00:57 -0400
X-Mailer: Z-Mail (5.0.0 30July97)
To: linux@cthulhu.engr.sgi.com
Subject: RedHat 6.0 (SMP) on 540
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 8bit
Content-Length: 419
Lines: 11

I've got this new box here at the office which I've installed RedHat 6.0.  It
is a VisWis 540 with 4 processors.

After downloading  the 2.2.10 kernel, applying the patches and installing the
new kernel, Linux only sees 2 of the 4 processors...

I havn't spent a huge amount of time looking at the source, but is there a flag
during the build that tells now many processors to support?  If not, is this a
bug?

Thanks.

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 23 20:34:20 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id UAA13710
	for <pstadt@stud.fh-heilbronn.de>; Fri, 23 Jul 1999 20:34:16 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id LAA6454480; Fri, 23 Jul 1999 11:31:32 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id LAA84192
	for linux-list;
	Fri, 23 Jul 1999 11:26:56 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id LAA07804
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 23 Jul 1999 11:26:54 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37] (may be forged)) 
	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 LAA00970
	for <linux@cthulhu.engr.sgi.com>; Fri, 23 Jul 1999 11:26:53 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.3/8.9.3) with ESMTP id LAA02660
	for <linux@cthulhu.engr.sgi.com>; Fri, 23 Jul 1999 11:24:27 -0700
Message-ID: <3798B425.39AEFF93@cobaltnet.com>
Date: Fri, 23 Jul 1999 11:27:49 -0700
From: Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: linux@cthulhu.engr.sgi.com
Subject: egcs
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 95
Lines: 3

Has anyone made egcs (1.0 or 1.1) compile successfully?  I am getting
all sorts of wrongness.


From owner-linux@cthulhu.engr.sgi.com  Sat Jul 24 00:20:53 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id AAA22666
	for <pstadt@stud.fh-heilbronn.de>; Sat, 24 Jul 1999 00:20:44 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id PAA09166; Fri, 23 Jul 1999 15:17:57 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA54597
	for linux-list;
	Fri, 23 Jul 1999 15:13:42 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA03194
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 23 Jul 1999 15:13:34 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 PAA08280
	for <linux@cthulhu.engr.sgi.com>; Fri, 23 Jul 1999 15:13:28 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-19.uni-koblenz.de [141.26.131.19])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA17611
	for <linux@cthulhu.engr.sgi.com>; Sat, 24 Jul 1999 00:13:26 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA26034;
	Sat, 24 Jul 1999 00:13:03 +0200
Date: Sat, 24 Jul 1999 00:13:03 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: egcs
Message-ID: <19990724001303.D14367@uni-koblenz.de>
References: <3798B425.39AEFF93@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <3798B425.39AEFF93@cobaltnet.com>; from Tim Hockin on Fri, Jul 23, 1999 at 11:27:49AM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 333
Lines: 11

On Fri, Jul 23, 1999 at 11:27:49AM -0700, Tim Hockin wrote:

> Has anyone made egcs (1.0 or 1.1) compile successfully?  I am getting
> all sorts of wrongness.

I'm using egcs 1.0.2 / 1.0.3a without major problems.  Others have reported
success with egcs 1.1.2 + home brew patches as well.

What wrongnesses are you oberving?

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Sun Jul 25 14:45:57 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id OAA08725
	for <pstadt@stud.fh-heilbronn.de>; Sun, 25 Jul 1999 14:45:50 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id FAA17811; Sun, 25 Jul 1999 05:40:54 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id FAA03379
	for linux-list;
	Sun, 25 Jul 1999 05:34:50 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id FAA84706
	for <linux@engr.sgi.com>;
	Sun, 25 Jul 1999 05:34:47 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1] (may be forged)) 
	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 FAA01286
	for <linux@engr.sgi.com>; Sun, 25 Jul 1999 05:34:45 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-15.uni-koblenz.de [141.26.131.15])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id OAA29977
	for <linux@engr.sgi.com>; Sun, 25 Jul 1999 14:34:41 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id OAA31721;
	Sun, 25 Jul 1999 14:34:07 +0200
Date: Sun, 25 Jul 1999 14:34:07 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: GDB
Message-ID: <19990725143407.F28888@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 228
Lines: 9

Hi,

I'm currently preparing a new GDB release for Linux/MIPS.  One that's even
easy to install as a binary package, whee :-)  So if anybody's still got
patches or bug reports pending, please report to me asap.

Thanks,

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 26 01:00:14 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id BAA15565
	for <pstadt@stud.fh-heilbronn.de>; Mon, 26 Jul 1999 01:00:12 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id PAA22449; Sun, 25 Jul 1999 15:56:05 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id PAA21392
	for linux-list;
	Sun, 25 Jul 1999 15:52:03 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA57486
	for <linux@engr.sgi.com>;
	Sun, 25 Jul 1999 15:51:59 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 PAA02002
	for <linux@engr.sgi.com>; Sun, 25 Jul 1999 15:51:56 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-21.uni-koblenz.de [141.26.131.21])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id AAA15114
	for <linux@engr.sgi.com>; Mon, 26 Jul 1999 00:51:53 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id AAA02782;
	Mon, 26 Jul 1999 00:51:26 +0200
Date: Mon, 26 Jul 1999 00:51:26 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Mat Kovach <mkovach@alpha.theshagster.com>
Cc: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: Unimplemented Exception for insn 4620a0a4
Message-ID: <19990726005126.E31878@uni-koblenz.de>
References: <19990721103205.A25219@mini.gt.owl.de> <19990722005000.J14367@uni-koblenz.de> <19990722134126.J29846@mini.gt.owl.de> <19990723011059.W14367@uni-koblenz.de> <19990723141127.K15510@mini.gt.owl.de> <19990725150204.C31878@uni-koblenz.de> <19990725181727.A15348@mini.gt.owl.de> <19990725225305.D31878@uni-koblenz.de> <20190725125741.A1122@mkovach.nacs.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <20190725125741.A1122@mkovach.nacs.net>; from Mat Kovach on Thu, Jul 25, 2019 at 12:57:41PM -0400
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 600
Lines: 22

On Thu, Jul 25, 2019 at 12:57:41PM -0400, Mat Kovach wrote:

> sh Configure -des -Dprefix=/usr -Darchname=${RPM_ARCH}-linux -Dd_dosuid \
>         -Ud_setresuid -Ud_setresgid -Dd_semctl_semun
> make
> 
> strip perl
> strip suidperl
> strip x2p/a2p
> 
> %install
> rm -rf $RPM_BUILD_ROOT
> mkdir -p $RPM_BUILD_ROOT
> make install
> 
> So, it appears that RedHat doesn't run make test when it builds perl ...

Hmm...  Looking over the kernel source I just spotted a kernel bug which
affects both 2.2 and 2.3.  It will however only affect buggy software.
No C code will for example ever be hit.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Mon Jul 26 15:08:59 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id PAA05004
	for <pstadt@stud.fh-heilbronn.de>; Mon, 26 Jul 1999 15:08:47 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id FAA15045; Mon, 26 Jul 1999 05:59:36 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id FAA84447
	for linux-list;
	Mon, 26 Jul 1999 05:39:20 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id FAA15385
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 26 Jul 1999 05:39:08 -0700 (PDT)
	mail_from (mikehill@hgeng.com)
Received: from calvin.tor.onramp.ca (calvin.tor.onramp.ca [204.225.88.15]) 
	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 FAA08225
	for <linux@cthulhu.engr.sgi.com>; Mon, 26 Jul 1999 05:39:03 -0700 (PDT)
	mail_from (mikehill@hgeng.com)
Received: (qmail 28613 invoked from network); 26 Jul 1999 12:38:58 -0000
Received: from imail.hgeng.com (HELO bart.hgeng.com) (199.246.72.233)
  by mail.onramp.ca with SMTP; 26 Jul 1999 12:38:58 -0000
Received: by BART with Internet Mail Service (5.5.2232.9)
	id <PNPT48PJ>; Mon, 26 Jul 1999 08:24:53 -0400
Message-ID: <E138DB347D10D3119C630008C79F5DEC07EB1C@BART>
From: Mike Hill <mikehill@hgeng.com>
To: "'Rob Dueckman'" <duke@heloc.com>, linux@cthulhu.engr.sgi.com
Subject: RE: RedHat 6.0 (SMP) on 540
Date: Mon, 26 Jul 1999 08:24:51 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 665
Lines: 24

Hey Rob, won't they let you have an Indy?


> -----Original Message-----
> From:	Rob Dueckman [SMTP:duke@heloc.com]
> Sent:	July 22, 1999 9:01 PM
> To:	linux@cthulhu.engr.sgi.com
> Subject:	RedHat 6.0 (SMP) on 540
> 
> I've got this new box here at the office which I've installed RedHat 6.0.
> It
> is a VisWis 540 with 4 processors.
> 
> After downloading  the 2.2.10 kernel, applying the patches and installing
> the
> new kernel, Linux only sees 2 of the 4 processors...
> 
> I havn't spent a huge amount of time looking at the source, but is there a
> flag
> during the build that tells now many processors to support?  If not, is
> this a
> bug?
> 
> Thanks.

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 27 01:20:20 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id BAA15885
	for <pstadt@stud.fh-heilbronn.de>; Tue, 27 Jul 1999 01:20:17 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA12338; Mon, 26 Jul 1999 16:14:35 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id QAA45984
	for linux-list;
	Mon, 26 Jul 1999 16:08:28 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id QAA23962
	for <linux@engr.sgi.com>;
	Mon, 26 Jul 1999 16:08:23 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 QAA07729
	for <linux@engr.sgi.com>; Mon, 26 Jul 1999 16:08:19 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-4.uni-koblenz.de [141.26.131.4])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id BAA29754
	for <linux@engr.sgi.com>; Tue, 27 Jul 1999 01:03:11 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id XAA04798;
	Mon, 26 Jul 1999 23:49:26 +0200
Date: Mon, 26 Jul 1999 23:49:26 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: RH 6.0 port
Message-ID: <19990726234926.A4793@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 10057
Lines: 156

Quick status of the RH 6.0 report, the packages listed below compile; some
of them even have been tested ;-)  All in all that's 373mb of binaries.
A few packages below have been resurrected from RH 5.2.  Some of the
rpms have the letter combination ``lm'' trailing the release number.  That
indicates that I've modified the package from the original.

acm-4.7-8.src.rpm adjtimex-1.3-6.src.rpm AfterStep-1.7.90-3.src.rpm
AfterStep-APPS-990329-2lm.src.rpm aktion-0.3.3-1.src.rpm
am-utils-6.0-3lm.src.rpm anonftp-2.8-1lm.src.rpm AnotherLevel-0.9-1.src.rpm
apache-1.3.6-7.src.rpm ash-0.2-17.src.rpm at-3.1.7-8.src.rpm
audiofile-0.1.6-5.src.rpm aumix-1.18.2-2.src.rpm autoconf-2.13-5.src.rpm
autofs-3.1.3-2.src.rpm automake-1.4-4.src.rpm basesystem-6.0-4.src.rpm
bash-1.14.7-16.src.rpm bash2-2.03-4.src.rpm bc-1.05a-4.src.rpm
bdflush-1.5-10.src.rpm bind-8.2-6lm.src.rpm binutils-2.8.1-4lm.src.rpm
bison-1.27-3.src.rpm blt-2.4g-4.src.rpm bootp-2.4.3-7.src.rpm
bootparamd-0.10-22.src.rpm bootpc-061-8.src.rpm byacc-1.9-11.src.rpm
bzip2-0.9.0c-1.src.rpm caching-nameserver-6.0-2.src.rpm cdecl-2.5-9.src.rpm
cdp-0.33-12.src.rpm chkfontpath-1.4.1-1.src.rpm cleanfeed-0.95.7b-3.src.rpm
comanche-990405-2.src.rpm comsat-0.10-22.src.rpm
console-tools-19990302-13.src.rpm control-center-1.0.5-20.src.rpm
control-panel-3.11-2.src.rpm cpio-2.4.2-12.src.rpm cproto-4.6-2.src.rpm
cracklib-2.7-5.src.rpm crontabs-1.7-6.src.rpm ctags-3.2-1.src.rpm
cvs-1.10.5-2.src.rpm cxhextris-1.0-15.src.rpm
desktop-backgrounds-1.0.0-6.src.rpm dev-2.7.7-1lm.src.rpm
dhcp-2.0b1pl6-6.src.rpm dhcpcd-1.3.17pl2-1.src.rpm dialog-0.6-14.src.rpm
diffstat-1.25-7.src.rpm diffutils-2.7-16.src.rpm dump-0.4b4-7.src.rpm
e2fsprogs-1.14-4.src.rpm ed-0.2-12.src.rpm ee-0.3.8-7.src.rpm
efax-0.8a-11.src.rpm egcs-1.0.3a-10lm.src.rpm eject-2.0.2-3.src.rpm
ElectricFence-2.1-1.src.rpm elm-2.5.0-0.2pre8.src.rpm
emacs-20.3-15lm.src.rpm enlightenment-0.15.5-32.src.rpm
enscript-1.6.1-8.src.rpm esound-0.2.12-4.src.rpm etcskel-2.0-1.src.rpm
exmh-2.0.2-7.src.rpm faq-6.0-1.src.rpm fbset-2.0.19990118-2.src.rpm
fetchmail-5.0.0-1.src.rpm file-3.26-6.src.rpm filesystem-1.3.4-4.src.rpm
fileutils-4.0-1.src.rpm findutils-4.1-31.src.rpm finger-0.10-24.src.rpm
flex-2.5.4a-6.src.rpm fnlib-0.4-8.src.rpm fortune-mod-1.0-9.src.rpm
freetype-1.2-6.src.rpm ftp-0.10-22.src.rpm fvwm-1.24r-17.src.rpm
fvwm2-2.2-5.src.rpm fwhois-1.00-11.src.rpm gated-3.5.10-9.src.rpm
gawk-3.0.3-7.src.rpm gd-1.3-5.src.rpm gdbm-1.7.3-19.src.rpm
gdm-1.0.0-35.src.rpm gedit-0.5.1-3.src.rpm genromfs-0.3-4.src.rpm
getty_ps-2.0.7j-7.src.rpm gftp-1.13-4.src.rpm ghostscript-5.10-7.src.rpm
ghostscript-fonts-5.10-3.src.rpm giftrans-1.12.2-4.src.rpm
gimp-1.0.4-3.src.rpm gimp-data-extras-1.0.0-4.src.rpm
gimp-manual-1.0.0-5.src.rpm git-4.3.17-5.src.rpm glib-1.2.1-2.src.rpm
glibc-2.0.6-3lm.src.rpm gmp-2.0.2-8.src.rpm gnome-audio-1.0.0-6.src.rpm
gnome-core-1.0.4-34.src.rpm gnome-games-1.0.2-10.src.rpm
gnome-libs-1.0.8-8lm.src.rpm gnome-linuxconf-0.22-1.src.rpm
gnome-media-1.0.1-3.src.rpm gnome-objc-1.0.2-4.src.rpm
gnome-pim-1.0.7-2.src.rpm gnome-python-1.0.1-2.src.rpm
gnome-users-guide-1.0.5-4rh.src.rpm gnome-utils-1.0.1-6.src.rpm
gnorpm-0.8-5.src.rpm gnotepad+-1.1.3-2.src.rpm gnuchess-4.0.pl79-3.src.rpm
gnumeric-0.23-2.src.rpm gnuplot-3.7-2.src.rpm gperf-2.7-5.src.rpm
gpm-1.17.5-3.src.rpm gqview-0.6.0-3.src.rpm grep-2.3-2.src.rpm
groff-1.11a-9.src.rpm gsl-0.3f-2.src.rpm gtk+-1.2.1-10.src.rpm
gtk+10-1.0.6-5.src.rpm gtk-engines-0.5-16.src.rpm gtop-1.0.1-3.src.rpm
guavac-1.2-4.src.rpm guile-1.3-6.src.rpm gv-3.5.8-7.src.rpm
GXedit-1.23-2.src.rpm gzip-1.2.4-14.src.rpm hdparm-3.3-5.src.rpm
helptool-2.4-7.src.rpm howto-6.0-4.src.rpm ical-2.2-9.src.rpm
ImageMagick-4.2.2-4lm.src.rpm imap-4.5-3.src.rpm imlib-1.9.5-4.src.rpm
indent-1.9.1-11.src.rpm indexhtml-6.0-1.src.rpm initscripts-4.16-1.src.rpm
install-guide-3.2-3.src.rpm intimed-1.10-9.src.rpm ipchains-1.3.8-3.src.rpm
ircii-4.4-7.src.rpm isicom-1.0-1.src.rpm ispell-3.1.20-15.src.rpm
jed-0.98.7-2.src.rpm joe-2.8-18.src.rpm joe-2.8-18lm.src.rpm
kaffe-1.0.b4-2.src.rpm kdeadmin-1.1.1pre2-1.src.rpm
kdebase-1.1.1pre2-2.src.rpm kdegames-1.1.1pre2-2.src.rpm
kdegraphics-1.1.1pre2-1.src.rpm kdelibs-1.1.1pre2-2.src.rpm
kdemultimedia-1.1.1pre2-1.src.rpm kdenetwork-1.1.1pre2-1.src.rpm
kdesupport-1.1.1pre2-1.src.rpm kdeutils-1.1.1pre2-1.src.rpm
kernelcfg-0.5-5.src.rpm knfsd-1.2.2-4.src.rpm korganizer-1.1.1pre2-1.src.rpm
kpilot-3.1b8_pgb-1.src.rpm kpppload-1.04-4.src.rpm kterm-6.2.0-8lm.src.rpm
ldconfig-1.9.5-15.src.rpm less-332-6.src.rpm lha-1.00-11.src.rpm
libelf-0.6.4-4.src.rpm libghttp-1.0.2-3.src.rpm libgr-2.0.13-17.src.rpm
libgtop-1.0.1-3.src.rpm libjpeg-6b-9.src.rpm libjpeg6a-6a-4.src.rpm
libpng-1.0.3-2.src.rpm libPropList-0.8.3-2.src.rpm
libtermcap-2.0.8-13.src.rpm libtiff-3.4-6.src.rpm libtool-1.2f-3.src.rpm
libungif-4.1.0-2.src.rpm libxml-1.0.0-2.src.rpm linuxconf-1.14r4-4lm.src.rpm
logrotate-3.2-1.src.rpm lout-3.08-7.src.rpm lpg-0.4-4.src.rpm
lpr-0.35-1.src.rpm lrzsz-0.12.20-2.src.rpm lslk-1.19-5.src.rpm
lsof-4.42-1.src.rpm lynx-2.8.1-11.src.rpm m4-1.4-12.src.rpm
macutils-2.0b3-12.src.rpm mailcap-2.0.1-1.src.rpm mailx-8.1.1-8.src.rpm
make-3.77-6.src.rpm MAKEDEV-2.5-1.src.rpm man-1.5g-2.src.rpm
man-pages-1.23-3.src.rpm mars-nwe-0.99pl15-3.src.rpm mawk-1.2.2-11.src.rpm
mc-4.5.30-12.src.rpm metamail-2.7-20.src.rpm mgetty-1.1.14-8.src.rpm
mikmod-3.1.5-5.src.rpm mingetty-0.9.4-10.src.rpm minicom-1.82-5.src.rpm
mkdosfs-ygg-0.3b-11.src.rpm mkisofs-1.12b5-2.src.rpm
mkkickstart-1.2-1.src.rpm mktemp-1.5-1.src.rpm mkxauth-1.7-11.src.rpm
modemtool-1.21-6.src.rpm modutils-2.1.121-12lm.src.rpm
mod_php-2.0.1-9.src.rpm mod_php3-3.0.7-4.src.rpm mount-2.9o-1.src.rpm
mpage-2.4-7.src.rpm mtools-3.9.1-5.src.rpm mutt-0.95.4us-4.src.rpm
mxp-1.0-11.src.rpm nag-1.0-4.src.rpm nc-1.10-4.src.rpm
ncftp-3.0beta18-3.src.rpm ncompress-4.2.4-14lm.src.rpm
ncpfs-2.2.0.12-5.src.rpm ncurses-4.2-18.src.rpm ncurses3-1.9.9e-9.src.rpm
net-tools-1.51-3.src.rpm netcfg-2.20-2.src.rpm netkit-base-0.10-29.src.rpm
newt-0.40-9.src.rpm nmh-0.27-8.src.rpm open-1.4-6.src.rpm
ORBit-0.4.3-2.src.rpm p2c-1.22-3.src.rpm pam-0.66-18.src.rpm
passwd-0.58-1.src.rpm patch-2.5-8.src.rpm pciutils-1.99.5-1.src.rpm
pdksh-5.2.13-3.src.rpm perl-5.00503-2.src.rpm perl-MD5-1.7-6.src.rpm
pidentd-2.8.5-3.src.rpm pilot-link-0.9.0-8.src.rpm pine-4.10-2.src.rpm
playmidi-2.4-7.src.rpm pmake-2.1.33-5lm.src.rpm popt-1.3-1.src.rpm
portmap-4.0-15.src.rpm ppp-2.3.7-2.src.rpm printtool-3.40-3.src.rpm
procinfo-16-3.src.rpm procmail-3.13.1-2.src.rpm procps-2.0.2-2.src.rpm
psacct-6.3-10.src.rpm psmisc-18-2.src.rpm pump-0.6.4-1.src.rpm
pwdb-0.58-3.src.rpm pythonlib-1.22-5.src.rpm qt-1.44-6.src.rpm
quota-1.66-6.src.rpm raidtools-0.90-3.src.rpm rcs-5.7-10.src.rpm
rdate-0.960923-8.src.rpm rdist-6.1.5-7.src.rpm readline-2.2.1-5.src.rpm
redhat-logos-1.0.5-1.src.rpm redhat-release-6.0-1.src.rpm
rhl-alpha-install-addend-en-6.0-1.src.rpm
rhl-getting-started-guide-en-6.0-2.src.rpm
rhl-install-guide-en-6.0-2.src.rpm rhmask-1.0-6.src.rpm
rhs-printfilters-1.51-2.src.rpm rhsound-1.8-1.src.rpm
rootfiles-5.2-5.src.rpm routed-0.10-14.src.rpm rpm-3.0-6.0lm.src.rpm
rsh-0.10-25.src.rpm rsync-2.3.1-1.src.rpm rusers-0.10-23.src.rpm
rwall-0.10-22.src.rpm rwho-0.10-23.src.rpm sag-0.6-3.src.rpm
samba-2.0.3-8.src.rpm sash-2.1-4.src.rpm screen-3.7.6-6lm.src.rpm
sed-3.02-4.src.rpm sendmail-8.9.3-10.src.rpm setconsole-1.0-8.src.rpm
setserial-2.15-2.src.rpm setup-2.0.2-1.src.rpm sgml-tools-1.0.9-2.src.rpm
sh-utils-1.16-23.src.rpm shadow-utils-980403-12.src.rpm
sharutils-4.2-12.src.rpm slang-1.2.2-4.src.rpm sliplogin-2.1.1-5.src.rpm
slocate-1.4-7.src.rpm slrn-0.9.5.4-5.src.rpm sox-12.15-5.src.rpm
specspo-6.0-0.9.9.src.rpm squid-2.2.STABLE1-1.src.rpm stat-1.5-11.src.rpm
statserial-1.1-13.src.rpm swatch-2.2-7.src.rpm switchdesk-1.7.0-1.src.rpm
symlinks-1.2-5.src.rpm sysklogd-1.3.31-6.src.rpm SysVinit-2.74-11.src.rpm
talk-0.11-1.src.rpm taper-6.9-6.src.rpm tar-1.12-9.src.rpm
tcltk-8.0.4-29.src.rpm tcpdump-3.4-10.src.rpm tcp_wrappers-7.6-7.src.rpm
tcsh-6.08.00-5.src.rpm telnet-0.10-27.src.rpm termcap-9.12.6-15.src.rpm
tetex-0.9-17.src.rpm texinfo-3.12f-4.src.rpm textutils-1.22-9.src.rpm
tftp-0.10-23.src.rpm time-1.7-9.src.rpm timeconfig-2.7-1.src.rpm
timed-0.10-23.src.rpm timetool-2.5-5.src.rpm tin-1.4_990216-3.src.rpm
tksysv-1.0-6.src.rpm tmpwatch-1.7-1.src.rpm traceroute-1.4a5-14.src.rpm
transfig-3.2.1-3.src.rpm tree-1.2-6.src.rpm trn-3.6-16.src.rpm
trojka-1.1-13.src.rpm ttcp-1.4-1.src.rpm tunelp-1.3-10.src.rpm
ucd-snmp-3.6.1-4.src.rpm umb-scheme-3.2-9.src.rpm unarj-2.41a-9.src.rpm
units-1.0-12.src.rpm unzip-5.31-5.src.rpm urlview-0.7-3.src.rpm
urw-fonts-1.1-8.src.rpm usermode-1.9-1.src.rpm usernet-1.0.9-2.src.rpm
util-linux-2.9o-13lm.src.rpm uucp-1.06.1-19.src.rpm
vixie-cron-3.0.1-33.src.rpm vlock-1.3-2.src.rpm w3c-libwww-5.2.8-3.src.rpm
wget-1.5.3-4.src.rpm which-1.0-11.src.rpm WindowMaker-0.52.0-2.src.rpm
wmakerconf-1.99.1-1.src.rpm wmconfig-0.9.5-1.src.rpm words-2-12.src.rpm
x11amp-0.9_alpha3-6.src.rpm X11R6-contrib-3.3.2-6.src.rpm
x3270-3.1.1.6-7.src.rpm Xaw3d-1.3-21.src.rpm xbanner-1.31-7.src.rpm
xbill-2.0-6.src.rpm xboard-4.0.0-3.src.rpm xboing-2.4-7.src.rpm
xchat-0.9.4-3.src.rpm xcpustate-2.5-5.src.rpm xdaliclock-2.14-3.src.rpm
xearth-1.0-12.src.rpm xfishtank-2.0-14.src.rpm xfm-1.3.2-13.src.rpm
XFree86-3.3.3.1-49lm.src.rpm XFree86-ISO8859-2-1.0-8.src.rpm
XFree86-ISO8859-9-2.1.2-9.src.rpm xgammon-0.98-14.src.rpm
xinitrc-2.3-1.src.rpm xjewel-1.6-11.src.rpm xlispstat-3.52.9-2.src.rpm
xloadimage-4.1-12.src.rpm xlockmore-4.13-2.src.rpm xmailbox-2.5-7.src.rpm
xmorph-1996.07.12-7.src.rpm xntp3-5.93-12.src.rpm xosview-1.7.1-2lm.src.rpm
xpaint-2.4.9-8.src.rpm xpat2-1.04-10.src.rpm xpdf-0.80-4.src.rpm
xpilot-3.6.2-6lm.src.rpm xpm-3.4j-5.src.rpm xpuzzles-5.4.1-7.src.rpm
xrn-9.01-3.src.rpm xscreensaver-3.09-3.src.rpm xsysinfo-1.6-5.src.rpm
xtoolwait-1.2-2.src.rpm xtrojka-1.2.3-6.src.rpm xwpick-2.20-11.src.rpm
xxgdb-1.12-10.src.rpm yp-tools-2.2-1.src.rpm ypbind-3.3-20.src.rpm
ypserv-1.3.6.91-1.src.rpm ytalk-3.1-3.src.rpm zip-2.1-8.src.rpm
zlib-1.1.3-5.src.rpm zsh-3.0.5-10.src.rpm

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Tue Jul 27 01:20:19 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id BAA15881
	for <pstadt@stud.fh-heilbronn.de>; Tue, 27 Jul 1999 01:20:16 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA12348; Mon, 26 Jul 1999 16:14:39 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id QAA54340
	for linux-list;
	Mon, 26 Jul 1999 16:03:13 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id QAA40175
	for <linux@engr.sgi.com>;
	Mon, 26 Jul 1999 16:03:07 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 QAA07127
	for <linux@engr.sgi.com>; Mon, 26 Jul 1999 16:03:03 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-4.uni-koblenz.de [141.26.131.4])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id BAA29197
	for <linux@engr.sgi.com>; Tue, 27 Jul 1999 01:03:00 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id XAA04806;
	Mon, 26 Jul 1999 23:53:43 +0200
Date: Mon, 26 Jul 1999 23:53:43 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Linker bug
Message-ID: <19990726235343.B4793@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 349
Lines: 12

ld crashes when doing the following:

  echo "main(){}" > c.c
  gcc -o c c.c -lm -ieee

Strange enough this only hits native linkers, not crosslinkers built from
the same sources.  This prevents us from building several RH 6.0 packages.

I don't have the time to track this one down, so I'd _really_ appreciate
if somebody else would do so.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Wed Jul 28 07:28:48 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id HAA19229
	for <pstadt@stud.fh-heilbronn.de>; Wed, 28 Jul 1999 07:28:47 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id WAA00465; Tue, 27 Jul 1999 22:20:28 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id WAA38077
	for linux-list;
	Tue, 27 Jul 1999 22:14:29 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id WAA79421
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 27 Jul 1999 22:14:26 -0700 (PDT)
	mail_from (inarts@bdg.centrin.net.id)
Received: from bdg.centrin.net.id (bdg.centrin.net.id [202.146.253.3]) 
	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 WAA01167
	for <linux@cthulhu.engr.sgi.com>; Tue, 27 Jul 1999 22:14:03 -0700 (PDT)
	mail_from (inarts@bdg.centrin.net.id)
Received: from provokator ([202.146.253.129]) by bdg.centrin.net.id
          (Netscape Mail Server v1.1) with SMTP id AAA7247;
          Wed, 28 Jul 1999 12:13:50 +0700
Message-ID: <006e01bed92d$35beb940$81fd92ca@provokator>
Reply-To: "InartS Multimedia" <inarts@bdg.centrin.net.id>
From: "InartS Multimedia" <inarts@bdg.centrin.net.id>
To: <linux@cthulhu.engr.sgi.com>, <fisher@sgi.com>
Cc: "William Fisher" <fisher@hollywood.engr.sgi.com>
References: <199907210601.XAA18875@hollywood.engr.sgi.com>
Subject: Re: Linux for IRIS
Date: Wed, 28 Jul 1999 11:34:02 -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.00.2014.207
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.207
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 855
Lines: 23

> It must be Irix 4.0.5 since there wasn't an Irix 4.5 release.
> A Personal Iris 4D is a VERY OLD and slow machine that runs
> just great using  Irix 4.0.5. It is a very slow R3000 based
> machine.

Yes,It is true. It is Irix 4.0.5,... sorry , i am mistaken. Ha..ha.
I just got this machine and i am not so familiar with this system. I am
still doing research on it. How powerful actually is this machine? If we
compare it to today's Pentium classes machine, which pentium class has the
same power with this machine?
Does it enough to do some 3D modelling/animation job?

> If you want a "reasonable" MIPS Linux box, you might want to
> consider upgrading to an Indy aka R4400 based system on which
> most of the Linux MIPS development centers.

Do you know how can i get upgrade system in Indonesia or other asia
countries?

Thank you very much,

Aris


From owner-linux@cthulhu.engr.sgi.com  Thu Jul 29 04:39:36 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id EAA09646
	for <pstadt@stud.fh-heilbronn.de>; Thu, 29 Jul 1999 04:39:35 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id TAA09460; Wed, 28 Jul 1999 19:36:13 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id TAA91353
	for linux-list;
	Wed, 28 Jul 1999 19:29:25 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id TAA15444
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 28 Jul 1999 19:29:23 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37] (may be forged)) 
	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 TAA03635
	for <linux@cthulhu.engr.sgi.com>; Wed, 28 Jul 1999 19:29:16 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.3/8.9.3) with ESMTP id SAA30133
	for <linux@cthulhu.engr.sgi.com>; Wed, 28 Jul 1999 18:17:00 -0700
Message-ID: <379FBBFE.FB8C1734@cobaltnet.com>
Date: Wed, 28 Jul 1999 19:27:10 -0700
From: Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: linux@cthulhu.engr.sgi.com
Subject: an ld problem?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 827
Lines: 26

I'm trying to compile egcs-1.0.2-9 on a Cobalt (mipsel) box.  During the
libstdc++ build I we have the following:


compile string:
/home/src/redhat/BUILD/egcs-1.0.2/obj-mipsel-linux/gcc/xgcc
-B/home/src/redhat/BUILD/egcs-1.0.2/obj-mipsel-linux/gcc/ -O2
-fno-implicit-templates -Wl,-soname,libstdc++.so.2.8 -shared -o
libstdc++.so.2.8.0 `cat piclist` -lm

result:
collect2: ld terminated with signal 6 [Aborted], core dumped

I have traced it through ld to this point: (elf32-mips.c : line 1526)

                          asection *osec;

                          osec = sec->output_section;
                          indx = elf_section_data (osec)->dynindx;
                          if (indx == 0)
                            abort ();

where it aborts.  I am a bit bewildered.  Anyone have any ideas to
offer?  Help?

Tim

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 29 14:50:29 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id OAA16630
	for <pstadt@stud.fh-heilbronn.de>; Thu, 29 Jul 1999 14:50:25 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id FAA17732; Thu, 29 Jul 1999 05:45:27 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id FAA89131
	for linux-list;
	Thu, 29 Jul 1999 05:37:48 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id FAA68759
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 29 Jul 1999 05:37:46 -0700 (PDT)
	mail_from (mkomiya@crossnet.co.jp)
Received: from crossnet.co.jp ([210.232.77.94]) 
	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 FAA08374
	for <linux@cthulhu.engr.sgi.com>; Thu, 29 Jul 1999 05:37:31 -0700 (PDT)
	mail_from (mkomiya@crossnet.co.jp)
Received: from crossnet.co.jp (nimbus [192.168.77.96])
	by crossnet.co.jp (8.8.7/3.6Wbeta6) with ESMTP id MAA11267
	for <linux@cthulhu.engr.sgi.com>; Thu, 29 Jul 1999 12:36:21 +0900
Message-ID: <37A04B51.E1B39DC1@crossnet.co.jp>
Date: Thu, 29 Jul 1999 21:38:41 +0900
From: Masami Komiya <mkomiya@crossnet.co.jp>
X-Mailer: Mozilla 4.5 [ja] (Win98; I)
X-Accept-Language: ja
MIME-Version: 1.0
To: Linux/Mips <linux@cthulhu.engr.sgi.com>
Subject: set_rtc_mmss() of arch/mips/kenrel/time.c
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 685
Lines: 28

I'm reading kernel source for mips architecture. But can not 
realize the meaning of the following part of set_rtc_mmss() function
in arch/mips/kenrel/time.c

static int set_rtc_mmss(unsigned long nowtime)
{

			:

	/*
	 * since we're only adjusting minutes and seconds,
	 * don't interfere with hour overflow. This avoids
	 * messing with unknown time zones but requires your
	 * RTC not to be off by more than 15 minutes
	 */
	real_seconds = nowtime % 60;
	real_minutes = nowtime / 60;
	if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1)
		real_minutes += 30;		/* correct for half hour time zone */
	real_minutes %= 60;

			:

Please anyone explain me.

Thank you.

Masami Komiya

From owner-linux@cthulhu.engr.sgi.com  Thu Jul 29 17:44:56 1999
Received: from sgi.com (sgi.SGI.COM [192.48.153.1])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id RAA17123
	for <pstadt@stud.fh-heilbronn.de>; Thu, 29 Jul 1999 17:44:54 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.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 ESMTP id IAA09545; Thu, 29 Jul 1999 08:39:44 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id IAA15484
	for linux-list;
	Thu, 29 Jul 1999 08:32:09 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id IAA95942
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 29 Jul 1999 08:31:56 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 IAA05386
	for <linux@cthulhu.engr.sgi.com>; Thu, 29 Jul 1999 08:31:52 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-2.uni-koblenz.de [141.26.131.2])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id RAA12613
	for <linux@cthulhu.engr.sgi.com>; Thu, 29 Jul 1999 17:31:47 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id PAA08642;
	Thu, 29 Jul 1999 15:32:24 +0200
Date: Thu, 29 Jul 1999 15:32:23 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: an ld problem?
Message-ID: <19990729153223.D4730@uni-koblenz.de>
References: <379FBBFE.FB8C1734@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <379FBBFE.FB8C1734@cobaltnet.com>; from Tim Hockin on Wed, Jul 28, 1999 at 07:27:10PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 380
Lines: 11

On Wed, Jul 28, 1999 at 07:27:10PM -0700, Tim Hockin wrote:

> where it aborts.  I am a bit bewildered.  Anyone have any ideas to
> offer?  Help?

I cheated; we currently ship only with a static libstdc++.  We've got
a fix for one of the many libbfd coredump bugs in elf32-mips.c in
our patchset of ftp.linux.sgi.com.  I think it won't cure this
particular case, however.

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 30 07:38:47 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id HAA04279
	for <pstadt@stud.fh-heilbronn.de>; Fri, 30 Jul 1999 07:38:42 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id WAA28336; Thu, 29 Jul 1999 22:34:25 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id WAA05851
	for linux-list;
	Thu, 29 Jul 1999 22:30:38 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id WAA43274
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 29 Jul 1999 22:30:33 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37] (may be forged)) 
	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 WAA06383
	for <linux@cthulhu.engr.sgi.com>; Thu, 29 Jul 1999 22:30:33 -0700 (PDT)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.3/8.9.3) with ESMTP id VAA07521;
	Thu, 29 Jul 1999 21:18:03 -0700
Message-ID: <37A137F7.91B5AC4A@cobaltnet.com>
Date: Thu, 29 Jul 1999 22:28:23 -0700
From: Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Ralf Baechle <ralf@uni-koblenz.de>, linux@cthulhu.engr.sgi.com
Subject: Re: an ld problem? - possibly fixed..
References: <379FBBFE.FB8C1734@cobaltnet.com> <19990729153427.E4730@uni-koblenz.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Transfer-Encoding: 7bit
Content-Length: 897
Lines: 21

Ralf Baechle wrote:

> just in case if you manage to fix this one please drop me a note.

I'm calling in for help on the solution now.

The problem occurs when a segment is found that is not a known name, libbfd
abort()s in mips_elf_relocate_section().  In the case of the egcs libstdc++
link the segments in question are : ".dtors" and ".gcc_except_table".  I assume
since .dtors is trouble, so will .ctors be.

If I add .dtors and .gcc_except_table to mips_elf_dynsym_sec_names[] in
${binutils_src_path}/bfd/elf32-mips.c and rebuild libbfd - ld no longer gets an
abort() when compiling the file in question.  I'm pretty sure this is NOT the
right solution.  There is also a table of sections in
${binutils_src_path}/bfd/syms.c.  What is the "right" solution, and what other
sections can exist that bfd doesn't know about?

Someone with a bit more experience inside libbfd - please help? :)

Tim

From owner-linux@cthulhu.engr.sgi.com  Fri Jul 30 23:28:58 1999
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id XAA01389
	for <pstadt@stud.fh-heilbronn.de>; Fri, 30 Jul 1999 23:28:56 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id OAA24475; Fri, 30 Jul 1999 14:24:36 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id OAA33602
	for linux-list;
	Fri, 30 Jul 1999 14:19:04 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id OAA85008
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 30 Jul 1999 14:19:00 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.64.1]) 
	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 OAA09343
	for <linux@cthulhu.engr.sgi.com>; Fri, 30 Jul 1999 14:18:56 -0700 (PDT)
	mail_from (ralf@lappi.waldorf-gmbh.de)
Received: from lappi.waldorf-gmbh.de (cacc-22.uni-koblenz.de [141.26.131.22])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id XAA21474
	for <linux@cthulhu.engr.sgi.com>; Fri, 30 Jul 1999 23:18:43 +0200 (MET DST)
Received: (from ralf@localhost)
	by lappi.waldorf-gmbh.de (8.9.3/8.9.3) id XAA20214;
	Fri, 30 Jul 1999 23:01:27 +0200
Date: Fri, 30 Jul 1999 23:01:27 +0200
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Tim Hockin <thockin@cobaltnet.com>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: an ld problem? - possibly fixed..
Message-ID: <19990730230127.J12249@uni-koblenz.de>
References: <379FBBFE.FB8C1734@cobaltnet.com> <19990729153427.E4730@uni-koblenz.de> <37A137F7.91B5AC4A@cobaltnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <37A137F7.91B5AC4A@cobaltnet.com>; from Tim Hockin on Thu, Jul 29, 1999 at 10:28:23PM -0700
X-Accept-Language: de,en,fr
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Content-Length: 1635
Lines: 34

On Thu, Jul 29, 1999 at 10:28:23PM -0700, Tim Hockin wrote:

> Ralf Baechle wrote:
> 
> > just in case if you manage to fix this one please drop me a note.
> 
> I'm calling in for help on the solution now.
> 
> The problem occurs when a segment is found that is not a known name, libbfd
> abort()s in mips_elf_relocate_section().  In the case of the egcs libstdc++
> link the segments in question are : ".dtors" and ".gcc_except_table".  I assume
> since .dtors is trouble, so will .ctors be.
> 
> If I add .dtors and .gcc_except_table to mips_elf_dynsym_sec_names[] in
> ${binutils_src_path}/bfd/elf32-mips.c and rebuild libbfd - ld no longer gets an
> abort() when compiling the file in question.  I'm pretty sure this is NOT the
> right solution.  There is also a table of sections in
> ${binutils_src_path}/bfd/syms.c.  What is the "right" solution, and what other
> sections can exist that bfd doesn't know about?
> 
> Someone with a bit more experience inside libbfd - please help? :)

I think that already having a list of section names for that purpose is
an error.  Current libbfd doesn't rely on it anymore.  Guess it's time
to bite the bullet and try to rebuild the entire system just using
binutils-current from Cygnus CVS.  Binutils, born to be fixed ...

There is another bug in libbfd where section->owner is NULL which makes
the linker do the segv boogy.  It's being trigger by the linker options
``-lm -lieee'' when linking arbitrary code using the native linker.  I
didn't research that case further because I got detracted into GDB
debugging when GDB started crashing while I was investigating that case ...

  Ralf

From owner-linux@cthulhu.engr.sgi.com  Wed Jul 21 05:27:34 1999
Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22])
	by lara.stud.fh-heilbronn.de (8.9.1a/8.9.1) with ESMTP id FAA21231
	for <pstadt@stud.fh-heilbronn.de>; Wed, 21 Jul 1999 05:27:33 +0200
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id UAA6567317; Tue, 20 Jul 1999 20:26:15 -0700 (PDT)
	mail_from (owner-linux@cthulhu.engr.sgi.com)
Received: (from majordomo-owner@localhost)
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	id UAA60997
	for linux-list;
	Tue, 20 Jul 1999 20:22:37 -0700 (PDT)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id UAA86877
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 20 Jul 1999 20:22:36 -0700 (PDT)
	mail_from (inarts@bdg.centrin.net.id)
Received: from bdg.centrin.net.id (bdg.centrin.net.id [202.146.253.3]) 
	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 UAA04955
	for <linux@cthulhu.engr.sgi.com>; Tue, 20 Jul 1999 20:22:31 -0700 (PDT)
	mail_from (inarts@bdg.centrin.net.id)
Received: from provokator ([202.146.253.150]) by bdg.centrin.net.id
          (Netscape Mail Server v1.1) with SMTP id AAA3984
          for <linux@cthulhu.engr.sgi.com>; Wed, 21 Jul 1999 10:22:18 +0700
Message-ID: <002001bdb491$5305f980$96fd92ca@provokator>
Reply-To: "InartS Multimedia" <inarts@bdg.centrin.net.id>
From: "InartS Multimedia" <inarts@bdg.centrin.net.id>
To: <linux@cthulhu.engr.sgi.com>
Subject: Linux for IRIS
Date: Tue, 21 Jul 1998 10:18:11 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0019_01BDB490.DD8F7AA0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.207
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.207
Sender: owner-linux@cthulhu.engr.sgi.com
Precedence: bulk
Status: RO
Content-Length: 1557
Lines: 46

This is a multi-part message in MIME format.

------=_NextPart_000_0019_01BDB490.DD8F7AA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello, all
I just join this mailing list. Can somebody help me with this question?
I have a Personal Iris 4D SGI operates in IRIX 4.5. Will it be possible =
for me to change it into Linux for MIPS Operating System? or I have to =
install both OS (Linux & IRIX)? Anybody ever try this before?

Thanks

Aris Maryadi

------=_NextPart_000_0019_01BDB490.DD8F7AA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.207" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello, all</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I just join this mailing list. =
Can&nbsp;somebody=20
help me with this question?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have a Personal Iris 4D SGI operates =
in IRIX 4.5.=20
Will it be possible for me to change it into Linux for MIPS Operating =
System? or=20
I have to install both OS (Linux &amp; IRIX)? Anybody ever try this=20
before?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Aris Maryadi</FONT></DIV></BODY></HTML>

------=_NextPart_000_0019_01BDB490.DD8F7AA0--

