From owner-linuxmips@oss.sgi.com Wed Dec  1 15:33:19 1999
Received:  by oss.sgi.com id <S305160AbPLAXdK>;
	Wed, 1 Dec 1999 15:33:10 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:16171 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305156AbPLAXcv>;
	Wed, 1 Dec 1999 15:32:51 -0800
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 PAA09304; Wed, 1 Dec 1999 15:39:16 -0800 (PST)
	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 PAA81500
	for linux-list;
	Wed, 1 Dec 1999 15:25:30 -0800 (PST)
	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 PAA35886
	for <linux@engr.sgi.com>;
	Wed, 1 Dec 1999 15:25:27 -0800 (PST)
	mail_from (labibk@taec.toshiba.com)
Received: from godzilla.taec.com (godzilla.taec.com [204.162.152.130]) 
	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 PAA02233
	for <linux@engr.sgi.com>; Wed, 1 Dec 1999 15:24:22 -0800 (PST)
	mail_from (labibk@taec.toshiba.com)
Received: from mailhost.taec.com ([204.162.153.33]) by godzilla.taec.com
          via smtpd (for mx-engr.sgi.com [192.48.153.25]) with SMTP; 1 Dec 1999 23:21:31 UT
Received: from mailint.taec.com (mailint [204.162.153.34])
	by mailhost.taec.com (8.8.8+Sun/8.8.8) with ESMTP id PAA23511
	for <linux@engr.sgi.com>; Wed, 1 Dec 1999 15:22:13 -0800 (PST)
Received: from stafford.taec.com (stafford [209.243.133.46])
	by mailint.taec.com (8.8.8+Sun/8.8.8) with ESMTP id PAA20799;
	Wed, 1 Dec 1999 15:21:57 -0800 (PST)
Received: (from labibk@localhost)
	by stafford.taec.com (8.8.8+Sun/8.8.8) id PAA14951;
	Wed, 1 Dec 1999 15:20:27 -0800 (PST)
Date:   Wed, 1 Dec 1999 15:20:27 -0800 (PST)
From:   Khaled Labib <labibk@taec.toshiba.com>
Message-Id: <199912012320.PAA14951@stafford.taec.com>
To:     linux@cthulhu.engr.sgi.com
Subject: Problems with glibc RPM
Cc:     labibk@taec.toshiba.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: Wi6X4KO2IgfhQW6sd1m3og==
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 401
Lines: 21

Hi,

I downloaded glibc-2.0.6-4.src.rpm and glibc-2.0.6-3.src.rpm from 
ftp.linux.sgi.com.

When I tried to use the rpm tool to install them, I got the following error 
message:

unpacking of archive failed on file glibc-2.0.6.tar.gz: cpio: read failed - 
Success


Can someone help ? I really need these sources from the rpm.

I am using RedHat Linux 6.0 on a PC.

Thank you for your help.



Khaled

From owner-linuxmips@oss.sgi.com Wed Dec  1 16:17:39 1999
Received:  by oss.sgi.com id <S305160AbPLBARa>;
	Wed, 1 Dec 1999 16:17:30 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:14132 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305156AbPLBARD>;
	Wed, 1 Dec 1999 16:17:03 -0800
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 QAA17690; Wed, 1 Dec 1999 16:18:23 -0800 (PST)
	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 QAA27471
	for linux-list;
	Wed, 1 Dec 1999 16:00:56 -0800 (PST)
	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 QAA77007
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 1 Dec 1999 16:00:23 -0800 (PST)
	mail_from (thockin@cobaltnet.com)
Received: from mail.cobaltnet.com (firewall.cobaltmicro.com [209.133.34.37]) 
	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 QAA04132
	for <linux@cthulhu.engr.sgi.com>; Wed, 1 Dec 1999 16:00:22 -0800 (PST)
	mail_from (thockin@cobaltnet.com)
Received: from cobaltnet.com (freakshow.cobaltnet.com [10.9.24.15])
	by mail.cobaltnet.com (8.9.2/8.9.2) with ESMTP id QAA30619;
	Wed, 1 Dec 1999 16:00:20 -0800 (PST)
Message-ID: <3845B67C.4720FD2F@cobaltnet.com>
Date:   Wed, 01 Dec 1999 15:59:56 -0800
From:   Tim Hockin <thockin@cobaltnet.com>
Organization: Cobalt Networks
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.9 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     Khaled Labib <labibk@taec.toshiba.com>, linux@cthulhu.engr.sgi.com
Subject: Re: Problems with glibc RPM
References: <199912012320.PAA14951@stafford.taec.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 458
Lines: 23

Khaled Labib wrote:
 
> unpacking of archive failed on file glibc-2.0.6.tar.gz: cpio: read failed -
> Success
> 
> Can someone help ? I really need these sources from the rpm.
> 
> I am using RedHat Linux 6.0 on a PC.
> 
> Thank you for your help.
> 
> Khaled

might you have a) run out of disk space?  b) retrieved teh file in ASCII
(as opposed to BIN) mode?

I'd guess 'a'

-- 
Tim Hockin
Software Engineer / OS Engineer
Cobalt Networks
thockin@cobalt.com

From owner-linuxmips@oss.sgi.com Thu Dec  2 00:19:09 1999
Received:  by oss.sgi.com id <S305160AbPLBITA>;
	Thu, 2 Dec 1999 00:19:00 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:59412 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305156AbPLBISm>; Thu, 2 Dec 1999 00:18:42 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id AAA05767; Thu, 2 Dec 1999 00:27:09 -0800 (PST)
	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 AAA72293
	for linux-list;
	Thu, 2 Dec 1999 00:15:01 -0800 (PST)
	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 AAA78841
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 2 Dec 1999 00:14:27 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 AAA09010
	for <linux@cthulhu.engr.sgi.com>; Thu, 2 Dec 1999 00:14:26 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id AAA07534;
	Thu, 2 Dec 1999 00:14:25 -0800 (PST)
Received: from satanas (lyon-fw1-serial [194.51.122.30])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id AAA04806;
	Thu, 2 Dec 1999 00:13:27 -0800 (PST)
Message-ID: <000e01bf3c9e$99711e90$0228a8c0@satanas>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Khaled Labib" <labibk@taec.toshiba.com>,
        <linux@cthulhu.engr.sgi.com>
Cc:     <labibk@taec.toshiba.com>
Subject: Re: Problems with glibc RPM
Date:   Thu, 2 Dec 1999 09:23:09 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 932
Lines: 33

>
>I downloaded glibc-2.0.6-4.src.rpm and glibc-2.0.6-3.src.rpm from 
>ftp.linux.sgi.com.
>
>When I tried to use the rpm tool to install them, I got the following error 
>message:
>
>unpacking of archive failed on file glibc-2.0.6.tar.gz: cpio: read failed - 
>Success
>
>
>Can someone help ? I really need these sources from the rpm.
>
>I am using RedHat Linux 6.0 on a PC.


I believe there are some interoperatbility problems between
Red Hat 5.2 and 6.0 rpm programs.   When I did a port of
mipsel linux to a MIPS development board, I started by
booting the RH 6.0 mipsel root file system, with the 6.0
rpm program, and found that I could not reliably install
the 5.2 gcc/glibc binary RPMs on the SGI server.  I
backed off to a 5.2 level root file system and rpm program,
and the problems went away.

__

Kevin D. Kissell
MIPS Technologies European Architecture Lab
kevink@mips.com
Tel. +33.4.78.38.70.67
FAX. +33.4.78.38.70.68


From owner-linuxmips@oss.sgi.com Thu Dec  2 07:23:30 1999
Received:  by oss.sgi.com id <S305160AbPLBPXV>;
	Thu, 2 Dec 1999 07:23:21 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:6257 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305156AbPLBPXG>;
	Thu, 2 Dec 1999 07:23:06 -0800
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 HAA20715; Thu, 2 Dec 1999 07:25:50 -0800 (PST)
	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 HAA44921
	for linux-list;
	Thu, 2 Dec 1999 07:09:25 -0800 (PST)
	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 HAA62047
	for <linux@engr.sgi.com>;
	Thu, 2 Dec 1999 07:09:20 -0800 (PST)
	mail_from (paul.jakma@compaq.com)
Received: from mailext02.compaq.com (mailext02.compaq.com [207.18.199.33]) 
	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 HAA01331
	for <linux@engr.sgi.com>; Thu, 2 Dec 1999 07:09:16 -0800 (PST)
	mail_from (paul.jakma@compaq.com)
Received: by mailext02.compaq.com (Postfix, from userid 12345)
	id 28A219A97F; Thu,  2 Dec 1999 09:09:12 -0600 (CST)
Received: from mailint12.im.hou.compaq.com (mailint12.compaq.com [207.18.199.190])
	by mailext02.compaq.com (Postfix) with ESMTP id 23AC390D83
	for <linux@engr.sgi.com>; Thu,  2 Dec 1999 09:09:12 -0600 (CST)
Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345)
	id 9A3D54FB01; Thu,  2 Dec 1999 09:09:05 -0600 (CST)
Received: from excreo-gh01.reo.dec.com (unknown [16.41.128.40])
	by mailint12.im.hou.compaq.com (Postfix) with ESMTP id 2ED154C90F
	for <linux@engr.sgi.com>; Thu,  2 Dec 1999 09:09:05 -0600 (CST)
Received: by EXCREO-GH01 with Internet Mail Service (5.5.2559.0)
	id <YCWFF4WP>; Thu, 2 Dec 1999 15:09:10 -0000
Message-ID: <15AD5D7936F8D21198240000F831776E3E7F70@dboexc1.dbo.cpqcorp.net>
From:   "Jakma, Paul" <Paul.Jakma@compaq.com>
To:     "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: Indy ISDN on linux?
Date:   Thu, 2 Dec 1999 15:06:26 -0000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2559.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 312
Lines: 12

Hi,

I was wondering if the onboard Indy ISDN is supported by linux? I'm
considering turning my indy into a linux dial-up isdn, masq, firewall box.

If not supported is anyone considering working on it? and what kind of
hardware is it? (Doc's/references/pointers appreciated)

regards,

Paul Jakma
paul@clubi.ie

From owner-linuxmips@oss.sgi.com Fri Dec  3 05:00:08 1999
Received:  by oss.sgi.com id <S305160AbPLCM76>;
	Fri, 3 Dec 1999 04:59:58 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:16200 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305156AbPLCM7s>;
	Fri, 3 Dec 1999 04:59:48 -0800
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 FAA08013; Fri, 3 Dec 1999 05:06:46 -0800 (PST)
	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 EAA70219
	for linux-list;
	Fri, 3 Dec 1999 04:52:04 -0800 (PST)
	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 EAA28755
	for <linux@engr.sgi.com>;
	Fri, 3 Dec 1999 04:52:00 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 EAA07849
	for <linux@engr.sgi.com>; Fri, 3 Dec 1999 04:51:54 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLCMre>;
	Fri, 3 Dec 1999 10:47:34 -0200
Date:   Fri, 3 Dec 1999 10:47:33 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     SeungHoon Jung <shjung@sysmail.sec.samsung.co.kr>
Cc:     linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr
Subject: Re: linux/mips cross compiling error
Message-ID: <19991203104733.A982@uni-koblenz.de>
References: <004701bf3bd6$65af2340$8501fb0a@seunghoon>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <004701bf3bd6$65af2340$8501fb0a@seunghoon>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 788
Lines: 20

On Wed, Dec 01, 1999 at 05:30:55PM +0900, SeungHoon Jung wrote:

> I'm Seunghoon Jung. I'm currently working on mips based emdedded linux
> system.  In the porting process, we are helped very much by your
> linux/MIPS howto document.  Thank you very much for your efforts.
> 
> We use cross-compilers and binutils from ftp.linux.sgi.com.
> And we successfully made linux 2.2.12 kernel.
> 
> After making kernel, we are trying to make glibc and mips applications.
> 
> We are following your steps with glibc-2.1.2.

This is a genuine linker bug which is rather difficult to fix.  Also the
MIPS support for glib 2.1 isn't complete, somebody is working on it.

(Due to size constraints glibc 2.1 is a bad choice for most MIPS systems
anyway; the recommendation is to use glibc 2.0.)

  Ralf

From owner-linuxmips@oss.sgi.com Fri Dec  3 05:00:18 1999
Received:  by oss.sgi.com id <S305156AbPLCNAJ>;
	Fri, 3 Dec 1999 05:00:09 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:16456 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305157AbPLCM7t>;
	Fri, 3 Dec 1999 04:59:49 -0800
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 FAA06548; Fri, 3 Dec 1999 05:06:50 -0800 (PST)
	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 EAA44699
	for linux-list;
	Fri, 3 Dec 1999 04:55:10 -0800 (PST)
	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 EAA87336
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 3 Dec 1999 04:55:06 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 EAA00696
	for <linux@cthulhu.engr.sgi.com>; Fri, 3 Dec 1999 04:54:47 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLCMup>;
	Fri, 3 Dec 1999 10:50:45 -0200
Date:   Fri, 3 Dec 1999 10:50:45 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc:     Marc Esipovich <marc@mucom.co.il>, e1097757@ceng.metu.edu.tr,
        linux@cthulhu.engr.sgi.com
Subject: Re: EXT2 fs error
Message-ID: <19991203105045.B982@uni-koblenz.de>
References: <Pine.LNX.4.10.9911291959150.2898-100000@moose.roadkill.com> <E11stJm-0007Bd-00@the-village.bc.nu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <E11stJm-0007Bd-00@the-village.bc.nu>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1006
Lines: 22

On Tue, Nov 30, 1999 at 07:52:04PM +0000, Alan Cox wrote:

> If there is a scsi error before the ext2fs error then yes probably so
> You are looking for a "media error" probably.
> 
> > > 	SCSI bus is being reset for 0 channel 0.
> > > 	scsi0 reset. sending SDTR
> > 
> > SCSI reset is due to repeated attempts to read a block, or I might be
> > wrong and it it's due to a malfunction of the controller on your HD.
> 
> You can get it off some working sane hardware if you try and ask for stupid
> block numbers. It is worth doing a full fsck on the drive before assuming
> hardware. Also check the cabling seems sound and is well attached and that
> parity is enabled on the controller if the bios sets it.

I've seen this happening on my Indy as well like once every month or even
more rarely.  It only happens very rarely but it happens.  I think the
hardware of my Indy is fine as all my attempts to reduce the problems I'm
experiencing during my development to a hardware problem have failed.

  Ralf

From owner-linuxmips@oss.sgi.com Fri Dec  3 05:10:48 1999
Received:  by oss.sgi.com id <S305157AbPLCNKi>;
	Fri, 3 Dec 1999 05:10:38 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:50250 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305156AbPLCNKW>;
	Fri, 3 Dec 1999 05:10:22 -0800
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 FAA22340; Fri, 3 Dec 1999 05:13:10 -0800 (PST)
	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 FAA50308
	for linux-list;
	Fri, 3 Dec 1999 05:01:11 -0800 (PST)
	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 FAA88909
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 3 Dec 1999 05:01:10 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 FAA03739
	for <linux@cthulhu.engr.sgi.com>; Fri, 3 Dec 1999 05:01:04 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLCM5F>;
	Fri, 3 Dec 1999 10:57:05 -0200
Date:   Fri, 3 Dec 1999 10:57:05 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Jakma, Paul" <Paul.Jakma@compaq.com>
Cc:     "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: Re: Indy ISDN on linux?
Message-ID: <19991203105705.D982@uni-koblenz.de>
References: <15AD5D7936F8D21198240000F831776E3E7F70@dboexc1.dbo.cpqcorp.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <15AD5D7936F8D21198240000F831776E3E7F70@dboexc1.dbo.cpqcorp.net>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 531
Lines: 13

On Thu, Dec 02, 1999 at 03:06:26PM -0000, Jakma, Paul wrote:

> I was wondering if the onboard Indy ISDN is supported by linux? I'm
> considering turning my indy into a linux dial-up isdn, masq, firewall box.
> 
> If not supported is anyone considering working on it? and what kind of
> hardware is it? (Doc's/references/pointers appreciated)

Thomas Bogendörfer has implemented the full ISDN support for the IP22.  The
bad news is that his job keeps him to busy to add some finishing touches
and contribute the code back.

  Ralf

From owner-linuxmips@oss.sgi.com Fri Dec  3 05:51:38 1999
Received:  by oss.sgi.com id <S305157AbPLCNvS>;
	Fri, 3 Dec 1999 05:51:18 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:20760 "EHLO convert rfc822-to-8bit
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305156AbPLCNu7>; Fri, 3 Dec 1999 05:50:59 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id FAA01074; Fri, 3 Dec 1999 05:59:34 -0800 (PST)
	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 FAA95408
	for linux-list;
	Fri, 3 Dec 1999 05:46:17 -0800 (PST)
	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 FAA62760
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 3 Dec 1999 05:46:13 -0800 (PST)
	mail_from (paul.jakma@compaq.com)
Received: from mailext12.compaq.com (mailext12.compaq.com [207.18.199.188]) 
	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 FAA09773
	for <linux@cthulhu.engr.sgi.com>; Fri, 3 Dec 1999 05:46:10 -0800 (PST)
	mail_from (paul.jakma@compaq.com)
Received: by mailext12.compaq.com (Postfix, from userid 12345)
	id 8F53857993; Fri,  3 Dec 1999 07:46:02 -0600 (CST)
Received: from mailint12.im.hou.compaq.com (mailint12.compaq.com [207.18.199.190])
	by mailext12.compaq.com (Postfix) with ESMTP
	id 8A71954601; Fri,  3 Dec 1999 07:46:02 -0600 (CST)
Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345)
	id 1226B4FB02; Fri,  3 Dec 1999 07:45:56 -0600 (CST)
Received: from excreo-gh01.reo.dec.com (unknown [16.41.128.40])
	by mailint12.im.hou.compaq.com (Postfix) with ESMTP
	id 7D92A4C90D; Fri,  3 Dec 1999 07:45:55 -0600 (CST)
Received: by EXCREO-GH01 with Internet Mail Service (5.5.2559.0)
	id <YCWFGJY5>; Fri, 3 Dec 1999 13:46:00 -0000
Message-ID: <15AD5D7936F8D21198240000F831776E3E7F78@dboexc1.dbo.cpqcorp.net>
From:   "Jakma, Paul" <Paul.Jakma@compaq.com>
To:     "'Ralf Baechle'" <ralf@oss.sgi.com>
Cc:     "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: RE: Indy ISDN on linux?
Date:   Fri, 3 Dec 1999 13:43:11 -0000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2559.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8BIT
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 363
Lines: 20


> Thomas Bogendörfer has implemented the full ISDN support for 
> the IP22.  The
> bad news is that his job keeps him to busy to add some 
> finishing touches
> and contribute the code back.
> 
>   Ralf
> 

Great..

I assume his work will be rolled into isdn4linux? Would anyone know of a
timeframe?

ta,

Paul Jakma.

(hoping to avoid having to buy an ISDN TA)

From owner-linuxmips@oss.sgi.com Fri Dec  3 07:37:28 1999
Received:  by oss.sgi.com id <S305157AbPLCPhT>;
	Fri, 3 Dec 1999 07:37:19 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:40223 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305156AbPLCPhD>; Fri, 3 Dec 1999 07:37:03 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id HAA00517; Fri, 3 Dec 1999 07:45:38 -0800 (PST)
	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 HAA13960
	for linux-list;
	Fri, 3 Dec 1999 07:26:20 -0800 (PST)
	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 HAA21799
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 3 Dec 1999 07:26:13 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 HAA00596
	for <linux@cthulhu.engr.sgi.com>; Fri, 3 Dec 1999 07:26:12 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id HAA07327;
	Fri, 3 Dec 1999 07:26:10 -0800 (PST)
Received: from thinkpad (par-c45-008-vty229.as.wcom.net [195.232.72.229])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id HAA16008;
	Fri, 3 Dec 1999 07:25:49 -0800 (PST)
Message-ID: <000c01bf3da2$dab2a400$e548e8c3@thinkpad>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>,
        "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc:     "Marc Esipovich" <marc@mucom.co.il>, <e1097757@ceng.metu.edu.tr>,
        <linux@cthulhu.engr.sgi.com>
Subject: Re: EXT2 fs error
Date:   Fri, 3 Dec 1999 16:26:42 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1609
Lines: 40

>On Tue, Nov 30, 1999 at 07:52:04PM +0000, Alan Cox wrote:
>
>> If there is a scsi error before the ext2fs error then yes probably so
>> You are looking for a "media error" probably.
>>
>> > > SCSI bus is being reset for 0 channel 0.
>> > > scsi0 reset. sending SDTR
>> >
>> > SCSI reset is due to repeated attempts to read a block, or I might be
>> > wrong and it it's due to a malfunction of the controller on your HD.
>>
>> You can get it off some working sane hardware if you try and ask for
stupid
>> block numbers. It is worth doing a full fsck on the drive before assuming
>> hardware. Also check the cabling seems sound and is well attached and
that
>> parity is enabled on the controller if the bios sets it.
>
>I've seen this happening on my Indy as well like once every month or even
>more rarely.  It only happens very rarely but it happens.  I think the
>hardware of my Indy is fine as all my attempts to reduce the problems I'm
>experiencing during my development to a hardware problem have failed.
>
>  Ralf

By any chance are you guys seeing this on R5000 Indys?
There is an assumption in arch/mips/mm/r4xx0.c that
flushing the secondary cache automagically flushes
the same address in the primary data cache, but that
assumption is not universally valid and there is no
reason to believe that it is true on the R5K.   This
could cause periodic random corruptions of DMA
transfers, which could in turn manifest themselves
as corrupted files or file system meta-data.  The
R4000/R4400SC systems, and the entry-level
Indy's without secondary caches should not be
at risk.

            Kevin K.


From owner-linuxmips@oss.sgi.com Fri Dec  3 08:45:28 1999
Received:  by oss.sgi.com id <S305157AbPLCQpJ>;
	Fri, 3 Dec 1999 08:45:09 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:40 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305156AbPLCQom>; Fri, 3 Dec 1999 08:44:42 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id IAA02429; Fri, 3 Dec 1999 08:53:17 -0800 (PST)
	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 IAA45015
	for linux-list;
	Fri, 3 Dec 1999 08:39:45 -0800 (PST)
	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 IAA88087
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 3 Dec 1999 08:39:38 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 IAA01339
	for <linux@cthulhu.engr.sgi.com>; Fri, 3 Dec 1999 08:39:26 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLCQiZ>;
	Fri, 3 Dec 1999 14:38:25 -0200
Date:   Fri, 3 Dec 1999 14:38:25 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Alan Cox <alan@lxorguk.ukuu.org.uk>,
        Marc Esipovich <marc@mucom.co.il>, e1097757@ceng.metu.edu.tr,
        linux@cthulhu.engr.sgi.com
Subject: Re: EXT2 fs error
Message-ID: <19991203143825.M982@uni-koblenz.de>
References: <000c01bf3da2$dab2a400$e548e8c3@thinkpad>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <000c01bf3da2$dab2a400$e548e8c3@thinkpad>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1017
Lines: 23

On Fri, Dec 03, 1999 at 04:26:42PM +0100, Kevin D. Kissell wrote:

> >I've seen this happening on my Indy as well like once every month or even
> >more rarely.  It only happens very rarely but it happens.  I think the
> >hardware of my Indy is fine as all my attempts to reduce the problems I'm
> >experiencing during my development to a hardware problem have failed.

> By any chance are you guys seeing this on R5000 Indys?

Yes.

> There is an assumption in arch/mips/mm/r4xx0.c that flushing the secondary
> cache automagically flushes the same address in the primary data cache,
> but that assumption is not universally valid and there is no reason to
> believe that it is true on the R5K.

We make this assumption for R[04]00[SM]C CPUs only.  For R5000SC CPU modules
as in the Indy the assumption is that we don't need to flush the l2 caches
unless we do a DMA operation in which case the special r4k_dma_*
functions will take care of the whatever might be necessary to keep caches
consistent with DMA.

  Ralf

From owner-linuxmips@oss.sgi.com Fri Dec  3 19:32:53 1999
Received:  by oss.sgi.com id <S305157AbPLDDco>;
	Fri, 3 Dec 1999 19:32:44 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:4677 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305156AbPLDDcb>;
	Fri, 3 Dec 1999 19:32:31 -0800
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 TAA02149; Fri, 3 Dec 1999 19:39:35 -0800 (PST)
	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 TAA96566
	for linux-list;
	Fri, 3 Dec 1999 19:20:26 -0800 (PST)
	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 TAA47497
	for <linux@cthulhu.engr.sgi.com>;
	Fri, 3 Dec 1999 19:20:22 -0800 (PST)
	mail_from (fpound@fallschurch.esys.com)
Received: from igate1.fallschurch.esys.com (igate1.fallschurch.esys.com [198.4.96.17]) 
	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 TAA03160
	for <linux@cthulhu.engr.sgi.com>; Fri, 3 Dec 1999 19:20:20 -0800 (PST)
	mail_from (fpound@fallschurch.esys.com)
Received: by igate1.fallschurch.esys.com; id WAA25761; Fri, 3 Dec 1999 22:19:24 -0500 (EST)
Received: from unknown(199.170.244.43) by igate1.fallschurch.esys.com via smap (4.1)
	id xma025757; Fri, 3 Dec 99 22:19:11 -0500
Received: from mailhub.fcd.esys.com (mailhub.fcd.esys.com [199.170.224.9])
	by igate5.fcd.esys.com (8.9.3/8.9.3) with ESMTP id WAA16897;
	Fri, 3 Dec 1999 22:16:21 -0500 (EST)
Received: from crackle.ssw.fcd.esys.com (crackle.ssw.fcd.esys.com [192.53.95.21])
	by mailhub.fcd.esys.com (8.9.3/8.9.3) with ESMTP id WAA21757;
	Fri, 3 Dec 1999 22:16:56 -0500 (EST)
Received: from fallschurch.esys.com (ws237091.fcd.esys.com [199.170.237.91])
	by crackle.ssw.fcd.esys.com (8.9.0/8.9.0) with ESMTP id WAA20674;
	Fri, 3 Dec 1999 22:15:29 -0500 (EST)
Message-ID: <38488746.A0BCB469@fallschurch.esys.com>
Date:   Fri, 03 Dec 1999 22:15:18 -0500
From:   "Frank B. Pound" <fpound@fallschurch.esys.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@uni-koblenz.de>
CC:     Radim Gelner <radim.gelner@siemens.at>,
        SGI Linux Mailing List <linux@cthulhu.engr.sgi.com>
Subject: Re: RM200, off topic?
References: <Pine.LNX.4.21.9911251121250.146-100000@pc8343.gud.siemens.at> <199911291650.IAA21521@liveoak.engr.sgi.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 6871
Lines: 161

I have a friend at Siemens who may be able to help you with this.

Here are some of his suggestions.  Good Luck,  I'd like to see Linux on
MIPS succeed.

Thanks,



>         drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
> drivers/net/net.a \
>         arch/mips/lib/lib.a /usr/src/kernel-source-2.2.1/lib/lib.a
> arch/mips/lib/lib.a \
>         --end-group \
>         -o vmlinux
> arch/mips/kernel/head.o: In function `except_vec3_r4000':
> head.S(.text+0x580): undefined reference to `vced_count'
> head.S(.text+0x584): undefined reference to `vced_count'
> head.S(.text+0x58c): undefined reference to `vced_count'
> head.S(.text+0x59c): undefined reference to `vcei_count'
> head.S(.text+0x5a0): undefined reference to `vcei_count'
> head.S(.text+0x5a8): undefined reference to `vcei_count'

Looks like this kernel's bottom-half doesn't support being compiled with
the options he selected. Chances are he should start with the kernels
used
on Cobalt machines. 2.0.3x and start from there. 

FWIW, this is complaining because an exception handler doesn't have an
associated count variable (used for things like /proc/interrupts). Since
the interrupt stubs are mechanically generated, you just need to declare
teh varable to make it happy (you don't need to use it).

In irq.c, add:

int  vced_count = 0;

In addition, he should contact Siemens directly as they are beginning to
support Linux to a degree. 

> arch/mips/kernel/head.o: In function `kernel_entry':
> head.S(.text+0x604): undefined reference to `prom_init'
> head.S(.text+0x604): relocation truncated to fit: R_MIPS_26 prom_init
> arch/mips/mm/mm.o: In function `free_initmem':
> init.c(.text+0x5f0): undefined reference to `prom_free_prom_memory'
> init.c(.text+0x5f0): relocation truncated to fit: R_MIPS_26
> prom_free_prom_memory
> arch/mips/mm/mm.o: In function `get_pte_kernel_slow':
> init.c(.text.init+0x138): undefined reference to `prom_fixup_mem_map'
> init.c(.text.init+0x138): relocation truncated to fit: R_MIPS_26
> prom_fixup_mem_map
> make: *** [vmlinux] Error 1

I don't have anything like that (I don't have the patched kernel -- nor
do
I have -- or like the MIPS processor); but it looks like your make files
just need some havking to compile the MIPS prom interface code in.

Most MIPS-based computers, SGI and RM included, use variations on the
ROM
provided by MIPS. This is the interface to that. Chances aren, it isn't
being compiled/or linked properly.
 
> I'm willing to learn to hack the RM specific code and to try to do lot
> of
> things by myself, but right now, I'm not even able to compile the
> kernel!

I respect this. Not that I work on the RM division or anything.





Ralf Baechle wrote:
> 
> On Thu, Nov 25, 1999 at 11:30:52AM +0100, Radim Gelner wrote:
> 
> > I've read in SGI/howto that this is list for SGI based computers, so
> > sorry about this quite off-topic letter, but I'm really desperate.
> >
> > I'm very interested in setting up Linux on SNI RM200. I have RM200 in my
> > office and I want to see Linux running on it, but my knowledge about this
> > subject is quite limited. I have no one to learn from. I mean there are
> > lot of peoples in mailing lists who are willing to help me, but nobody
> > owns this particular hardware, so the hints I get are quite general. Is
> > out there someone who is able to provide me some information on Linux on
> > RMs? Or on someone who does this?
> >
> > I've hopefully compiled both binutils and egcs for cross-devel, now I'm
> > ready for kernel. I've tried mips patched 2.2.1 found on
> > decstation.unix-ag.org but althought it's said to support RMs, I'm unable
> > to get over rm200-pci part of compilation. If I disable the support for
> > RM200 PCI, which is nonsense, but just to see what is going on, I get
> > various linker errors:
> >
> > make[1]: Leaving directory `/usr/src/kernel-source-2.2.1/arch/mips/tools'
> > mipsel-linux-ld -static -G 0 -T arch/mips/ld.script.little
> > arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o
> > init/version.o \
> >         --start-group \
> >         arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
> > mm/mm.o fs/fs.o ipc/ipc.o \
> >         fs/filesystems.a \
> >         net/network.a \
> >         drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
> > drivers/net/net.a \
> >         arch/mips/lib/lib.a /usr/src/kernel-source-2.2.1/lib/lib.a
> > arch/mips/lib/lib.a \
> >         --end-group \
> >         -o vmlinux
> > arch/mips/kernel/head.o: In function `except_vec3_r4000':
> > head.S(.text+0x580): undefined reference to `vced_count'
> > head.S(.text+0x584): undefined reference to `vced_count'
> > head.S(.text+0x58c): undefined reference to `vced_count'
> > head.S(.text+0x59c): undefined reference to `vcei_count'
> > head.S(.text+0x5a0): undefined reference to `vcei_count'
> > head.S(.text+0x5a8): undefined reference to `vcei_count'
> 
> This is a minor braino in proc.c.  Just enable procfs support and recompile.
> 
> > arch/mips/kernel/head.o: In function `kernel_entry':
> > head.S(.text+0x604): undefined reference to `prom_init'
> > head.S(.text+0x604): relocation truncated to fit: R_MIPS_26 prom_init
> > arch/mips/mm/mm.o: In function `free_initmem':
> > init.c(.text+0x5f0): undefined reference to `prom_free_prom_memory'
> > init.c(.text+0x5f0): relocation truncated to fit: R_MIPS_26
> > prom_free_prom_memory
> > arch/mips/mm/mm.o: In function `get_pte_kernel_slow':
> > init.c(.text.init+0x138): undefined reference to `prom_fixup_mem_map'
> > init.c(.text.init+0x138): relocation truncated to fit: R_MIPS_26
> > prom_fixup_mem_map
> > make: *** [vmlinux] Error 1
> 
> > I'm willing to learn to hack the RM specific code and to try to do lot of
> > things by myself, but right now, I'm not even able to compile the kernel!
> 
> Sorry for not answering your emails earlier, I've been busy with hacking
> the MIPS64 code.  The RM200 support got broken by the changes to the ARC
> code above and a minor procfs dumbne
> 
> Fixing would actually be easy ... IF SNI's firmware wouldn't use the
> freedom granted by the ARC spec and ignore the load address of every
> executable.  As it seems every executable gets loaded to the load address
> plus 8 bytes.  The simplest fix it looks like would be to write some
> relocatable code directly at the start of the kernel binary which moves
> everything around to the right place.
> 
> The other SNI bug which I've reported some time ago to this list, the
> interrupt system dying seems to be fixed.  It is caused by an interupt
> hardware foobar.  SNI pointed out a workaround and that one seems to
> be stable in 2.1.131 for me, I've done my entire Linux/MIPS64 work using
> the RM200 as the console for my Origin.
> 
> More later ...
> 
>   Ralf

-- 
_______________________________________________________________
Frank B. Pound

From owner-linuxmips@oss.sgi.com Mon Dec  6 02:40:08 1999
Received:  by oss.sgi.com id <S305166AbPLFKjs>;
	Mon, 6 Dec 1999 02:39:48 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:21260 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFKjO>;
	Mon, 6 Dec 1999 02:39:14 -0800
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 CAA23460; Mon, 6 Dec 1999 02:42:16 -0800 (PST)
	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 CAA60294
	for linux-list;
	Mon, 6 Dec 1999 02:33:45 -0800 (PST)
	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 CAA52385
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 02:33:42 -0800 (PST)
	mail_from (marc@mucom.co.il)
Received: from MaX.ibm.net.il (MaX.IbM.NeT.iL [192.115.72.170]) 
	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 CAA02904
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 02:33:40 -0800 (PST)
	mail_from (marc@mucom.co.il)
Received: from host13.mucom.co.il (IDENT:marc@host13.mucom.co.il [192.115.216.45])
	by MaX.ibm.net.il (8.9.3/8.9.1) with ESMTP id MAA13000;
	Mon, 6 Dec 1999 12:33:24 +0200
Date:   Sun, 5 Dec 1999 12:34:01 +0200 (IST)
From:   Marc Esipovich <marc@mucom.co.il>
X-Sender: marc@moose.roadkill.com
To:     "Kevin D. Kissell" <kevink@mips.com>
cc:     Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
In-Reply-To: <004c01bf3fd0$68336790$0ceca8c0@satanas.mips.com>
Message-ID: <Pine.LNX.4.10.9912051232300.20350-100000@moose.roadkill.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 390
Lines: 15

Hello,

	How about R10000 on O2 ? are you working on that aswell?
	Do you have or know where to get documentation of O2's hardware,
	I've opened mine up, the only thing I was able to recognize were
	two Adaptec 7880P controllers (if I recall the model number
	correctly),  could you point me to some place which has docs?

	Thanks,
		Marc Esipovich.

--
root is only a few clicks away...



From owner-linuxmips@oss.sgi.com Sun Dec  5 10:43:43 1999
Received:  by oss.sgi.com id <S305159AbPLESnX>;
	Sun, 5 Dec 1999 10:43:23 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:61453 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305158AbPLESnF>; Sun, 5 Dec 1999 10:43:05 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id KAA04284; Sun, 5 Dec 1999 10:51:52 -0800 (PST)
	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 KAA60151
	for linux-list;
	Sun, 5 Dec 1999 10:35:56 -0800 (PST)
	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 KAA62553
	for <linux@cthulhu.engr.sgi.com>;
	Sun, 5 Dec 1999 10:35:50 -0800 (PST)
	mail_from (sgi.com!rachael.franken.de!hub-fue!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 KAA01195
	for <linux@cthulhu.engr.sgi.com>; Sun, 5 Dec 1999 10:35:48 -0800 (PST)
	mail_from (rachael.franken.de!hub-fue!tsbogend)
Received: from hub-fue by rachael.franken.de
	via rmail with uucp
	id <m11ugVa-0027chC@rachael.franken.de>
	for cthulhu.engr.sgi.com!linux; Sun, 5 Dec 1999 19:35:42 +0100 (MET)
	(Smail-3.2 1996-Jul-4 #4 built DST-Sep-8)
Received: by hub-fue.franken.de (Smail3.1.29.1 #35)
	id m11ugVX-002OkjC; Sun, 5 Dec 99 19:35 MET
Date:   Sun, 5 Dec 1999 19:35:39 +0100
From:   Thomas Bogendoerfer <tsbogend@hub-fue.franken.de>
To:     "Jakma, Paul" <Paul.Jakma@compaq.com>
Cc:     "'Ralf Baechle'" <ralf@oss.sgi.com>,
        "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: Re: Indy ISDN on linux?
Message-ID: <19991205193539.B6564@hub-fue.franken.de>
Reply-To: tsbogend@alpha.franken.de
References: <15AD5D7936F8D21198240000F831776E3E7F78@dboexc1.dbo.cpqcorp.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.95.5us
In-Reply-To: <15AD5D7936F8D21198240000F831776E3E7F78@dboexc1.dbo.cpqcorp.net>; from Jakma, Paul on Fri, Dec 03, 1999 at 01:43:11PM -0000
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1001
Lines: 23

On Fri, Dec 03, 1999 at 01:43:11PM -0000, Jakma, Paul wrote:
> > Thomas Bogendörfer has implemented the full ISDN support for 
> > the IP22.  The bad news is that his job keeps him to busy to add some 
> > finishing touches and contribute the code back.

thanks Ralf for answering.

> I assume his work will be rolled into isdn4linux? Would anyone know of a
> timeframe?

my plan is to integrate my changes into isdn4linux. My current patches
are based on an older isdn4linux version, so I have figure out, what I
need to update and see how a clean integration will be possible (the
Indy ISDN hardware is based on the "normal" Siemens ISDN chips, which could
be found on many cheap ISDN cards. But unlike PC boards it uses two interrupts
instead of one, which makes integration a little bit hairy).

At the moment I don´t have a clue, when I'll find time to even bring up 
my Linux Indy kernel to the current version. I could generate a diff file,
if you want to see, what needs to be done.

Thomas.


From owner-linuxmips@oss.sgi.com Mon Dec  6 02:05:48 1999
Received:  by oss.sgi.com id <S305166AbPLFKF2>;
	Mon, 6 Dec 1999 02:05:28 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:36357 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFKFF>;
	Mon, 6 Dec 1999 02:05:05 -0800
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 CAA21317; Mon, 6 Dec 1999 02:08:05 -0800 (PST)
	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 BAA69184
	for linux-list;
	Mon, 6 Dec 1999 01:48:26 -0800 (PST)
	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 BAA69850
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 01:48:21 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 BAA00981
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 01:48:20 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id BAA03614
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 01:48:18 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id BAA26302
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 01:48:16 -0800 (PST)
Message-ID: <004c01bf3fd0$68336790$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Linux SGI" <linux@cthulhu.engr.sgi.com>
Subject: Question for David Miller or anyone else about R6000 code
Date:   Mon, 6 Dec 1999 10:58:10 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1467
Lines: 46

I tried sending this to David Miller at his SGI email
address, just in case it would work.  Of course, it
didn't.  David, if you are reading this mailing list,
I'd appreciate your comments.  And anyone else
having knowledge should feel free to respond as
well!

David:

I don't know that you are still at SGI - indeed, with
all the changes in recent months, I would be a bit
surprised if you were - but this is the last email
address I have for you.

I'm working on cleaning up and enhancing the
MIPS/Linux code to support the new families
of CPUs coming out of MIPS Technologies Inc.
In doing so, I've come across and fixed a number
of bugs, most of which I've also passed back to
Ralf Baechle for integration with the moving
target at linux.sgi.com.   But I came across 
something this morning that, while not a problem
for us, puzzles me.   In arch/mips/mm/r6000.c,
which has your name on it, there is a compiler
directive to use MIPS III instructions, and the
resulting code does indeed end up containing
64-bit (daddiu, etc.) instructions.   I've never
actually programmed an R6000, but all of the
information I have on that processor indicates
that it is a MIPS II, 32-bit design, and that those
instructions should therefore cause exceptions.

Am I mistaken, or is that directive a bug?

            Regards,

            Kevin K.
__

Kevin D. Kissell
MIPS Technologies European Architecture Lab
kevink@mips.com
Tel. +33.4.78.38.70.67
FAX. +33.4.78.38.70.68



From owner-linuxmips@oss.sgi.com Mon Dec  6 03:18:38 1999
Received:  by oss.sgi.com id <S305166AbPLFLS3>;
	Mon, 6 Dec 1999 03:18:29 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:56642 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305158AbPLFLSE>;
	Mon, 6 Dec 1999 03:18:04 -0800
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 DAA08952; Mon, 6 Dec 1999 03:25:20 -0800 (PST)
	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 DAA96135
	for linux-list;
	Mon, 6 Dec 1999 03:12:06 -0800 (PST)
	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 DAA57096
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 03:12:03 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 DAA07766
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 03:12:00 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFLIu>;
	Mon, 6 Dec 1999 09:08:50 -0200
Date:   Mon, 6 Dec 1999 09:08:50 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     tsbogend@alpha.franken.de
Cc:     "Jakma, Paul" <Paul.Jakma@compaq.com>,
        "'Ralf Baechle'" <ralf@oss.sgi.com>,
        "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: Re: Indy ISDN on linux?
Message-ID: <19991206090850.A765@uni-koblenz.de>
References: <15AD5D7936F8D21198240000F831776E3E7F78@dboexc1.dbo.cpqcorp.net> <19991205193539.B6564@hub-fue.franken.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <19991205193539.B6564@hub-fue.franken.de>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1094
Lines: 23

On Sun, Dec 05, 1999 at 07:35:39PM +0100, Thomas Bogendoerfer wrote:

> > I assume his work will be rolled into isdn4linux? Would anyone know of a
> > timeframe?
> 
> my plan is to integrate my changes into isdn4linux. My current patches
> are based on an older isdn4linux version, so I have figure out, what I
> need to update and see how a clean integration will be possible (the
> Indy ISDN hardware is based on the "normal" Siemens ISDN chips, which could
> be found on many cheap ISDN cards. But unlike PC boards it uses two interrupts
> instead of one, which makes integration a little bit hairy).
> 
> At the moment I don´t have a clue, when I'll find time to even bring up 
> my Linux Indy kernel to the current version. I could generate a diff file,
> if you want to see, what needs to be done.

I won't be able to do this as I only have POTS, not ISDN at home and anyway
the other works that I have to do is going slower than expected :-(

Could the two ISDN interrupts be just combined into a single one thereby
hiding the Indy special features completly from the ISDN code?

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 03:36:38 1999
Received:  by oss.sgi.com id <S305158AbPLFLgS>;
	Mon, 6 Dec 1999 03:36:18 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:38682 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305166AbPLFLft>;
	Mon, 6 Dec 1999 03:35:49 -0800
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 DAA27528; Mon, 6 Dec 1999 03:38:50 -0800 (PST)
	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 DAA51262
	for linux-list;
	Mon, 6 Dec 1999 03:31:15 -0800 (PST)
	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 DAA25646
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 03:31:13 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 DAA07236
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 03:31:09 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFL2a>;
	Mon, 6 Dec 1999 09:28:30 -0200
Date:   Mon, 6 Dec 1999 09:28:30 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
Message-ID: <19991206092830.C765@uni-koblenz.de>
References: <004c01bf3fd0$68336790$0ceca8c0@satanas.mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <004c01bf3fd0$68336790$0ceca8c0@satanas.mips.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1279
Lines: 29

On Mon, Dec 06, 1999 at 10:58:10AM +0100, Kevin D. Kissell wrote:

> I'm working on cleaning up and enhancing the
> MIPS/Linux code to support the new families
> of CPUs coming out of MIPS Technologies Inc.
> In doing so, I've come across and fixed a number
> of bugs, most of which I've also passed back to
> Ralf Baechle for integration with the moving
> target at linux.sgi.com.   But I came across 
> something this morning that, while not a problem
> for us, puzzles me.   In arch/mips/mm/r6000.c,
> which has your name on it, there is a compiler
> directive to use MIPS III instructions, and the
> resulting code does indeed end up containing
> 64-bit (daddiu, etc.) instructions.   I've never
> actually programmed an R6000, but all of the
> information I have on that processor indicates
> that it is a MIPS II, 32-bit design, and that those
> instructions should therefore cause exceptions.
> 
> Am I mistaken, or is that directive a bug?

It obviously is.  The R6000 code isn't supposed to work and given that
currently none of the Linux/MIPS hackers has a) R6000 documentation and
b) an R6000 machine an R6000 port ever happening is highly unprobable.
As the result of this I think I'm going to just burry the R6000 support
and while I'm at it also the R8000.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 03:36:08 1999
Received:  by oss.sgi.com id <S305167AbPLFLf6>;
	Mon, 6 Dec 1999 03:35:58 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:34842 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFLfk>;
	Mon, 6 Dec 1999 03:35:40 -0800
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 DAA27514; Mon, 6 Dec 1999 03:38:41 -0800 (PST)
	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 DAA29394
	for linux-list;
	Mon, 6 Dec 1999 03:31:26 -0800 (PST)
	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 DAA86507
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 03:31:23 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 DAA00348
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 03:31:22 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id DAA05094;
	Mon, 6 Dec 1999 03:31:21 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id DAA28053;
	Mon, 6 Dec 1999 03:31:19 -0800 (PST)
Message-ID: <006801bf3fde$cd110ec0$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Marc Esipovich" <marc@mucom.co.il>
Cc:     "Linux SGI" <linux@cthulhu.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
Date:   Mon, 6 Dec 1999 12:41:08 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1556
Lines: 46

The R10000/R12000 programs are still within SGI,
and are not supported directly by MIPS Technologies
Inc.   The MIPS/Linux kernel today does not support
the R10000 (there's a panic("CPU too expensive");
somewhere if the Processor ID for R10K is detected),
but the CPU should not be at all difficult to support in
the kernel - it was a design constraint of the R10K
that it run the same Windows NT kernel as the
R4400, so the CP0 is a pretty strict superset of 
the R4K.   The hard part of an R10K/O2 port would
be more in the drivers than in the CPU support.
The O2 went for a high-bandwidth "unified memory
architecture" design which has very little resemblence
to any other Linux platform of which I am aware.
I've seen references on this and other mailing lists
to people working on getting Linux onto the O2.
Hopefully, they will respond.

            Regards,

            Kevin K.

-----Original Message-----
From: Marc Esipovich <marc@mucom.co.il>
To: Kevin D. Kissell <kevink@mips.com>
Cc: Linux SGI <linux@cthulhu.engr.sgi.com>
Date: Monday, December 06, 1999 11:33 AM
Subject: Re: Question for David Miller or anyone else about R6000 code


>Hello,
>
> How about R10000 on O2 ? are you working on that aswell?
> Do you have or know where to get documentation of O2's hardware,
> I've opened mine up, the only thing I was able to recognize were
> two Adaptec 7880P controllers (if I recall the model number
> correctly),  could you point me to some place which has docs?
>
> Thanks,
> Marc Esipovich.
>
>--
>root is only a few clicks away...
>
>


From owner-linuxmips@oss.sgi.com Mon Dec  6 04:13:08 1999
Received:  by oss.sgi.com id <S305166AbPLFMM6>;
	Mon, 6 Dec 1999 04:12:58 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:26146 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFMMg>;
	Mon, 6 Dec 1999 04:12:36 -0800
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 EAA29628; Mon, 6 Dec 1999 04:15:37 -0800 (PST)
	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 EAA20062
	for linux-list;
	Mon, 6 Dec 1999 04:09:33 -0800 (PST)
	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 EAA64921
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 04:09:30 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 EAA07367
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 04:09:26 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFMJA>;
	Mon, 6 Dec 1999 10:09:00 -0200
Date:   Mon, 6 Dec 1999 10:09:00 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Marc Esipovich <marc@mucom.co.il>,
        Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
Message-ID: <19991206100900.F765@uni-koblenz.de>
References: <006801bf3fde$cd110ec0$0ceca8c0@satanas.mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <006801bf3fde$cd110ec0$0ceca8c0@satanas.mips.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 502
Lines: 13

On Mon, Dec 06, 1999 at 12:41:08PM +0100, Kevin D. Kissell wrote:

> The R10000/R12000 programs are still within SGI,
> and are not supported directly by MIPS Technologies
> Inc.   The MIPS/Linux kernel today does not support
> the R10000 (there's a panic("CPU too expensive");
> somewhere if the Processor ID for R10K is detected),

MIPS64 has R10k support.  I didn't even try to fix it for MIPS32 because
that kernel only supports upto 512mb memory.  And as you say it was
easy to implement.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 04:39:37 1999
Received:  by oss.sgi.com id <S305167AbPLFMj2>;
	Mon, 6 Dec 1999 04:39:28 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:38190 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305158AbPLFMjN>; Mon, 6 Dec 1999 04:39:13 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id EAA02466; Mon, 6 Dec 1999 04:48:05 -0800 (PST)
	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 EAA66481
	for linux-list;
	Mon, 6 Dec 1999 04:36:52 -0800 (PST)
	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 EAA85103
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 04:36:50 -0800 (PST)
	mail_from (sgi.com!rachael.franken.de!hub-fue!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 EAA01726
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 04:36:48 -0800 (PST)
	mail_from (rachael.franken.de!hub-fue!tsbogend)
Received: from hub-fue by rachael.franken.de
	via rmail with uucp
	id <m11uxNg-0027VFC@rachael.franken.de>
	for cthulhu.engr.sgi.com!linux; Mon, 6 Dec 1999 13:36:40 +0100 (MET)
	(Smail-3.2 1996-Jul-4 #4 built DST-Sep-8)
Received: by hub-fue.franken.de (Smail3.1.29.1 #35)
	id m11uxNb-002Ol3C; Mon, 6 Dec 99 13:36 MET
Date:   Mon, 6 Dec 1999 13:36:35 +0100
From:   Thomas Bogendoerfer <tsbogend@hub-fue.franken.de>
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     tsbogend@alpha.franken.de, "Jakma, Paul" <Paul.Jakma@compaq.com>,
        "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: Re: Indy ISDN on linux?
Message-ID: <19991206133635.A2697@hub-fue.franken.de>
Reply-To: tsbogend@alpha.franken.de
References: <15AD5D7936F8D21198240000F831776E3E7F78@dboexc1.dbo.cpqcorp.net> <19991205193539.B6564@hub-fue.franken.de> <19991206090850.A765@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.5us
In-Reply-To: <19991206090850.A765@uni-koblenz.de>; from Ralf Baechle on Mon, Dec 06, 1999 at 09:08:50AM -0200
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 563
Lines: 12

On Mon, Dec 06, 1999 at 09:08:50AM -0200, Ralf Baechle wrote:
> Could the two ISDN interrupts be just combined into a single one thereby
> hiding the Indy special features completly from the ISDN code?

sure, but I don't think this kludge will be necessary. Since all of the PC
boards differ from each other, there is already a custom setup routine
which deals with these differences. I'm already using it, but I still
needed to change common code. I've already talked to Karsten Keil
(isdn4linux Maintainer) about that issue, and I'm sure is solvable.

Thomas.


From owner-linuxmips@oss.sgi.com Mon Dec  6 04:39:29 1999
Received:  by oss.sgi.com id <S305166AbPLFMjJ>;
	Mon, 6 Dec 1999 04:39:09 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:25134 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305158AbPLFMij>; Mon, 6 Dec 1999 04:38:39 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id EAA09686; Mon, 6 Dec 1999 04:47:30 -0800 (PST)
	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 EAA06953
	for linux-list;
	Mon, 6 Dec 1999 04:35:15 -0800 (PST)
	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 EAA87520
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 04:35:12 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 EAA07174
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 04:35:10 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id EAA06016
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 04:35:07 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id EAA29032
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 04:35:06 -0800 (PST)
Message-ID: <008301bf3fe7$b5fbb330$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Linux SGI" <linux@cthulhu.engr.sgi.com>
Subject: Nomenclature: "MIPS32", "MIPS64"
Date:   Mon, 6 Dec 1999 13:44:55 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1190
Lines: 37

I note that various people involved in this effort
refer to the 32-bit version of the MIPS/Linux
port as "MIPS32" and the 64-bit version as
"MIPS64".   Thus far, I have not observed those
strings making it into the source repositories,
but before they do, there's something I must
point out.

"MIPS32" and "MIPS64" have a very specific
meaning now, and for all I know are already
trademarked/brandmarked/whatever by
MIPS Technologies Inc. to describe the new
baseline ISA and privileged resource architecture
(CP0, in other words) standards for 32-bit
and 64-bit MIPS devices.   It's no big deal
for informal discussion, but *please* do not
use the strings "MIPS32" or "MIPS64" in the
code or documentation unless you are really
and truly referring to MIPS32 and MIPS64
as defined by MIPS.   If you want to refer to
the 64-bit versus 32-bit Linux ports, please
express it otherwise, e.g. MIPS64bit,
MIPS_64_bit, 64bitMIPS, etc.   Otherwise
there is going to be a lot of needless confusion
and a further source schism.

            Regards,

            Kevin K.
__

Kevin D. Kissell
MIPS Technologies European Architecture Lab
kevink@mips.com
Tel. +33.4.78.38.70.67
FAX. +33.4.78.38.70.68


From owner-linuxmips@oss.sgi.com Mon Dec  6 05:01:28 1999
Received:  by oss.sgi.com id <S305166AbPLFNBI>;
	Mon, 6 Dec 1999 05:01:08 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:24662 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305158AbPLFNAt>;
	Mon, 6 Dec 1999 05:00:49 -0800
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 FAA04545; Mon, 6 Dec 1999 05:08:05 -0800 (PST)
	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 FAA64257
	for linux-list;
	Mon, 6 Dec 1999 05:00:02 -0800 (PST)
	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 EAA79314
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 04:59:59 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 EAA01456
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 04:59:53 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFM72>;
	Mon, 6 Dec 1999 10:59:28 -0200
Date:   Mon, 6 Dec 1999 10:59:28 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Nomenclature: "MIPS32", "MIPS64"
Message-ID: <19991206105928.I765@uni-koblenz.de>
References: <008301bf3fe7$b5fbb330$0ceca8c0@satanas.mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <008301bf3fe7$b5fbb330$0ceca8c0@satanas.mips.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1058
Lines: 25

On Mon, Dec 06, 1999 at 01:44:55PM +0100, Kevin D. Kissell wrote:

> "MIPS32" and "MIPS64" have a very specific
> meaning now, and for all I know are already
> trademarked/brandmarked/whatever by
> MIPS Technologies Inc. to describe the new
> baseline ISA and privileged resource architecture
> (CP0, in other words) standards for 32-bit
> and 64-bit MIPS devices.   It's no big deal
> for informal discussion, but *please* do not
> use the strings "MIPS32" or "MIPS64" in the
> code or documentation unless you are really
> and truly referring to MIPS32 and MIPS64
> as defined by MIPS.   If you want to refer to
> the 64-bit versus 32-bit Linux ports, please
> express it otherwise, e.g. MIPS64bit,
> MIPS_64_bit, 64bitMIPS, etc.   Otherwise
> there is going to be a lot of needless confusion
> and a further source schism.

The use of these terms is pretty coherent with their meaning as given by
Mips, Inc.  Linux/MIPS32 is a implementation of Linux (mostly) for MIPS32
processors, Linux/MIPS64 for MIPS64 processors, so I don't see the problem.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 05:22:28 1999
Received:  by oss.sgi.com id <S305166AbPLFNWS>;
	Mon, 6 Dec 1999 05:22:18 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:13358 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFNWC>;
	Mon, 6 Dec 1999 05:22:02 -0800
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 FAA03550; Mon, 6 Dec 1999 05:25:04 -0800 (PST)
	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 FAA17968
	for linux-list;
	Mon, 6 Dec 1999 05:19:21 -0800 (PST)
	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 FAA70363
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 05:19:16 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 FAA00356
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 05:19:16 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id FAA06665;
	Mon, 6 Dec 1999 05:19:14 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id FAA29747;
	Mon, 6 Dec 1999 05:19:12 -0800 (PST)
Message-ID: <00a201bf3fed$df8c82f0$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>
Cc:     "Linux SGI" <linux@cthulhu.engr.sgi.com>
Subject: Re: Nomenclature: "MIPS32", "MIPS64"
Date:   Mon, 6 Dec 1999 14:29:06 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1825
Lines: 38

>On Mon, Dec 06, 1999 at 01:44:55PM +0100, Kevin D. Kissell wrote:
>
>> "MIPS32" and "MIPS64" have a very specific
>> meaning now, and for all I know are already
>> trademarked/brandmarked/whatever by
>> MIPS Technologies Inc. to describe the new
>> baseline ISA and privileged resource architecture
>> (CP0, in other words) standards for 32-bit
>> and 64-bit MIPS devices.   It's no big deal
>> for informal discussion, but *please* do not
>> use the strings "MIPS32" or "MIPS64" in the
>> code or documentation unless you are really
>> and truly referring to MIPS32 and MIPS64
>> as defined by MIPS.   If you want to refer to
>> the 64-bit versus 32-bit Linux ports, please
>> express it otherwise, e.g. MIPS64bit,
>> MIPS_64_bit, 64bitMIPS, etc.   Otherwise
>> there is going to be a lot of needless confusion
>> and a further source schism.
>
>The use of these terms is pretty coherent with their meaning as given by
>Mips, Inc.  Linux/MIPS32 is a implementation of Linux (mostly) for MIPS32
>processors, Linux/MIPS64 for MIPS64 processors, so I don't see the problem.
>
>  Ralf

The problems are twofold.  First, while it is of course possible to create
a kernel that will run on both MIPS64 and pre-MIPS64 MIPS-III and
MIPS-IV CPUs, it is also possible to create a MIPS64 kernel that
would not necessarily run on R10000s and vice versa.  Secondly,
we are referring to two distinct things that ought to be distinguished
at the source and documentation level.   We need a name for something 
that is 64-bit-MIPS but not necessarily tied up with any particular CPU 
and a distinct name for something that is compatible with a particular 
CPU type.  "MIPS32" and "MIPS64" are already trademarked
by MIPS to describe the CPUs, so we need another name for the 
generic OS infrastructure for 64-bit MIPS registers/addresses.


From owner-linuxmips@oss.sgi.com Mon Dec  6 05:40:58 1999
Received:  by oss.sgi.com id <S305166AbPLFNki>;
	Mon, 6 Dec 1999 05:40:38 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:36700 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305158AbPLFNkR>;
	Mon, 6 Dec 1999 05:40:17 -0800
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 FAA07158; Mon, 6 Dec 1999 05:47:33 -0800 (PST)
	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 FAA64097
	for linux-list;
	Mon, 6 Dec 1999 05:36:42 -0800 (PST)
	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 FAA36604
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 05:36:38 -0800 (PST)
	mail_from (alan@lxorguk.ukuu.org.uk)
Received: from the-village.bc.nu (lightning.swansea.uk.linux.org [194.168.151.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 FAA08271
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 05:36:34 -0800 (PST)
	mail_from (alan@lxorguk.ukuu.org.uk)
Received: from alan by the-village.bc.nu with local (Exim 2.12 #1)
	id 11uyJ2-0006Eb-00; Mon, 6 Dec 1999 13:35:56 +0000
Subject: Re: Nomenclature: "MIPS32", "MIPS64"
To:     kevink@mips.com (Kevin D. Kissell)
Date:   Mon, 6 Dec 1999 13:35:54 +0000 (GMT)
Cc:     ralf@oss.sgi.com, linux@cthulhu.engr.sgi.com
In-Reply-To: <00a201bf3fed$df8c82f0$0ceca8c0@satanas.mips.com> from "Kevin D. Kissell" at Dec 6, 99 02:29:06 pm
Content-Type: text
Message-Id: <E11uyJ2-0006Eb-00@the-village.bc.nu>
From:   Alan Cox <alan@lxorguk.ukuu.org.uk>
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1359
Lines: 24

> The problems are twofold.  First, while it is of course possible to create
> a kernel that will run on both MIPS64 and pre-MIPS64 MIPS-III and
> MIPS-IV CPUs, it is also possible to create a MIPS64 kernel that
> would not necessarily run on R10000s and vice versa.  Secondly,
> we are referring to two distinct things that ought to be distinguished
> at the source and documentation level.   We need a name for something 
> that is 64-bit-MIPS but not necessarily tied up with any particular CPU 
> and a distinct name for something that is compatible with a particular 
> CPU type.  "MIPS32" and "MIPS64" are already trademarked
> by MIPS to describe the CPUs, so we need another name for the 
> generic OS infrastructure for 64-bit MIPS registers/addresses.

I would suggest that until someone from MIPS legal specifically raises an issue
you don't worry about it. With the sparc people they were quite happy with
Linux/sparc - which denotes Linux for sparc systems (they objected to 
sparclinux as that implied it was their product). In fact given the "/" is
'for' then I don't think there is even a valid trademark issue to be raised.

Its also not in MIPS interest to cause trouble. Its a product for their
system. If they started being silly then everyones lawyers would be advising
them to pull their "xyz product for mips" as a legal precaution.




From owner-linuxmips@oss.sgi.com Mon Dec  6 06:23:18 1999
Received:  by oss.sgi.com id <S305166AbPLFOW6>;
	Mon, 6 Dec 1999 06:22:58 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:18020 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305158AbPLFOWe>;
	Mon, 6 Dec 1999 06:22:34 -0800
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 GAA03511; Mon, 6 Dec 1999 06:29:50 -0800 (PST)
	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 GAA19391
	for linux-list;
	Mon, 6 Dec 1999 06:20:12 -0800 (PST)
	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 GAA88803
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 06:20:09 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 GAA00295
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 06:20:00 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFOTK>;
	Mon, 6 Dec 1999 12:19:10 -0200
Date:   Mon, 6 Dec 1999 12:19:10 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc:     "Kevin D. Kissell" <kevink@mips.com>, ralf@oss.sgi.com,
        linux@cthulhu.engr.sgi.com
Subject: Re: Nomenclature: "MIPS32", "MIPS64"
Message-ID: <19991206121910.L765@uni-koblenz.de>
References: <00a201bf3fed$df8c82f0$0ceca8c0@satanas.mips.com> <E11uyJ2-0006Eb-00@the-village.bc.nu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <E11uyJ2-0006Eb-00@the-village.bc.nu>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 793
Lines: 16

On Mon, Dec 06, 1999 at 01:35:54PM +0000, Alan Cox wrote:

> I would suggest that until someone from MIPS legal specifically raises an issue
> you don't worry about it. With the sparc people they were quite happy with
> Linux/sparc - which denotes Linux for sparc systems (they objected to 
> sparclinux as that implied it was their product). In fact given the "/" is
> 'for' then I don't think there is even a valid trademark issue to be raised.
> 
> Its also not in MIPS interest to cause trouble. Its a product for their
> system. If they started being silly then everyones lawyers would be advising
> them to pull their "xyz product for mips" as a legal precaution.

I wouldn't expect MIPS to create any legal problems for anybody; you should
consider this no more than an advice.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 07:26:18 1999
Received:  by oss.sgi.com id <S305166AbPLFPZ6>;
	Mon, 6 Dec 1999 07:25:58 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:45898 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFPZd>;
	Mon, 6 Dec 1999 07:25:33 -0800
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 HAA13565; Mon, 6 Dec 1999 07:28:35 -0800 (PST)
	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 HAA40793
	for linux-list;
	Mon, 6 Dec 1999 07:21:40 -0800 (PST)
	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 HAA44463
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 07:21:30 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 HAA06193
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 07:21:29 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id HAA08366;
	Mon, 6 Dec 1999 07:21:27 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id HAA01699;
	Mon, 6 Dec 1999 07:21:25 -0800 (PST)
Message-ID: <00b501bf3ffe$f25a9910$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>,
        "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc:     <ralf@oss.sgi.com>, <linux@cthulhu.engr.sgi.com>
Subject: Re: Nomenclature: "MIPS32", "MIPS64"
Date:   Mon, 6 Dec 1999 16:31:13 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1090
Lines: 26

>On Mon, Dec 06, 1999 at 01:35:54PM +0000, Alan Cox wrote:
>
>> I would suggest that until someone from MIPS legal specifically raises an
issue
>> you don't worry about it. With the sparc people they were quite happy with
>> Linux/sparc - which denotes Linux for sparc systems (they objected to
>> sparclinux as that implied it was their product). In fact given the "/" is
>> 'for' then I don't think there is even a valid trademark issue to be raised.
>>
>> Its also not in MIPS interest to cause trouble. Its a product for their
>> system. If they started being silly then everyones lawyers would be advising
>> them to pull their "xyz product for mips" as a legal precaution.
>
>I wouldn't expect MIPS to create any legal problems for anybody; you should
>consider this no more than an advice.
>
>  Ralf

Exactly.  The point is that there are two different concepts to be represented
in the kernel for which we risk having a name collision, and that the
registration
of the trademark provides an argument somewhat stronger than a coin toss
for resolving it one way and not the other.




From owner-linuxmips@oss.sgi.com Mon Dec  6 07:59:18 1999
Received:  by oss.sgi.com id <S305166AbPLFP66>;
	Mon, 6 Dec 1999 07:58:58 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:15424 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305158AbPLFP6m>; Mon, 6 Dec 1999 07:58:42 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id IAA09239; Mon, 6 Dec 1999 08:07:35 -0800 (PST)
	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 HAA00751
	for linux-list;
	Mon, 6 Dec 1999 07:52:25 -0800 (PST)
	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 HAA46668
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 07:52:21 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 HAA08011
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 07:52:16 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id HAA08825
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 07:52:14 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id HAA02360
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 07:52:13 -0800 (PST)
Message-ID: <00b901bf4003$3f583c50$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Linux SGI" <linux@cthulhu.engr.sgi.com>
Subject: Kernel Semaphores
Date:   Mon, 6 Dec 1999 17:02:06 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1762
Lines: 47

This is for Ralf and any other MIPS/Linux kernel
hackers who may be on the list.

Some time ago, I fixed the assembler macros
for waking_non_zero_interruptable and down_trylock
to be correct(ish) for MIPSEL and MIPSEB, but
there remained the issue of their requiring the use
of 64-bit instructions to work - they "cheat" by using
the same ll/sc pair to update both the count and the
waking field of the semaphore.

To make it work on 32-bit CPUs, I looked at using
the x386 model, but that one uses interrupt disables
and is intrinsically SMP-unsafe.  Now, looking at 
the comments and studying the code a bit,
it *seems* that the issue is not so much a race
condition between updates of the waking and
count fields, but a race with other functions that
may be updating the waking field.   CAN ANYONE
CONFIRM OR DENY THAT?

If it's true, it looks to me that by inventing one
new primitive in atomic.h, atomic_sub_and_return_if_gtz(),
one can:

    a) Eliminate the need for an assembly macro dedicated
        to waking_non_zero, which maps directly to the new macro.
    b) Make it possible to do waking_non_zero_interruptible in
        C, as all the examinations/updates of sem->waking can
        be made atomic
    c) Likewise simplify down_trylock() and
    d) Make waking_non_zero_trylock() SMP safe.

I've coded this up for experimentation, and will provide
the sources (at least relative to 2.2.12) to any interested
parties, but I'd really like someone who has worked
intimately with the kernel semaphores to tell me if
there really are races between updates of sem->waking
and sem->count, and if they exist, what they are!
__

Kevin D. Kissell
MIPS Technologies European Architecture Lab
kevink@mips.com
Tel. +33.4.78.38.70.67
FAX. +33.4.78.38.70.68


From owner-linuxmips@oss.sgi.com Mon Dec  6 09:47:18 1999
Received:  by oss.sgi.com id <S305167AbPLFRrJ>;
	Mon, 6 Dec 1999 09:47:09 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:35958 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFRqs>;
	Mon, 6 Dec 1999 09:46:48 -0800
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 JAA00768; Mon, 6 Dec 1999 09:49:51 -0800 (PST)
	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 JAA82809
	for linux-list;
	Mon, 6 Dec 1999 09:43:06 -0800 (PST)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from liveoak.engr.sgi.com (liveoak.engr.sgi.com [150.166.40.92])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id JAA02147;
	Mon, 6 Dec 1999 09:42:46 -0800 (PST)
	mail_from (wje@liveoak.engr.sgi.com)
Received: (from wje@localhost)
	by liveoak.engr.sgi.com (8.9.3/8.8.7) id JAA27220;
	Mon, 6 Dec 1999 09:42:41 -0800
X-Authentication-Warning: liveoak.engr.sgi.com: wje set sender to wje@liveoak.engr.sgi.com using -f
From:   "William J. Earl" <wje@cthulhu.engr.sgi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14411.62865.239197.617852@liveoak.engr.sgi.com>
Date:   Mon, 6 Dec 1999 09:42:41 -0800 (PST)
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     tsbogend@alpha.franken.de, "Jakma, Paul" <Paul.Jakma@compaq.com>,
        "'linux@engr.sgi.com'" <linux@cthulhu.engr.sgi.com>
Subject: Re: Indy ISDN on linux?
In-Reply-To: <19991206090850.A765@uni-koblenz.de>
References: <15AD5D7936F8D21198240000F831776E3E7F78@dboexc1.dbo.cpqcorp.net>
	<19991205193539.B6564@hub-fue.franken.de>
	<19991206090850.A765@uni-koblenz.de>
X-Mailer: VM 6.74 under Emacs 20.3.1
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 284
Lines: 7

Ralf Baechle writes:
...
 > Could the two ISDN interrupts be just combined into a single one thereby
 > hiding the Indy special features completly from the ISDN code?

     That ought to be possible, at the very least by tieing the enable
and disable of the ISDN interrupts together.

From owner-linuxmips@oss.sgi.com Mon Dec  6 11:28:15 1999
Received:  by oss.sgi.com id <S305166AbPLFT1z>;
	Mon, 6 Dec 1999 11:27:55 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:29531 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305158AbPLFT1u>; Mon, 6 Dec 1999 11:27:50 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA03370; Mon, 6 Dec 1999 11:36:38 -0800 (PST)
	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 LAA71434
	for linux-list;
	Mon, 6 Dec 1999 11:25:02 -0800 (PST)
	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 LAA71214
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 11:24:59 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 LAA08484
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 11:18:50 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFTIc>;
	Mon, 6 Dec 1999 17:08:32 -0200
Date:   Mon, 6 Dec 1999 17:08:32 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Kernel Semaphores
Message-ID: <19991206170831.A15350@uni-koblenz.de>
References: <00b901bf4003$3f583c50$0ceca8c0@satanas.mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <00b901bf4003$3f583c50$0ceca8c0@satanas.mips.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 922
Lines: 23

On Mon, Dec 06, 1999 at 05:02:06PM +0100, Kevin D. Kissell wrote:

> Some time ago, I fixed the assembler macros
> for waking_non_zero_interruptable and down_trylock
> to be correct(ish) for MIPSEL and MIPSEB, but
> there remained the issue of their requiring the use
> of 64-bit instructions to work - they "cheat" by using
> the same ll/sc pair to update both the count and the
> waking field of the semaphore.

Btw, we have two variants for all the semaphore code as you know.  We
can eleminate the little endian variant by just swapping the order of
the two atomic_t members in struct semaphore which will eleminate the
maintenance problems.

> To make it work on 32-bit CPUs, I looked at using
> the x386 model, but that one uses interrupt disables
> and is intrinsically SMP-unsafe.

semaphore-helper.h uses spin_lock_irqsave which is smp-safe.  The way
we do things for 64-bit MIPS is just more performant.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 12:24:16 1999
Received:  by oss.sgi.com id <S305166AbPLFUYH>;
	Mon, 6 Dec 1999 12:24:07 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:19555 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305158AbPLFUXr>; Mon, 6 Dec 1999 12:23:47 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id MAA01488; Mon, 6 Dec 1999 12:32:38 -0800 (PST)
	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 MAA85964
	for linux-list;
	Mon, 6 Dec 1999 12:23:52 -0800 (PST)
	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 MAA84072
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 12:23:49 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 MAA09650
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 12:23:48 -0800 (PST)
	mail_from (kevink@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id MAA14189;
	Mon, 6 Dec 1999 12:23:47 -0800 (PST)
Received: from satanas (fr-host2 [192.168.236.12])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id MAA11604;
	Mon, 6 Dec 1999 12:23:45 -0800 (PST)
Message-ID: <012901bf4029$2e465020$0ceca8c0@satanas.mips.com>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>
Cc:     "Linux SGI" <linux@cthulhu.engr.sgi.com>
Subject: Re: Kernel Semaphores
Date:   Mon, 6 Dec 1999 21:33:38 +0100
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 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 408
Lines: 12

>> To make it work on 32-bit CPUs, I looked at using
>> the x386 model, but that one uses interrupt disables
>> and is intrinsically SMP-unsafe.
>
>semaphore-helper.h uses spin_lock_irqsave which is smp-safe.  The way
>we do things for 64-bit MIPS is just more performant.


spin_lock_irqsave() in 2.2.12 for MIPS is just a save_and_cli().
The MIPS spin_lock macros all collapse the lock into nothingness.



From owner-linuxmips@oss.sgi.com Mon Dec  6 14:26:06 1999
Received:  by oss.sgi.com id <S305166AbPLFWZr>;
	Mon, 6 Dec 1999 14:25:47 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:27917 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305158AbPLFWZb>;
	Mon, 6 Dec 1999 14:25:31 -0800
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 OAA08152; Mon, 6 Dec 1999 14:32:30 -0800 (PST)
	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 OAA15927
	for linux-list;
	Mon, 6 Dec 1999 14:17:24 -0800 (PST)
	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 OAA41959
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 14:17:22 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 NAA03103
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 13:14:38 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFVNv>;
	Mon, 6 Dec 1999 19:13:51 -0200
Date:   Mon, 6 Dec 1999 19:13:51 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Ralf Baechle <ralf@oss.sgi.com>,
        Linux SGI <linux@cthulhu.engr.sgi.com>
Subject: Re: Kernel Semaphores
Message-ID: <19991206191351.R765@uni-koblenz.de>
References: <012901bf4029$2e465020$0ceca8c0@satanas.mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <012901bf4029$2e465020$0ceca8c0@satanas.mips.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 594
Lines: 16

On Mon, Dec 06, 1999 at 09:33:38PM +0100, Kevin D. Kissell wrote:

> >> To make it work on 32-bit CPUs, I looked at using
> >> the x386 model, but that one uses interrupt disables
> >> and is intrinsically SMP-unsafe.
> >
> >semaphore-helper.h uses spin_lock_irqsave which is smp-safe.  The way
> >we do things for 64-bit MIPS is just more performant.
> 
> spin_lock_irqsave() in 2.2.12 for MIPS is just a save_and_cli().
> The MIPS spin_lock macros all collapse the lock into nothingness.

Spinlocks are SMP safe; it's just the MIPS implementation which doesn't
get this right so far.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 15:49:57 1999
Received:  by oss.sgi.com id <S305166AbPLFXts>;
	Mon, 6 Dec 1999 15:49:48 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:41849 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305158AbPLFXt0>;
	Mon, 6 Dec 1999 15:49:26 -0800
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 PAA18908; Mon, 6 Dec 1999 15:52:30 -0800 (PST)
	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 PAA42074
	for linux-list;
	Mon, 6 Dec 1999 15:45:38 -0800 (PST)
	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 PAA37540
	for <linux@engr.sgi.com>;
	Mon, 6 Dec 1999 15:45:34 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 PAA00770
	for <linux@engr.sgi.com>; Mon, 6 Dec 1999 15:45:27 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLFXo3>;
	Mon, 6 Dec 1999 21:44:29 -0200
Date:   Mon, 6 Dec 1999 21:44:29 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Snapshot
Message-ID: <19991206214429.T765@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 125
Lines: 4

I've put a snapshot of current CVS kernel sources into
oss.sgi.com:/pub/linux/mips/src/kernel/linux-19991206.tar.gz.

  Ralf

From owner-linuxmips@oss.sgi.com Mon Dec  6 21:09:58 1999
Received:  by oss.sgi.com id <S305176AbPLGFJt>;
	Mon, 6 Dec 1999 21:09:49 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:49995 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305175AbPLGFJa>;
	Mon, 6 Dec 1999 21:09:30 -0800
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 VAA16932; Mon, 6 Dec 1999 21:12:34 -0800 (PST)
	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 VAA17597
	for linux-list;
	Mon, 6 Dec 1999 21:09:39 -0800 (PST)
	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 VAA16079
	for <linux@cthulhu.engr.sgi.com>;
	Mon, 6 Dec 1999 21:09:35 -0800 (PST)
	mail_from (awrasman@enchanted.net)
Received: from GroundZero.enchanted.net (net2-89.netten.net [206.229.193.89]) 
	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 VAA04629
	for <linux@cthulhu.engr.sgi.com>; Mon, 6 Dec 1999 21:09:23 -0800 (PST)
	mail_from (awrasman@enchanted.net)
Received: from talisman.enchanted.net (root@talisman.enchanted.net [10.20.30.50])
	by GroundZero.enchanted.net (8.9.3/8.9.3/Debian 8.9.3-6) with ESMTP id XAA19862;
	Mon, 6 Dec 1999 23:06:04 -0600
Received: (from awrasman@localhost)
	by talisman.enchanted.net (8.9.3/8.9.3/Debian 8.9.3-6) id XAA00358;
	Mon, 6 Dec 1999 23:07:17 -0600
Date:   Mon, 6 Dec 1999 23:07:17 -0600
From:   "A. Wrasman" <awrasman@enchanted.net>
To:     linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: Snapshot
Message-ID: <19991206230657.A346@enchanted.net>
Reply-To: wrasman@cs.utk.edu
References: <19991206214429.T765@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
In-Reply-To: <19991206214429.T765@uni-koblenz.de>; from ralf@oss.sgi.com on Mon, Dec 06, 1999 at 09:44:29PM -0200
X-Url:  http://www.cs.utk.edu/~wrasman
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 285
Lines: 10

On Mon, Dec 06, 1999 at 09:44:29PM -0200, Ralf Baechle wrote:
> I've put a snapshot of current CVS kernel sources into
> oss.sgi.com:/pub/linux/mips/src/kernel/linux-19991206.tar.gz.
                                        ^
     Put in v2.3/ and you find it.    --+
> 
>   Ralf


Raz

From owner-linuxmips@oss.sgi.com Tue Dec  7 03:12:42 1999
Received:  by oss.sgi.com id <S305167AbPLGLMc>;
	Tue, 7 Dec 1999 03:12:32 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:65333 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305164AbPLGLMP>;
	Tue, 7 Dec 1999 03:12:15 -0800
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 DAA04829; Tue, 7 Dec 1999 03:19:35 -0800 (PST)
	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 DAA98040
	for linux-list;
	Tue, 7 Dec 1999 03:11:27 -0800 (PST)
	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 DAA14009
	for <linux@engr.sgi.com>;
	Tue, 7 Dec 1999 03:11:20 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 DAA03953
	for <linux@engr.sgi.com>; Tue, 7 Dec 1999 03:11:17 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLGLLB>;
	Tue, 7 Dec 1999 09:11:01 -0200
Date:   Tue, 7 Dec 1999 09:11:01 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Ryan Rafferty <rraffer1@osf1.gmu.edu>
Cc:     linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: Snapshot
Message-ID: <19991207091101.A759@uni-koblenz.de>
References: <19991206214429.T765@uni-koblenz.de> <Pine.OSF.3.96.991206221350.25177A-100000@osf1.gmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <Pine.OSF.3.96.991206221350.25177A-100000@osf1.gmu.edu>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 653
Lines: 14

On Mon, Dec 06, 1999 at 10:14:12PM -0500, Ryan Rafferty wrote:

> Any highlights about important changes present in this snapshot?

Most important for you guys out there the upgrade to 2.3.21 and a number
of bug fixes.  Try it, break it.  Again ;-)  Aside of this this kernel
also has a good part of the 64-bit stuff.  Not all of it, I'm maintaining
the 32-bit kernel, the Indy 64-bit and the Origin kernel as separate
trees to prevent bugs from creeping from on tree in the other.

> On Mon, 6 Dec 1999, Ralf Baechle wrote:
> 
> > I've put a snapshot of current CVS kernel sources into
> > oss.sgi.com:/pub/linux/mips/src/kernel/linux-19991206.tar.gz.

From owner-linuxmips@oss.sgi.com Tue Dec  7 12:29:54 1999
Received:  by oss.sgi.com id <S305171AbPLGU3p>;
	Tue, 7 Dec 1999 12:29:45 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:45899 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305167AbPLGU3V>;
	Tue, 7 Dec 1999 12:29:21 -0800
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 MAA06966; Tue, 7 Dec 1999 12:36:31 -0800 (PST)
	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 MAA74465
	for linux-list;
	Tue, 7 Dec 1999 12:06:05 -0800 (PST)
	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 MAA92251
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 7 Dec 1999 12:06:01 -0800 (PST)
	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 MAA04112
	for <linux@cthulhu.engr.sgi.com>; Tue, 7 Dec 1999 12:05:58 -0800 (PST)
	mail_from (mikehill@hgeng.com)
Received: (qmail 12300 invoked from network); 7 Dec 1999 20:05:38 -0000
Received: from imail.hgeng.com (HELO bart.hgeng.com) (199.246.72.233)
  by mail.onramp.ca with SMTP; 7 Dec 1999 20:05:38 -0000
Received: by BART with Internet Mail Service (5.5.2232.9)
	id <YMMWSHZK>; Tue, 7 Dec 1999 15:05:44 -0500
Message-ID: <E138DB347D10D3119C630008C79F5DEC11F79F@BART>
From:   Mike Hill <mikehill@hgeng.com>
To:     "'Ralf Baechle'" <ralf@oss.sgi.com>
Cc:     linux@cthulhu.engr.sgi.com
Subject: RE: Snapshot
Date:   Tue, 7 Dec 1999 15:05:43 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1105
Lines: 33

Hi Ralf,

This compiles very well (i386 cross-compiled) unless I add serial console
support, in which case it finishes like this:

mips-linux-ld -static -G 0 -T arch/mips/ld.script.big -Ttext 0x88002000
arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o
init/version.o \
   --start-group \
   arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
   fs/filesystems.a \
   net/network.a \
   drivers/block/block.a drivers/char/char.o drivers/misc/misc.o
drivers/parport/parport.a drivers/net/net.a drivers/scsi/scsi.a
drivers/cdrom/cdrom.a drivers/sound/sounddrivers.o drivers/sgi/sgi.a
drivers/video/video.a \
   arch/mips/lib/lib.a /usr/src/mips/linux-19991206/lib/lib.a
arch/mips/sgi/kernel/sgikern.a arch/mips/arc/arclib.a \
   --end-group \
   -o vmlinux
arch/mips/sgi/kernel/sgikern.a(setup.o): In function `sgi_write_output':
setup.c(.text.init+0x84): undefined reference to `console_setup'
setup.c(.text.init+0x84): relocation truncated to fit: R_MIPS_26
console_setup
make: *** [vmlinux] Error 1

The CVS 2.2 source still compiles.

Regards,

Mike


From owner-linuxmips@oss.sgi.com Tue Dec  7 19:16:25 1999
Received:  by oss.sgi.com id <S305171AbPLHDQP>;
	Tue, 7 Dec 1999 19:16:15 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:11838 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305167AbPLHDPv>;
	Tue, 7 Dec 1999 19:15:51 -0800
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 TAA04496; Tue, 7 Dec 1999 19:23:15 -0800 (PST)
	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 TAA95529
	for linux-list;
	Tue, 7 Dec 1999 19:13:17 -0800 (PST)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from hollywood.engr.sgi.com (hollywood.engr.sgi.com [150.166.61.38])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via SMTP id TAA97680
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 7 Dec 1999 19:13:15 -0800 (PST)
	mail_from (owner-linux@hollywood.engr.sgi.com)
Received: (from fisher@localhost) by hollywood.engr.sgi.com (940816.SGI.8.6.9/960327.SGI.AUTOCF) id TAA24823; Tue, 7 Dec 1999 19:13:09 -0800
From:   fisher@hollywood.engr.sgi.com (William Fisher)
Message-Id: <199912080313.TAA24823@hollywood.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
To:     ralf@oss.sgi.com, kevink@mips.com
Date:   Tue, 7 Dec 1999 19:13:05 -0800 (PST)
Cc:     linux@hollywood.engr.sgi.com,
        fisher@hollywood.engr.sgi.com (William Fisher)
In-Reply-To: <19991206092830.C765@uni-koblenz.de> from "Ralf Baechle" at Dec 6, 99 09:28:30 am
Reply-To: fisher@sgi.com
X-Mailer: ELM [version 2.4 PL3]
Content-Type: text
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1731
Lines: 41

> 
> On Mon, Dec 06, 1999 at 10:58:10AM +0100, Kevin D. Kissell wrote:
> 
> > I'm working on cleaning up and enhancing the
> > MIPS/Linux code to support the new families
> > of CPUs coming out of MIPS Technologies Inc.
> > In doing so, I've come across and fixed a number
> > of bugs, most of which I've also passed back to
> > Ralf Baechle for integration with the moving
> > target at linux.sgi.com.   But I came across 
> > something this morning that, while not a problem
> > for us, puzzles me.   In arch/mips/mm/r6000.c,
> > which has your name on it, there is a compiler
> > directive to use MIPS III instructions, and the
> > resulting code does indeed end up containing
> > 64-bit (daddiu, etc.) instructions.   I've never
> > actually programmed an R6000, but all of the
> > information I have on that processor indicates
> > that it is a MIPS II, 32-bit design, and that those
> > instructions should therefore cause exceptions.
> > 
> > Am I mistaken, or is that directive a bug?
> 
> It obviously is.  The R6000 code isn't supposed to work and given that
> currently none of the Linux/MIPS hackers has a) R6000 documentation and
> b) an R6000 machine an R6000 port ever happening is highly unprobable.
> As the result of this I think I'm going to just burry the R6000 support
> and while I'm at it also the R8000.
> 
>   Ralf
> 
	Since the R6000 was an ECL machine produced in late 1992, just
	before the MIPS/SGI merger. There were only a few machines sold
	and the machine was designed to be a Fortran FP specialist.

	Hence the R6000 is long since dead. We still have the MIPS risc/os 5.01
	operating system source code, so if anybody has lots of free cycles
	to waste, I'm sure we can send them locore.

-- Bill


From owner-linuxmips@oss.sgi.com Tue Dec  7 20:33:15 1999
Received:  by oss.sgi.com id <S305171AbPLHEdG>;
	Tue, 7 Dec 1999 20:33:06 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:14901 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305167AbPLHEci>;
	Tue, 7 Dec 1999 20:32:38 -0800
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 UAA02101; Tue, 7 Dec 1999 20:35:47 -0800 (PST)
	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 UAA28943
	for linux-list;
	Tue, 7 Dec 1999 20:33:07 -0800 (PST)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from hollywood.engr.sgi.com (hollywood.engr.sgi.com [150.166.61.38])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via SMTP id UAA95703
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 7 Dec 1999 20:33:04 -0800 (PST)
	mail_from (owner-linux@hollywood.engr.sgi.com)
Received: from soyuz.wellington.sgi.com (soyuz.wellington.sgi.com [134.14.64.194]) by hollywood.engr.sgi.com (940816.SGI.8.6.9/960327.SGI.AUTOCF) via ESMTP id UAA24949; Tue, 7 Dec 1999 20:32:56 -0800
Received: from csd.sgi.com by soyuz.wellington.sgi.com via ESMTP (980427.SGI.8.8.8/940406.SGI)
	 id RAA80676; Wed, 8 Dec 1999 17:30:57 +1300 (NZD)
Message-ID: <384DDEF9.E3BE1F10@csd.sgi.com>
Date:   Wed, 08 Dec 1999 17:30:49 +1300
From:   Alistair Lambie <alambie@rock.csd.sgi.com>
Organization: SGI
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     fisher@sgi.com
CC:     ralf@oss.sgi.com, kevink@mips.com, linux@hollywood.engr.sgi.com,
        William Fisher <fisher@hollywood.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
References: <199912080313.TAA24823@hollywood.engr.sgi.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 2555
Lines: 57

William Fisher wrote:
> 
> >
> > On Mon, Dec 06, 1999 at 10:58:10AM +0100, Kevin D. Kissell wrote:
> >
> > > I'm working on cleaning up and enhancing the
> > > MIPS/Linux code to support the new families
> > > of CPUs coming out of MIPS Technologies Inc.
> > > In doing so, I've come across and fixed a number
> > > of bugs, most of which I've also passed back to
> > > Ralf Baechle for integration with the moving
> > > target at linux.sgi.com.   But I came across
> > > something this morning that, while not a problem
> > > for us, puzzles me.   In arch/mips/mm/r6000.c,
> > > which has your name on it, there is a compiler
> > > directive to use MIPS III instructions, and the
> > > resulting code does indeed end up containing
> > > 64-bit (daddiu, etc.) instructions.   I've never
> > > actually programmed an R6000, but all of the
> > > information I have on that processor indicates
> > > that it is a MIPS II, 32-bit design, and that those
> > > instructions should therefore cause exceptions.
> > >
> > > Am I mistaken, or is that directive a bug?
> >
> > It obviously is.  The R6000 code isn't supposed to work and given that
> > currently none of the Linux/MIPS hackers has a) R6000 documentation and
> > b) an R6000 machine an R6000 port ever happening is highly unprobable.
> > As the result of this I think I'm going to just burry the R6000 support
> > and while I'm at it also the R8000.
> >
> >   Ralf
> >
>         Since the R6000 was an ECL machine produced in late 1992, just
>         before the MIPS/SGI merger. There were only a few machines sold
>         and the machine was designed to be a Fortran FP specialist.
> 
>         Hence the R6000 is long since dead. We still have the MIPS risc/os 5.01
>         operating system source code, so if anybody has lots of free cycles
>         to waste, I'm sure we can send them locore.
> 

Don't forget CDC used the R6000 and ramped it to 90MHz.  They also got
it going in an SMP configuration with 4 processors from what I can
remember.  I guess it is possible that someone could actually want to
burn some cycles on this, although they had better have a cheap source
of power and good airconditioning :-)

Alistair

-- 
Alistair Lambie                                alambie@csd.sgi.com
SGI Global Product Support
Level 5, Cigna House,                                M/S: INZ-3780
PO Box 24 093,                                  Ph: +64-4-494 6325
40 Mercer St, Wellington,                      Fax: +64-4-494 6321
New Zealand                                 Mobile: +64-21-635 262

From owner-linuxmips@oss.sgi.com Tue Dec  7 22:00:46 1999
Received:  by oss.sgi.com id <S305171AbPLHGAg>;
	Tue, 7 Dec 1999 22:00:36 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:13944 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305167AbPLHGAS>; Tue, 7 Dec 1999 22:00:18 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id WAA03796; Tue, 7 Dec 1999 22:09:21 -0800 (PST)
	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 WAA17838
	for linux-list;
	Tue, 7 Dec 1999 22:00:51 -0800 (PST)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from hollywood.engr.sgi.com (hollywood.engr.sgi.com [150.166.61.38])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via SMTP id WAA36414
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 7 Dec 1999 22:00:48 -0800 (PST)
	mail_from (owner-linux@hollywood.engr.sgi.com)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by hollywood.engr.sgi.com (940816.SGI.8.6.9/960327.SGI.AUTOCF) via ESMTP id WAA25031; Tue, 7 Dec 1999 22:00:42 -0800
Received: from liveoak.engr.sgi.com (liveoak.engr.sgi.com [150.166.40.92])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id WAA12351;
	Tue, 7 Dec 1999 22:00:25 -0800 (PST)
	mail_from (wje@liveoak.engr.sgi.com)
Received: (from wje@localhost)
	by liveoak.engr.sgi.com (8.9.3/8.8.7) id WAA16757;
	Tue, 7 Dec 1999 22:00:15 -0800
X-Authentication-Warning: liveoak.engr.sgi.com: wje set sender to wje@liveoak.engr.sgi.com using -f
From:   "William J. Earl" <wje@cthulhu.engr.sgi.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14413.62447.427645.648406@liveoak.engr.sgi.com>
Date:   Tue, 7 Dec 1999 22:00:15 -0800 (PST)
To:     fisher@sgi.com
Cc:     ralf@oss.sgi.com, kevink@mips.com, linux@hollywood.engr.sgi.com,
        fisher@hollywood.engr.sgi.com (William Fisher)
Subject: Re: Question for David Miller or anyone else about R6000 code
In-Reply-To: <199912080313.TAA24823@hollywood.engr.sgi.com>
References: <19991206092830.C765@uni-koblenz.de>
	<199912080313.TAA24823@hollywood.engr.sgi.com>
X-Mailer: VM 6.74 under Emacs 20.3.1
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 650
Lines: 13

William Fisher writes:
...
 > 	Since the R6000 was an ECL machine produced in late 1992, just
 > 	before the MIPS/SGI merger. There were only a few machines sold
 > 	and the machine was designed to be a Fortran FP specialist.
 > 
 > 	Hence the R6000 is long since dead. We still have the MIPS risc/os 5.01
 > 	operating system source code, so if anybody has lots of free cycles
 > 	to waste, I'm sure we can send them locore.

      Actually, CDC later sold quite a few multiple-processor machines, after
MIPS was merged into SGI.  They are not very practical, however, as they
use a lot of power and are only a little faster than a 100 MHZ R4000SC.

From owner-linuxmips@oss.sgi.com Wed Dec  8 03:22:59 1999
Received:  by oss.sgi.com id <S305172AbPLHLWk>;
	Wed, 8 Dec 1999 03:22:40 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:22793 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305167AbPLHLWS>; Wed, 8 Dec 1999 03:22:18 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id DAA09705; Wed, 8 Dec 1999 03:31:22 -0800 (PST)
	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 DAA70772
	for linux-list;
	Wed, 8 Dec 1999 03:21:49 -0800 (PST)
	mail_from (owner-linux@relay.engr.sgi.com)
Received: from hollywood.engr.sgi.com (hollywood.engr.sgi.com [150.166.61.38])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via SMTP id DAA10830
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 8 Dec 1999 03:21:46 -0800 (PST)
	mail_from (owner-linux@hollywood.engr.sgi.com)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by hollywood.engr.sgi.com (940816.SGI.8.6.9/960327.SGI.AUTOCF) via ESMTP id DAA25251; Wed, 8 Dec 1999 03:21:44 -0800
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 DAA05326;
	Wed, 8 Dec 1999 03:21:44 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 DAA07947; Wed, 8 Dec 1999 03:21:27 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407621AbPLHLVM>;
	Wed, 8 Dec 1999 09:21:12 -0200
Date:   Wed, 8 Dec 1999 09:21:12 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Alistair Lambie <alambie@rock.csd.sgi.com>
Cc:     fisher@sgi.com, kevink@mips.com, linux@hollywood.engr.sgi.com,
        William Fisher <fisher@hollywood.engr.sgi.com>
Subject: Re: Question for David Miller or anyone else about R6000 code
Message-ID: <19991208092112.F10331@uni-koblenz.de>
References: <199912080313.TAA24823@hollywood.engr.sgi.com> <384DDEF9.E3BE1F10@csd.sgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <384DDEF9.E3BE1F10@csd.sgi.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 707
Lines: 17

On Wed, Dec 08, 1999 at 05:30:49PM +1300, Alistair Lambie wrote:

> Don't forget CDC used the R6000 and ramped it to 90MHz.  They also got
> it going in an SMP configuration with 4 processors from what I can
> remember.  I guess it is possible that someone could actually want to
> burn some cycles on this, although they had better have a cheap source
> of power and good airconditioning :-)

At one time some Linux/m68k hacker was seriously looking into porting
Linux to a 3-CPU 256mb CDC which at that time was used as
ftp.uni-erlangen.de.

As usual the largest problem was technical documentation for the machine
and the CPU; the R6k is covered very badly by the freely available
documentation.

  Ralf

From owner-linuxmips@oss.sgi.com Wed Dec  8 15:03:24 1999
Received:  by oss.sgi.com id <S305176AbPLHXDP>;
	Wed, 8 Dec 1999 15:03:15 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:30544 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305175AbPLHXC5>; Wed, 8 Dec 1999 15:02:57 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id PAA09959; Wed, 8 Dec 1999 15:12:04 -0800 (PST)
	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 OAA20855
	for linux-list;
	Wed, 8 Dec 1999 14:46:49 -0800 (PST)
	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 OAA78856
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 8 Dec 1999 14:46:40 -0800 (PST)
	mail_from (jharrell@ti.com)
Received: from tower.ti.com (tower.ti.com [192.94.94.5]) 
	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 OAA04481
	for <linux@cthulhu.engr.sgi.com>; Wed, 8 Dec 1999 14:46:18 -0800 (PST)
	mail_from (jharrell@ti.com)
Received: from dlep8.itg.ti.com ([157.170.134.88])
	by tower.ti.com (8.9.3/8.9.3) with ESMTP id QAA18767
	for <linux@cthulhu.engr.sgi.com>; Wed, 8 Dec 1999 16:46:07 -0600 (CST)
Received: from dlep8.itg.ti.com (localhost [127.0.0.1])
	by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA15864
	for <linux@cthulhu.engr.sgi.com>; Wed, 8 Dec 1999 16:45:45 -0600 (CST)
Received: from dlep4.itg.ti.com (dlep4.itg.ti.com [157.170.188.63])
	by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA15855
	for <linux@cthulhu.engr.sgi.com>; Wed, 8 Dec 1999 16:45:44 -0600 (CST)
Received: from dlep4.itg.ti.com (localhost [127.0.0.1])
	by dlep4.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA10622
	for <linux@cthulhu.engr.sgi.com>; Wed, 8 Dec 1999 16:46:06 -0600 (CST)
Received: from ti.com (IDENT:jharrell@c2k-udp232688uds.sc.ti.com [158.218.100.100])
	by dlep4.itg.ti.com (8.9.3/8.9.3) with ESMTP id QAA10614
	for <linux@cthulhu.engr.sgi.com>; Wed, 8 Dec 1999 16:46:05 -0600 (CST)
Message-ID: <384EDFC5.FFAE939A@ti.com>
Date:   Wed, 08 Dec 1999 15:46:29 -0700
From:   Jeff Harrell <jharrell@ti.com>
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     sgi-mips <linux@cthulhu.engr.sgi.com>
Subject: Exceptions
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1638
Lines: 59

I have been working through the initialization code for the MIPS/Linux
kernel and have traced through to the point
where the MIPS exceptions are installed.  I have not been able to locate
the following routines

        handle_adel
        handle_ades
        handle_sys
        handle_bp
        handle_n
        handle_cpu
        handle_ov
        handle_tr
        handle_fpe

I see where these are defined by "extern asmlinkage" references but
can't locate the actual implementation of these
exceptions.  Any idea what files these routines might be located in?
Any help would be greatly appreciated

Thank you,
Jeff Harrell


---------8< excerpt from kernel/traps.c -----

 set_except_vector(1, handle_mod);
 set_except_vector(2, handle_tlbl);
 set_except_vector(3, handle_tlbs);
 set_except_vector(4, handle_adel);
 set_except_vector(5, handle_ades);
 /*
  * The Data Bus Error/ Instruction Bus Errors are signaled
  * by external hardware.  Therefore these two expection have
  * board specific handlers.
  */
 set_except_vector(6, handle_ibe);
 set_except_vector(7, handle_dbe);
 ibe_board_handler = default_be_board_handler;
 dbe_board_handler = default_be_board_handler;

 set_except_vector(8, handle_sys);
 set_except_vector(9, handle_bp);
 set_except_vector(10, handle_ri);
 set_except_vector(11, handle_cpu);
 set_except_vector(12, handle_ov);
 set_except_vector(13, handle_tr);
 set_except_vector(15, handle_fpe);


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From owner-linuxmips@oss.sgi.com Thu Dec  9 00:14:03 1999
Received:  by oss.sgi.com id <S305165AbPLIINx>;
	Thu, 9 Dec 1999 00:13:53 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:3937 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305163AbPLIINl>;
	Thu, 9 Dec 1999 00:13:41 -0800
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 AAA14330; Thu, 9 Dec 1999 00:16:56 -0800 (PST)
	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 AAA51521
	for linux-list;
	Thu, 9 Dec 1999 00:05:57 -0800 (PST)
	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 AAA55808
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 9 Dec 1999 00:05:54 -0800 (PST)
	mail_from (carstenl@mips.com)
Received: from mx.mips.com (mx.mips.com [206.31.31.226]) 
	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 AAA06349
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 00:05:53 -0800 (PST)
	mail_from (carstenl@mips.com)
Received: from newman.mips.com (newman [206.31.31.8])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id AAA23669
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 00:05:52 -0800 (PST)
Received: from copfs01.mips.com (copfs01 [192.168.205.101])
	by newman.mips.com (8.9.3/8.9.0) with ESMTP id AAA26724
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 00:05:50 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id JAA00486
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 09:05:49 +0100 (MET)
Message-ID: <384F62DB.8DE09E3B@mips.com>
Date:   Thu, 09 Dec 1999 09:05:47 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.61 [en] (X11; I; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     sgi-mips <linux@cthulhu.engr.sgi.com>
Subject: Re: Exceptions
References: <384EDFC5.FFAE939A@ti.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 2211
Lines: 72

Jeff Harrell wrote:

> I have been working through the initialization code for the MIPS/Linux
> kernel and have traced through to the point
> where the MIPS exceptions are installed.  I have not been able to locate
> the following routines
>
>         handle_adel
>         handle_ades
>         handle_sys
>         handle_bp
>         handle_n
>         handle_cpu
>         handle_ov
>         handle_tr
>         handle_fpe
>
> I see where these are defined by "extern asmlinkage" references but
> can't locate the actual implementation of these
> exceptions.  Any idea what files these routines might be located in?
> Any help would be greatly appreciated

They are located in arch/mips/kernel/entry.S
They are a little hard to find as they use the BUILD_HANDLER macro to
extract the routines.

>
>
> Thank you,
> Jeff Harrell
>
> ---------8< excerpt from kernel/traps.c -----
>
>  set_except_vector(1, handle_mod);
>  set_except_vector(2, handle_tlbl);
>  set_except_vector(3, handle_tlbs);
>  set_except_vector(4, handle_adel);
>  set_except_vector(5, handle_ades);
>  /*
>   * The Data Bus Error/ Instruction Bus Errors are signaled
>   * by external hardware.  Therefore these two expection have
>   * board specific handlers.
>   */
>  set_except_vector(6, handle_ibe);
>  set_except_vector(7, handle_dbe);
>  ibe_board_handler = default_be_board_handler;
>  dbe_board_handler = default_be_board_handler;
>
>  set_except_vector(8, handle_sys);
>  set_except_vector(9, handle_bp);
>  set_except_vector(10, handle_ri);
>  set_except_vector(11, handle_cpu);
>  set_except_vector(12, handle_ov);
>  set_except_vector(13, handle_tr);
>  set_except_vector(15, handle_fpe);
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Jeff Harrell                    Work:  (801) 619-6104
> Broadband Access group/TI
> jharrell@ti.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
_    _ ____  ___   Carsten Langgaard   mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 2B      Switch: +45 4486 5555
TECHNOLOGIES INC   2750 Ballerup       Fax...: +45 4486 5556
                   Denmark               http://www.mips.com




From owner-linuxmips@oss.sgi.com Thu Dec  9 02:49:43 1999
Received:  by oss.sgi.com id <S305175AbPLIKtX>;
	Thu, 9 Dec 1999 02:49:23 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:45436 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305163AbPLIKtJ>;
	Thu, 9 Dec 1999 02:49:09 -0800
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 CAA24150; Thu, 9 Dec 1999 02:52:24 -0800 (PST)
	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 CAA96352
	for linux-list;
	Thu, 9 Dec 1999 02:44:47 -0800 (PST)
	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 CAA35095
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 9 Dec 1999 02:44:44 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 CAA00859
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 02:44:40 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407735AbPLIKoB>;
	Thu, 9 Dec 1999 08:44:01 -0200
Date:   Thu, 9 Dec 1999 08:44:01 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Carsten Langgaard <carstenl@mips.com>
Cc:     sgi-mips <linux@cthulhu.engr.sgi.com>
Subject: Re: Exceptions
Message-ID: <19991209084401.B1417@uni-koblenz.de>
References: <384EDFC5.FFAE939A@ti.com> <384F62DB.8DE09E3B@mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <384F62DB.8DE09E3B@mips.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1120
Lines: 33

On Thu, Dec 09, 1999 at 09:05:47AM +0100, Carsten Langgaard wrote:

> > I have been working through the initialization code for the MIPS/Linux
> > kernel and have traced through to the point
> > where the MIPS exceptions are installed.  I have not been able to locate
> > the following routines
> >
> >         handle_adel
> >         handle_ades
> >         handle_sys
> >         handle_bp
> >         handle_n
> >         handle_cpu
> >         handle_ov
> >         handle_tr
> >         handle_fpe
> >
> > I see where these are defined by "extern asmlinkage" references but
> > can't locate the actual implementation of these
> > exceptions.  Any idea what files these routines might be located in?
> > Any help would be greatly appreciated
> 
> They are located in arch/mips/kernel/entry.S
> They are a little hard to find as they use the BUILD_HANDLER macro to
> extract the routines.

No wonder why I haven't ever received a patch for these routines since
the MIPS port exists :-)

They should be rewritten anyway; the current code expands the macro
SAVE_ALL quite often, so has a bad cache performance.

  Ralf

From owner-linuxmips@oss.sgi.com Thu Dec  9 10:26:53 1999
Received:  by oss.sgi.com id <S305184AbPLIS0o>;
	Thu, 9 Dec 1999 10:26:44 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:13854 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305163AbPLIS0U>; Thu, 9 Dec 1999 10:26:20 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id KAA08520; Thu, 9 Dec 1999 10:35:32 -0800 (PST)
	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 KAA00275
	for linux-list;
	Thu, 9 Dec 1999 10:24:19 -0800 (PST)
	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 KAA79011
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 9 Dec 1999 10:23:42 -0800 (PST)
	mail_from (flo@rfc822.org)
Received: from noose.gt.owl.de (noose.gt.owl.de [62.52.19.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 KAA01772
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 10:22:50 -0800 (PST)
	mail_from (flo@rfc822.org)
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id 476817F7; Thu,  9 Dec 1999 19:22:09 +0100 (CET)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id E309C8F93; Thu,  9 Dec 1999 16:49:08 +0100 (CET)
Date:   Thu, 9 Dec 1999 16:49:08 +0100
From:   Florian Lohoff <flo@rfc822.org>
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: Snapshot
Message-ID: <19991209164908.A3212@paradigm.rfc822.org>
References: <19991206214429.T765@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <19991206214429.T765@uni-koblenz.de>; from Ralf Baechle on Mon, Dec 06, 1999 at 09:44:29PM -0200
Organization: rfc822 - pure communication
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 809
Lines: 27

On Mon, Dec 06, 1999 at 09:44:29PM -0200, Ralf Baechle wrote:
> I've put a snapshot of current CVS kernel sources into
> oss.sgi.com:/pub/linux/mips/src/kernel/linux-19991206.tar.gz.

Short resume:

Doesnt work on Decstation 5000/150 Mips R4000 ...
Reboots immediatly after end of tftp download ...

KN04 V2.1k    (PC: 0x8005c044, SP: 0x838a9de0)

-tftp boot(3), bootp 193.189.250.46:/boot/vmlinux-2.3.21-decR4k.ecoff
-tftp load 1222624+0+369568

KN04 V2.1k    (PC: 0x8005c044, SP: 0x80047f78)

-tftp boot(3), bootp 193.189.250.46:/boot/vmlinux-2.3.21-decR4k.ecoff
-tftp load 1222624+0+369568

So long ...

Flo
-- 
Florian Lohoff		flo@rfc822.org		      	+49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ...             Cisco Field Notice


From owner-linuxmips@oss.sgi.com Thu Dec  9 11:07:24 1999
Received:  by oss.sgi.com id <S305184AbPLITHN>;
	Thu, 9 Dec 1999 11:07:13 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:59762 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305163AbPLITG4>;
	Thu, 9 Dec 1999 11:06:56 -0800
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 LAA05983; Thu, 9 Dec 1999 11:13:56 -0800 (PST)
	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 LAA58565
	for linux-list;
	Thu, 9 Dec 1999 11:04:14 -0800 (PST)
	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 LAA74290
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 9 Dec 1999 11:03:28 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from lappi (animaniacs.conectiva.com.br [200.250.58.146]) 
	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 LAA08924
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 11:03:19 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received:  by lappi.waldorf-gmbh.de id <S407732AbPLITCJ>;
	Thu, 9 Dec 1999 17:02:09 -0200
Date:   Thu, 9 Dec 1999 17:02:09 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Florian Lohoff <flo@rfc822.org>
Cc:     linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr,
        linux-mips@vger.rutgers.edu
Subject: Re: Snapshot
Message-ID: <19991209170209.A21723@uni-koblenz.de>
References: <19991206214429.T765@uni-koblenz.de> <19991209164908.A3212@paradigm.rfc822.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <19991209164908.A3212@paradigm.rfc822.org>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 755
Lines: 24

On Thu, Dec 09, 1999 at 04:49:08PM +0100, Florian Lohoff wrote:

> On Mon, Dec 06, 1999 at 09:44:29PM -0200, Ralf Baechle wrote:
> > I've put a snapshot of current CVS kernel sources into
> > oss.sgi.com:/pub/linux/mips/src/kernel/linux-19991206.tar.gz.
> 
> Short resume:
> 
> Doesnt work on Decstation 5000/150 Mips R4000 ...
> Reboots immediatly after end of tftp download ...
> 
> KN04 V2.1k    (PC: 0x8005c044, SP: 0x838a9de0)
> 
> -tftp boot(3), bootp 193.189.250.46:/boot/vmlinux-2.3.21-decR4k.ecoff
> -tftp load 1222624+0+369568
> 
> KN04 V2.1k    (PC: 0x8005c044, SP: 0x80047f78)
> 
> -tftp boot(3), bootp 193.189.250.46:/boot/vmlinux-2.3.21-decR4k.ecoff
> -tftp load 1222624+0+369568

The CVS now has a couple of fixes, could you retry?

  Ralf

From owner-linuxmips@oss.sgi.com Thu Dec  9 13:02:14 1999
Received:  by oss.sgi.com id <S305184AbPLIVCE>;
	Thu, 9 Dec 1999 13:02:04 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:10793 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305163AbPLIVBu>;
	Thu, 9 Dec 1999 13:01:50 -0800
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 NAA28839; Thu, 9 Dec 1999 13:05:08 -0800 (PST)
	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 NAA17385
	for linux-list;
	Thu, 9 Dec 1999 13:00:48 -0800 (PST)
	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 NAA58460
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 9 Dec 1999 13:00:29 -0800 (PST)
	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 NAA07625
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 13:00:17 -0800 (PST)
	mail_from (Harald.Koerfgen@home.ivm.de)
Received: from franz.no.dom (port13.koeln.ivm.de [195.247.239.13])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id VAA31924;
	Thu, 9 Dec 1999 21:59:48 +0100
X-To:   linux@cthulhu.engr.sgi.com
Message-ID: <XFMail.991209220002.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: <19991209164908.A3212@paradigm.rfc822.org>
Date:   Thu, 09 Dec 1999 22:00:02 +0100 (MET)
Reply-To: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Organization: none
From:   Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To:     Florian Lohoff <flo@rfc822.org>
Subject: Re: Snapshot
Cc:     linux-mips@vger.rutgers.edu, linux-mips@fnet.fr,
        linux@cthulhu.engr.sgi.com, Ralf Baechle <ralf@oss.sgi.com>
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1545
Lines: 52


On 09-Dec-99 Florian Lohoff wrote:
> On Mon, Dec 06, 1999 at 09:44:29PM -0200, Ralf Baechle wrote:
>> I've put a snapshot of current CVS kernel sources into
>> oss.sgi.com:/pub/linux/mips/src/kernel/linux-19991206.tar.gz.
> 
> Short resume:
> 
> Doesnt work on Decstation 5000/150 Mips R4000 ...
> Reboots immediatly after end of tftp download ...
> 
> KN04 V2.1k    (PC: 0x8005c044, SP: 0x838a9de0)
> 
> -tftp boot(3), bootp 193.189.250.46:/boot/vmlinux-2.3.21-decR4k.ecoff
> -tftp load 1222624+0+369568
> 
> KN04 V2.1k    (PC: 0x8005c044, SP: 0x80047f78)
> 
> -tftp boot(3), bootp 193.189.250.46:/boot/vmlinux-2.3.21-decR4k.ecoff
> -tftp load 1222624+0+369568
> 
> So long ...

http://oss.sgi.com/www.linux.sgi.com/mips/mips-howto.html

" 6.2 Self compiled kernels crash when booting.

When I build my own kernel, it crashes. On an Indy the crash message looks like
the following; the same problem hits other machines as well but may look
completely different. 

 [...]

This problem is caused by a still unfixed bug in Binutils newer than version
2.7. As a workaround, change the following line in arch/mips/Makefile from: 

   LINKFLAGS       = -static -N
 
to: 

   LINKFLAGS       = -static"

BTW, little endian semaphores for R4xxx and TLB miss handlers for R3xxx are
broken in this snapshot. This is fixed since yesterday and 2.3.21 is happily
running on a /260 and a /133. If you want to play around with recent kernels I
suggest a fresh cvs checkout. Instructions can be found at the above URL.

Hope this helps.

---
Regards,
Harald

From owner-linuxmips@oss.sgi.com Thu Dec  9 14:46:46 1999
Received:  by oss.sgi.com id <S305184AbPLIWq1>;
	Thu, 9 Dec 1999 14:46:27 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:32060 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305163AbPLIWp6>; Thu, 9 Dec 1999 14:45:58 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id OAA00359; Thu, 9 Dec 1999 14:55:11 -0800 (PST)
	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 OAA68922
	for linux-list;
	Thu, 9 Dec 1999 14:43:51 -0800 (PST)
	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 OAA81844
	for <linux@cthulhu.engr.sgi.com>;
	Thu, 9 Dec 1999 14:43:42 -0800 (PST)
	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 OAA00721
	for <linux@cthulhu.engr.sgi.com>; Thu, 9 Dec 1999 14:43:39 -0800 (PST)
	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 QAA29008;
	Thu, 9 Dec 1999 16:43:32 -0600
Date:   Thu, 9 Dec 1999 16:41:01 -0600 (CST)
From:   "Andrew R. Baker" <andrewb@uab.edu>
X-Sender: andrewb@mdk187.tucc.uab.edu
To:     Mike Hill <mikehill@hgeng.com>
cc:     "'Ralf Baechle'" <ralf@oss.sgi.com>, linux@cthulhu.engr.sgi.com
Subject: RE: Snapshot
In-Reply-To: <E138DB347D10D3119C630008C79F5DEC11F79F@BART>
Message-ID: <Pine.LNX.3.96.991209163947.3336A-100000@mdk187.tucc.uab.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 371
Lines: 11


Serial console is not working in 2.3 yet.  I know how to fix it for when
it is included on the command line, but what I came up with for detecting
it from the PROM enviroment is a bit strange.

On Tue, 7 Dec 1999, Mike Hill wrote:
> Hi Ralf,
> 
> This compiles very well (i386 cross-compiled) unless I add serial console
> support, in which case it finishes like this:


From owner-linuxmips@oss.sgi.com Mon Dec 13 12:43:42 1999
Received:  by oss.sgi.com id <S305178AbPLMUnc>;
	Mon, 13 Dec 1999 12:43:32 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:57647 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305163AbPLMUn1>;
	Mon, 13 Dec 1999 12:43:27 -0800
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 MAA01598; Mon, 13 Dec 1999 12:42:17 -0800 (PST)
	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 MAA54027
	for linux-list;
	Mon, 13 Dec 1999 12:29:39 -0800 (PST)
	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 MAA07575
	for <linux@engr.sgi.com>;
	Mon, 13 Dec 1999 12:29:34 -0800 (PST)
	mail_from (ealonso@alum.etsii.upm.es)
Received: from alum.etsii.upm.es (alum.etsii.upm.es [138.100.72.199]) 
	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 MAA07844
	for <linux@engr.sgi.com>; Mon, 13 Dec 1999 12:29:30 -0800 (PST)
	mail_from (ealonso@alum.etsii.upm.es)
Received: (qmail 28393 invoked by uid 33); 13 Dec 1999 20:27:04 -0000
Message-ID: <945116824.3855569883e34@alum.etsii.upm.es>
Date:   Mon, 13 Dec 1999 21:27:04 +0100
To:     sgilinux <linux@cthulhu.engr.sgi.com>
From:   Enrique Alonso de Armas <ealonso@alum.etsii.upm.es>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: IMP/PHP IMAP webmail program 2.2.0
X-Originating-IP: 138.100.73.23
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1857
Lines: 48

Hi all.
I have just installed Linux on an Indy 4600.
I have selected 80 packages the minimun I think.

The instalation was ok until the last options.
I was no able to configure timezone, configure services, configure printers.

Now when I boot from Irix ( boot vmlinux root=/dev/sdb1) , kernel loads and stops or appears to be stopped
showing warning: mounting unchecked fs, running e2fsck is recomended
The kernel is the one I used for installation. I mean It takes the IP from de bootp server.
Ah and It says unable to open an initial console.
It does not hung up it is like waiting
Do I need other kernel without bootp?
I can ping it

Thak you in advance


----------------------------
Enrique Alonso de Armas
ealonso@disam.upm.es
http://www.alum.etsii.upm.es
Network/Unix System Admin
----------------------------
Type Bits/KeyID    Date       User ID
pub  1024/A83ECA45 1999/11/29 Enrique Alonso de Armas
<ealonso@disam.upm.es>
                              Enrique Alonso de Armas
<ealonso@alum.etsii.upm.es>

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3ia

mQCNAzhCiGsAAAEEAM46AbktUPfljIASuu86r55404AcG/qOr5GzVCXlQbZxtYIH
tgjKIizZeT0rC0eftnj+nRvZwE6vFAllEM1dT0CRD2afEQToQKTWWbUCj6IEPICA
itF2kqD8DfOtyYd1lhiVkqKBnFT4ChCCkmhm/n/ZjwsZw1mpPReosEaoPspFAAUR
tC5FbnJpcXVlIEFsb25zbyBkZSBBcm1hcyA8ZWFsb25zb0BkaXNhbS51cG0uZXM+
iQCVAwUQOEKIaxeosEaoPspFAQFH4gP/SU13iEqKrM+8Rhxzv3mUizq5zWO8l4OX
FMi1XSuKhshCQ71L2EBT882y8brLmQRcjWjnrOG2LDqwMw5tm+DsaGrIZVedSwSi
P0h9OOxHc+QnfolISgscziJFGCLKbe91EiBUOCpFdNe95+GdwOsT1UrRkjpY72l7
QHLAL259sSm0M0VucmlxdWUgQWxvbnNvIGRlIEFybWFzIDxlYWxvbnNvQGFsdW0u
ZXRzaWkudXBtLmVzPokAlQMFEDhCi5oXqLBGqD7KRQEB/V4EALP/tBy22Q3aPkp+
68us9xi1ZJ1O4zmwmdWdJjP9ytwZDnQTJcg7kgPwF4Yprml8BlD5ygfplb9vCBgq
UhF4olyTHDFKh4PoimdkQh26ah0bBBmrQ9oYbcrI6kLzpjjr0f1NhQlXXzze9rNJ
XQaueEH0minGus9/qACAZYODfs+X
=grH6
-----END PGP PUBLIC KEY BLOCK-----


From owner-linuxmips@oss.sgi.com Mon Dec 13 13:01:53 1999
Received:  by oss.sgi.com id <S305175AbPLMVBn>;
	Mon, 13 Dec 1999 13:01:43 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:38484 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305163AbPLMVB1>;
	Mon, 13 Dec 1999 13:01:27 -0800
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 MAA18881; Mon, 13 Dec 1999 12:56:03 -0800 (PST)
	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 MAA20780
	for linux-list;
	Mon, 13 Dec 1999 12:30:32 -0800 (PST)
	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 MAA54819
	for <linux@engr.sgi.com>;
	Mon, 13 Dec 1999 12:30:25 -0800 (PST)
	mail_from (ealonso@alum.etsii.upm.es)
Received: from alum.etsii.upm.es (alum.etsii.upm.es [138.100.72.199]) 
	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 MAA06887
	for <linux@engr.sgi.com>; Mon, 13 Dec 1999 12:30:22 -0800 (PST)
	mail_from (ealonso@alum.etsii.upm.es)
Received: (qmail 28509 invoked by uid 33); 13 Dec 1999 20:28:18 -0000
Message-ID: <945116898.385556e277ae0@alum.etsii.upm.es>
Date:   Mon, 13 Dec 1999 21:28:18 +0100
To:     sgilinux <linux@cthulhu.engr.sgi.com>
From:   Enrique Alonso de Armas <ealonso@alum.etsii.upm.es>
Subject: linuxmips almost rules
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: IMP/PHP IMAP webmail program 2.2.0
X-Originating-IP: 138.100.73.23
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1914
Lines: 51

Hi all.
    I have just installed Linux on an Indy 4600.
    I have selected 80 packages the minimun I think.

    The instalation was ok until the last options.
    I was no able to configure timezone, configure services, configure printers.

    Now when I boot from Irix ( boot vmlinux root=/dev/sdb1) , kernel loads and stops or
    appears to be stopped
    showing warning: mounting unchecked fs, running e2fsck is recomended
    The kernel is the one I used for installation. I mean It takes the IP from de bootp
    server.
    Ah and It says unable to open an initial console.
    It does not hung up it is like waiting
    Do I need other kernel without bootp?
    I can ping it

    Thak you in advance



----------------------------
Enrique Alonso de Armas
ealonso@disam.upm.es
http://www.alum.etsii.upm.es
Network/Unix System Admin
----------------------------
Type Bits/KeyID    Date       User ID
pub  1024/A83ECA45 1999/11/29 Enrique Alonso de Armas
<ealonso@disam.upm.es>
                              Enrique Alonso de Armas
<ealonso@alum.etsii.upm.es>

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3ia

mQCNAzhCiGsAAAEEAM46AbktUPfljIASuu86r55404AcG/qOr5GzVCXlQbZxtYIH
tgjKIizZeT0rC0eftnj+nRvZwE6vFAllEM1dT0CRD2afEQToQKTWWbUCj6IEPICA
itF2kqD8DfOtyYd1lhiVkqKBnFT4ChCCkmhm/n/ZjwsZw1mpPReosEaoPspFAAUR
tC5FbnJpcXVlIEFsb25zbyBkZSBBcm1hcyA8ZWFsb25zb0BkaXNhbS51cG0uZXM+
iQCVAwUQOEKIaxeosEaoPspFAQFH4gP/SU13iEqKrM+8Rhxzv3mUizq5zWO8l4OX
FMi1XSuKhshCQ71L2EBT882y8brLmQRcjWjnrOG2LDqwMw5tm+DsaGrIZVedSwSi
P0h9OOxHc+QnfolISgscziJFGCLKbe91EiBUOCpFdNe95+GdwOsT1UrRkjpY72l7
QHLAL259sSm0M0VucmlxdWUgQWxvbnNvIGRlIEFybWFzIDxlYWxvbnNvQGFsdW0u
ZXRzaWkudXBtLmVzPokAlQMFEDhCi5oXqLBGqD7KRQEB/V4EALP/tBy22Q3aPkp+
68us9xi1ZJ1O4zmwmdWdJjP9ytwZDnQTJcg7kgPwF4Yprml8BlD5ygfplb9vCBgq
UhF4olyTHDFKh4PoimdkQh26ah0bBBmrQ9oYbcrI6kLzpjjr0f1NhQlXXzze9rNJ
XQaueEH0minGus9/qACAZYODfs+X
=grH6
-----END PGP PUBLIC KEY BLOCK-----


From owner-linuxmips@oss.sgi.com Fri Dec 17 12:28:29 1999
Received:  by oss.sgi.com id <S305178AbPLQU2K>;
	Fri, 17 Dec 1999 12:28:10 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:35915 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305163AbPLQU1k>; Fri, 17 Dec 1999 12:27:40 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id MAA01123; Fri, 17 Dec 1999 12:28:25 -0800 (PST)
	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 MAA16714
	for linux-list;
	Fri, 17 Dec 1999 12:10:36 -0800 (PST)
	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 MAA55043
	for <linux@engr.sgi.com>;
	Fri, 17 Dec 1999 12:10:32 -0800 (PST)
	mail_from (labibk@taec.toshiba.com)
Received: from godzilla.taec.com (godzilla.taec.com [204.162.152.130]) 
	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 MAA08732
	for <linux@engr.sgi.com>; Fri, 17 Dec 1999 12:08:53 -0800 (PST)
	mail_from (labibk@taec.toshiba.com)
Received: from mailhost.taec.com ([204.162.153.33]) by godzilla.taec.com
          via smtpd (for mx-engr.sgi.com [192.48.153.25]) with SMTP; 17 Dec 1999 20:08:53 UT
Received: from mailint.taec.com (mailint [204.162.153.34])
	by mailhost.taec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA02026
	for <linux@engr.sgi.com>; Fri, 17 Dec 1999 12:07:38 -0800 (PST)
Received: from stafford.taec.com (stafford [209.243.133.46])
	by mailint.taec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA05805;
	Fri, 17 Dec 1999 12:07:24 -0800 (PST)
Received: (from labibk@localhost)
	by stafford.taec.com (8.8.8+Sun/8.8.8) id MAA22757;
	Fri, 17 Dec 1999 12:08:51 -0800 (PST)
Date:   Fri, 17 Dec 1999 12:08:51 -0800 (PST)
From:   Khaled Labib <labibk@taec.toshiba.com>
Message-Id: <199912172008.MAA22757@stafford.taec.com>
To:     linux@cthulhu.engr.sgi.com
Subject: Milo
Cc:     labibk@taec.toshiba.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: A3hA69hNLLRVOsGSvrzpCQ==
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 833
Lines: 28

Hi,

I am using linux/MIPS kernel v2.2.1 and I am now considering loading it. I 
looked at the Milo 0.27. 

There is very little documentation for Milo, basically, a single README file. 

Can some one point me on where to get more info about Milo. I need basically the 
following:

1- How exactly does Milo boot the kernel ?
2- Where should the Milo executable reside. On Disk, ROM ...etc. ?
3- What functions does Milo perform ?
4- Do I still need BIOS support with Milo ?
5- What is this ARC firmware ?
6- Where is the latest Milo ?

I'll be booting this kernel on a harware Emulator with a limited functionality 
target board. The Target board itself is a PCI-based board that sits in a 
regular PC and contains memory (system memory).

I would appreciate pointers to information related to the above.


Thank you.


Khaled Labib

From owner-linuxmips@oss.sgi.com Sat Dec 18 05:27:42 1999
Received:  by oss.sgi.com id <S305189AbPLRN1c>;
	Sat, 18 Dec 1999 05:27:32 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:35178 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305163AbPLRN1K>;
	Sat, 18 Dec 1999 05:27:10 -0800
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 FAA09175; Sat, 18 Dec 1999 05:25:12 -0800 (PST)
	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 FAA92657
	for linux-list;
	Sat, 18 Dec 1999 05:04:46 -0800 (PST)
	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 FAA78186
	for <linux@cthulhu.engr.sgi.com>;
	Sat, 18 Dec 1999 05:04:05 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
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 FAA02965
	for <linux@cthulhu.engr.sgi.com>; Sat, 18 Dec 1999 05:04:03 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from cacc-12.uni-koblenz.de (cacc-12.uni-koblenz.de [141.26.131.12])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id OAA28641;
	Sat, 18 Dec 1999 14:03:57 +0100 (MET)
Received:  by lappi.waldorf-gmbh.de id <S407891AbPLRNDa>;
	Sat, 18 Dec 1999 11:03:30 -0200
Date:   Sat, 18 Dec 1999 11:03:30 -0200
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Khaled Labib <labibk@taec.toshiba.com>
Cc:     linux@cthulhu.engr.sgi.com
Subject: Re: Milo
Message-ID: <19991218110330.B838@uni-koblenz.de>
References: <199912172008.MAA22757@stafford.taec.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <199912172008.MAA22757@stafford.taec.com>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1560
Lines: 39

On Fri, Dec 17, 1999 at 12:08:51PM -0800, Khaled Labib wrote:

> I am using linux/MIPS kernel v2.2.1 and I am now considering loading it. I 
> looked at the Milo 0.27. 
> 
> There is very little documentation for Milo, basically, a single README
> file.  Can some one point me on where to get more info about Milo. I need
> basically the following:
> 
> 1- How exactly does Milo boot the kernel ?
> 2- Where should the Milo executable reside. On Disk, ROM ...etc. ?

On any medium that is supporte by the ARC firmware implementation.  In
practice that means a TFTP/BOOTP server, CDROM, FAT fs on a local harddisk.

> 3- What functions does Milo perform ?
> 4- Do I still need BIOS support with Milo ?
> 5- What is this ARC firmware ?

Basically a very primitive OS or BIOS for PC-oid brains.

> 6- Where is the latest Milo ?

0.27.1 is the latest, from oss.sgi.com or other places that collect antique
stuff.

> I'll be booting this kernel on a harware Emulator with a limited
> functionality target board. The Target board itself is a PCI-based board
> that sits in a regular PC and contains memory (system memory).
> 
> I would appreciate pointers to information related to the above.

I recommend to not use Milo.  The normal build process will provide you an
ELF kernel binary; with elf2ecoff the kernel sources also provide you with
a tool to convert this into ECOFF.  That is what more than 95% of embedded
and evaluation systems will need.  Milo was only used in the early stages
of Linux/MIPS development has been abandomed like two years ago.

  Ralf

From owner-linuxmips@oss.sgi.com Tue Dec 21 04:26:31 1999
Received:  by oss.sgi.com id <S305186AbPLUM0V>;
	Tue, 21 Dec 1999 04:26:21 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:39280 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305163AbPLUMZ7>;
	Tue, 21 Dec 1999 04:25:59 -0800
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 EAA05412; Tue, 21 Dec 1999 04:21:11 -0800 (PST)
	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 EAA26190
	for linux-list;
	Tue, 21 Dec 1999 04:03:05 -0800 (PST)
	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 EAA55570
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 21 Dec 1999 04:03:00 -0800 (PST)
	mail_from (jmatsu@cse.canon.co.jp)
Received: from canongate.in.canon.co.jp (canongate.in.canon.co.jp [150.61.4.5]) 
	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 EAA01628
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 04:02:58 -0800 (PST)
	mail_from (jmatsu@cse.canon.co.jp)
Received: (from uucp@localhost)
	by canongate.in.canon.co.jp (3.7W) id VAA15286
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 21:02:56 +0900 (JST)
Received: from <jmatsu@cse.canon.co.jp> (isvw1.cecn.canon.co.jp [150.61.8.152]) by canongate via smap (V2.1)
	id xma015281; Tue, 21 Dec 99 21:02:36 +0900
Received: from canongw.cecn.canon.co.jp (localhost [127.0.0.1])
	by isvw1.cecn.canon.co.jp (8.9.3/3.7W) with ESMTP id VAA27176
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 21:02:35 +0900 (JST)
Received: from season.cse.canon.co.jp (season.cse.canon.co.jp [172.20.48.1])
	by canongw.cecn.canon.co.jp (8.9.3/3.7W) with ESMTP id VAA19116
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 21:02:35 +0900 (JST)
Received: from localhost (grass.cse.canon.co.jp [172.20.50.95])
	by season.cse.canon.co.jp (8.9.1/3.7W) with ESMTP id VAA28116;
	Tue, 21 Dec 1999 21:02:34 +0900 (JST)
To:     linux@cthulhu.engr.sgi.com
Subject: patch for glibc-2.0.6
From:   Jun Matsuda <jmatsu@cse.canon.co.jp>
X-Mailer: Mew version 1.95b3 on Emacs 20.5 / Mule 4.0
 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?=
References: <19991206214429.T765@uni-koblenz.de>
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <19991221210256U.jmatsu@cse.canon.co.jp>
Date:   Tue, 21 Dec 1999 21:02:56 +0900
X-Dispatcher: imput version 991025(IM133)
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 330
Lines: 12

Hi,

I plan to construct the cross compilation environment as
described in the Linux/MIPS-HOWTO. But I could not find the
patch for glibc-2.0.6 (glibc-2.0.6-mips.patch) and without
this patch, I failed to compile glibc-2.0.6.

Does anyone tell me the place where to find it?

--
Best regards,
Jun Matsuda (jmatsu@cse.canon.co.jp)

From owner-linuxmips@oss.sgi.com Tue Dec 21 06:34:40 1999
Received:  by oss.sgi.com id <S305186AbPLUOeb>;
	Tue, 21 Dec 1999 06:34:31 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:28455 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305163AbPLUOeT>; Tue, 21 Dec 1999 06:34:19 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id GAA07875; Tue, 21 Dec 1999 06:35:42 -0800 (PST)
	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 GAA58177
	for linux-list;
	Tue, 21 Dec 1999 06:21:32 -0800 (PST)
	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 GAA41092
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 21 Dec 1999 06:21:20 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
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 GAA00292
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 06:21:12 -0800 (PST)
	mail_from (ralf@oss.sgi.com)
Received: from cacc-23.uni-koblenz.de (cacc-23.uni-koblenz.de [141.26.131.23])
	by mailhost.uni-koblenz.de (8.9.1/8.9.1) with ESMTP id PAA02106;
	Tue, 21 Dec 1999 15:21:09 +0100 (MET)
Received:  by lappi.waldorf-gmbh.de id <S407891AbPLUOTa>;
	Tue, 21 Dec 1999 15:19:30 +0100
Date:   Tue, 21 Dec 1999 15:19:30 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Jun Matsuda <jmatsu@cse.canon.co.jp>
Cc:     linux@cthulhu.engr.sgi.com
Subject: Re: patch for glibc-2.0.6
Message-ID: <19991221151930.A11668@uni-koblenz.de>
References: <19991206214429.T765@uni-koblenz.de> <19991221210256U.jmatsu@cse.canon.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
In-Reply-To: <19991221210256U.jmatsu@cse.canon.co.jp>
X-Accept-Language: de,en,fr
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 383
Lines: 12

On Tue, Dec 21, 1999 at 09:02:56PM +0900, Jun Matsuda wrote:

> I plan to construct the cross compilation environment as
> described in the Linux/MIPS-HOWTO. But I could not find the
> patch for glibc-2.0.6 (glibc-2.0.6-mips.patch) and without
> this patch, I failed to compile glibc-2.0.6.
> 
> Does anyone tell me the place where to find it?

In the SRPM package of glibc.

  Ralf

From owner-linuxmips@oss.sgi.com Tue Dec 21 08:29:31 1999
Received:  by oss.sgi.com id <S305165AbPLUQ3V>;
	Tue, 21 Dec 1999 08:29:21 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:30515 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305163AbPLUQ3E>; Tue, 21 Dec 1999 08:29:04 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id IAA07766; Tue, 21 Dec 1999 08:30:27 -0800 (PST)
	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 IAA95588
	for linux-list;
	Tue, 21 Dec 1999 08:05:32 -0800 (PST)
	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 IAA11517
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 21 Dec 1999 08:05:24 -0800 (PST)
	mail_from (flo@rfc822.org)
Received: from noose.gt.owl.de (noose.gt.owl.de [62.52.19.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 IAA09799
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 08:05:04 -0800 (PST)
	mail_from (flo@rfc822.org)
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id 326DF7FD; Tue, 21 Dec 1999 17:04:58 +0100 (CET)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id B7CAA8F93; Tue, 21 Dec 1999 16:54:44 +0100 (CET)
Date:   Tue, 21 Dec 1999 16:54:44 +0100
From:   Florian Lohoff <flo@rfc822.org>
To:     Jun Matsuda <jmatsu@cse.canon.co.jp>
Cc:     linux@cthulhu.engr.sgi.com
Subject: Re: patch for glibc-2.0.6
Message-ID: <19991221165444.W272@paradigm.rfc822.org>
References: <19991206214429.T765@uni-koblenz.de> <19991221210256U.jmatsu@cse.canon.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.3i
In-Reply-To: <19991221210256U.jmatsu@cse.canon.co.jp>; from Jun Matsuda on Tue, Dec 21, 1999 at 09:02:56PM +0900
Organization: rfc822 - pure communication
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 835
Lines: 24

On Tue, Dec 21, 1999 at 09:02:56PM +0900, Jun Matsuda wrote:
> Hi,
> 
> I plan to construct the cross compilation environment as
> described in the Linux/MIPS-HOWTO. But I could not find the
> patch for glibc-2.0.6 (glibc-2.0.6-mips.patch) and without
> this patch, I failed to compile glibc-2.0.6.
> 
> Does anyone tell me the place where to find it?

There is a source rpm for it somewhere - Or a debian source package
for 2.0.7.981112 or something at

ftp://ftp.rfc822.org/pub/local/debian/debian/experimental 

or something like that - It doesnt compile out of the box because
the tic and rpcgen get linked to the wrong lib ...

Flo
-- 
Florian Lohoff		flo@rfc822.org		      	+49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ...             Cisco Field Notice


From owner-linuxmips@oss.sgi.com Tue Dec 21 16:21:46 1999
Received:  by oss.sgi.com id <S305165AbPLVAVi>;
	Tue, 21 Dec 1999 16:21:38 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:576 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S305163AbPLVAVV>;
	Tue, 21 Dec 1999 16:21:21 -0800
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 QAA22846; Tue, 21 Dec 1999 16:16:35 -0800 (PST)
	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 QAA16102
	for linux-list;
	Tue, 21 Dec 1999 16:00:36 -0800 (PST)
	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 QAA13843
	for <linux@cthulhu.engr.sgi.com>;
	Tue, 21 Dec 1999 16:00:27 -0800 (PST)
	mail_from (jmatsu@cse.canon.co.jp)
Received: from canongate.in.canon.co.jp (canongate.in.canon.co.jp [150.61.4.5]) 
	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 QAA04720
	for <linux@cthulhu.engr.sgi.com>; Tue, 21 Dec 1999 16:00:16 -0800 (PST)
	mail_from (jmatsu@cse.canon.co.jp)
Received: (from uucp@localhost)
	by canongate.in.canon.co.jp (3.7W) id JAA01999
	for <linux@cthulhu.engr.sgi.com>; Wed, 22 Dec 1999 09:00:13 +0900 (JST)
Received: from <jmatsu@cse.canon.co.jp> (isvw1.cecn.canon.co.jp [150.61.8.152]) by canongate via smap (V2.1)
	id xma001859; Wed, 22 Dec 99 08:59:25 +0900
Received: from canongw.cecn.canon.co.jp (localhost [127.0.0.1])
	by isvw1.cecn.canon.co.jp (8.9.3/3.7W) with ESMTP id IAA11091
	for <linux@cthulhu.engr.sgi.com>; Wed, 22 Dec 1999 08:59:24 +0900 (JST)
Received: from season.cse.canon.co.jp (season.cse.canon.co.jp [172.20.48.1])
	by canongw.cecn.canon.co.jp (8.9.3/3.7W) with ESMTP id IAA12544
	for <linux@cthulhu.engr.sgi.com>; Wed, 22 Dec 1999 08:59:24 +0900 (JST)
Received: from localhost (grass.cse.canon.co.jp [172.20.50.95])
	by season.cse.canon.co.jp (8.9.1/3.7W) with ESMTP id IAA19645;
	Wed, 22 Dec 1999 08:59:23 +0900 (JST)
To:     linux@cthulhu.engr.sgi.com
Subject: Re: patch for glibc-2.0.6
From:   Jun Matsuda <jmatsu@cse.canon.co.jp>
In-Reply-To: <19991221151930.A11668@uni-koblenz.de>
References: <19991206214429.T765@uni-koblenz.de>
	<19991221210256U.jmatsu@cse.canon.co.jp>
	<19991221151930.A11668@uni-koblenz.de>
	<19991221165444.W272@paradigm.rfc822.org>
X-Mailer: Mew version 1.95b3 on Emacs 20.5 / Mule 4.0
 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?=
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <19991222085945O.jmatsu@cse.canon.co.jp>
Date:   Wed, 22 Dec 1999 08:59:45 +0900
X-Dispatcher: imput version 991025(IM133)
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 695
Lines: 27

Hi,

  Ralf Baechle <ralf@oss.sgi.com> wrote:
> > Does anyone tell me the place where to find it?
> 
> In the SRPM package of glibc.

I found the SPRM package for egcs and binutils, but I could not
find package for glibc.

I expect the SPRM package for glibc is in:
ftp://ftp.linux.sgi.com/pub/linux/mips/crossdev/src/

Does anyone know the exact place of the SPRM package for
glibc in ftp.linux.sgi.com?

  Florian Lohoff <flo@rfc822.org> wrote:
> There is a source rpm for it somewhere - Or a debian source package
> for 2.0.7.981112 or something at
> 
> ftp://ftp.rfc822.org/pub/local/debian/debian/experimental 

Thanks! I will try it.

--
Best regards,
Jun Matsuda (jmatsu@cse.canon.co.jp)

From owner-linuxmips@oss.sgi.com Wed Dec 22 18:08:28 1999
Received:  by oss.sgi.com id <S305192AbPLWCIT>;
	Wed, 22 Dec 1999 18:08:19 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:3660 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305191AbPLWCIA>; Wed, 22 Dec 1999 18:08:00 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id SAA07386; Wed, 22 Dec 1999 18:09:32 -0800 (PST)
	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 RAA13597
	for linux-list;
	Wed, 22 Dec 1999 17:46:31 -0800 (PST)
	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 RAA32507
	for <linux@engr.sgi.com>;
	Wed, 22 Dec 1999 17:46:27 -0800 (PST)
	mail_from (chuckc@sentex.net)
Received: from vinyl.sentex.ca (vinyl.sentex.ca [209.112.4.14]) 
	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 RAA05998
	for <linux@engr.sgi.com>; Wed, 22 Dec 1999 17:46:23 -0800 (PST)
	mail_from (chuckc@sentex.net)
Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1])
	by vinyl.sentex.ca (8.9.3/8.9.3) with ESMTP id UAA97024
	for <linux@engr.sgi.com>; Wed, 22 Dec 1999 20:46:21 -0500 (EST)
	(envelope-from chuckc@sentex.net)
Received: from judy (p39.boron.sentex.ca [209.112.14.247]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id UAA24376 for <linux@engr.sgi.com>; Wed, 22 Dec 1999 20:46:20 -0500 (EST)
Message-ID: <001c01bf4ce7$666f74c0$1900000a@judy>
From:   "Charles Cosby" <chuckc@sentex.net>
To:     <linux@cthulhu.engr.sgi.com>
Subject: Linux for a Personal Iris
Date:   Wed, 22 Dec 1999 20:45:30 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0019_01BF4CBD.7C63ABE0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 2117
Lines: 60

This is a multi-part message in MIME format.

------=_NextPart_000_0019_01BF4CBD.7C63ABE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello:

I have several Personal Iris' (from 4D/20's with entry graphics and 8 =
meg up to 4D/35's with Turbo Graphics with 104 meg) and would love to =
play with Linux on them.  I am using Linux now (red Hat 6.0) on an Intel =
box but the tought of putting it on one (or more) of my Iris' is very =
intriguing.  I realize that SGI has long since dropped support for these =
boxes but since I am the proud owner of 10 of them I would love to see =
this new OS ported to them.  I am also willing to help.  I am located =
just outside of guelph Ontario Canada.  If anyone has any info about =
this please let me know.

thanks
Chuck

------=_NextPart_000_0019_01BF4CBD.7C63ABE0
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.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#c0c0c0>
<DIV><FONT size=3D2>Hello:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I have several Personal Iris' (from 4D/20's with =
entry=20
graphics and 8 meg up to 4D/35's with Turbo Graphics with 104 meg) and =
would=20
love to play with Linux on them.&nbsp; I am using Linux now (red Hat =
6.0) on an=20
Intel box but the tought of putting it on one (or more) of my Iris' is =
very=20
intriguing.&nbsp; I realize that SGI has long since dropped support for =
these=20
boxes but since I am the proud owner of 10 of them I would love to see =
this new=20
OS ported to them.&nbsp; I am also willing to help.&nbsp; I am located =
just=20
outside of guelph Ontario Canada.&nbsp; If anyone has any info about =
this please=20
let me know.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>thanks</FONT></DIV>
<DIV><FONT size=3D2>Chuck</FONT></DIV></BODY></HTML>

------=_NextPart_000_0019_01BF4CBD.7C63ABE0--


From owner-linuxmips@oss.sgi.com Wed Dec 29 11:44:32 1999
Received:  by oss.sgi.com id <S305201AbPL2ToX>;
	Wed, 29 Dec 1999 11:44:23 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:18702 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S305166AbPL2Tn6>; Wed, 29 Dec 1999 11:43:58 -0800
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id LAA04758; Wed, 29 Dec 1999 11:46:10 -0800 (PST)
	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 LAA44713
	for linux-list;
	Wed, 29 Dec 1999 11:22:01 -0800 (PST)
	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 LAA48886
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 29 Dec 1999 11:21:54 -0800 (PST)
	mail_from (jharrell@ti.com)
Received: from tower.ti.com (tower.ti.com [192.94.94.5]) 
	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 LAA06018
	for <linux@cthulhu.engr.sgi.com>; Wed, 29 Dec 1999 11:21:53 -0800 (PST)
	mail_from (jharrell@ti.com)
Received: from dlep8.itg.ti.com ([157.170.134.88])
	by tower.ti.com (8.9.3/8.9.3) with ESMTP id NAA18525
	for <linux@cthulhu.engr.sgi.com>; Wed, 29 Dec 1999 13:21:52 -0600 (CST)
Received: from dlep8.itg.ti.com (localhost [127.0.0.1])
	by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id NAA12556
	for <linux@cthulhu.engr.sgi.com>; Wed, 29 Dec 1999 13:21:29 -0600 (CST)
Received: from dlep4.itg.ti.com (dlep4.itg.ti.com [157.170.188.63])
	by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id NAA12552
	for <linux@cthulhu.engr.sgi.com>; Wed, 29 Dec 1999 13:21:29 -0600 (CST)
Received: from ti.com (IDENT:jharrell@pcp97780pcs.sc.ti.com [158.218.100.100])
	by dlep4.itg.ti.com (8.9.3/8.9.3) with ESMTP id NAA08635
	for <linux@cthulhu.engr.sgi.com>; Wed, 29 Dec 1999 13:21:50 -0600 (CST)
Message-ID: <386A5F9B.50B4AFEF@ti.com>
Date:   Wed, 29 Dec 1999 12:23:07 -0700
From:   Jeff Harrell <jharrell@ti.com>
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux@cthulhu.engr.sgi.com
Subject: question concerning serial console setup
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 1086
Lines: 32

I wonder if anybody might have some information concerning the setup of
a serial console device
on the MIPS/Linux platform.  I have been looking at the sgi (indy)
source code to determine how to
setup a serial console device.  The file arch/mips/sgi/kernel/setup.c
contains a call to "console_setup"
passing the parameters "ttys0" and NULL.  I have had some trouble
locating the routine that this is
actually calling (file, directory?).  It looks like there is a version
in printk.c and in one of  the char drivers (serial167.c).
These do not seem like the correct routines.  In our architecture we are
using the 85C30 (SCC) driver
(zs.c, zs.h),  can I use the serial_console_init routines from this code
to accomplish the same thing?  Is
serial_console setting up additional information that won't get setup
elsewhere?   Any help would be
greatly appreciated.

Thanks,
Jeff



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




From owner-linuxmips@oss.sgi.com Wed Dec 29 16:58:27 1999
Received:  by oss.sgi.com id <S305175AbPL3A6S>;
	Wed, 29 Dec 1999 16:58:18 -0800
Received: from sgi.SGI.COM ([192.48.153.1]:45153 "EHLO sgi.com")
	by oss.sgi.com with ESMTP id <S305166AbPL3A6C>;
	Wed, 29 Dec 1999 16:58:02 -0800
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 QAA08171; Wed, 29 Dec 1999 16:58:14 -0800 (PST)
	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 QAA40461
	for linux-list;
	Wed, 29 Dec 1999 16:48:25 -0800 (PST)
	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 QAA18474
	for <linux@cthulhu.engr.sgi.com>;
	Wed, 29 Dec 1999 16:48:21 -0800 (PST)
	mail_from (conradp@cse.unsw.edu.au)
Received: from note.orchestra.cse.unsw.EDU.AU (note.orchestra.cse.unsw.EDU.AU [129.94.242.29]) 
	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 QAA03578
	for <linux@cthulhu.engr.sgi.com>; Wed, 29 Dec 1999 16:48:17 -0800 (PST)
	mail_from (conradp@cse.unsw.edu.au)
Received: From ives With LocalMail ; Thu, 30 Dec 99 11:47:36 +1100 
From:   Conrad Parker <conradp@cse.unsw.edu.au>
To:     Jeff Harrell <jharrell@ti.com>, linux@cthulhu.engr.sgi.com
Date:   Thu, 30 Dec 1999 11:47:36 +1100
Message-ID: <19991230114736.C18261@cse.unsw.edu.au>
Subject: Re: question concerning serial console setup
References: <386A5F9B.50B4AFEF@ti.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <386A5F9B.50B4AFEF@ti.com>; from Jeff Harrell on Wed, Dec 29, 1999 at 12:23:07PM -0700
Sender: owner-linuxmips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linuxmips@oss.sgi.com>
X-Orcpt: rfc822;linuxmips-outgoing
Content-Length: 3087
Lines: 63

On Wed, Dec 29, 1999 at 12:23:07PM -0700, Jeff Harrell wrote:
> I wonder if anybody might have some information concerning the setup of
> a serial console device
> on the MIPS/Linux platform.  I have been looking at the sgi (indy)
> source code to determine how to
> setup a serial console device.  The file arch/mips/sgi/kernel/setup.c
> contains a call to "console_setup"
> passing the parameters "ttys0" and NULL.  I have had some trouble
> locating the routine that this is
> actually calling (file, directory?).  It looks like there is a version
> in printk.c and in one of  the char drivers (serial167.c).
> These do not seem like the correct routines.

the version in serial167.c is commented out and looks like it was once
there only as a placeholder.

console_setup() in printk.c is the correct one, but it doesn't do everything
you want. It simply determines which of the possible consoles is the system
("preferred") console. Normally this is called via parse_options in
init/main.c so you can set it on booting by passing the kernel parameter
console=blah, but it can be called any time before the kernel calls
console_init() (which it does immediately after calling parse_options, in
order to get the console up asap). If you've configured the kernel to run a
serial console, console_init() (which is in drivers/char/tty_io.c) will call
serial_console_init().

For the SGI/MIPS, (the code you're looking at in
arch/mips/sgi/kernel/setup.c) the choice of serial console can be
determined by querying the prom settings, so rather than forcing this to be
a boot parameter the correct console is set up at runtime. (If I'm not
mistaken, this can still be overriden by passing a kernel parameter, as
this bit of setup is called way before init/main.c calls parse_options()).
However, you don't need to call console_setup() in your platform setup
routine -- it's only done here for convenience.

> In our architecture we are
> using the 85C30 (SCC) driver
> (zs.c, zs.h),  can I use the serial_console_init routines from this code
> to accomplish the same thing?  Is
> serial_console setting up additional information that won't get setup
> elsewhere?   Any help would be
> greatly appreciated.
> 

using zs.c and zs.h from where? (ie. your own code, or from somewhere like
drivers/tc?) drivers/sgi/char/sgiserial.c also implements Z8530 support
nicely.

The serial console routines set up linux console functions that happen
to use the serial device; a console is something that basically provides
a write function, possibly a read function, and some other stuff like
special key settings. So, eg. your console write function (like
zs_console_write in sgiserial.c) does a few serial put_chars and so on.

You need to set up a struct console with these fields (as defined in
<linux/console.h>), then make a serial_console_init() function that
calls register_console (defined in printk.c). It'll become the default
system console if it's the first console to be registered (and nothing
then calls console_setup), or if you pass the console=ttyS? parameter to
the kernel.

Conrad.


