From owner-linux-mips@oss.sgi.com Wed Nov  1 00:24:07 2000
Received:  by oss.sgi.com id <S553936AbQKAIX6>;
	Wed, 1 Nov 2000 00:23:58 -0800
Received: from mx.mips.com ([206.31.31.226]:32253 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553840AbQKAIXt>;
	Wed, 1 Nov 2000 00:23:49 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id AAA18633;
	Wed, 1 Nov 2000 00:23:27 -0800 (PST)
Received: from Ulysses (par-qbu-gpb-vty6.as.wcom.net [195.232.111.6])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id AAA11623;
	Wed, 1 Nov 2000 00:23:33 -0800 (PST)
Message-ID: <001501c043dd$7ed69780$066fe8c3@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Brady Brown" <bbrown@ti.com>, "Nicu Popovici" <octavp@isratech.ro>
Cc:     <linux-mips@oss.sgi.com>
References: <39FF1A83.387D0E1F@isratech.ro> <39FF2AEB.3137F75E@ti.com>
Subject: Re: MIPS ftp problem!
Date:   Wed, 1 Nov 2000 09:26:46 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> > I have a problem with the mips machine. I have an Atlas board and when I
> > do ftp on the mips machine from a intel one and I try to transfer files
> > ( it works very very slow 0,0234 bytes/s). The same is happening when I
> > try to make ftp from the mips machine on a intel box ( all running Linux
> > ).
> >
> > Thanks,
> > Nicu
>
> Is this using the Atlas on-board NIC? We found some pretty bad performance
> with the on-board NIC and went to the very cheap RTL8139 PCI card from
> OvisLink (used the 8139too.o driver). Performance there is pretty good.

There seems to be a problem with the on-board NIC on the Philips
multi-I/O part misbehaving under load.   It seems to be OK
for TFTP downloading and telnet sessions, but loses packets/interrupts
under FTP or NFS.  So I heartily second Brady's recommendation
of using an add-in PCI NIC. At MIPS, we use AMD PCnet cards,
for which there is a MIPS cache-and-endianness-clean driver in the
kernel sources on the MIPS FTP site (and I think built into the kernel
binary there as well).

            Regards,

            Kevin K.


From owner-linux-mips@oss.sgi.com Wed Nov  1 01:10:08 2000
Received:  by oss.sgi.com id <S553941AbQKAJJ6>;
	Wed, 1 Nov 2000 01:09:58 -0800
Received: from noose.gt.owl.de ([62.52.19.4]:9229 "HELO noose.gt.owl.de")
	by oss.sgi.com with SMTP id <S553937AbQKAJJg>;
	Wed, 1 Nov 2000 01:09:36 -0800
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id BDCA8900; Wed,  1 Nov 2000 10:09:33 +0100 (CET)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id 6C2D28FE1; Wed,  1 Nov 2000 10:09:28 +0100 (CET)
Date:   Wed, 1 Nov 2000 10:09:28 +0100
From:   Florian Lohoff <flo@rfc822.org>
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     Jun Sun <jsun@mvista.com>, linux-mips@oss.sgi.com
Subject: Re: userspace spinlocks
Message-ID: <20001101100928.D3539@paradigm.rfc822.org>
References: <20001030151736.C2687@paradigm.rfc822.org> <39FDB50A.4919D84E@mvista.com> <20001031211431.C28909@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <20001031211431.C28909@bacchus.dhis.org>; from ralf@oss.sgi.com on Tue, Oct 31, 2000 at 09:14:31PM +0100
Organization: rfc822 - pure communication
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Oct 31, 2000 at 09:14:31PM +0100, Ralf Baechle wrote:
> But what is the better alternative?  Emulating ll/sc is a generic facility.
> Aside of making that more efficient the only idea I have is putting entire
> atomic operations into the kernel such that the standard case should result
> in at most one exception to be handled in the kernel.

Its just that i fell over db-2.7.7 which told me on configure that
it cant find "spinlocks" for this architecture - I had a closer look
now and it seems they have asm files for each cpu type on how to 
implement the atomic "test and set" logic. But nothing for mips.
There is a long README stating that there is no real portable way
on how to do locking and if no architecture atomic "test and set" logic
would be available they would use some complicated fnctl semantics.

> Btw, could somebody put a counter into the ll/sc emulator and test how
> often it gets called on a R3000 machine?

I hope never Sir

arch/mips/kernel/traps.c

    466         /*
    467          * TODO: compute physical address from vaddr
    468          */
    469         panic("ll: emulation not yet finished!");
    470

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?


From owner-linux-mips@oss.sgi.com Wed Nov  1 05:37:00 2000
Received:  by oss.sgi.com id <S553948AbQKANgu>;
	Wed, 1 Nov 2000 05:36:50 -0800
Received: from u-199.karlsruhe.ipdial.viaginterkom.de ([62.180.18.199]:39183
        "EHLO u-199.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553945AbQKANgf>; Wed, 1 Nov 2000 05:36:35 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869089AbQKANgL>;
        Wed, 1 Nov 2000 14:36:11 +0100
Date:   Wed, 1 Nov 2000 14:36:11 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Mike Klar <mfklar@ponymail.com>
Cc:     Jun Sun <jsun@mvista.com>, linux-mips@oss.sgi.com
Subject: Re: userspace spinlocks
Message-ID: <20001101143611.B7375@bacchus.dhis.org>
References: <39FF414D.6B0A553C@mvista.com> <NDBBIDGAOKMNJNDAHDDMIECFCNAA.mfklar@ponymail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <NDBBIDGAOKMNJNDAHDDMIECFCNAA.mfklar@ponymail.com>; from mfklar@ponymail.com on Tue, Oct 31, 2000 at 10:50:39PM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Oct 31, 2000 at 10:50:39PM -0800, Mike Klar wrote:

> > BTW, I didn't know the kernel already has ll/sc emulation.  That seems
> > to be necessary, even just for the binary compability sake.
> 
> It's not complete in the Linux-MIPS tree, it is at least more so in the
> Linux VR tree, but still only supports locking between user contexts.  Patch
> is below, sorry if it doesn't apply cleanly, there were a few bits that I
> cut out that weren't pertinent to LL/SC.
> 
> The bits that have to do with ll_task in the below patch look wrong, though,
> and I only just noticed when preparing this patch that it had gotten added.
> I'm not sure what the motivation for adding it was, maybe clearing ll_bit
> only on context switches was not sufficient to cover all cases (like thread
> creation, maybe?), but I thought I had looked into that already.

Ok, I'll take this and try to hack it into shape.  I especially don't
like putting anything into the scheduler - another 5 ns for a 200MHz box
per cotext switch go down the drain.  For sanity reasons I also think we
don't want to support SMP for the ll/sc emulation.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  1 06:02:30 2000
Received:  by oss.sgi.com id <S553950AbQKAOCV>;
	Wed, 1 Nov 2000 06:02:21 -0800
Received: from u-199.karlsruhe.ipdial.viaginterkom.de ([62.180.18.199]:39951
        "EHLO u-199.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553947AbQKAOCM>; Wed, 1 Nov 2000 06:02:12 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869089AbQKAOCE>;
        Wed, 1 Nov 2000 15:02:04 +0100
Date:   Wed, 1 Nov 2000 15:02:03 +0100
From:   Ralf Baechle <ralf@uni-koblenz.de>
To:     linux-mips@oss.sgi.com, netdev@oss.sgi.com,
        Trevor Hurst <trev@sgi.com>,
        Quentin Arce <qarce@pc-griffin2.engr.sgi.com>
Subject: ADMIN: SPAM
Message-ID: <20001101150203.C7375@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

I take this new spam to a oss mailing list as the reason to explain the
anti-spam measures I've taken on oss:

 - oss uses ORBS and MAPS to decide about acceptable email.
 - in addition I put the ISP and relaying sites involved in spam sent via
   oss into a manually maintained blacklist.
 - I try to manually clean some of the list archives of spam.

Given the growing size of the various blacklists I'd like legitimate senders
of email to oss to complain to me (use ralf@uni-koblenz.de or ralf@gnu.org)
and we'll find a solution.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  1 08:40:01 2000
Received:  by oss.sgi.com id <S553953AbQKAQjl>;
	Wed, 1 Nov 2000 08:39:41 -0800
Received: from short.adgrafix.com ([63.79.128.2]:3479 "EHLO short.adgrafix.com")
	by oss.sgi.com with ESMTP id <S553937AbQKAQj0>;
	Wed, 1 Nov 2000 08:39:26 -0800
Received: from ppan2 (c534317-a.stcla1.sfba.home.com [24.20.134.153])
	by short.adgrafix.com (8.9.3/8.9.3) with SMTP id LAA23259;
	Wed, 1 Nov 2000 11:33:14 -0500 (EST)
From:   "Mike Klar" <mfklar@ponymail.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>
Cc:     <linux-mips@oss.sgi.com>
Subject: RE: userspace spinlocks
Date:   Wed, 1 Nov 2000 08:40:30 -0800
Message-ID: <NDBBIDGAOKMNJNDAHDDMKECHCNAA.mfklar@ponymail.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
In-Reply-To: <20001101143611.B7375@bacchus.dhis.org>
Importance: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Ralf Baechle wrote:

> Ok, I'll take this and try to hack it into shape.  I especially don't
> like putting anything into the scheduler - another 5 ns for a 200MHz box
> per cotext switch go down the drain.

I agree that's pretty nasty, but I don't see any other way to break the link
on context switches that doesn't also add the same overhead (if not more).
The worst part of it is the extra store per context switch happens even if
you don't ever use ll/sc.

You could probably implement locking primitives without it, but then you're
getting away from actually emulating ll and sc.  I guess that's not a big
deal, since we're already not emulating them 100%, but the further you get
from the actual functionality of the instructions, the more likely it is to
break some user space code when someone decides to be "clever" with ll/sc by
using them per the hardware ll/sc specification.

Then again, I'm just ranting here, since the clear-it-in-the-resume-function
approach apparently wasn't doing what it should have 100% anyway.

> For sanity reasons I also think we
> don't want to support SMP for the ll/sc emulation.

I agree.  It's not impossible to do, but very much non-trivial, for
something that will probably never be used anyway.  The embedded R4K CPUs
that I've seen without ll/sc give lack of SMP support as the reason for not
implementing ll/sc.  Sigh... as if uniprocessor systems never need locking
primitives....

Mike K.


From owner-linux-mips@oss.sgi.com Wed Nov  1 09:30:32 2000
Received:  by oss.sgi.com id <S553956AbQKARaM>;
	Wed, 1 Nov 2000 09:30:12 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:34314 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553952AbQKAR3q>;
	Wed, 1 Nov 2000 09:29:46 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id CED697CF1; Wed,  1 Nov 2000 17:29:45 +0000 (GMT)
Date:   Wed, 1 Nov 2000 17:29:45 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: GCC Compile Failed
Message-ID: <20001101172945.A27594@woody.ichilton.co.uk>
Reply-To: ian@ichilton.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.9i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I am trying to compile GCC 001019 using egcs 1.0.3a. Compiling natively on an I2

I get the following:

/usr/bin/ld:libgcc.map:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make[1]: *** [stage_a] Error 2
make[1]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make: *** [bootstrap] Error 2

Any ideas?


Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Wed Nov  1 10:58:52 2000
Received:  by oss.sgi.com id <S553958AbQKAS6c>;
	Wed, 1 Nov 2000 10:58:32 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:6895 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553955AbQKAS6J>;
	Wed, 1 Nov 2000 10:58:09 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eA1IuH330315;
	Wed, 1 Nov 2000 10:56:18 -0800
Message-ID: <3A0067C5.BA9E3174@mvista.com>
Date:   Wed, 01 Nov 2000 10:58:13 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: "Setting flush to zero for ..." - what is the warning?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


I ran some stress tests and start to get this warning.  It appears to be
generated in do_fpe() routine.  See below.  I wonder why this is
happening.  Can someone explain what is going on?  Thanks.


Jun


void do_fpe(struct pt_regs *regs, unsigned long fcr31)
{
        ....
        if (fcr31 & 0x20000) {
                /* Retry instruction with flush to zero ...  */
                if (!(fcr31 & (1<<24))) {
                        printk("Setting flush to zero for %s.\n",
                               current->comm);
                        fcr31 &= ~0x20000;
                        fcr31 |= (1<<24);
                        __asm__ __volatile__(
                                "ctc1\t%0,$31"
                                : /* No outputs */
                                : "r" (fcr31));
                        return;
                }

From owner-linux-mips@oss.sgi.com Wed Nov  1 14:32:03 2000
Received:  by oss.sgi.com id <S553716AbQKAWbn>;
	Wed, 1 Nov 2000 14:31:43 -0800
Received: from bender.bawue.de ([193.197.13.1]:10769 "HELO bender.bawue.de")
	by oss.sgi.com with SMTP id <S553690AbQKAWbh>;
	Wed, 1 Nov 2000 14:31:37 -0800
Received: from void.s.bawue.de (virtual10.lb.bawue.de [193.197.8.138])
	by bender.bawue.de (Postfix) with ESMTP
	id BDAF3822; Wed,  1 Nov 2000 23:31:33 +0100 (CET)
Received: from florian by void.s.bawue.de with local (Exim 3.16 #1 (Debian))
	id 13r7L5-0007aP-00; Thu, 02 Nov 2000 00:30:39 +0100
Date:   Thu, 2 Nov 2000 00:30:39 +0100
To:     "Linux MIPS fnet.fr" <linux-mips@fnet.fr>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Too much spam
Message-ID: <20001102003039.A28516@void.s.bawue.de>
Mail-Followup-To: Florian Laws <florian@void.s.bawue.de>,
	"Linux MIPS fnet.fr" <linux-mips@fnet.fr>, linux-mips@oss.sgi.com
References: <Pine.LNX.4.21.0011011708140.6155-100000@spock.mgnet.de> <200011011722.SAA01464@netsurf.de> <20001101222227.F14161@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20001101222227.F14161@bacchus.dhis.org>; from ralf@uni-koblenz.de on Wed, Nov 01, 2000 at 10:22:27PM +0100
From:   Florian Laws <florian@void.s.bawue.de>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 01, 2000 at 10:22:27PM +0100, Ralf Baechle wrote:
> On Wed, Nov 01, 2000 at 06:22:34PM +0100, Ulrich Teichert wrote:
> 
> > >I'm getting more spam over this list than actual posts.
> > >Is anyone able to do anything against that ?
> > 
> > Last time I wrote the same, I got some ACKs and nothing changed.
> 
> Simply because non of the subscribers has the power to change things.
> All I can do is (un)subscribe people.

Wouldn't it be a good idea to change the information for the Linux/MIPS
project on http://www.linux.org/projects/ports.html to
the new web sites and the mailing list on oss?

I think especially people looking for a Linux on MIPS project for the
first time come across that information and subscribe to the fnet list
first, so changing that data would be a first step for a possible shutdown
of the fnet list at some time in the future.

I ask the linux.org site maintainers if they could change the information,
if desired. But I am not sure which web site to use as the primary site
of the Linux/MIPS project. 
Comments?

Florian

From owner-linux-mips@oss.sgi.com Wed Nov  1 14:43:33 2000
Received:  by oss.sgi.com id <S553722AbQKAWnX>;
	Wed, 1 Nov 2000 14:43:23 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:44810 "HELO convert rfc822-to-8bit
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553714AbQKAWnG>;
	Wed, 1 Nov 2000 14:43:06 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 5785A7CD4; Wed,  1 Nov 2000 22:43:04 +0000 (GMT)
Date:   Wed, 1 Nov 2000 22:43:04 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Re: GCC Compile Failed
Message-ID: <20001101224303.A28369@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 8BIT
User-Agent: Mutt/1.3.9i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

After this problem with GCC, I have compiled the kernel, binutils, batch etc...but now have had problems with glibc.

It has been compiling glibc for about 2 hours (I2, 200Mhz, 96Mb) so must have been nearly finished, and I get:

gcc -nostdlib -nostartfiles -o /mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog  -Wl,-dynamic-linker=/lib/ld.so.1   /mnt/hd2/lfstmp/glibc-001027/glibc-build/csu/crt1.o /mnt/hd2/lfstmp/glibc-001027/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog.o  -Wl,-rpath-link=/mnt/hd2/lfstmp/glibc-001027/glibc-build:/mnt/hd2/lfstmp/glibc-001027/glibc-build/math:/mnt/hd2/lfstmp/glibc-001027/glibc-build/elf:/mnt/hd2/lfstmp/glibc-001027/glibc-build/dlfcn:/mnt/hd2/lfstmp/glibc-001027/glibc-build/nss:/mnt/hd2/lfstmp/glibc-001027/glibc-build/nis:/mnt/hd2/lfstmp/glibc-001027/glibc-build/rt:/mnt/hd2/lfstmp/glibc-001027/glibc-build/resolv:/mnt/hd2/lfstmp/glibc-001027/glibc-build/crypt:/mnt/hd2/lfstmp/glibc-001027/glibc-build/linuxthreads /mnt/hd2/lfstmp/glibc-001027/glibc-build/libc.so.6 /mnt/hd2/lfstmp/glibc-001027/glibc-build/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` /mnt/hd2/lfstmp/glibc-001027/glibc-build/csu/crtn.o
/mnt/hd2/lfstmp/glibc-001027/glibc-build/libc.so.6: undefined reference to `__pthread_initialize_minimal'
collect2: ld returned 1 exit status
make[2]: *** [/mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog] Error 1
make[2]: Leaving directory `/mnt/hd2/lfstmp/glibc-001027/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/mnt/hd2/lfstmp/glibc-001027'
make: *** [all] Error 2


Any ideas?
 

Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Wed Nov  1 14:45:43 2000
Received:  by oss.sgi.com id <S553736AbQKAWpd>;
	Wed, 1 Nov 2000 14:45:33 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:45578 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553717AbQKAWpU>;
	Wed, 1 Nov 2000 14:45:20 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 1E15D7CD4; Wed,  1 Nov 2000 22:45:19 +0000 (GMT)
Date:   Wed, 1 Nov 2000 22:45:19 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     Florian Laws <florian@void.s.bawue.de>
Cc:     linux-mips@fnet.fr, linux-mips@oss.sgi.com
Subject: Re: Too much spam
Message-ID: <20001101224518.B28369@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.9i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> I ask the linux.org site maintainers if they could change the information,
> if desired. But I am not sure which web site to use as the primary site
> of the Linux/MIPS project. 

The official site is at oss.sgi.com, but the official web site for #mipslinux (on irc.openprojects.net) is:
http://www.linux-mips.org


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Wed Nov  1 16:27:03 2000
Received:  by oss.sgi.com id <S553750AbQKBA0y>;
	Wed, 1 Nov 2000 16:26:54 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:35594 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553740AbQKBA0m>;
	Wed, 1 Nov 2000 16:26:42 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id QAA17850;
	Wed, 1 Nov 2000 16:25:56 -0800
Date:   Wed, 1 Nov 2000 16:25:56 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Ian Chilton <mailinglist@ichilton.co.uk>
Cc:     linux-mips@oss.sgi.com
Subject: Re: GCC Compile Failed
Message-ID: <20001101162556.C17186@chem.unr.edu>
References: <20001101224303.A28369@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <20001101224303.A28369@woody.ichilton.co.uk>; from mailinglist@ichilton.co.uk on Wed, Nov 01, 2000 at 10:43:04PM +0000
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 01, 2000 at 10:43:04PM +0000, Ian Chilton wrote:

> /mnt/hd2/lfstmp/glibc-001027/glibc-build/libc.so.6: undefined reference to `__pthread_initialize_minimal'
> collect2: ld returned 1 exit status
> make[2]: *** [/mnt/hd2/lfstmp/glibc-001027/glibc-build/iconv/iconv_prog] Error 1

Asked and answered. That archaic compiler cannot be used to build
glibc 2.2 because it doesn't deal with weak symbol references
properly.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Wed Nov  1 19:08:18 2000
Received:  by oss.sgi.com id <S553762AbQKBDII>;
	Wed, 1 Nov 2000 19:08:08 -0800
Received: from u-1.karlsruhe.ipdial.viaginterkom.de ([62.180.20.1]:24336 "EHLO
        u-1.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP
	id <S553751AbQKBDHl>; Wed, 1 Nov 2000 19:07:41 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869089AbQKBDG6>;
        Thu, 2 Nov 2000 04:06:58 +0100
Date:   Thu, 2 Nov 2000 04:06:58 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Jun Sun <jsun@mvista.com>
Cc:     linux-mips@oss.sgi.com
Subject: Re: "Setting flush to zero for ..." - what is the warning?
Message-ID: <20001102040657.A17786@bacchus.dhis.org>
References: <3A0067C5.BA9E3174@mvista.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A0067C5.BA9E3174@mvista.com>; from jsun@mvista.com on Wed, Nov 01, 2000 at 10:58:13AM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 01, 2000 at 10:58:13AM -0800, Jun Sun wrote:

> I ran some stress tests and start to get this warning.  It appears to be
> generated in do_fpe() routine.  See below.  I wonder why this is
> happening.  Can someone explain what is going on?  Thanks.

It tells you the over-the-thumb-fp-mode has been activated ;-)

Somebody at MIPS is working on merging the necessary fp support software
into the kernel, so this problem should be solved soon.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  1 20:32:08 2000
Received:  by oss.sgi.com id <S553759AbQKBEbr>;
	Wed, 1 Nov 2000 20:31:47 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:23546 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553681AbQKBEbV>;
	Wed, 1 Nov 2000 20:31:21 -0800
Received: from mvista.com (IDENT:ppopov@zeus.mvista.com [10.0.0.112])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eA24TV329771
	for <linux-mips@oss.sgi.com>; Wed, 1 Nov 2000 20:29:31 -0800
Message-ID: <3A00EEDF.7C5E6BD5@mvista.com>
Date:   Wed, 01 Nov 2000 20:34:39 -0800
From:   Pete Popov <ppopov@mvista.com>
Organization: Monta Vista Software
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12-20b i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: rm7000/orion board
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


There's some R7000 support, apparently added for an "Orion" board.  Has
any one had any experience with this board, or with linux on the R7000
in general?

From owner-linux-mips@oss.sgi.com Wed Nov  1 23:04:59 2000
Received:  by oss.sgi.com id <S553775AbQKBHEj>;
	Wed, 1 Nov 2000 23:04:39 -0800
Received: from router.isratech.ro ([193.226.114.69]:57102 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553724AbQKBHEL>;
	Wed, 1 Nov 2000 23:04:11 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA273oA20841
	for <linux-mips@oss.sgi.com>; Thu, 2 Nov 2000 09:03:51 +0200
Message-ID: <3A018098.ECB9E20C@isratech.ro>
Date:   Thu, 02 Nov 2000 09:56:24 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: Soon I will give up on MIPS kernel!
Content-Type: multipart/mixed;
 boundary="------------A15BF52BE68D9C32267A9CB0"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Hello,

As you know by now I don't succeeded to crosscompile a mips linux
kernel. I was at oss.sgi.com repository and I took the linux_2_2 tag but
when I try to compile I have this kind of errors.

 make CROSS_COMPILE=mips-linux-
cc -O2 -o scripts/split-include scripts/split-include.c
In file included from /usr/include/errno.h:36,
                 from scripts/split-include.c:26:
/usr/include/bits/errno.h:32: warning: `ECANCELED' redefined
/usr/include/asm/errno.h:139: warning: this is the location of the
previous d
efinition
scripts/split-include include/linux/autoconf.h include/config
mips-linux-gcc -D__KERNEL__ -I/usr/src/linux_2_2_CVS/include -Wall
-Wstrict-p
rototypes -O2 -fomit-frame-pointer  -G 0 -mno-abicalls -fno-pic
-mcpu=r3000 -
mips1 -pipe  -c -o init/main.o init/main.c
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function `atomic_add':
In file included from /usr/src/linux_2_2_CVS/include/linux/fs.h:22,
                 from /usr/src/linux_2_2_CVS/include/linux/mm.h:4,
                 from /usr/src/linux_2_2_CVS/include/linux/slab.h:14,
                 from /usr/src/linux_2_2_CVS/include/linux/malloc.h:4,
                 from /usr/src/linux_2_2_CVS/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src/linux_2_2_CVS/include/asm/atomic.h:46: invalid operands to
binary +
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function `atomic_sub':
/usr/src/linux_2_2_CVS/include/asm/atomic.h:55: invalid operands to
binary -
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function `atomic_or':
/usr/src/linux_2_2_CVS/include/asm/atomic.h:64: invalid operands to
binary |
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function `atomic_and':
/usr/src/linux_2_2_CVS/include/asm/atomic.h:73: invalid operands to
binary &
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function
`atomic_add_return':/usr/src/linux_2_2_CVS/include/asm/atomic.h:82:
incompatible types in assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h:84: incompatible types in
assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function
`atomic_sub_return':/usr/src/linux_2_2_CVS/include/asm/atomic.h:95:
incompatible types in assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h:97: incompatible types in
assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function
`atomic_or_return':
/usr/src/linux_2_2_CVS/include/asm/atomic.h:107: incompatible types in
assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h:109: incompatible types in
assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h: In function
`atomic_and_return':/usr/src/linux_2_2_CVS/include/asm/atomic.h:120:
incompatible types in assignment
/usr/src/linux_2_2_CVS/include/asm/atomic.h:122: incompatible types in
assignment
make: *** [init/main.o] Error 1

The steps that I did are :
1. made a linux symlink to linux_2_2_CVS
2. make menuconfig while I am in /usr/src/linux directory
3. make dep CROSS_COMPILE=mips-linux-
4. make CROSS_COMPILE=mips-linux-

I want to manage to crosscompile this kernel on a i686 machine for a
mips machine. So I saw there that it says something  about
/usr/include/asm  which is for my i686 machine. I guess that the errors
come from here. Can you tell me what I have to do. I have to mention
that I can crosscompile user application and then I can run tha result
on mips and it works.

Thanks,

Nicu

--------------A15BF52BE68D9C32267A9CB0
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------A15BF52BE68D9C32267A9CB0--


From owner-linux-mips@oss.sgi.com Thu Nov  2 01:03:20 2000
Received:  by oss.sgi.com id <S553791AbQKBJDB>;
	Thu, 2 Nov 2000 01:03:01 -0800
Received: from [212.71.98.33] ([212.71.98.33]:40748 "EHLO intra.pxe.ch")
	by oss.sgi.com with ESMTP id <S553773AbQKBJCc>;
	Thu, 2 Nov 2000 01:02:32 -0800
Received: from daesung.co.kr ([63.36.97.226]) by intra.pxe.ch with Microsoft SMTPSVC(5.0.2195.1600);
	 Thu, 2 Nov 2000 09:58:49 +0100
Date:   Thu, 02 Nov 2000 16:05:18 -0500
Content-Type: text/plain;
	 charset="iso-8859-1"
Content-Transfer-Encoding: 8BIT
Message-Id: <856f6t6t4v4jo10gor8.08cu5@daesung.co.kr>
From:   Lee@dejanosuke.dejavu.co.jp
Subject: Information You Requested ....
To:     bLee@dainong.co.kr
X-OriginalArrivalTime: 02 Nov 2000 08:58:50.0430 (UTC) FILETIME=[1E44DDE0:01C044AB]
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Congratulations! On taking a beginning step
in Changing your life.

Hi, my name is Lee. You were referred to me as someone who
was ready for a financial CHANGE, so let me get to the point.
I assure you your time will not be wasted.

Do you ever wonder how the rich keep getting richer? Do you 
ever wonder if THEY pay taxes or NOT? Where do they keep
their money? How do they invest? 

Well, I can show you a way to learn and impliment all the 
above, The Secrets of the Ultra Wealthy. Even better, I will 
also show you how to make $150,000+ from Home with 
your telephone and computer.

Are you Serious about making $2500 +per week with a 
simple system where the customer contacts you and you 
do absolutely NO selling?

If You can follow simple, step-by-step instructions and put
forth the effort to make this a reality Starting Immediately,
then we need to talk.

It's in my best interest to train you for success.  In fact, I'm so
sure that I can do so, I'm willing to put my money where 
my mouth is! I will provide you with complete Professional
Training and Advertising Assistance to put you immediately 
on the road to success.

There's no experience necessary.. However you must have two qualities:
1) Moderate People Skills
2) A Burning Desire for a Personal and Financial Change

Take a moment to take the next step by calling me at my 
Home Office and I will provide you with further information.


1-800-570-3782 ext 0652
24 Hrs/ 7 Days


I Wish You Great Prosperity!
Lee



"Profits are better than wages. Wages make you a living;
Profits make you a fortune"
					- Jim Rohn

To be removed send email to dispenceus@yahoo.com


From owner-linux-mips@oss.sgi.com Thu Nov  2 04:44:51 2000
Received:  by oss.sgi.com id <S553809AbQKBMol>;
	Thu, 2 Nov 2000 04:44:41 -0800
Received: from mail.hks.com ([208.157.129.5]:22048 "HELO mail.hks.com")
	by oss.sgi.com with SMTP id <S553778AbQKBMoM>;
	Thu, 2 Nov 2000 04:44:12 -0800
Received: from maru.hks.com (fw.hks.com [208.157.128.1])
	by mail.hks.com (Postfix) with ESMTP id 62A8A2002331
	for <linux-mips@oss.sgi.com>; Thu,  2 Nov 2000 07:44:11 -0500 (EST)
Received: from perseus.hks.com (perseus.hks.com [172.16.2.12])
	by maru.hks.com (Postfix) with ESMTP id 24534144
	for <@hks.com:linux-mips@oss.sgi.com>; Thu,  2 Nov 2000 07:42:37 -0500 (EST)
Received: (from donath@localhost) by perseus.hks.com (980427.SGI.8.8.8/970903.SGI) id HAA50057 for linux-mips@oss.sgi.com; Thu, 2 Nov 2000 07:42:36 -0500 (EST)
From:   "Clarence Donath" <donath@hks.com>
Message-Id: <1001102074235.ZM349830@perseus.hks.com>
Date:   Thu, 2 Nov 2000 07:42:35 -0500
In-Reply-To: Keith M Wesolowski <wesolows@chem.unr.edu>
        "Re: GCC Compile Failed" (Nov  1, 16:25)
References: <20001101224303.A28369@woody.ichilton.co.uk> 
	<20001101162556.C17186@chem.unr.edu>
X-Mailer: Z-Mail (5.0.0 30July97)
To:     linux-mips@oss.sgi.com
Subject: GCC Compile Failed
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I've been trying to get GCC to compile on my Indy for weeks now.  I started out
with the latest version of GCC, and have stepped back to egsc-1.1.2.  Each time
I try to 'make bootstap', which takes days, I get this error:

cc ERROR parsing -W:  bad syntax for option
cc WARNING:  phase key (-)  is no longer supported
cc ERROR parsing -W:  bad phase for -W option
cc WARNING:  phase key (W)  is no longer supported
cc ERROR parsing -W:  bad phase for -W option
cc ERROR parsing -W:  unknown flag
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

I'm trying to compile it using CC as I don't have GCC on this machine now.  I
do not have the ability to install the freeware copy of GCC from SGI because I
do not have root privileges to install.  I've configured with a --prefix in my
own work area.

Can anyone help me out here?

Much appreciated.

Clarence Donath

From owner-linux-mips@oss.sgi.com Thu Nov  2 07:55:42 2000
Received:  by oss.sgi.com id <S553820AbQKBPzd>;
	Thu, 2 Nov 2000 07:55:33 -0800
Received: from [203.186.75.19] ([203.186.75.19]:29445 "EHLO convert rfc822-to-8bit
        winnt.coulomb.com.hk") by oss.sgi.com with ESMTP id <S553815AbQKBPzM>;
	Thu, 2 Nov 2000 07:55:12 -0800
Received: from www.hkpresto.com (186_111user100.ctinets.com [203.186.111.100]) by winnt.coulomb.com.hk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id WA588APD; Thu, 2 Nov 2000 23:53:44 +0800
Subject: 
MIME-Version: 1.0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: 8BIT
Date:   Thu, 2 Nov 2000 23:54:51 +0800
Message-ID: <1619011189B79843AA07D04FFABF17270195A8@presto-pdc.hkpresto.com>
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.4368.4
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Index: AcBE5qCyv0KXYLEcEdSAMwDgTGlUxw==
From:   "Raymond Wong" <raymondwong@hkpresto.com>
To:     <linux-mips@oss.sgi.com>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing



From owner-linux-mips@oss.sgi.com Thu Nov  2 09:41:02 2000
Received:  by oss.sgi.com id <S553825AbQKBRkw>;
	Thu, 2 Nov 2000 09:40:52 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:64011 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553647AbQKBRkt>;
	Thu, 2 Nov 2000 09:40:49 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id JAA25909;
	Thu, 2 Nov 2000 09:39:52 -0800
Date:   Thu, 2 Nov 2000 09:39:52 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Nicu Popovici <octavp@isratech.ro>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Soon I will give up on MIPS kernel!
Message-ID: <20001102093952.A25612@chem.unr.edu>
References: <3A018098.ECB9E20C@isratech.ro>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <3A018098.ECB9E20C@isratech.ro>; from octavp@isratech.ro on Thu, Nov 02, 2000 at 09:56:24AM -0500
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 02, 2000 at 09:56:24AM -0500, Nicu Popovici wrote:

> The steps that I did are :
> 1. made a linux symlink to linux_2_2_CVS

There is absolutely no reason to do this. In fact, it's death. Put the
kernel sources in your home directory or a scratch area. Leave
everything in /usr/src as it was when you installed your system.

> I want to manage to crosscompile this kernel on a i686 machine for a
> mips machine. So I saw there that it says something  about
> /usr/include/asm  which is for my i686 machine. I guess that the errors
> come from here. Can you tell me what I have to do. I have to mention

Yep. Just...don't do that. /usr/src/linux is for your native sources
and headers. Do not cross-build kernels in /usr/src, ever.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Thu Nov  2 10:26:43 2000
Received:  by oss.sgi.com id <S553837AbQKBS0d>;
	Thu, 2 Nov 2000 10:26:33 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:14600 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553834AbQKBS0K>; Thu, 2 Nov 2000 10:26:10 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Thu, 02 Nov 2000 13:26:01 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFKP7D>; Thu, 2 Nov 2000 13:26:00 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209BA6@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: Indy ram question
Date:   Thu, 2 Nov 2000 13:24:12 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

will this work in an Indy? 

"8Meg configuration 72pin 50ns Tested Simms. This is a dutch auction and you
will be bidding for the price of 1 ea. These are all tested and working
simms. Non-Edo, W-Parity, FPM, all simms have gold fingers."

thanks. 

From owner-linux-mips@oss.sgi.com Thu Nov  2 16:21:35 2000
Received:  by oss.sgi.com id <S553755AbQKCAVZ>;
	Thu, 2 Nov 2000 16:21:25 -0800
Received: from u-240.karlsruhe.ipdial.viaginterkom.de ([62.180.21.240]:23313
        "EHLO u-240.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553793AbQKCAVQ>; Thu, 2 Nov 2000 16:21:16 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869098AbQKBMz3>;
        Thu, 2 Nov 2000 13:55:29 +0100
Date:   Thu, 2 Nov 2000 13:55:29 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Pete Popov <ppopov@mvista.com>
Cc:     "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: Re: rm7000/orion board
Message-ID: <20001102135528.A19967@bacchus.dhis.org>
References: <3A00EEDF.7C5E6BD5@mvista.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A00EEDF.7C5E6BD5@mvista.com>; from ppopov@mvista.com on Wed, Nov 01, 2000 at 08:34:39PM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 01, 2000 at 08:34:39PM -0800, Pete Popov wrote:

> There's some R7000 support, apparently added for an "Orion" board.  Has
> any one had any experience with this board, or with linux on the R7000
> in general?

The Orion is an embedded application based on the RM7000, not an evaluation
board.

The RM7000 as is in CVS isn't currently completly supported.  In particular
that code doesn't handle the L2 and L3 caches, so as is no DMA I/O is
supported for RM7000.  Aside of that it's fine CPU with Linux - and one
of the few 64-bit MIPSes with sane caches.  I got some RM7000 code in the
queue - but I will not commit it before it's tested on something better
than vapor hardware.

  Ralf

From owner-linux-mips@oss.sgi.com Thu Nov  2 17:28:45 2000
Received:  by oss.sgi.com id <S553797AbQKCB2f>;
	Thu, 2 Nov 2000 17:28:35 -0800
Received: from u-240.karlsruhe.ipdial.viaginterkom.de ([62.180.21.240]:26385
        "EHLO u-240.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553782AbQKCB2Q>; Thu, 2 Nov 2000 17:28:16 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869077AbQKCB1z>;
        Fri, 3 Nov 2000 02:27:55 +0100
Date:   Fri, 3 Nov 2000 02:27:55 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     tmaloney@ixl.com
Cc:     linux-mips@oss.sgi.com
Subject: Re: Indy ram question
Message-ID: <20001103022755.D20869@bacchus.dhis.org>
References: <0A5319EEAF65D411825E00805FBBD8A1209BA6@exchange.clt.ixl.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <0A5319EEAF65D411825E00805FBBD8A1209BA6@exchange.clt.ixl.com>; from tmaloney@ixl.com on Thu, Nov 02, 2000 at 01:24:12PM -0500
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 02, 2000 at 01:24:12PM -0500, tmaloney@ixl.com wrote:

> will this work in an Indy? 
> 
> "8Meg configuration 72pin 50ns Tested Simms. This is a dutch auction and you
> will be bidding for the price of 1 ea. These are all tested and working
> simms. Non-Edo, W-Parity, FPM, all simms have gold fingers."

Whatever W-Parity means.  Indy memory must have true parity not some bullshit
like parity generators.

  Ralf

From owner-linux-mips@oss.sgi.com Fri Nov  3 02:21:27 2000
Received:  by oss.sgi.com id <S553813AbQKCKVR>;
	Fri, 3 Nov 2000 02:21:17 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:39435 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553807AbQKCKVG>;
	Fri, 3 Nov 2000 02:21:06 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 22AF07CF1; Fri,  3 Nov 2000 10:21:05 +0000 (GMT)
Date:   Fri, 3 Nov 2000 10:21:05 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: More GCC problems
Message-ID: <20001103102105.A1787@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I posted the other day, with a problem compiling the GCC from oss.sgi.com/pub/linux/mips/mips-linux/simple/crossdev/src
I think it was 17/10/2000 IIRC.

I am trying to build a static GCC (2.97) using egcs 1.0.3a

So, I tried the older 07-07-2000, and this does not work either....arrgh

gcc -c  -DIN_GCC    -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include \
  ../../gcc/gencheck.c
cc1: Invalid option `-Wno-long-long'
make[2]: *** [gencheck.o] Error 1
make[2]: Leaving directory `/mnt/hd2/lfstmp/gcc-000707/gcc-build/gcc'
make[1]: *** [bootstrap] Error 2


I tried running make in the gcc directory, and get:

gcc -c  -DIN_GCC    -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/fold-const.c
../../gcc/fold-const.c: In function `div_and_round_double':
../../gcc/fold-const.c:676: warning: comparison between signed and unsigned
../../gcc/fold-const.c: In function `optimize_bit_field_compare':
../../gcc/fold-const.c:2936: warning: comparison between signed and unsigned
../../gcc/fold-const.c: In function `fold':
../../gcc/fold-const.c:5726: warning: comparison between signed and unsigned
../../gcc/fold-const.c:5737: warning: comparison between signed and unsigned
/tmp/cca08866.s: Assembler messages:
/tmp/cca08866.s:27593: Error: Branch out of range
/tmp/cca08866.s:27632: Error: Branch out of range
/tmp/cca08866.s:27637: Error: Branch out of range
make: *** [fold-const.o] Error 1
[root@dale:/mnt/hd2/lfstmp/gcc-000707/gcc-build/gcc]# 



Any ideas?
 

Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Fri Nov  3 02:56:47 2000
Received:  by oss.sgi.com id <S553827AbQKCK4i>;
	Fri, 3 Nov 2000 02:56:38 -0800
Received: from mx.mips.com ([206.31.31.226]:21405 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553814AbQKCK4W>;
	Fri, 3 Nov 2000 02:56:22 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id CAA10781;
	Fri, 3 Nov 2000 02:56:00 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id CAA03645;
	Fri, 3 Nov 2000 02:56:00 -0800 (PST)
Message-ID: <007d01c04585$25262e40$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>, "Jun Sun" <jsun@mvista.com>
Cc:     <linux-mips@oss.sgi.com>
References: <3A0067C5.BA9E3174@mvista.com> <20001102040657.A17786@bacchus.dhis.org>
Subject: Re: "Setting flush to zero for ..." - what is the warning?
Date:   Fri, 3 Nov 2000 11:58:56 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> On Wed, Nov 01, 2000 at 10:58:13AM -0800, Jun Sun wrote:
>
> > I ran some stress tests and start to get this warning.  It appears to be
> > generated in do_fpe() routine.  See below.  I wonder why this is
> > happening.  Can someone explain what is going on?  Thanks.
>
> It tells you the over-the-thumb-fp-mode has been activated ;-)

More seriously, there was (is, in 2.4 I guess) a hack by which,
in a desperate attempt to avoid having to do the FP emulation
in software, the kernel changed the FPU denorm handling mode
and replayed the instruction, in hopes that the problem would
go away (which it would for a subset of the unimplemented
operation cases). This is not legal IEEE behaviour, as it turns out,
but not many people cared.

> Somebody at MIPS is working on merging the necessary fp support software
> into the kernel, so this problem should be solved soon.

Once we had bolted the Algorithmics FPU emulator into the kernel,
the hack was no longer necessary.   To say that "somebody at MIPS
is working on merging the necessary fp support software into the
kernel" is perhaps a bit misleading.  The FPU emulator itself is in
the oss.sgi.com repository, in the 2_2 branch, but I did not merge
in the hacks to the kernel exception, context, signal, etc. handling.
And there are several bug fixes that have been made since then.
All the additional code is available on the ftp.mips.com server, and
has been merged by others into 2.3/2.4, most notably by the VrLinux
guys.

We've got 2.4-test running in the lab, but it is a long way
from being as robust under torture as our 2.2 kernel, and
we have not decided whether it is "ripe" enough to merge
in the FPU emulation support ourselves.

            Regards,

            Kevin K.


From owner-linux-mips@oss.sgi.com Fri Nov  3 04:04:37 2000
Received:  by oss.sgi.com id <S553838AbQKCME2>;
	Fri, 3 Nov 2000 04:04:28 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:43019 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553821AbQKCMET>;
	Fri, 3 Nov 2000 04:04:19 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 8BF3E7CF1; Fri,  3 Nov 2000 12:04:18 +0000 (GMT)
Date:   Fri, 3 Nov 2000 12:04:18 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: CVS GCC Broken (001103)
Message-ID: <20001103120418.A1950@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I have been trying to compile GCC from today nativly, but it gives me the same error I got with the 07102000 one from oss.

It works when cross-compiling with make-cross though....


Nativly (with egcs 1.0.3a) I get :

/usr/bin/ld:libgcc.map:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/mnt/hd2/lfstmp/gcc/gcc-build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/mnt/hd2/lfstmp/gcc/gcc-build/gcc'
make[1]: *** [stage_a] Error 2
make[1]: Leaving directory `/mnt/hd2/lfstmp/gcc/gcc-build/gcc'
make: *** [bootstrap] Error 2


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Fri Nov  3 05:21:57 2000
Received:  by oss.sgi.com id <S553840AbQKCNVr>;
	Fri, 3 Nov 2000 05:21:47 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:64091 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553761AbQKCNV1>;
	Fri, 3 Nov 2000 05:21:27 -0800
Received: from relay.istanbul.sgi.com (relay.istanbul.sgi.com [144.253.232.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id FAA01872
	for <linux-mips@oss.sgi.com>; Fri, 3 Nov 2000 05:13:36 -0800 (PST)
	mail_from (Huseyin@sgi.com)
Received: from nt-emea-trbdc.istanbul.sgi.com (nt-emea-trbdc.istanbul.sgi.com [144.253.232.21]) by relay.istanbul.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA19979 for <linux-mips@oss.sgi.com>; Fri, 3 Nov 2000 15:02:22 +0200 (MET)
Received: by nt-emea-trbdc.istanbul.sgi.com with Internet Mail Service (5.5.2650.21)
	id <VTSW7677>; Fri, 3 Nov 2000 15:03:18 +0200
Message-ID: <801EE44EFDA5D411AFA90090278610F3019D0B@nt-emea-trbdc.istanbul.sgi.com>
From:   Huseyin Sasmaz <Huseyin@sgi.com>
To:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: linux on Origin200
Date:   Fri, 3 Nov 2000 15:03:18 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-9"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Did anyone try to use linux on Origin 200?

Any feedback will be appreciated

From owner-linux-mips@oss.sgi.com Fri Nov  3 05:27:07 2000
Received:  by oss.sgi.com id <S553842AbQKCN06>;
	Fri, 3 Nov 2000 05:26:58 -0800
Received: from router.isratech.ro ([193.226.114.69]:23816 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553839AbQKCN0u>;
	Fri, 3 Nov 2000 05:26:50 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA3DQDA12440
	for <linux-mips@oss.sgi.com>; Fri, 3 Nov 2000 15:26:14 +0200
Message-ID: <3A032BBF.4D0613B5@isratech.ro>
Date:   Fri, 03 Nov 2000 16:18:55 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: ATLAS board!
Content-Type: multipart/mixed;
 boundary="------------B20037D365E5BA09C0C07B32"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Hello ,

I have an Atlas board with a mips processor. I managed to cross compile
a MIPS kernel on our I686 machines but when I try to load the kernel
image on the mips with the following command ( I do not know other way
and if there is one please let me know ) "load
tftp:/linux/mipseb/vmlinux "  I get the following error

About to load tftp://192.168.200.1/linux/mipseb/di_vmlinux5000
Press Ctrl-C to break
Error : Line too long
Diag  : Line 1, ELF

Can anyone help me ?

Regards,
Nicu

--------------B20037D365E5BA09C0C07B32
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------B20037D365E5BA09C0C07B32--


From owner-linux-mips@oss.sgi.com Fri Nov  3 05:37:48 2000
Received:  by oss.sgi.com id <S553847AbQKCNhj>;
	Fri, 3 Nov 2000 05:37:39 -0800
Received: from mx.mips.com ([206.31.31.226]:16542 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553843AbQKCNhe>;
	Fri, 3 Nov 2000 05:37:34 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id FAA11417;
	Fri, 3 Nov 2000 05:36:54 -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 FAA06990;
	Fri, 3 Nov 2000 05:37:11 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id OAA21463;
	Fri, 3 Nov 2000 14:35:49 +0100 (MET)
Message-ID: <3A02BF34.6D0B52D5@mips.com>
Date:   Fri, 03 Nov 2000 14:35:49 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     Nicu Popovici <octavp@isratech.ro>
CC:     linux-mips@oss.sgi.com
Subject: Re: ATLAS board!
References: <3A032BBF.4D0613B5@isratech.ro>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

The loader in the prom-monitor (YAMON), doesn't understand the elf-format,
you have to convert your kernel image to a SREC format.
You can do it the following way:

objcopy -O srec vmlinux vmlinux.srec

/Carsten



Nicu Popovici wrote:

> Hello ,
>
> I have an Atlas board with a mips processor. I managed to cross compile
> a MIPS kernel on our I686 machines but when I try to load the kernel
> image on the mips with the following command ( I do not know other way
> and if there is one please let me know ) "load
> tftp:/linux/mipseb/vmlinux "  I get the following error
>
> About to load tftp://192.168.200.1/linux/mipseb/di_vmlinux5000
> Press Ctrl-C to break
> Error : Line too long
> Diag  : Line 1, ELF
>
> Can anyone help me ?
>
> Regards,
> Nicu

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




From owner-linux-mips@oss.sgi.com Fri Nov  3 06:27:18 2000
Received:  by oss.sgi.com id <S553846AbQKCO1J>;
	Fri, 3 Nov 2000 06:27:09 -0800
Received: from unidial.com ([206.112.0.9]:50482 "EHLO unidial.com")
	by oss.sgi.com with ESMTP id <S553841AbQKCO0q>;
	Fri, 3 Nov 2000 06:26:46 -0800
Received: from unidial.com (IDENT:root@1Cust180.tnt14.chi5.da.uu.net [63.22.172.180])
	by unidial.com (8.9.3/8.9.3) with ESMTP id JAA19318;
	Fri, 3 Nov 2000 09:26:33 -0500 (EST)
Message-ID: <3A02CCD9.95243DD0@unidial.com>
Date:   Fri, 03 Nov 2000 09:34:01 -0500
From:   Alan Hoyt <neuroinc@unidial.com>
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     Huseyin Sasmaz <Huseyin@sgi.com>
CC:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: Re: linux on Origin200
References: <801EE44EFDA5D411AFA90090278610F3019D0B@nt-emea-trbdc.istanbul.sgi.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Did you try searching the archive?

http://oss.sgi.com/projects/LinuxScalability/

http://oss.sgi.com/projects/LinuxScalability/download/mips64.announce


 - Alan -

Huseyin Sasmaz wrote:

> Did anyone try to use linux on Origin 200?
>
> Any feedback will be appreciated


From owner-linux-mips@oss.sgi.com Fri Nov  3 06:37:49 2000
Received:  by oss.sgi.com id <S553849AbQKCOhj>;
	Fri, 3 Nov 2000 06:37:39 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:46347 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553845AbQKCOh1>;
	Fri, 3 Nov 2000 06:37:27 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id F06687CF1; Fri,  3 Nov 2000 14:37:25 +0000 (GMT)
Date:   Fri, 3 Nov 2000 14:37:25 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Re: More GCC problems
Message-ID: <20001103143725.A2123@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> /tmp/cca08866.s: Assembler messages:
> /tmp/cca08866.s:27593: Error: Branch out of range
> /tmp/cca08866.s:27632: Error: Branch out of range
> /tmp/cca08866.s:27637: Error: Branch out of range

I get this same thing, when doing this:

- use make-cross.sh to build a cross compiling envronment using the current cvs stuff - 001103
- cross compile gcc-001017 using this:

CC="mips-linux-gcc -I/scratch/crossdev/mips-linux/mips-linux/include" CC_FOR_BUILD=cc GCC_FOR_TARGET="mips-linux-gcc -I/s/crossdev/mips-linux/include" AR=mips-linux-ar RANLIB=mips-linux-ranlib LD=mips-linux-ld ../configure --prefix=/usr --enable-threads --enable-languages=c --host=mips-linux --target=mips-linux --build=`../config.guess` && make


PLEASE someone help me out here.... I have spent the last 2 days trying to compile GCC. I have tried every version I can find, from 07072000 to 1707200 which suposidly work, to the lastest CVS version. I have tried native and cross compiling....

The only gcc builds I have had work is egcs-1.0.3a, and a 2.97 cross compile. 


I need a 2.97 native build, static, to compile glibc 2.2, then build a 2.97 dynamic.


HEEEELLLP!
 

Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Fri Nov  3 09:55:50 2000
Received:  by oss.sgi.com id <S553831AbQKCRzk>;
	Fri, 3 Nov 2000 09:55:40 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:21499 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553784AbQKCRza>;
	Fri, 3 Nov 2000 09:55:30 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eA3HrT317793;
	Fri, 3 Nov 2000 09:53:29 -0800
Message-ID: <3A02FC13.338F4CF6@mvista.com>
Date:   Fri, 03 Nov 2000 09:55:31 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     "Kevin D. Kissell" <kevink@mips.com>
CC:     Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
Subject: Re: "Setting flush to zero for ..." - what is the warning?
References: <3A0067C5.BA9E3174@mvista.com> <20001102040657.A17786@bacchus.dhis.org> <007d01c04585$25262e40$0deca8c0@Ulysses>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

"Kevin D. Kissell" wrote:
> 
> > On Wed, Nov 01, 2000 at 10:58:13AM -0800, Jun Sun wrote:
> >
> > > I ran some stress tests and start to get this warning.  It appears to be
> > > generated in do_fpe() routine.  See below.  I wonder why this is
> > > happening.  Can someone explain what is going on?  Thanks.
> >
> > It tells you the over-the-thumb-fp-mode has been activated ;-)
> 
> More seriously, there was (is, in 2.4 I guess) a hack by which,
> in a desperate attempt to avoid having to do the FP emulation
> in software, the kernel changed the FPU denorm handling mode
> and replayed the instruction, in hopes that the problem would
> go away (which it would for a subset of the unimplemented
> operation cases). This is not legal IEEE behaviour, as it turns out,
> but not many people cared.
>

I am reading between the lines.  Do you mean

1) even though the CPU (R5432 in this case) has a FPU, some instructions
(or under certain conditions) are NOT supported by the hardware?
2) So in those cases, software should do the job, but the existing 2.4
is not doing it right?
3) Can we summarize exactly what instructions (under what conditions)
are considered not supported by hardware?  Or is it too complicated to
summarieze in short?  Or should it be documented in CPU manual (which
may vary for different CPUs)

 
> > Somebody at MIPS is working on merging the necessary fp support software
> > into the kernel, so this problem should be solved soon.
> 
> Once we had bolted the Algorithmics FPU emulator into the kernel,
> the hack was no longer necessary.   To say that "somebody at MIPS
> is working on merging the necessary fp support software into the
> kernel" is perhaps a bit misleading.  The FPU emulator itself is in
> the oss.sgi.com repository, in the 2_2 branch, but I did not merge
> in the hacks to the kernel exception, context, signal, etc. handling.
> And there are several bug fixes that have been made since then.
> All the additional code is available on the ftp.mips.com server, and
> has been merged by others into 2.3/2.4, most notably by the VrLinux
> guys.
> 

If I understand correctly, FPU emulator is for the case where FPU is
completely absent.  Does it do the job we are talking about here?

Thanks.

Jun  
... totally ignorant about FPU

From owner-linux-mips@oss.sgi.com Fri Nov  3 10:08:40 2000
Received:  by oss.sgi.com id <S553848AbQKCSIa>;
	Fri, 3 Nov 2000 10:08:30 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:2318 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553830AbQKCSIP>;
	Fri, 3 Nov 2000 10:08:15 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id KAA08341;
	Fri, 3 Nov 2000 10:07:28 -0800
Date:   Fri, 3 Nov 2000 10:07:28 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Ian Chilton <mailinglist@ichilton.co.uk>
Cc:     linux-mips@oss.sgi.com
Subject: Re: More GCC problems
Message-ID: <20001103100728.A8133@chem.unr.edu>
References: <20001103143725.A2123@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <20001103143725.A2123@woody.ichilton.co.uk>; from mailinglist@ichilton.co.uk on Fri, Nov 03, 2000 at 02:37:25PM +0000
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, Nov 03, 2000 at 02:37:25PM +0000, Ian Chilton wrote:

> Hello,
> 
> > /tmp/cca08866.s: Assembler messages:
> > /tmp/cca08866.s:27593: Error: Branch out of range
> > /tmp/cca08866.s:27632: Error: Branch out of range
> > /tmp/cca08866.s:27637: Error: Branch out of range
> 
> I get this same thing, when doing this:

Don't blame the compiler. This is a gas problem. You should be able to
get around it by using optimization; -O2 is sufficient I believe. If
not, you may have to use -Os.

> PLEASE someone help me out here.... I have spent the last 2 days
> trying to compile GCC. I have tried every version I can find, from
> 07072000 to 1707200 which suposidly work, to the lastest CVS
> version. I have tried native and cross compiling....  I need a 2.97
> native build, static, to compile glibc 2.2, then build a 2.97
> dynamic.

I have no idea how to build a static compiler. The approach I took to
get my working native 1019 compiler was to cross-build it with the
same version. Since it was built against glibc 2.2, I simply installed
both glibc 2.2 and the new native compiler on my system.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Fri Nov  3 10:31:40 2000
Received:  by oss.sgi.com id <S553852AbQKCSba>;
	Fri, 3 Nov 2000 10:31:30 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:5322 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553833AbQKCSbJ>;
	Fri, 3 Nov 2000 10:31:09 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id TAA27731;
	Fri, 3 Nov 2000 19:27:02 +0100 (MET)
Date:   Fri, 3 Nov 2000 19:27:01 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Keith M Wesolowski <wesolows@chem.unr.edu>
cc:     Ian Chilton <mailinglist@ichilton.co.uk>, linux-mips@oss.sgi.com
Subject: Re: More GCC problems
In-Reply-To: <20001103100728.A8133@chem.unr.edu>
Message-ID: <Pine.GSO.3.96.1001103191640.25680C-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, 3 Nov 2000, Keith M Wesolowski wrote:

> I have no idea how to build a static compiler. The approach I took to

 Just add "-static" to CFLAGS in the usual way.

> get my working native 1019 compiler was to cross-build it with the
> same version. Since it was built against glibc 2.2, I simply installed
> both glibc 2.2 and the new native compiler on my system.

 But check the "cross_compile" statement in the gcc's specs file. 
Depending on the way of installing a cross-compiled native compiler on the
host machine you may get it right or not -- it should be "0".  I had to
tweak it manually when making an RPM package of gcc-2.95.3 (packages
available from ftp://ftp.ds2.pg.gda.pl/pub/macro).

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Fri Nov  3 10:36:00 2000
Received:  by oss.sgi.com id <S553855AbQKCSfu>;
	Fri, 3 Nov 2000 10:35:50 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:21003 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553851AbQKCSff>; Fri, 3 Nov 2000 10:35:35 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Fri, 03 Nov 2000 13:35:24 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFK8GF>; Fri, 3 Nov 2000 13:35:24 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209BCF@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: will this drive work in an Indy?
Date:   Fri, 3 Nov 2000 13:33:38 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Quantum Atlas II 4GB SCA drive fit for SGI Octane or O2. Model: HN4550SCA.
SGI P/N 064-0039-001.

7200RPM Spindle Speed 
3.5" 
SCA Interface/80 pin 
Bare Drive Only 

From owner-linux-mips@oss.sgi.com Fri Nov  3 10:44:10 2000
Received:  by oss.sgi.com id <S553857AbQKCSoA>;
	Fri, 3 Nov 2000 10:44:00 -0800
Received: from wopr.scooter.cx ([216.254.73.145]:14091 "EHLO wopr.scooter.cx")
	by oss.sgi.com with ESMTP id <S553854AbQKCSny>;
	Fri, 3 Nov 2000 10:43:54 -0800
Received: from localhost (scott@localhost)
	by wopr.scooter.cx (8.9.3/8.9.3) with ESMTP id NAA07448;
	Fri, 3 Nov 2000 13:43:48 -0500
Date:   Fri, 3 Nov 2000 13:43:48 -0500 (EST)
From:   Scott Venier <scott@scooter.cx>
To:     tmaloney@ixl.com
cc:     linux-mips@oss.sgi.com
Subject: Re: will this drive work in an Indy?
In-Reply-To: <0A5319EEAF65D411825E00805FBBD8A1209BCF@exchange.clt.ixl.com>
Message-ID: <Pine.LNX.4.21.0011031343190.21875-100000@wopr.scooter.cx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

nope.  Indy's (or at least my indy) has a standard scsi interface, not
sca.

Scott

On Fri, 3 Nov 2000 tmaloney@ixl.com wrote:

> Quantum Atlas II 4GB SCA drive fit for SGI Octane or O2. Model: HN4550SCA.
> SGI P/N 064-0039-001.
> 
> 7200RPM Spindle Speed 
> 3.5" 
> SCA Interface/80 pin 
> Bare Drive Only 
> 


From owner-linux-mips@oss.sgi.com Fri Nov  3 10:52:40 2000
Received:  by oss.sgi.com id <S553861AbQKCSwU>;
	Fri, 3 Nov 2000 10:52:20 -0800
Received: from mx.mips.com ([206.31.31.226]:31137 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553856AbQKCSwN>;
	Fri, 3 Nov 2000 10:52:13 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id KAA13878;
	Fri, 3 Nov 2000 10:51:50 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id KAA15523;
	Fri, 3 Nov 2000 10:52:06 -0800 (PST)
Message-ID: <01cd01c045c7$9f49db80$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Jun Sun" <jsun@mvista.com>
Cc:     "Ralf Baechle" <ralf@oss.sgi.com>, <linux-mips@oss.sgi.com>
References: <3A0067C5.BA9E3174@mvista.com> <20001102040657.A17786@bacchus.dhis.org> <007d01c04585$25262e40$0deca8c0@Ulysses> <3A02FC13.338F4CF6@mvista.com>
Subject: Re: "Setting flush to zero for ..." - what is the warning?
Date:   Fri, 3 Nov 2000 19:55: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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> "Kevin D. Kissell" wrote:
> >
> > > On Wed, Nov 01, 2000 at 10:58:13AM -0800, Jun Sun wrote:
> > >
> > > > I ran some stress tests and start to get this warning.  It appears
to be
> > > > generated in do_fpe() routine.  See below.  I wonder why this is
> > > > happening.  Can someone explain what is going on?  Thanks.
> > >
> > > It tells you the over-the-thumb-fp-mode has been activated ;-)
> >
> > More seriously, there was (is, in 2.4 I guess) a hack by which,
> > in a desperate attempt to avoid having to do the FP emulation
> > in software, the kernel changed the FPU denorm handling mode
> > and replayed the instruction, in hopes that the problem would
> > go away (which it would for a subset of the unimplemented
> > operation cases). This is not legal IEEE behaviour, as it turns out,
> > but not many people cared.
> >
>
> I am reading between the lines.  Do you mean
>
> 1) even though the CPU (R5432 in this case) has a FPU, some instructions
> (or under certain conditions) are NOT supported by the hardware?

That is correct.  See (3) below.

> 2) So in those cases, software should do the job, but the existing 2.4
> is not doing it right?

That is sort-of correct.  The mini-emulator in the existing distribution
will handle a subset of the common cases correctly.  The flush-to-zero
trick avoids another subset, though not stricktly speaking correctly.

> 3) Can we summarize exactly what instructions (under what conditions)
> are considered not supported by hardware?  Or is it too complicated to
> summarieze in short?  Or should it be documented in CPU manual (which
> may vary for different CPUs)

Architecturally, a MIPS FPU is always allowed to deliver an
Unimplemented Operation instruction if the combination of
instruction and operand values goes beyond what it can deal
with.  In theory, that means that it would be legal to simply not
implement certain difficult instructions altogether (I have no
examples of this) or to implement single-precision but not
double-precision operands (this, I believe, has been done).
But even in full-blown implementations like the R4000/4400
or R5000 or R5432, there are often corner cases that the
designers considered too expensive to handle in hardware.
In general, these fall into two categories: conversion operations
on extreme values that exceed the size of the shifter in the
FPU, and operations on denormalized values - according
to the IEEE standard, 2.0 denorm + 2.0 denorm = 4.0 denorm,
but it's a rare RISC FPU that will really perform that computation.
Setting flush-denormals-to-zero can thus avoid these exceptions,
but won't provide the values stipulated by the IEEE spec, either.

> > > Somebody at MIPS is working on merging the necessary fp support
software
> > > into the kernel, so this problem should be solved soon.
> >
> > Once we had bolted the Algorithmics FPU emulator into the kernel,
> > the hack was no longer necessary.   To say that "somebody at MIPS
> > is working on merging the necessary fp support software into the
> > kernel" is perhaps a bit misleading.  The FPU emulator itself is in
> > the oss.sgi.com repository, in the 2_2 branch, but I did not merge
> > in the hacks to the kernel exception, context, signal, etc. handling.
> > And there are several bug fixes that have been made since then.
> > All the additional code is available on the ftp.mips.com server, and
> > has been merged by others into 2.3/2.4, most notably by the VrLinux
> > guys.
> >
>
> If I understand correctly, FPU emulator is for the case where FPU is
> completely absent.  Does it do the job we are talking about here?

We integrated the Algorithmics FPU emulator because there
are embedded MIPS chips out there (the MIPS 4Kc/m/p and 5K,
the NEC Vr41xx, the Toshiba Tx49) that have no FPUs and really
need the full emulation.  But while it may seem like overkill, having the
full emulator does cover the unimplemented corner cases very
nicely.  With a couple of fixes elsewhere (the kernel branch emulation
had/has a signed/unsigned bug), we finally have MIPS/Linux platforms
that pass the "paranoia" IEEE FP compliance test 100%, with and
without FPUs.

            Regards,

            Kevin K.


From owner-linux-mips@oss.sgi.com Fri Nov  3 10:54:40 2000
Received:  by oss.sgi.com id <S553864AbQKCSyU>;
	Fri, 3 Nov 2000 10:54:20 -0800
Received: from unidial.com ([206.112.0.9]:18534 "EHLO unidial.com")
	by oss.sgi.com with ESMTP id <S553859AbQKCSyT>;
	Fri, 3 Nov 2000 10:54:19 -0800
Received: from unidial.com (IDENT:root@1Cust87.tnt14.chi5.da.uu.net [63.22.172.87])
	by unidial.com (8.9.3/8.9.3) with ESMTP id NAA16491;
	Fri, 3 Nov 2000 13:54:14 -0500 (EST)
Message-ID: <3A030B96.A63E8291@unidial.com>
Date:   Fri, 03 Nov 2000 14:01:42 -0500
From:   Alan Hoyt <neuroinc@unidial.com>
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     tmaloney@ixl.com
CC:     linux-mips@oss.sgi.com
Subject: [OT] Re: will this drive work in an Indy?
References: <0A5319EEAF65D411825E00805FBBD8A1209BCF@exchange.clt.ixl.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Yes, but you need an SCA(80) to 68/50 pin adapter.

tmaloney@ixl.com wrote:

> Quantum Atlas II 4GB SCA drive fit for SGI Octane or O2. Model: HN4550SCA.
> SGI P/N 064-0039-001.
>
> 7200RPM Spindle Speed
> 3.5"
> SCA Interface/80 pin
> Bare Drive Only


From owner-linux-mips@oss.sgi.com Fri Nov  3 12:05:00 2000
Received:  by oss.sgi.com id <S553871AbQKCUEl>;
	Fri, 3 Nov 2000 12:04:41 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:51979 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553862AbQKCUEe>;
	Fri, 3 Nov 2000 12:04:34 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 25F077CF1; Fri,  3 Nov 2000 20:04:32 +0000 (GMT)
Date:   Fri, 3 Nov 2000 20:04:32 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     Keith M Wesolowski <wesolows@chem.unr.edu>
Cc:     linux-mips@oss.sgi.com
Subject: Re: More GCC problems
Message-ID: <20001103200432.A2615@woody.ichilton.co.uk>
Reply-To: ian@ichilton.co.uk
References: <20001103143725.A2123@woody.ichilton.co.uk> <20001103100728.A8133@chem.unr.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <20001103100728.A8133@chem.unr.edu>; from wesolows@chem.unr.edu on Fri, Nov 03, 2000 at 10:07:28AM -0800
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> Don't blame the compiler. This is a gas problem. You should be able to
> get around it by using optimization; -O2 is sufficient I believe. If
> not, you may have to use -Os.

-Os?


> I have no idea how to build a static compiler.

make -LDFLAGS=-static
but just make didn't work either..


> The approach I took t
> get my working native 1019 compiler was to cross-build it with the
> same versiona


The problem is, I can't cross-compile either  :(


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Fri Nov  3 12:42:41 2000
Received:  by oss.sgi.com id <S553878AbQKCUmb>;
	Fri, 3 Nov 2000 12:42:31 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:30982 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553873AbQKCUmY>; Fri, 3 Nov 2000 12:42:24 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Fri, 03 Nov 2000 15:42:13 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFK0MQ>; Fri, 3 Nov 2000 15:42:13 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209BD8@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: Indy hard drive
Date:   Fri, 3 Nov 2000 15:40:24 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

will this work in an Indy?

>  -----Original Message-----
> From: 	Maloney, Tim (CLT)  
> Sent:	Friday, November 03, 2000 3:40 PM
> To:	Maloney, Tim (CLT)
> Subject:	
> 
> SPECIFICATIONS
> Characteristics:		
> Unformatted Capacity	10,800 MB	
> Formatted Capacity (512) byte blk)	9,090 MB	
> Average Sectors Per Track	133 (rounded down)	
> Actuator Type	Rotary Voice Coil	
> Tracks	132,975	
> Cylinders	4925 	
> Heads	26	
> Discs (5.25 in)	14	
> Performance:		
> Internal Transfer Rate (mbits/sec)	44 - 65	
> External Transfer Rate (mbits/sec)	10 (burst)	
> Spindle Speed (RPM)	5,400	
> Average Latency (msec)	5.55	
> Buffer	1024 Kbyte	
> Interface	50 Pin SCSI-2 FAST	
> Bytes Per Track (avg)	42,000-55,440	
> TPI (Tracks Per Inch)	2,250	
> Average Access (ms read/write)	11/12 	
> Single Track Seek (ms)	0.9/1.7	
> Max Full Seek (ms)	23/24	
> General:		
> MTBF (power-on hours) Office	500,000	
> Power Requirements: Single -ended +12V Start-up +12V Typical +5V Start-up
> +5V Typical	 4.8 1.57 0.98 0.665	
> Typical (Watts seek / read)	32.60	
> Idle (Watts)	28.34	
> Landing Zone (cyl)	Auto Park	
> Physical	Height: 3.25 in / 82.6 mm  Width: 5.75 in / 146.1 mm  Depth:
> 8.0 in / 203 mm  Weight: 7.8lb / 3.6 kg 	
> 
> 
> 
> 
> 
> Tim Maloney
> Senior Developer
> iXL, Inc.
> 1930 Camden Road, Suite 2070
> Charlotte, NC 28203
> 704 943-7193 phone
> tmaloney@ixl.com
> www.ixl.com
> 

From owner-linux-mips@oss.sgi.com Fri Nov  3 13:06:31 2000
Received:  by oss.sgi.com id <S553879AbQKCVGL>;
	Fri, 3 Nov 2000 13:06:11 -0800
Received: from u-120.karlsruhe.ipdial.viaginterkom.de ([62.180.10.120]:53266
        "EHLO u-120.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553877AbQKCVGC>; Fri, 3 Nov 2000 13:06:02 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869091AbQKCQSF>;
        Fri, 3 Nov 2000 17:18:05 +0100
Date:   Fri, 3 Nov 2000 17:18:05 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Ian Chilton <mailinglist@ichilton.co.uk>
Cc:     linux-mips@oss.sgi.com
Subject: Re: More GCC problems
Message-ID: <20001103171805.F24751@bacchus.dhis.org>
References: <20001103143725.A2123@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001103143725.A2123@woody.ichilton.co.uk>; from mailinglist@ichilton.co.uk on Fri, Nov 03, 2000 at 02:37:25PM +0000
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, Nov 03, 2000 at 02:37:25PM +0000, Ian Chilton wrote:

> Hello,
> 
> > /tmp/cca08866.s: Assembler messages:
> > /tmp/cca08866.s:27593: Error: Branch out of range
> > /tmp/cca08866.s:27632: Error: Branch out of range
> > /tmp/cca08866.s:27637: Error: Branch out of range

This is a bug in all MIPS versions of gas I've ever examined, including the
vendors of GNU based development systems like Algorithmics.  The problem is
that gcc is producing code that results in loops of over 128kb size, so the
range of a normal branch is exceeded.  Gas should then convert assembler
code such as

loop:
	# > 128kb loop body
	bnez	reg, loop

into:

loop:
	# > 128kb loop body
	beq	reg, endloop
	jump	loop
endloop:

That's a non-trivial gas modification.

This is becoming an increasing problem with today's codesize.  Right now
only few applications are affected but Moore's law is mercyless ...

In this particular case I'll simply optimizing the code with -O1 or higher
will help by getting the loop body's size below 128kb size.  This may also
help with other affected packages.  It's however only a temporary solution;
we'll see code in the not to far future where the optimizer is no longer
able to get the code size below the critical size of 128kb.

  Ralf

From owner-linux-mips@oss.sgi.com Fri Nov  3 13:06:31 2000
Received:  by oss.sgi.com id <S553885AbQKCVGL>;
	Fri, 3 Nov 2000 13:06:11 -0800
Received: from u-120.karlsruhe.ipdial.viaginterkom.de ([62.180.10.120]:53266
        "EHLO u-120.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553879AbQKCVGC>; Fri, 3 Nov 2000 13:06:02 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869485AbQKCRQJ>;
        Fri, 3 Nov 2000 18:16:09 +0100
Date:   Fri, 3 Nov 2000 18:16:09 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: HZ
Message-ID: <20001103181608.A25339@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

2.4.0-test10 finally received a mechanism which allows a userprogram to
find about the frequency at which times() is counting by calling
sysconf(_SC_CLK_TCK).  It requires glibc 2.2 from 2000-11-01 or later.
As the result I plan to remove our current kernel patches which fake
a 100HZ rate for machines with clock rates other than 100Hz as soon as
I can assume glibc 2.2 to be reasonably well established.  Since the
Linux distribution work for 2.0 is already essentilly dead I hope this
will soon be the case.

Right now DECstations are the only affected machines; everybody else can
ignore this message.

  Ralf

From owner-linux-mips@oss.sgi.com Fri Nov  3 13:20:51 2000
Received:  by oss.sgi.com id <S553888AbQKCVUb>;
	Fri, 3 Nov 2000 13:20:31 -0800
Received: from u-120.karlsruhe.ipdial.viaginterkom.de ([62.180.10.120]:54546
        "EHLO u-120.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553883AbQKCVUF>; Fri, 3 Nov 2000 13:20:05 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869091AbQKCVT0>;
        Fri, 3 Nov 2000 22:19:26 +0100
Date:   Fri, 3 Nov 2000 22:19:26 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Kernel compiler
Message-ID: <20001103221926.A26082@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Due to compiler bugs with named initializers the use of egcs 1.1.2 has
ben deprecated for Linux; Linux 2.4.0-test10 will refuse to compile with
older compilers.

mips64 users can ignore this message;  they're currently all using egcs 1.1.2
and therefore not affected.

  Ralf

From owner-linux-mips@oss.sgi.com Fri Nov  3 13:45:21 2000
Received:  by oss.sgi.com id <S553886AbQKCVpB>;
	Fri, 3 Nov 2000 13:45:01 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:14284 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553832AbQKCVob>;
	Fri, 3 Nov 2000 13:44:31 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id WAA02775;
	Fri, 3 Nov 2000 22:41:40 +0100 (MET)
Date:   Fri, 3 Nov 2000 22:41:40 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     ian@ichilton.co.uk
cc:     Keith M Wesolowski <wesolows@chem.unr.edu>, linux-mips@oss.sgi.com
Subject: Re: More GCC problems
In-Reply-To: <20001103200432.A2615@woody.ichilton.co.uk>
Message-ID: <Pine.GSO.3.96.1001103215223.1420A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, 3 Nov 2000, Ian Chilton wrote:

> > I have no idea how to build a static compiler.
> 
> make -LDFLAGS=-static
> but just make didn't work either..

$ CFLAGS='-static' ./configure
$ make

That's the usual way.  You need to specify necessary options to configure
as well.  You may also put other options in CFLAGS.  You may also specify
other variables -- CC, CXX, CXXFLAGS and LDFLAGS are likely to work.  For
others you need to study configure scripts yourself.

 For example I use more or less the following commands to build an
i386-linux hosted cross-compiler for mipsel-linux on an i386-linux build
system: 

$ mkdir -p obj && cd obj
$ CC="i386-linux-gcc" CXX="i386-linux-g++" \
	CFLAGS="-pipe -O2 -fomit-frame-pointer" \
	CXXFLAGS="-pipe -O2 -fomit-frame-pointer" \
	../configure --prefix=/usr \
	--with-local-prefix=/usr/mipsel-linux/local \
	--enable-shared --enable-haifa --enable-threads \
	--cache-file=config.cache \
	--build=i386-linux --host=i386-linux --target=mipsel-linux
$ make all

and the following lines to build a mipsel-linux native compiler on an
i386-linux build system:

$ mkdir -p obj && cd obj
$ CC="i386-linux-gcc" CXX="i386-linux-g++" \
	CC_FOR_BUILD="i386-linux-gcc" \
	CXX_FOR_BUILD="i386-linux-g++" \
	CC_FOR_TARGET="mipsel-linux-gcc" \
	CXX_FOR_TARGET="mipsel-linux-g++" \
	CFLAGS="-pipe -O2 -fomit-frame-pointer" \
	CXXFLAGS="-pipe -O2 -fomit-frame-pointer" \
	../configure --prefix=/usr \
	--enable-shared --enable-haifa --enable-threads \
	--cache-file=config.cache \
	--build=i386-linux --host=mipsel-linux --target=mipsel-linux
$ make all
	
Note also you need to have glibc headers for the target system installed
on your build system before performing either builds.  I believe gcc
expects them to be found in ${prefix}/${target_alias}/sys-include (that
would be /usr/mipsel-linux/sys-include for the above examples).  It will
copy them to ${prefix}/${target_alias}/include upon build.

 If you do not fear of deep RPM magic, you may try to bootstrap a compiler
toolchain using packages I made available at
ftp://ftp.ds2.pg.gda.pl/pub/macro.  You'll need .rpm* files available
there -- as you are building for mips-linux and I use mipsel-linux, you'll
have to tweak all the files with `sed s/mipsel/mips/g'.  Then you may
start building binary packages from source ones.  You will have to modify
mipsel-linux-* packages slightly -- basically `sed s/mipsel/mips/g' again. 
You need to build packages in a specific order and install every built
package before proceeding to the following one.

 The order is:

1. mips-linux-binutils, mips-linux-boot-glibc-headers (in any order),

2. mips-linux-boot-gcc,

3. mips-linux-glibc,

4. mips-linux-gcc,

5. binutils, gcc (native, for mips-linux; basically any mips-linux
software).

Spec files include appropriate "BuildRequires" statements to remind you
(and rpm) which packages have be installed to build a given package.  The
packages reflect the way I bootstrapped a mipsel-linux system from scratch
on an i386-linux build system.  Gcc is 2.95.3 (or 2.95.2 plus a
few patches, actually), which is sufficient to build glibc 2.2.  You may
build a current gcc snapshot with it if you need to.

 Please note there is a compatibility breakage as of Oct 28th (see the
README file available at the site; it's also explained in change logs for
binutils and glibc).  You may want to fetch earlier binutils and glibc
packages (barring the binary compatibility they work equally well) if you
insist on a compatibility with a current binutils snapshot and binaries
available throughout the Internet.  I'll submit an appropriate change to
the binutils CVS soon; glibc 2.1.97 already has the fix applied.

 I hope this helps,

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Fri Nov  3 18:45:05 2000
Received:  by oss.sgi.com id <S553895AbQKDCop>;
	Fri, 3 Nov 2000 18:44:45 -0800
Received: from ppp0.ocs.com.au ([203.34.97.3]:38413 "HELO mail.ocs.com.au")
	by oss.sgi.com with SMTP id <S553893AbQKDCoc>;
	Fri, 3 Nov 2000 18:44:32 -0800
Received: (qmail 15851 invoked from network); 4 Nov 2000 02:44:22 -0000
Received: from ocs3.ocs-net (192.168.255.3)
  by mail.ocs.com.au with SMTP; 4 Nov 2000 02:44:22 -0000
X-Mailer: exmh version 2.1.1 10/15/1999
From:   Keith Owens <kaos@melbourne.sgi.com>
To:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: Kernel compiler 
In-reply-to: Your message of "Fri, 03 Nov 2000 22:19:26 BST."
             <20001103221926.A26082@bacchus.dhis.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:   Sat, 04 Nov 2000 13:44:22 +1100
Message-ID: <5029.973305862@ocs3.ocs-net>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, 3 Nov 2000 22:19:26 +0100, 
Ralf Baechle <ralf@oss.sgi.com> wrote:
>Due to compiler bugs with named initializers the use of egcs 1.1.2 has
>ben deprecated for Linux; Linux 2.4.0-test10 will refuse to compile with
>older compilers.

Correction.  gcc 2.7 has been deprecated, the recommended version is
gcc 2.91.66 (also known as egcs 1.1.2) or better.  Unfortunately RedHat
created an unofficial 2.96 which is known to miscompile the kernel, so
you cannot just use the "latest" gcc.  It is believed that gcc versions
2.91.66 through 2.95 inclusive are safe, as long as you use
-fno-strict-aliasing.


From owner-linux-mips@oss.sgi.com Fri Nov  3 18:54:15 2000
Received:  by oss.sgi.com id <S553901AbQKDCyF>;
	Fri, 3 Nov 2000 18:54:05 -0800
Received: from u-120.karlsruhe.ipdial.viaginterkom.de ([62.180.10.120]:12036
        "EHLO u-120.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553896AbQKDCxt>; Fri, 3 Nov 2000 18:53:49 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869106AbQKDCx0>;
        Sat, 4 Nov 2000 03:53:26 +0100
Date:   Sat, 4 Nov 2000 03:53:26 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Keith Owens <kaos@melbourne.sgi.com>
Cc:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: Kernel compiler
Message-ID: <20001104035326.A29005@bacchus.dhis.org>
References: <20001103221926.A26082@bacchus.dhis.org> <5029.973305862@ocs3.ocs-net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <5029.973305862@ocs3.ocs-net>; from kaos@melbourne.sgi.com on Sat, Nov 04, 2000 at 01:44:22PM +1100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, Nov 04, 2000 at 01:44:22PM +1100, Keith Owens wrote:

> On Fri, 3 Nov 2000 22:19:26 +0100, 
> Ralf Baechle <ralf@oss.sgi.com> wrote:
> >Due to compiler bugs with named initializers the use of egcs 1.1.2 has
> >ben deprecated for Linux; Linux 2.4.0-test10 will refuse to compile with
> >older compilers.
> 
> Correction.  gcc 2.7 has been deprecated, the recommended version is
> gcc 2.91.66 (also known as egcs 1.1.2) or better.  Unfortunately RedHat
> created an unofficial 2.96 which is known to miscompile the kernel, so
> you cannot just use the "latest" gcc.  It is believed that gcc versions
> 2.91.66 through 2.95 inclusive are safe, as long as you use
> -fno-strict-aliasing.

Sigh, yes you're right as other have already pointed out on IRC ...

Gcc 2.7 is no longer being used for Linux/MIPS since a long time and I'd
simply bitbucket any bugreport related to it.  Most people are using egcs
1.0.3a for everything which is older than the required minimum version 1.1.2,
so we're in some trouble.

I've got reports regarding the 1.1.2 crosscompiler which say that it
misscompiles MIPS kernels, sigh ...

The reports regarding egcs 2.96 and newer misscompiling the kernel only
affect x86 or are other architecture affected as well?  I don't have any
pending compiler >= 2.96 related bug reports.

  Ralf

From owner-linux-mips@oss.sgi.com Fri Nov  3 19:04:05 2000
Received:  by oss.sgi.com id <S553903AbQKDDDz>;
	Fri, 3 Nov 2000 19:03:55 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:1551 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553899AbQKDDDf>;
	Fri, 3 Nov 2000 19:03:35 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id TAA15781;
	Fri, 3 Nov 2000 19:03:01 -0800
Date:   Fri, 3 Nov 2000 19:03:01 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     Keith Owens <kaos@melbourne.sgi.com>, linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
Subject: Re: Kernel compiler
Message-ID: <20001103190301.A15760@chem.unr.edu>
References: <20001103221926.A26082@bacchus.dhis.org> <5029.973305862@ocs3.ocs-net> <20001104035326.A29005@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <20001104035326.A29005@bacchus.dhis.org>; from ralf@oss.sgi.com on Sat, Nov 04, 2000 at 03:53:26AM +0100
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, Nov 04, 2000 at 03:53:26AM +0100, Ralf Baechle wrote:

> The reports regarding egcs 2.96 and newer misscompiling the kernel only
> affect x86 or are other architecture affected as well?  I don't have any
> pending compiler >= 2.96 related bug reports.

Somewhere between 1019 and 1023, a bug was introduced which causes
miscompilation. Symptom is oops on boot during RPC port lookups. I
don't know if this is still present, nor the exact nature of the
bug. It appears that some address offsets changed in the compiled code
from gcc 1019 to gcc 1023.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Fri Nov  3 19:11:05 2000
Received:  by oss.sgi.com id <S553906AbQKDDKp>;
	Fri, 3 Nov 2000 19:10:45 -0800
Received: from mta5.snfc21.pbi.net ([206.13.28.241]:51874 "EHLO convert rfc822-to-8bit
        mta5.snfc21.pbi.net") by oss.sgi.com with ESMTP id <S553902AbQKDDKf>;
	Fri, 3 Nov 2000 19:10:35 -0800
Received: from zeus.mvista.com ([63.192.220.206])
 by mta5.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9)
 with SMTP id <0G3H00AX7CNA8J@mta5.snfc21.pbi.net>; Fri,
 3 Nov 2000 19:06:47 -0800 (PST)
Date:   Sat, 04 Nov 2000 03:10:50 +0000 (GMT)
From:   Pete Popov <ppopov@pacbell.net>
Subject: Re: Kernel compiler
In-reply-to: <20001104035326.A29005@bacchus.dhis.org>
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     Keith Owens <kaos@melbourne.sgi.com>, linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
Message-id: <20001104.3105000@zeus.mvista.com>
MIME-version: 1.0
X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux)
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
References: <20001103221926.A26082@bacchus.dhis.org>
 <5029.973305862@ocs3.ocs-net> <20001104035326.A29005@bacchus.dhis.org>
X-Priority: 3 (Normal)
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing



>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 11/3/00, 6:53:26 PM, Ralf Baechle <ralf@oss.sgi.com> wrote regarding Re: 
Kernel compiler:


> On Sat, Nov 04, 2000 at 01:44:22PM +1100, Keith Owens wrote:

> > On Fri, 3 Nov 2000 22:19:26 +0100,
> > Ralf Baechle <ralf@oss.sgi.com> wrote:
> > >Due to compiler bugs with named initializers the use of egcs 1.1.2 has
> > >ben deprecated for Linux; Linux 2.4.0-test10 will refuse to compile with
> > >older compilers.
> >
> > Correction.  gcc 2.7 has been deprecated, the recommended version is
> > gcc 2.91.66 (also known as egcs 1.1.2) or better.  Unfortunately RedHat
> > created an unofficial 2.96 which is known to miscompile the kernel, so
> > you cannot just use the "latest" gcc.  It is believed that gcc versions
> > 2.91.66 through 2.95 inclusive are safe, as long as you use
> > -fno-strict-aliasing.

> Sigh, yes you're right as other have already pointed out on IRC ...

> Gcc 2.7 is no longer being used for Linux/MIPS since a long time and I'd
> simply bitbucket any bugreport related to it.  Most people are using egcs
> 1.0.3a for everything which is older than the required minimum version 
1.1.2,
> so we're in some trouble.

> I've got reports regarding the 1.1.2 crosscompiler which say that it
> misscompiles MIPS kernels, sigh ...

What are the symptoms of a "miscompiled" kernel and how does one detect 
that (assuming that the kernel actually compiles successfully, but has 
problems running).

Pete

From owner-linux-mips@oss.sgi.com Fri Nov  3 19:14:05 2000
Received:  by oss.sgi.com id <S553911AbQKDDNp>;
	Fri, 3 Nov 2000 19:13:45 -0800
Received: from ppp0.ocs.com.au ([203.34.97.3]:46349 "HELO mail.ocs.com.au")
	by oss.sgi.com with SMTP id <S553904AbQKDDNm>;
	Fri, 3 Nov 2000 19:13:42 -0800
Received: (qmail 16060 invoked from network); 4 Nov 2000 03:13:38 -0000
Received: from ocs3.ocs-net (192.168.255.3)
  by mail.ocs.com.au with SMTP; 4 Nov 2000 03:13:38 -0000
X-Mailer: exmh version 2.1.1 10/15/1999
From:   Keith Owens <kaos@melbourne.sgi.com>
To:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: Kernel compiler 
In-reply-to: Your message of "Sat, 04 Nov 2000 03:53:26 BST."
             <20001104035326.A29005@bacchus.dhis.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:   Sat, 04 Nov 2000 14:13:37 +1100
Message-ID: <5652.973307617@ocs3.ocs-net>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, 4 Nov 2000 03:53:26 +0100, 
Ralf Baechle <ralf@oss.sgi.com> wrote:
>The reports regarding egcs 2.96 and newer misscompiling the kernel only
>affect x86 or are other architecture affected as well?  I don't have any
>pending compiler >= 2.96 related bug reports.

At a guess (and it is only a guess), the problems will affect all
architectures.  AFAICT they are in the common optimization phase, the
kernel uses constructs that were undefined or poorly defined but worked
in gcc 2.95, 2.96 handles them differently.


From owner-linux-mips@oss.sgi.com Fri Nov  3 19:20:55 2000
Received:  by oss.sgi.com id <S553913AbQKDDUf>;
	Fri, 3 Nov 2000 19:20:35 -0800
Received: from u-120.karlsruhe.ipdial.viaginterkom.de ([62.180.10.120]:15620
        "EHLO u-120.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553910AbQKDDUY>; Fri, 3 Nov 2000 19:20:24 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869106AbQKDDUC>;
        Sat, 4 Nov 2000 04:20:02 +0100
Date:   Sat, 4 Nov 2000 04:20:02 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Pete Popov <ppopov@pacbell.net>
Cc:     Keith Owens <kaos@melbourne.sgi.com>, linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
Subject: Re: Kernel compiler
Message-ID: <20001104042002.A29373@bacchus.dhis.org>
References: <20001103221926.A26082@bacchus.dhis.org> <5029.973305862@ocs3.ocs-net> <20001104035326.A29005@bacchus.dhis.org> <20001104.3105000@zeus.mvista.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001104.3105000@zeus.mvista.com>; from ppopov@pacbell.net on Sat, Nov 04, 2000 at 03:10:50AM +0000
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, Nov 04, 2000 at 03:10:50AM +0000, Pete Popov wrote:

> > Sigh, yes you're right as other have already pointed out on IRC ...
> 
> > Gcc 2.7 is no longer being used for Linux/MIPS since a long time and I'd
> > simply bitbucket any bugreport related to it.  Most people are using egcs
> > 1.0.3a for everything which is older than the required minimum version 
> 1.1.2,
> > so we're in some trouble.
> 
> > I've got reports regarding the 1.1.2 crosscompiler which say that it
> > misscompiles MIPS kernels, sigh ...
> 
> What are the symptoms of a "miscompiled" kernel and how does one detect 
> that (assuming that the kernel actually compiles successfully, but has 
> problems running).

When trying to work on a serial terminal hooked up to an Indy it'll oops.

Question is if the compiler is buggy or if it's particular code generation
is just triggering a bug in the kernel code.

  Ralf

From owner-linux-mips@oss.sgi.com Sat Nov  4 02:39:57 2000
Received:  by oss.sgi.com id <S553915AbQKDKjs>;
	Sat, 4 Nov 2000 02:39:48 -0800
Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:2846 "EHLO
        the-village.bc.nu") by oss.sgi.com with ESMTP id <S553912AbQKDKje>;
	Sat, 4 Nov 2000 02:39:34 -0800
Received: from alan by the-village.bc.nu with local (Exim 2.12 #1)
	id 13s0ke-0004Sa-00; Sat, 4 Nov 2000 10:40:44 +0000
Subject: Re: Kernel compiler
To:     ralf@oss.sgi.com (Ralf Baechle)
Date:   Sat, 4 Nov 2000 10:40:42 +0000 (GMT)
Cc:     kaos@melbourne.sgi.com (Keith Owens), linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
In-Reply-To: <20001104035326.A29005@bacchus.dhis.org> from "Ralf Baechle" at Nov 04, 2000 03:53:26 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <E13s0ke-0004Sa-00@the-village.bc.nu>
From:   Alan Cox <alan@lxorguk.ukuu.org.uk>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> The reports regarding egcs 2.96 and newer misscompiling the kernel only
> affect x86 or are other architecture affected as well?  I don't have any
> pending compiler >= 2.96 related bug reports.

The Red Hat 2.96 seems to compile 2.2 correctly when you fix the 2.2 bugs but
does miscompile x86 fs/buffers.c on 2.4 according to reports. I think with mips
you'd have to experiment. Also AFAIK that tree branch hasn't been tested on
mips 

From owner-linux-mips@oss.sgi.com Sun Nov  5 15:57:44 2000
Received:  by oss.sgi.com id <S553963AbQKEX5f>;
	Sun, 5 Nov 2000 15:57:35 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:28940 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553959AbQKEX5R>;
	Sun, 5 Nov 2000 15:57:17 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 524717CD4; Sun,  5 Nov 2000 23:57:15 +0000 (GMT)
Date:   Sun, 5 Nov 2000 23:57:15 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Patch Problems with Glibc 2.2
Message-ID: <20001105235715.A5531@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I am having a problem with patch under glibc 2.2

patch: **** Only garbage was found in the patch input.

If I exit my chroot, back to my 2.0.6 base and use the same source dir, with the same patch there, it works fine, so it is definatly the patch program.

It was compiled exactly the same way as the 2.0.6 based base too. Tried re-compiling, and still the same..

Everything else so far seems to work under my 2.2 base, incl compiler etc..


Anyone seen this before?

Any ideas?


Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Sun Nov  5 16:04:55 2000
Received:  by oss.sgi.com id <S553967AbQKFAEo>;
	Sun, 5 Nov 2000 16:04:44 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:29196 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553964AbQKFAEh>;
	Sun, 5 Nov 2000 16:04:37 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id A29C57CF1; Mon,  6 Nov 2000 00:04:35 +0000 (GMT)
Date:   Mon, 6 Nov 2000 00:04:35 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Problem Compiling 2.2.14 CVS after enabling NFSROOT
Message-ID: <20001106000435.A5550@woody.ichilton.co.uk>
Reply-To: ian@ichilton.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I am trying to compile 2.2.14 from CVS.

I compiled it serveral times with no problem, and it booted my local system, but would not boot my nfsroot. Then I found the NFSROOT option, so I enabled that, and comipled the kernel again, and this time it failed:

make[1]: Leaving directory `/usr/src/linux-2.2.14/arch/mips/lib'
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.a drivers/misc/misc.a drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a drivers/sgi/sgi.a drivers/video/video.a \
        arch/mips/lib/lib.a /usr/src/linux/lib/lib.a arch/mips/sgi/kernel/sgikern.a arch/mips/arc/arclib.a \
        --end-group \
        -o vmlinux
fs/filesystems.a(nfs.o): In function `nfs_read_super':
inode.c(.text.init+0x614): undefined reference to `rpc_getport_external'
inode.c(.text.init+0x614): relocation truncated to fit: R_MIPS_26 rpc_getport_external
make: *** [vmlinux] Error 1
bash-2.04# 


What have I done?  :)
 

Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Mon Nov  6 03:41:57 2000
Received:  by oss.sgi.com id <S553989AbQKFLlr>;
	Mon, 6 Nov 2000 03:41:47 -0800
Received: from chmls20.mediaone.net ([24.147.1.156]:58872 "EHLO
        chmls20.mediaone.net") by oss.sgi.com with ESMTP id <S553844AbQKFLlb>;
	Mon, 6 Nov 2000 03:41:31 -0800
Received: from decoy (h00a0cc39f081.ne.mediaone.net [24.218.248.129])
	by chmls20.mediaone.net (8.8.7/8.8.7) with SMTP id GAA08431;
	Mon, 6 Nov 2000 06:41:24 -0500 (EST)
From:   "Jay Carlson" <nop@nop.com>
To:     <linux-mips@fnet.fr>, <linux-mips@oss.sgi.com>
Subject: RE: The initial results (Re: stable binutils, gcc, glibc ...
Date:   Mon, 6 Nov 2000 06:43:25 -0500
Message-ID: <KEEOIBGCMINLAHMMNDJNIEDGCAAA.nop@nop.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <39ED2166.9B5F970@mvista.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> I also had success with latest binutils CVS tree.  I gave a try to the
> latest gcc, but did not look into it further.
>
> http://sourceware.cygnus.com/binutils
> cvs -z 9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -D "Oct 13,
> 2000" binutils

OK, I've decided to bite the bullet and try to get current on everything.
Most of the patches I've seen lying around have been integrated into
binutils and gcc.  Congratulations!

However, there's still this lingering issue with binutils.  The ulfc patches
haven't been integrated, and I'm worried that I'm going to run into the
"binutils generate busted relocs" problem as a result.  What's the
resolution of that issue?  Patch still needed?  Patch not needed if the only
two binutils ever used are 2.8.1 and current-cvs (>2.10)?

Jay


From owner-linux-mips@oss.sgi.com Mon Nov  6 12:07:32 2000
Received:  by oss.sgi.com id <S554014AbQKFUHX>;
	Mon, 6 Nov 2000 12:07:23 -0800
Received: from u-245.karlsruhe.ipdial.viaginterkom.de ([62.180.10.245]:58375
        "EHLO u-245.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S554027AbQKFUHP>; Mon, 6 Nov 2000 12:07:15 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869608AbQKFTo0>;
        Mon, 6 Nov 2000 20:44:26 +0100
Date:   Mon, 6 Nov 2000 20:44:26 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: MIPS HOWTO
Message-ID: <20001106204426.A23625@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

November 15 is the deadline for a new edition of ``Linux, the Complete
Reference'' which the MIPS Howto will be part of.  So please everybody
take a look at the documente at http://oss.sgi.com/mips/mips-howto.html
and send me updates, preferably as unified diffs for the SGML source
code.

  Ralf

From owner-linux-mips@oss.sgi.com Mon Nov  6 13:55:32 2000
Received:  by oss.sgi.com id <S554039AbQKFVzW>;
	Mon, 6 Nov 2000 13:55:22 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:49164 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S554036AbQKFVzG>;
	Mon, 6 Nov 2000 13:55:06 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 6E2D77CD4; Mon,  6 Nov 2000 21:55:04 +0000 (GMT)
Date:   Mon, 6 Nov 2000 21:55:04 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Findutils and Fileutils under Glibc 2.2
Message-ID: <20001106215504.A7157@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I am having more problems with packages that worked fine under glibc 2.2

File utils gives this error:

gcc -DLOCALEDIR=\"/usr/share/locale\" -DSHAREDIR=\"/usr/share\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I../intl  -D_FILE_OFFSET_BITS=64  -g -O2 -c dircolors.c
dircolors.c:40:15: 1 arguments is not enough for macro "strndup"
make[2]: *** [dircolors.o] Error 1
make[2]: Leaving directory `/lfstmp/fileutils-4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lfstmp/fileutils-4.0'
make: *** [all-recursive-am] Error 2


Findutils errors, but does not exit  :(
(I only noticed because find did not exist)..

during make install, gives:

making install in find
/bin/sh: invalid character 47 in exportstr for /root
make[1]: Entering directory `/lfstmp/findutils-4.1/find'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O fstype.c
fstype.c:34:15: 1 arguments is not enough for macro "strstr"
make[1]: *** [fstype.o] Error 1
make[1]: Leaving directory `/lfstmp/findutils-4.1/find'
making install in xargs
/bin/sh: invalid character 47 in exportstr for /root
make[1]: Entering directory `/lfstmp/findutils-4.1/xargs'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O ../find/version.c
gcc -o xargs xargs.o ../find/version.o ../lib/libfind.a  -lintl
gcc: ../find/version.o: No such file or directory
make[1]: *** [xargs] Error 1
make[1]: Leaving directory `/lfstmp/findutils-4.1/xargs'
making install in locate
/bin/sh: invalid character 47 in exportstr for /root
make[1]: Entering directory `/lfstmp/findutils-4.1/locate'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/usr/var/locatedb\"  -g -O ../find/version.c
gcc -o locate locate.o ../find/version.o ../lib/libfind.a  -lintl
gcc: ../find/version.o: No such file or directory
make[1]: *** [locate] Error 1
make[1]: Leaving directory `/lfstmp/findutils-4.1/locate'


Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Mon Nov  6 14:05:23 2000
Received:  by oss.sgi.com id <S554042AbQKFWFN>;
	Mon, 6 Nov 2000 14:05:13 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:49676 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S554038AbQKFWFA>;
	Mon, 6 Nov 2000 14:05:00 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 751057CF1; Mon,  6 Nov 2000 22:04:54 +0000 (GMT)
Date:   Mon, 6 Nov 2000 22:04:54 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Re: Findutils and Fileutils under Glibc 2.2
Message-ID: <20001106220454.A7190@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

Fixed the fileutils problem...just patch and findutils not working..


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Mon Nov  6 18:18:25 2000
Received:  by oss.sgi.com id <S553692AbQKGCSP>;
	Mon, 6 Nov 2000 18:18:15 -0800
Received: from chmls20.mediaone.net ([24.147.1.156]:49886 "EHLO
        chmls20.mediaone.net") by oss.sgi.com with ESMTP id <S553657AbQKGCSC>;
	Mon, 6 Nov 2000 18:18:02 -0800
Received: from decoy (h00a0cc39f081.ne.mediaone.net [24.218.248.129])
	by chmls20.mediaone.net (8.8.7/8.8.7) with SMTP id VAA18468;
	Mon, 6 Nov 2000 21:18:00 -0500 (EST)
From:   "Jay Carlson" <nop@nop.com>
To:     <linux-mips@oss.sgi.com>, <linux-mips@fnet.fr>
Subject: kernel should not reject -mips2 ELF binaries
Date:   Mon, 6 Nov 2000 21:20:00 -0500
Message-ID: <KEEOIBGCMINLAHMMNDJNEEDHCAAA.nop@nop.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

include/asm-mips/elf.h contains a macro, elf_check_arch, that decides if an
executable is plausible to run under this kernel.  It currently accepts
binaries flagged as MIPS1 ISA, and rejects all other ISAs.

#define elf_check_arch(hdr)						\
({									\
	int __res = 1;							\
	struct elfhdr *__h = (hdr);					\
									\
	if ((__h->e_machine != EM_MIPS) &&				\
	    (__h->e_machine != EM_MIPS_RS4_BE))				\
		__res = 0;						\
	if (__h->e_flags & EF_MIPS_ARCH)				\
		__res = 0;						\
									\
	__res;								\
})

I think we should make an exception for MIPS2.  Turns out that the two Linux
VR processor families benefit from some of the MIPS II features; most
notably, code density is improved by eliminating load delay slots.  If I
build executables that take advantage of this, they legitimately should be
flagged with E_MIPS_ARCH_2 (since they won't run on my decstation).

So what's the right way to fix this?  Three things come to mind:

1) rip out the EF_MIPS_ARCH check from elf_check_arch.
2) compare the value with E_MIPS_ARCH_1 and E_MIPS_ARCH_2
3) figure out what the capabilities of the current processor are and reject
E_MIPS_ARCH2 on R2/3000s.

I'd just go do #3 except it looks like a bigger pain than it's worth.  No
other linux kernel port goes to that amount of trouble, of course.

(I may do #1 or #2 in the Linux VR CVS as a stopgap.)

Jay


From owner-linux-mips@oss.sgi.com Mon Nov  6 18:28:34 2000
Received:  by oss.sgi.com id <S553742AbQKGC2Y>;
	Mon, 6 Nov 2000 18:28:24 -0800
Received: from u-245.karlsruhe.ipdial.viaginterkom.de ([62.180.10.245]:64263
        "EHLO u-245.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553711AbQKGC2U>; Mon, 6 Nov 2000 18:28:20 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868617AbQKGC2C>;
        Tue, 7 Nov 2000 03:28:02 +0100
Date:   Tue, 7 Nov 2000 03:28:02 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Jay Carlson <nop@nop.com>
Cc:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: kernel should not reject -mips2 ELF binaries
Message-ID: <20001107032802.D28567@bacchus.dhis.org>
References: <KEEOIBGCMINLAHMMNDJNEEDHCAAA.nop@nop.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <KEEOIBGCMINLAHMMNDJNEEDHCAAA.nop@nop.com>; from nop@nop.com on Mon, Nov 06, 2000 at 09:20:00PM -0500
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 06, 2000 at 09:20:00PM -0500, Jay Carlson wrote:

> include/asm-mips/elf.h contains a macro, elf_check_arch, that decides if an
> executable is plausible to run under this kernel.  It currently accepts
> binaries flagged as MIPS1 ISA, and rejects all other ISAs.
> 
> #define elf_check_arch(hdr)						\
> ({									\
> 	int __res = 1;							\
> 	struct elfhdr *__h = (hdr);					\
> 									\
> 	if ((__h->e_machine != EM_MIPS) &&				\
> 	    (__h->e_machine != EM_MIPS_RS4_BE))				\
> 		__res = 0;						\
> 	if (__h->e_flags & EF_MIPS_ARCH)				\
> 		__res = 0;						\
> 									\
> 	__res;								\
> })
> 
> I think we should make an exception for MIPS2.  Turns out that the two Linux
> VR processor families benefit from some of the MIPS II features; most
> notably, code density is improved by eliminating load delay slots.  If I
> build executables that take advantage of this, they legitimately should be
> flagged with E_MIPS_ARCH_2 (since they won't run on my decstation).
> 
> So what's the right way to fix this?  Three things come to mind:
> 
> 1) rip out the EF_MIPS_ARCH check from elf_check_arch.

Take 1).  The problem we have is distiguishing Linux binaries from IRIX
binaries.  The code causing problems for you is a heuristic that no
longer works these days so I'll have to come up with something new.

  Ralf

From owner-linux-mips@oss.sgi.com Mon Nov  6 18:58:26 2000
Received:  by oss.sgi.com id <S553773AbQKGC6Q>;
	Mon, 6 Nov 2000 18:58:16 -0800
Received: from chmls20.mediaone.net ([24.147.1.156]:32507 "EHLO
        chmls20.mediaone.net") by oss.sgi.com with ESMTP id <S553725AbQKGC6D>;
	Mon, 6 Nov 2000 18:58:03 -0800
Received: from decoy (h00a0cc39f081.ne.mediaone.net [24.218.248.129])
	by chmls20.mediaone.net (8.8.7/8.8.7) with SMTP id VAA08386;
	Mon, 6 Nov 2000 21:58:01 -0500 (EST)
From:   "Jay Carlson" <nop@nop.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>, "Jay Carlson" <nop@place.org>
Cc:     <linux-mips@oss.sgi.com>, <linux-mips@fnet.fr>
Subject: RE: kernel should not reject -mips2 ELF binaries
Date:   Mon, 6 Nov 2000 22:00:02 -0500
Message-ID: <KEEOIBGCMINLAHMMNDJNIEDHCAAA.nop@nop.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20001107032802.D28567@bacchus.dhis.org>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> > 	if (__h->e_flags & EF_MIPS_ARCH)				\
> > 		__res = 0;						\

> > So what's the right way to fix this?  Three things come to mind:
> >
> > 1) rip out the EF_MIPS_ARCH check from elf_check_arch.
>
> Take 1).  The problem we have is distiguishing Linux binaries from IRIX
> binaries.  The code causing problems for you is a heuristic that no
> longer works these days so I'll have to come up with something new.

OK.  I'm going to remove the above two lines in the Linux VR CVS repository.
Thanks!

Jay


From owner-linux-mips@oss.sgi.com Mon Nov  6 19:40:16 2000
Received:  by oss.sgi.com id <S553777AbQKGDkG>;
	Mon, 6 Nov 2000 19:40:06 -0800
Received: from u-245.karlsruhe.ipdial.viaginterkom.de ([62.180.10.245]:3080
        "EHLO u-245.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553721AbQKGDjn>; Mon, 6 Nov 2000 19:39:43 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868617AbQKGDjW>;
        Tue, 7 Nov 2000 04:39:22 +0100
Date:   Tue, 7 Nov 2000 04:39:22 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc:     Keith Owens <kaos@melbourne.sgi.com>, linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
Subject: Re: Kernel compiler
Message-ID: <20001107043922.A31298@bacchus.dhis.org>
References: <20001104035326.A29005@bacchus.dhis.org> <E13s0ke-0004Sa-00@the-village.bc.nu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <E13s0ke-0004Sa-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Sat, Nov 04, 2000 at 10:40:42AM +0000
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, Nov 04, 2000 at 10:40:42AM +0000, Alan Cox wrote:

> > The reports regarding egcs 2.96 and newer misscompiling the kernel only
> > affect x86 or are other architecture affected as well?  I don't have any
> > pending compiler >= 2.96 related bug reports.
> 
> The Red Hat 2.96 seems to compile 2.2 correctly when you fix the 2.2 bugs but
> does miscompile x86 fs/buffers.c on 2.4 according to reports. I think with mips
> you'd have to experiment. Also AFAIK that tree branch hasn't been tested on
> mips 

I asked Cort about their PPC experience and they also got trouble.  Reason
enough to ignore gcc-current for kernel use for now.  It's doing well
for userland however so we'll also have to use two compilers from now on,
one for kernel and one for userland.

Btw, I've now placed srpm and i386-linux rpms of a new release of the
egcs-1.1.2 Linux/MIPS crosscompiler on oss.sgi.com.  Users of the 64-bit
kernel, read Origin users should also update as this release has several
fixes.

  Ralf

From owner-linux-mips@oss.sgi.com Mon Nov  6 20:57:06 2000
Received:  by oss.sgi.com id <S553801AbQKGE4q>;
	Mon, 6 Nov 2000 20:56:46 -0800
Received: from [199.239.207.12] ([199.239.207.12]:1523 "EHLO enabtech.com")
	by oss.sgi.com with ESMTP id <S553795AbQKGE4m>;
	Mon, 6 Nov 2000 20:56:42 -0800
Received: from jawad ([206.82.141.26])
	by enabtech.com (8.9.3/8.9.3) with SMTP id VAA08334;
	Mon, 6 Nov 2000 21:00:19 -0800 (PST)
Message-ID: <002101c04877$dbc6a270$2a00a8c0@enabtech>
From:   "Jawad Qureshi" <jawad@enabtech.com>
To:     <linux-mips@fnet.fr>
Cc:     <linux-mips@oss.sgi.com>
Subject: How to Unsubsribe from this list
Date:   Tue, 7 Nov 2000 10:01:51 +0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_001E_01C048A1.C03E3250"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This is a multi-part message in MIME format.

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



------=_NextPart_000_001E_01C048A1.C03E3250
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.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_001E_01C048A1.C03E3250--


From owner-linux-mips@oss.sgi.com Tue Nov  7 03:06:38 2000
Received:  by oss.sgi.com id <S553946AbQKGLG3>;
	Tue, 7 Nov 2000 03:06:29 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:60684 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553909AbQKGLGL>;
	Tue, 7 Nov 2000 03:06:11 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 2FC137CD4; Tue,  7 Nov 2000 11:06:10 +0000 (GMT)
Date:   Tue, 7 Nov 2000 11:06:10 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com, lfs-discuss@linuxfromscratch.org
Subject: User/Group Problem
Message-ID: <20001107110610.A8074@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I am building a Linux system on an SGI I2 (MIPS) with glibc 2.2

I am having the following problem....any ideas?

bash-2.04# chown root test.c 
chown: root: invalid user

bash-2.04# chgrp root test.c 
chgrp: invalid group name `root'



bash-2.04# cat /etc/passwd
root:1D0t80HeWTfNE:0:0:root:/root:/bin/bash

bash-2.04# cat /etc/group 
root:x:0:
 

Thanks!


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Tue Nov  7 06:41:21 2000
Received:  by oss.sgi.com id <S553650AbQKGOlL>;
	Tue, 7 Nov 2000 06:41:11 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:1292 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553645AbQKGOkt>; Tue, 7 Nov 2000 06:40:49 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Tue, 07 Nov 2000 09:40:31 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFLY58>; Tue, 7 Nov 2000 09:40:31 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209C42@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: mips dist?
Date:   Tue, 7 Nov 2000 09:38:42 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Is there an installable distribution of Linux for mips, or does it have to
be built from scratch?

I've heard of Hard Hat Linux, but I dodn't know how complete it was.

From owner-linux-mips@oss.sgi.com Tue Nov  7 06:49:20 2000
Received:  by oss.sgi.com id <S553653AbQKGOtL>;
	Tue, 7 Nov 2000 06:49:11 -0800
Received: from boco.fee.vutbr.cz ([147.229.9.11]:28432 "EHLO boco.fee.vutbr.cz") convert rfc822-to-8bit
	by oss.sgi.com with ESMTP id <S553646AbQKGOtI>;
	Tue, 7 Nov 2000 06:49:08 -0800
Received: from fest.stud.fee.vutbr.cz (fest.stud.fee.vutbr.cz [147.229.9.16])
	by boco.fee.vutbr.cz (8.11.1/8.11.1) with ESMTP id eA7Emsf94338
	(using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK);
	Tue, 7 Nov 2000 15:49:05 +0100 (CET)
Received: (from xmichl03@localhost)
	by fest.stud.fee.vutbr.cz (8.11.0/8.11.0) id eA7EmsJ72390;
	Tue, 7 Nov 2000 15:48:54 +0100 (CET)
From:   Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Date:   Tue, 7 Nov 2000 15:48:54 +0100 (CET)
X-processed: pine.send
To:     tmaloney@ixl.com
cc:     linux-mips@oss.sgi.com
Subject: Re: mips dist?
In-Reply-To: <0A5319EEAF65D411825E00805FBBD8A1209C42@exchange.clt.ixl.com>
Message-ID: <Pine.BSF.4.05.10011071545020.71841-100000@fest.stud.fee.vutbr.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Content-Transfer-Encoding: 8BIT
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, 7 Nov 2000 tmaloney@ixl.com wrote:

> Is there an installable distribution of Linux for mips, or does it have to
> be built from scratch?
> 
> I've heard of Hard Hat Linux, but I dodn't know how complete it was.

Debian. It works fine for me. Check Debian site (www.debian.org),
especially mips mailing list archives for details.

Have a nice day
Laïa.



From owner-linux-mips@oss.sgi.com Tue Nov  7 06:50:51 2000
Received:  by oss.sgi.com id <S553661AbQKGOuk>;
	Tue, 7 Nov 2000 06:50:40 -0800
Received: from boco.fee.vutbr.cz ([147.229.9.11]:32272 "EHLO boco.fee.vutbr.cz")
	by oss.sgi.com with ESMTP id <S553656AbQKGOuc>;
	Tue, 7 Nov 2000 06:50:32 -0800
Received: from fest.stud.fee.vutbr.cz (fest.stud.fee.vutbr.cz [147.229.9.16])
	by boco.fee.vutbr.cz (8.11.1/8.11.1) with ESMTP id eA7EoTf94482
	(using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK)
	for <linux-mips@oss.sgi.com>; Tue, 7 Nov 2000 15:50:29 +0100 (CET)
Received: (from xmichl03@localhost)
	by fest.stud.fee.vutbr.cz (8.11.0/8.11.0) id eA7EoSw72535;
	Tue, 7 Nov 2000 15:50:28 +0100 (CET)
From:   Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Date:   Tue, 7 Nov 2000 15:50:28 +0100 (CET)
X-processed: pine.send
To:     linux-mips@oss.sgi.com
Subject: setenv eaddr
Message-ID: <Pine.BSF.4.05.10011071158500.58171-100000@fest.stud.fee.vutbr.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi all,

I was looking to the archives and HOWTOs to find way how to change eaddr
of sgi Indy (which was incorrectly set after 2.4.0-test6 crash) and find
couple of questions and no answer. I think about -p switch of setenv
mentioned in archives supposing that it means "permanent" and trying to
imagine how to FORCE set eaddr. This is the key.

>> setenv -f eaddr 12:34:56:78:9a:bc

Maybye you find this information usefull. I'm sorry to trouble you if you
already know it.

Regards
Ladislav Michl

PS: It's nice to see Linux running on sgi Indy. Thanks.




From owner-linux-mips@oss.sgi.com Tue Nov  7 07:03:00 2000
Received:  by oss.sgi.com id <S553659AbQKGPCu>;
	Tue, 7 Nov 2000 07:02:50 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:64780 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553651AbQKGPC1>;
	Tue, 7 Nov 2000 07:02:27 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 2C78A7CD4; Tue,  7 Nov 2000 15:02:26 +0000 (GMT)
Date:   Tue, 7 Nov 2000 15:02:26 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Re: mips dist?
Message-ID: <20001107150226.B8414@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

There are no installable ports for MIPS, except Hardhat, which is old and very outdated.


> Debian. It works fine for me. Check Debian site (www.debian.org),
> especially mips mailing list archives for details.          

uhmm...AFAIK, there are some Debian glibc 2.2 packages being uploaded now, but there is no full distro with
+installer for MIPS....

Correct me if i'm wrong though..


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/



From owner-linux-mips@oss.sgi.com Tue Nov  7 07:05:10 2000
Received:  by oss.sgi.com id <S553665AbQKGPFA>;
	Tue, 7 Nov 2000 07:05:00 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:57609 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553655AbQKGPEr>; Tue, 7 Nov 2000 07:04:47 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Tue, 07 Nov 2000 10:04:19 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFLZ2X>; Tue, 7 Nov 2000 10:04:19 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209C48@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     ian@ichilton.co.uk
Cc:     linux-mips@oss.sgi.com
Subject: RE: mips dist?
Date:   Tue, 7 Nov 2000 10:02:31 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

i went to debian, and i think you're right. i couldn't find an installable
dist anywhere.

-----Original Message-----
From: Ian Chilton [mailto:mailinglist@ichilton.co.uk]
Sent: Tuesday, November 07, 2000 10:02 AM
To: linux-mips@oss.sgi.com
Subject: Re: mips dist?


Hello,

There are no installable ports for MIPS, except Hardhat, which is old and
very outdated.


> Debian. It works fine for me. Check Debian site (www.debian.org),
> especially mips mailing list archives for details.          

uhmm...AFAIK, there are some Debian glibc 2.2 packages being uploaded now,
but there is no full distro with
+installer for MIPS....

Correct me if i'm wrong though..


Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/


From owner-linux-mips@oss.sgi.com Tue Nov  7 07:24:40 2000
Received:  by oss.sgi.com id <S553668AbQKGPYa>;
	Tue, 7 Nov 2000 07:24:30 -0800
Received: from boco.fee.vutbr.cz ([147.229.9.11]:64273 "EHLO boco.fee.vutbr.cz") convert rfc822-to-8bit
	by oss.sgi.com with ESMTP id <S553664AbQKGPYR>;
	Tue, 7 Nov 2000 07:24:17 -0800
Received: from fest.stud.fee.vutbr.cz (fest.stud.fee.vutbr.cz [147.229.9.16])
	by boco.fee.vutbr.cz (8.11.1/8.11.1) with ESMTP id eA7FO8f02044
	(using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK);
	Tue, 7 Nov 2000 16:24:09 +0100 (CET)
Received: (from xmichl03@localhost)
	by fest.stud.fee.vutbr.cz (8.11.0/8.11.0) id eA7FO8a74658;
	Tue, 7 Nov 2000 16:24:08 +0100 (CET)
From:   Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Date:   Tue, 7 Nov 2000 16:24:08 +0100 (CET)
X-processed: pine.send
To:     Ian Chilton <ian@ichilton.co.uk>
cc:     linux-mips@oss.sgi.com
Subject: Re: mips dist?
In-Reply-To: <20001107150110.A8414@woody.ichilton.co.uk>
Message-ID: <Pine.BSF.4.05.10011071603260.72988-100000@fest.stud.fee.vutbr.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Content-Transfer-Encoding: 8BIT
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, 7 Nov 2000, Ian Chilton wrote:

> uhmm...AFAIK, there are some Debian glibc 2.2 packages being uploaded
> now, but there is no full distro with installer for MIPS....
> 
> Correct me if i'm wrong though..

Imagine this situation: sgi Indy with clean HDD, no floppy, no CD-ROM. Can
you imagine any user friendly way to install linux? However, it's possible
to make package which sets up neccesary things on remote machine and then
simply boot mips :-)

You are right, Debian is not "full distro". BTW, what do you mean by this
term? 

You could do following: download kernel and base-files from
ftp://ftp.rfc822.org/pub/local/debian-mips/. install bootp, tftp and nfs
server on another machine (howto can be found in archives) and boot linux
from this remote computer. after that you can partition your harddisk,
create filesystems and copy kernel and base-files. instruction how to boot
linux directly from harddisk (for indy) can be found at:
http://honk.physik.uni-konstanz.de/linux-mips/indy-boot/indy-hd-boot-micro-howto.html
now, you have fully functional Debian/GNU Linux, just wait for new
packages :-)

if you are interested by this way of instalation, let me know i'll send
you neccessary configuration files.

Regards
Laïa.

ps. i'm sorry if i don't exactly understand what you want to do and sorry
for my weak english.




From owner-linux-mips@oss.sgi.com Tue Nov  7 07:28:40 2000
Received:  by oss.sgi.com id <S553672AbQKGP2a>;
	Tue, 7 Nov 2000 07:28:30 -0800
Received: from [194.98.116.10] ([194.98.116.10]:6405 "EHLO hermes.epita.fr")
	by oss.sgi.com with ESMTP id <S553667AbQKGP2V>;
	Tue, 7 Nov 2000 07:28:21 -0800
Received: from purple42.epx.epita.fr (purple42.epx.epita.fr [10.225.7.1])
	by hermes.epita.fr id QAA18444 for <linux-mips@oss.sgi.com> 
	EPITA Paris France Tue, 7 Nov 2000 16:27:19 GMT
Received: by purple42.epx.epita.fr (Postfix, from userid 501)
	id D1B1B48D; Tue,  7 Nov 2000 16:26:53 +0100 (CET)
Date:   Tue, 7 Nov 2000 16:26:53 +0100
From:   Thomas Poindessous <poinde_t@epita.fr>
To:     linux-mips@oss.sgi.com
Subject: Decstation 5000/200
Message-ID: <20001107162653.A31659@purple42.epx.epita.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi,
I have one IBM Decstation 5000/200 (PowerServer). 
I have minicom it but nothing, no garbage, nada.

The little led behind are set like this.

.XXX..XX  (X light, . no light)

After two day of google, I still can't find what are errors code ?

Where can I find these errors code ?

BTW, is there a port for Mips Magnum R4000 (Big endian) ?

Thanks

-- 
Thomas Poindessous
EpX asso GNU/Linux de l'Epita
epx@epita.fr && http://www.epita.fr/~epx

From owner-linux-mips@oss.sgi.com Tue Nov  7 08:07:11 2000
Received:  by oss.sgi.com id <S553685AbQKGQHA>;
	Tue, 7 Nov 2000 08:07:00 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:1037 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553677AbQKGQGw>;
	Tue, 7 Nov 2000 08:06:52 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 026AA7CF1; Tue,  7 Nov 2000 16:06:50 +0000 (GMT)
Date:   Tue, 7 Nov 2000 16:06:50 +0000
From:   Ian Chilton <ian@ichilton.co.uk>
To:     Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Cc:     linux-mips@oss.sgi.com
Subject: Re: mips dist?
Message-ID: <20001107160650.A8493@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> You could do following: download kernel and base-files from
> ftp://ftp.rfc822.org/pub/local/debian-mips/. install bootp, tftp and nfs
> server on another machine (howto can be found in archives) and boot linux
> from this remote computer. after that you can partition your harddisk,
> create filesystems and copy kernel and base-files. instruction how to boot
> linux directly from harddisk (for indy) can be found at:
> http://honk.physik.uni-konstanz.de/linux-mips/indy-boot/indy-hd-boot-micro-howto.html
> now, you have fully functional Debian/GNU Linux, just wait for new
> packages :-)


I know about this. There is also Simple Linux/MIPS, and soon, my own base systems which will be downloadable, but to answer the origional question, there is no full distro for Linux/MIPS with a proper installer, except the very old, outdated, broken Hardhat.

However, on a brigher note, things are moving on at the moment. Ralf is working on a Redhat 7.0, based on glibc 2.2, and Flo (lolo) has started uploading debian packages based on glibc 2.2 to debian.org, so we are moving closed to having some working, easier to install systems.


Bye for Now,

Ian


                                \|||/ 
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton     (IRC Nick - GadgetMan)     ian@ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |  Backup E-Mail -->  ian@ichilton.dhis.org      ICQ #: 16007717  |
 |  Web Site      -->  http://www.ichilton.co.uk                   |
 |-----------------------------------------------------------------|
 |  "Unix is user friendly - it's just picky about it's friends."  |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Tue Nov  7 08:14:51 2000
Received:  by oss.sgi.com id <S553688AbQKGQOb>;
	Tue, 7 Nov 2000 08:14:31 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:17670 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553679AbQKGQOR>; Tue, 7 Nov 2000 08:14:17 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Tue, 07 Nov 2000 11:14:00 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFL5TT>; Tue, 7 Nov 2000 11:13:59 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209C51@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: RE: mips dist?
Date:   Tue, 7 Nov 2000 11:12:14 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

excellent, i await your reports.

-----Original Message-----
From: Ian Chilton [mailto:ian@ichilton.co.uk]
Sent: Tuesday, November 07, 2000 11:07 AM
To: Michl Ladislav
Cc: linux-mips@oss.sgi.com
Subject: Re: mips dist?


Hello,

> You could do following: download kernel and base-files from
> ftp://ftp.rfc822.org/pub/local/debian-mips/. install bootp, tftp and nfs
> server on another machine (howto can be found in archives) and boot linux
> from this remote computer. after that you can partition your harddisk,
> create filesystems and copy kernel and base-files. instruction how to boot
> linux directly from harddisk (for indy) can be found at:
>
http://honk.physik.uni-konstanz.de/linux-mips/indy-boot/indy-hd-boot-micro-h
owto.html
> now, you have fully functional Debian/GNU Linux, just wait for new
> packages :-)


I know about this. There is also Simple Linux/MIPS, and soon, my own base
systems which will be downloadable, but to answer the origional question,
there is no full distro for Linux/MIPS with a proper installer, except the
very old, outdated, broken Hardhat.

However, on a brigher note, things are moving on at the moment. Ralf is
working on a Redhat 7.0, based on glibc 2.2, and Flo (lolo) has started
uploading debian packages based on glibc 2.2 to debian.org, so we are moving
closed to having some working, easier to install systems.


Bye for Now,

Ian


                                \|||/ 
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton     (IRC Nick - GadgetMan)     ian@ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |  Backup E-Mail -->  ian@ichilton.dhis.org      ICQ #: 16007717  |
 |  Web Site      -->  http://www.ichilton.co.uk                   |
 |-----------------------------------------------------------------|
 |  "Unix is user friendly - it's just picky about it's friends."  |
 \-----------------------------------------------------------------/

From owner-linux-mips@oss.sgi.com Tue Nov  7 09:26:30 2000
Received:  by oss.sgi.com id <S553699AbQKGR0V>;
	Tue, 7 Nov 2000 09:26:21 -0800
Received: from gnyf.wheel.dk ([193.162.159.104]:39145 "EHLO gnyf.wheel.dk")
	by oss.sgi.com with ESMTP id <S553691AbQKGR0B>;
	Tue, 7 Nov 2000 09:26:01 -0800
Received: (from soren@localhost)
	by gnyf.wheel.dk (8.9.1/8.9.1) id SAA13802;
	Tue, 7 Nov 2000 18:25:55 +0100 (CET)
Date:   Tue, 7 Nov 2000 18:25:55 +0100
From:   "Soren S. Jorvang" <soren@wheel.dk>
To:     Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Cc:     linux-mips@oss.sgi.com
Subject: Re: setenv eaddr
Message-ID: <20001107182555.A13791@gnyf.wheel.dk>
References: <Pine.BSF.4.05.10011071158500.58171-100000@fest.stud.fee.vutbr.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <Pine.BSF.4.05.10011071158500.58171-100000@fest.stud.fee.vutbr.cz>; from xmichl03@stud.fee.vutbr.cz on Tue, Nov 07, 2000 at 03:50:28PM +0100
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 07, 2000 at 03:50:28PM +0100, Michl Ladislav wrote:
> I was looking to the archives and HOWTOs to find way how to change eaddr
> of sgi Indy (which was incorrectly set after 2.4.0-test6 crash) and find

http://www.netbsd.org/Ports/sgimips/faq.html (no, NetBSD
doesn't actually run on the Indy yet).


-- 
Soren

From owner-linux-mips@oss.sgi.com Tue Nov  7 12:37:41 2000
Received:  by oss.sgi.com id <S553760AbQKGUhc>;
	Tue, 7 Nov 2000 12:37:32 -0800
Received: from noose.gt.owl.de ([62.52.19.4]:39182 "HELO noose.gt.owl.de")
	by oss.sgi.com with SMTP id <S553747AbQKGUhS>;
	Tue, 7 Nov 2000 12:37:18 -0800
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id BBB7084B; Tue,  7 Nov 2000 21:37:15 +0100 (CET)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id 419548F81; Tue,  7 Nov 2000 21:37:08 +0100 (CET)
Date:   Tue, 7 Nov 2000 21:37:08 +0100
From:   Florian Lohoff <flo@rfc822.org>
To:     Thomas Poindessous <poinde_t@epita.fr>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Decstation 5000/200
Message-ID: <20001107213708.G1930@paradigm.rfc822.org>
References: <20001107162653.A31659@purple42.epx.epita.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <20001107162653.A31659@purple42.epx.epita.fr>; from poinde_t@epita.fr on Tue, Nov 07, 2000 at 04:26:53PM +0100
Organization: rfc822 - pure communication
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 07, 2000 at 04:26:53PM +0100, Thomas Poindessous wrote:
> Hi,
> I have one IBM Decstation 5000/200 (PowerServer). 
> I have minicom it but nothing, no garbage, nada.

Are you sure you are not on the wrong serial ? 
Do you have a Framebuffer and Keyboard attached ?

> The little led behind are set like this.
> 
> .XXX..XX  (X light, . no light)
> 
> After two day of google, I still can't find what are errors code ?


> Where can I find these errors code ?

They are in the Decstation Hardware Reference Manual
delivered with the Decstation - I havent got them
handy right now but probably someone could copy
them to a digital form and put it into the 
Mips HOWTO.

> BTW, is there a port for Mips Magnum R4000 (Big endian) ?

Hmm - From memory: yes - But i dont think it'll work out of the box
as the have been a lot of kernel changes and nobody cared on the 
Mips Magnum Port.

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?


From owner-linux-mips@oss.sgi.com Tue Nov  7 23:54:37 2000
Received:  by oss.sgi.com id <S553990AbQKHHy1>;
	Tue, 7 Nov 2000 23:54:27 -0800
Received: from router.isratech.ro ([193.226.114.69]:45840 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553922AbQKHHyM>;
	Tue, 7 Nov 2000 23:54:12 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA87rbM05625
	for <linux-mips@oss.sgi.com>; Wed, 8 Nov 2000 09:53:44 +0200
Message-ID: <3A09753F.DB2457EE@isratech.ro>
Date:   Wed, 08 Nov 2000 10:46:07 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: MIPS kernel!
Content-Type: multipart/mixed;
 boundary="------------302C573CB07886B58EA20698"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Hello ,

I tried to cross compile the kernel from ftp.embedix.com, meaning that
I found that this embedix Linux is made to work on any platform . I have
an Atlas board and a QED processsor (  a mips one ) and I fail in trying
to cross compile the linux-2.2.13. I get the following errors.

/home/nicu/Kituri/Lineo/linux-2.2.13/scripts/mkdep amigaffs.c bitmap.c
di
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h:47: invalid
operands to binary +
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h: In function
`atomic_sub':
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h:57: invalid
operands to binary -
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h: In function
`atomic_add_return':
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h:67:
incompatible types in assignment
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h:69:
incompatible types in assignment
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h: In function
`atomic_sub_return':
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h:81:
incompatible types in assignment
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/atomic.h:83:
incompatible types in assignment
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/timex.h: In function
`get_cycles':
In file included from
/home/nicu/Kituri/Lineo/linux-2.2.13/include/linux/timex.h:138,
                 from
/home/nicu/Kituri/Lineo/linux-2.2.13/include/linux/sched.h:14,
                 from
/home/nicu/Kituri/Lineo/linux-2.2.13/include/linux/mm.h:4,
                 from
/home/nicu/Kituri/Lineo/linux-2.2.13/include/linux/slab.h:14,
                 from
/home/nicu/Kituri/Lineo/linux-2.2.13/include/linux/malloc.h:4,
                 from
/home/nicu/Kituri/Lineo/linux-2.2.13/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/timex.h:36: warning:
implicit declaration of function `read_32bit_cp0_register'
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/timex.h:36: `CP0_COUNT'

undeclared (first use this function)
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/timex.h:36: (Each
undeclared identifier is reported only once
/home/nicu/Kituri/Lineo/linux-2.2.13/include/asm/timex.h:36: for each
function it appears in.)
make: *** [init/main.o] Error 1

Another weird thing . When I received my Atlas board I gqt a CD with the
kernel sources and binaries. I installed the binaries on the Atlas board
and it works fine but when I tried to cross compile the kernel I get
some stupid errors like the one above. I realy do not understand
anything , does anyone cross compiled a kernele for MIPS processors and
Atlas boards ? The version is linux 2.2.12.( the Hard Hat Linux ).

Thak you for all your help.

Regards,
Nicu

--------------302C573CB07886B58EA20698
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------302C573CB07886B58EA20698--


From owner-linux-mips@oss.sgi.com Wed Nov  8 01:50:28 2000
Received:  by oss.sgi.com id <S553734AbQKHJuS>;
	Wed, 8 Nov 2000 01:50:18 -0800
Received: from mx.mips.com ([206.31.31.226]:23518 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553726AbQKHJuB>;
	Wed, 8 Nov 2000 01:50:01 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id BAA20575;
	Wed, 8 Nov 2000 01:49:38 -0800 (PST)
Received: from Ulysses (sfr-tgn-sfp-vty3.as.wcom.net [216.192.35.3])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id BAA13374;
	Wed, 8 Nov 2000 01:49:53 -0800 (PST)
Message-ID: <004101c04969$b744b160$0323c0d8@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Nicu Popovici" <octavp@isratech.ro>, <linux-mips@oss.sgi.com>
References: <3A09753F.DB2457EE@isratech.ro>
Subject: Re: MIPS kernel!
Date:   Wed, 8 Nov 2000 10:53:14 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> I tried to cross compile the kernel from ftp.embedix.com, meaning that
> I found that this embedix Linux is made to work on any platform . I have
> an Atlas board and a QED processsor (  a mips one ) and I fail in trying
> to cross compile the linux-2.2.13. I get the following errors.
...
[errors snipped] 
...
> Another weird thing . When I received my Atlas board I gqt a CD with the
> kernel sources and binaries. I installed the binaries on the Atlas board
> and it works fine but when I tried to cross compile the kernel I get
> some stupid errors like the one above. I realy do not understand
> anything , does anyone cross compiled a kernele for MIPS processors and
> Atlas boards ? The version is linux 2.2.12.( the Hard Hat Linux ).

In general, at MIPS, we generally build native or semi-native
(mipsel on mipseb machines and vice versa).  In cross-builds
of other components, however, I have observed that problems
such as those you describe can result from include files
on the host platform being erroneously pulled in to the cross-build.
Cross-gcc and the makefiles have been known to be set up such
that, if the needed include file can be found neither in the explicitly
requested directories nor in the cross-compiler's default includes, 
it will silently search the host /usr/include directories.

One quick-and-dirty way to test this would be to temporarily rename
/usr/include on your host platform to /usr/include.native or whatever,
and then make your  /usr/include a symbolic link to the include 
directory of your MIPS Linux tree.  This should either let you build
correctly or give you a more useful error message telling you which
include file is missing from your cross-environment or MIPS kernel 
distribution. Just don't forget to put things back the way they were! 

            Regards,

            Kevin K.


From owner-linux-mips@oss.sgi.com Wed Nov  8 04:58:39 2000
Received:  by oss.sgi.com id <S553858AbQKHM63>;
	Wed, 8 Nov 2000 04:58:29 -0800
Received: from u-203.karlsruhe.ipdial.viaginterkom.de ([62.180.21.203]:40968
        "EHLO u-203.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553765AbQKHM6P>; Wed, 8 Nov 2000 04:58:15 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868643AbQKHD6E>;
        Wed, 8 Nov 2000 04:58:04 +0100
Date:   Wed, 8 Nov 2000 04:58:04 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Cc:     linux-mips@oss.sgi.com
Subject: Re: setenv eaddr
Message-ID: <20001108045804.A12999@bacchus.dhis.org>
References: <Pine.BSF.4.05.10011071158500.58171-100000@fest.stud.fee.vutbr.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <Pine.BSF.4.05.10011071158500.58171-100000@fest.stud.fee.vutbr.cz>; from xmichl03@stud.fee.vutbr.cz on Tue, Nov 07, 2000 at 03:50:28PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 07, 2000 at 03:50:28PM +0100, Michl Ladislav wrote:

> I was looking to the archives and HOWTOs to find way how to change eaddr
> of sgi Indy (which was incorrectly set after 2.4.0-test6 crash) and find
> couple of questions and no answer. I think about -p switch of setenv
> mentioned in archives supposing that it means "permanent" and trying to
> imagine how to FORCE set eaddr. This is the key.

The -p option doesn't work for the eaddr variable.  Hey, SGI didn't want
it's customers to arbitrarily change serial numbers of the machine ...

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  8 04:58:59 2000
Received:  by oss.sgi.com id <S553850AbQKHM6j>;
	Wed, 8 Nov 2000 04:58:39 -0800
Received: from u-203.karlsruhe.ipdial.viaginterkom.de ([62.180.21.203]:40968
        "EHLO u-203.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553824AbQKHM6Q>; Wed, 8 Nov 2000 04:58:16 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869085AbQKHEB6>;
        Wed, 8 Nov 2000 05:01:58 +0100
Date:   Wed, 8 Nov 2000 05:01:58 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Ian Chilton <ian@ichilton.co.uk>
Cc:     linux-mips@oss.sgi.com, lfs-discuss@linuxfromscratch.org
Subject: Re: User/Group Problem
Message-ID: <20001108050158.B12999@bacchus.dhis.org>
References: <20001107110610.A8074@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001107110610.A8074@woody.ichilton.co.uk>; from mailinglist@ichilton.co.uk on Tue, Nov 07, 2000 at 11:06:10AM +0000
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 07, 2000 at 11:06:10AM +0000, Ian Chilton wrote:

> I am building a Linux system on an SGI I2 (MIPS) with glibc 2.2
> 
> I am having the following problem....any ideas?
> 
> bash-2.04# chown root test.c 
> chown: root: invalid user
> 
> bash-2.04# chgrp root test.c 
> chgrp: invalid group name `root'

Two possible reasons:

 - your /etc/nsswitch.conf is broken
 - your chown / chgrp binaries are statically linked.  In that case nss
   won't work on MIPS until it's fixed ...

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  8 05:53:59 2000
Received:  by oss.sgi.com id <S553938AbQKHNxj>;
	Wed, 8 Nov 2000 05:53:39 -0800
Received: from boco.fee.vutbr.cz ([147.229.9.11]:25106 "EHLO boco.fee.vutbr.cz")
	by oss.sgi.com with ESMTP id <S553853AbQKHNxY>;
	Wed, 8 Nov 2000 05:53:24 -0800
Received: from fest.stud.fee.vutbr.cz (fest.stud.fee.vutbr.cz [147.229.9.16])
	by boco.fee.vutbr.cz (8.11.1/8.11.1) with ESMTP id eA8DrJf61423
	(using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK);
	Wed, 8 Nov 2000 14:53:20 +0100 (CET)
Received: (from xmichl03@localhost)
	by fest.stud.fee.vutbr.cz (8.11.0/8.11.0) id eA8DrJr40551;
	Wed, 8 Nov 2000 14:53:19 +0100 (CET)
From:   Michl Ladislav <xmichl03@stud.fee.vutbr.cz>
Date:   Wed, 8 Nov 2000 14:53:19 +0100 (CET)
X-processed: pine.send
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     linux-mips@oss.sgi.com
Subject: Re: setenv eaddr
In-Reply-To: <20001108045804.A12999@bacchus.dhis.org>
Message-ID: <Pine.BSF.4.05.10011081443420.40049-100000@fest.stud.fee.vutbr.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 8 Nov 2000, Ralf Baechle wrote:

> The -p option doesn't work for the eaddr variable.  

You are right, of course :-) Perhaps you didn't read my post carefully. I
was talking about -f option (as shown in example), which definitely works
on my indy.

> Hey, SGI didn't want it's customers to arbitrarily change serial
> numbers of the machine ...

Hmm, as I already wrote, after kernel crash I was left with incorectly
set eaddr variable and I was unable to boot anything :-< I only set eaddr
to its original value by this pretty simple way. So no arbitrarily change,
but repair to original state. 

Regards
Lada.


From owner-linux-mips@oss.sgi.com Wed Nov  8 06:11:49 2000
Received:  by oss.sgi.com id <S553993AbQKHOLj>;
	Wed, 8 Nov 2000 06:11:39 -0800
Received: from u-203.karlsruhe.ipdial.viaginterkom.de ([62.180.21.203]:49416
        "EHLO u-203.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553928AbQKHOLK>; Wed, 8 Nov 2000 06:11:10 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868643AbQKHOKs>;
        Wed, 8 Nov 2000 15:10:48 +0100
Date:   Wed, 8 Nov 2000 15:10:48 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Nicu Popovici <octavp@isratech.ro>, linux-mips@oss.sgi.com
Subject: Re: MIPS kernel!
Message-ID: <20001108151048.A13841@bacchus.dhis.org>
References: <3A09753F.DB2457EE@isratech.ro> <004101c04969$b744b160$0323c0d8@Ulysses>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <004101c04969$b744b160$0323c0d8@Ulysses>; from kevink@mips.com on Wed, Nov 08, 2000 at 10:53:14AM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 08, 2000 at 10:53:14AM +0100, Kevin D. Kissell wrote:

> In general, at MIPS, we generally build native or semi-native
> (mipsel on mipseb machines and vice versa).  In cross-builds
> of other components, however, I have observed that problems
> such as those you describe can result from include files
> on the host platform being erroneously pulled in to the cross-build.
> Cross-gcc and the makefiles have been known to be set up such
> that, if the needed include file can be found neither in the explicitly
> requested directories nor in the cross-compiler's default includes, 
> it will silently search the host /usr/include directories.

This is either a bug in the version that you're using, a wrongly installed
compiled or simply wrong -I directives passed to the compiler.  The
crosscompiler rpms as distributed on oss will only search:

 /usr/lib/gcc-lib/mips-linux/egcs-2.91.66/include
 /usr/mips-linux/include

by default.  I just tried, egcs-1.1.2-2 also doesn't search silently in
other directories.  So it's not a problem of gcc itself which leaves the
makefiles.  If you find any instance of the wrong directories being
searched, please tell me.  Or better, include a patch :-)

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  8 08:37:49 2000
Received:  by oss.sgi.com id <S553954AbQKHQhk>;
	Wed, 8 Nov 2000 08:37:40 -0800
Received: from [194.98.116.10] ([194.98.116.10]:33796 "EHLO hermes.epita.fr")
	by oss.sgi.com with ESMTP id <S553940AbQKHQhX>;
	Wed, 8 Nov 2000 08:37:23 -0800
Received: from purple42.epx.epita.fr (purple42.epx.epita.fr [10.225.7.1])
	by hermes.epita.fr id RAA20741 for <linux-mips@oss.sgi.com> 
	EPITA Paris France Wed, 8 Nov 2000 17:36:22 GMT
Received: by purple42.epx.epita.fr (Postfix, from userid 501)
	id 789622294; Wed,  8 Nov 2000 17:35:53 +0100 (CET)
Date:   Wed, 8 Nov 2000 17:35:53 +0100
From:   Thomas Poindessous <poinde_t@epita.fr>
To:     linux-mips@oss.sgi.com
Subject: Re: Decstation 5000/200
Message-ID: <20001108173553.A1305@purple42.epx.epita.fr>
References: <20001107162653.A31659@purple42.epx.epita.fr> <20001107213708.G1930@paradigm.rfc822.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001107213708.G1930@paradigm.rfc822.org>; from flo@rfc822.org on Tue, Nov 07, 2000 at 09:37:08PM +0100
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 07, 2000 at 09:37:08PM +0100, Florian Lohoff wrote:
> On Tue, Nov 07, 2000 at 04:26:53PM +0100, Thomas Poindessous wrote:
> > Hi,
> > I have one IBM Decstation 5000/200 (PowerServer). 
> > I have minicom it but nothing, no garbage, nada.

First sorry for the wrong description.
It's a digital Decstation 5000/200.

> Are you sure you are not on the wrong serial ? 
> Do you have a Framebuffer and Keyboard attached ?

I connect my laplink to serial port #3
The keyboard is unplugged, and I hav test with and without the framebuffer
and the scsi controller. This box has three set of ram but no hard drive,
is it a problem ?

> > Where can I find these errors code ?
> 
> They are in the Decstation Hardware Reference Manual
> delivered with the Decstation - I havent got them
> handy right now but probably someone could copy
> them to a digital form and put it into the 
> Mips HOWTO.

It would be great.

> > BTW, is there a port for Mips Magnum R4000 (Big endian) ?
> 
> Hmm - From memory: yes - But i dont think it'll work out of the box
> as the have been a lot of kernel changes and nobody cared on the 
> Mips Magnum Port.

Ok, I will test.

> Flo
> -- 
> Florian Lohoff                  flo@rfc822.org             +49-5201-669912
>      Why is it called "common sense" when nobody seems to have any?
> 

-- 
Thomas Poindessous
EpX asso GNU/Linux de l'Epita
epx@epita.fr && http://www.epita.fr/~epx

From owner-linux-mips@oss.sgi.com Wed Nov  8 10:58:00 2000
Received:  by oss.sgi.com id <S553729AbQKHS5u>;
	Wed, 8 Nov 2000 10:57:50 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:29453 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553706AbQKHS5Y>;
	Wed, 8 Nov 2000 10:57:24 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id BF0FA7CF1; Wed,  8 Nov 2000 18:57:11 +0000 (GMT)
Date:   Wed, 8 Nov 2000 18:57:11 +0000
From:   Ian Chilton <ian@ichilton.co.uk>
To:     pete <pete@blackhammer.com>
Cc:     linux-mips@oss.sgi.com
Subject: Re: MIPS linux
Message-ID: <20001108185711.A10689@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> and noticed that you do not recommend using the hardhat distro based on

You can use it, but it is old and broken. It will get you booted into Linux, but IIRC you can not even compile a kernel  :(

I am currently putting together some base systems, which you can net-boot and/or copy to a HD. Also, will write an installation guide. Hoping to upload these after the weekend. I started with a Hardhat install, then used the Redhat 6.0 packages from ftp://oss.sgi.com/pub/linux/mips/redhat/test-6.0, but that was not an easy procedure  :)

Ralf is currently working on a Redhat 7.0 port, and Flo (lolo) has started uploading packages to debian.org

Then there is Simple Linux/MIPS, byt Keith...that is available from oss.sgi.com now...

So, there is lots in the pipeline, but not a lot to actually go on for end-users right now, more hackers :)

All the links should be on the links page at our site... (or the news page).

There are pointers to some installation guides..

In the redhat dir on oss, there is a file called instructions, which is the guide I used when I first started out...It describes setting up the network boot server etc...

As I say though, I am currently working on an installation guide for my bases (hoping to release a glibc 2.0.6/kernel 2.2.14 one and a kernel 2.4 / glibc 2.2 one, but the 2.2 is still being worked on  :)

So, i'd say, you can get in there and try some of the stuff downloadable, but if you are in no hurry, hang on for a bit, because there are developments happening...


If you are on IRC, join us on irc.openprojects.net, channel #mipslinux (I am GadgetMan), and definatly subscribe to the linux-mips mailinglist on oss.sgi.com

Hope this helps a bit!


Bye for Now,

Ian


                                \|||/ 
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton     (IRC Nick - GadgetMan)     ian@ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |  Web Site      -->  http://www.ichilton.co.uk                   |
 |-----------------------------------------------------------------|
 |  "Unix is user friendly - it's just picky about it's friends."  |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov  8 11:25:10 2000
Received:  by oss.sgi.com id <S553770AbQKHTZA>;
	Wed, 8 Nov 2000 11:25:00 -0800
Received: from router.isratech.ro ([193.226.114.69]:20243 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553715AbQKHTYn>;
	Wed, 8 Nov 2000 11:24:43 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA8FKpM32556
	for <linux-mips@oss.sgi.com>; Wed, 8 Nov 2000 17:20:52 +0200
Message-ID: <3A09DE18.E55FA70F@isratech.ro>
Date:   Wed, 08 Nov 2000 18:13:28 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: Cross_compiler!
Content-Type: multipart/mixed;
 boundary="------------61302E31229AB9F02790A356"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Hello  you all,

I have a development board ( ATLAS + QED 5261 processor ).

Does anyone from you did cross compiled a kernel for mips on a i686
machine ? I am struggling for three weeks now to do that and nothing
works. Mr. Weselows said  some days ago  to get the Linux_2_2 form CVS
and indeed I could cross compile that kernel  but after that I found out
that  the kernel  does not have support for ATLAS board.

I tried the following kernel versions
1. linux.2.2.12 from the Atlas board CD
2. linux 2.2.13 from lineo.com
3. linux 2.2.14 from oss.sgi.com( linux2_2 from CVS site )
4. linux 2.2.17

Best Regards,
Nicu

--------------61302E31229AB9F02790A356
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------61302E31229AB9F02790A356--


From owner-linux-mips@oss.sgi.com Wed Nov  8 11:48:00 2000
Received:  by oss.sgi.com id <S553927AbQKHTru>;
	Wed, 8 Nov 2000 11:47:50 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:43769 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553715AbQKHTrk>;
	Wed, 8 Nov 2000 11:47:40 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eA8JjP322263;
	Wed, 8 Nov 2000 11:45:25 -0800
Message-ID: <3A09ADDB.EA2A6246@mvista.com>
Date:   Wed, 08 Nov 2000 11:47:39 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     Nicu Popovici <octavp@isratech.ro>
CC:     linux-mips@oss.sgi.com
Subject: Re: Cross_compiler!
References: <3A09DE18.E55FA70F@isratech.ro>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Nicu Popovici wrote:
> 
> Hello  you all,
> 
> I have a development board ( ATLAS + QED 5261 processor ).
> 
> Does anyone from you did cross compiled a kernel for mips on a i686
> machine ? I am struggling for three weeks now to do that and nothing
> works. Mr. Weselows said  some days ago  to get the Linux_2_2 form CVS
> and indeed I could cross compile that kernel  but after that I found out
> that  the kernel  does not have support for ATLAS board.
> 
> I tried the following kernel versions
> 1. linux.2.2.12 from the Atlas board CD
> 2. linux 2.2.13 from lineo.com
> 3. linux 2.2.14 from oss.sgi.com( linux2_2 from CVS site )
> 4. linux 2.2.17
> 
> Best Regards,
> Nicu

Nicu,

You can get the cross-compile tool chains from the monta vista ftp
site.  These tools are considered stable and recommeded - at least
before Ralf shows his latest toys. :-0

1. binutils 2.8.1
2. egcs 1.0.3a
3. glibc 2.0.6

The ftp site is 

ftp.mvsiat.com:/pub/Area51/ddb-5476/

Hopefully before the end of this weekend, there will a little more
updated release with a new name prefix, some bug fixes and for both
little endiand and big endian.  The current one is for little endian. 
If you know how to use rpm, you can create your own big-endian tools
pretty easily.

Jun

From owner-linux-mips@oss.sgi.com Wed Nov  8 12:03:51 2000
Received:  by oss.sgi.com id <S553955AbQKHUDl>;
	Wed, 8 Nov 2000 12:03:41 -0800
Received: from mx.mips.com ([206.31.31.226]:47589 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553766AbQKHUD1>;
	Wed, 8 Nov 2000 12:03:27 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id MAA25409;
	Wed, 8 Nov 2000 12:02:53 -0800 (PST)
Received: from lsf17.mips.com (lsf17 [192.168.10.205])
	by newman.mips.com (8.9.3/8.9.0) with ESMTP id MAA00300;
	Wed, 8 Nov 2000 12:03:11 -0800 (PST)
Received: from mips.com (localhost [127.0.0.1])
	by lsf17.mips.com (8.9.3/8.9.0) with ESMTP id MAA16401;
	Wed, 8 Nov 2000 12:03:11 -0800 (PST)
Message-ID: <3A09B17F.7FF3B03B@mips.com>
Date:   Wed, 08 Nov 2000 12:03:11 -0800
From:   "Kevin D. Kissell" <kevink@mips.com>
Organization: MIPS Technologies Inc.
X-Mailer: Mozilla 4.61 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ian Chilton <ian@ichilton.co.uk>
CC:     pete <pete@blackhammer.com>, linux-mips@oss.sgi.com
Subject: Re: MIPS linux
References: <20001108185711.A10689@woody.ichilton.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Ian Chilton wrote:
> 
> Hello,
> 
> > and noticed that you do not recommend using the hardhat distro based on
> 
> You can use it, but it is old and broken. It will get you booted into Linux, but IIRC you can not even compile a kernel  :(

Sure you can!  I've done it hundreds of times. ;-)
You can even build binutils.  But you can't
build gcc, and any application that depends
on certain subtleties of signal behavior will be 
betrayed by the discrepancy between the
HardHat glibc and the 2.2-3-4 kernels.

So I too am eagerly looking forward to 
a 6.0 or 7.0 based solution - provided that
the glibc disconnects are fixed as well.

	Kevin K.

From owner-linux-mips@oss.sgi.com Wed Nov  8 12:05:40 2000
Received:  by oss.sgi.com id <S554010AbQKHUFa>;
	Wed, 8 Nov 2000 12:05:30 -0800
Received: from ns.snowman.net ([63.80.4.34]:31757 "EHLO ns.snowman.net")
	by oss.sgi.com with ESMTP id <S553944AbQKHUF0>;
	Wed, 8 Nov 2000 12:05:26 -0800
Received: from localhost (nick@localhost)
	by ns.snowman.net (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id PAA08083
	for <linux-mips@oss.sgi.com>; Wed, 8 Nov 2000 15:05:21 -0500
Date:   Wed, 8 Nov 2000 15:05:21 -0500 (EST)
From:   <nick@snowman.net>
X-Sender: nick@ns
cc:     linux-mips@oss.sgi.com
Subject: Issues with R8000
In-Reply-To: <3A09ADDB.EA2A6246@mvista.com>
Message-ID: <Pine.LNX.4.21.0011081504010.6507-100000@ns>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To:     unlisted-recipients:; (no To-header on input)
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This is not linux specific, but I'm hoping someone will have a
suggestion.  I recently got an Indigo2 r8000.  Anything I hook up to the
external chain is flakey.  It won't always boot (complains about cable
disk or cdrom error), and I get regular scsi timeouts.  Does anyone have
suggestions how to fix this?
	Thanks
		Nick



From owner-linux-mips@oss.sgi.com Wed Nov  8 12:07:30 2000
Received:  by oss.sgi.com id <S554029AbQKHUHV>;
	Wed, 8 Nov 2000 12:07:21 -0800
Received: from mx.mips.com ([206.31.31.226]:52197 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553986AbQKHUHI>;
	Wed, 8 Nov 2000 12:07:08 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id MAA25451;
	Wed, 8 Nov 2000 12:06:45 -0800 (PST)
Received: from lsf17.mips.com (lsf17 [192.168.10.205])
	by newman.mips.com (8.9.3/8.9.0) with ESMTP id MAA00424;
	Wed, 8 Nov 2000 12:07:03 -0800 (PST)
Received: from mips.com (localhost [127.0.0.1])
	by lsf17.mips.com (8.9.3/8.9.0) with ESMTP id MAA16405;
	Wed, 8 Nov 2000 12:07:04 -0800 (PST)
Message-ID: <3A09B268.73303E91@mips.com>
Date:   Wed, 08 Nov 2000 12:07:04 -0800
From:   "Kevin D. Kissell" <kevink@mips.com>
Organization: MIPS Technologies Inc.
X-Mailer: Mozilla 4.61 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@oss.sgi.com>
CC:     Nicu Popovici <octavp@isratech.ro>, linux-mips@oss.sgi.com
Subject: Re: MIPS kernel!
References: <3A09753F.DB2457EE@isratech.ro> <004101c04969$b744b160$0323c0d8@Ulysses> <20001108151048.A13841@bacchus.dhis.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Ralf Baechle wrote:
> 
> On Wed, Nov 08, 2000 at 10:53:14AM +0100, Kevin D. Kissell wrote:
> 
> > In general, at MIPS, we generally build native or semi-native
> > (mipsel on mipseb machines and vice versa).  In cross-builds
> > of other components, however, I have observed that problems
> > such as those you describe can result from include files
> > on the host platform being erroneously pulled in to the cross-build.
> > Cross-gcc and the makefiles have been known to be set up such
> > that, if the needed include file can be found neither in the explicitly
> > requested directories nor in the cross-compiler's default includes,
> > it will silently search the host /usr/include directories.
> 
> This is either a bug in the version that you're using, a wrongly installed
> compiled or simply wrong -I directives passed to the compiler.  

Obviously.  And my thought was that Nicu may well be being
bit by one or the other.

> The crosscompiler rpms as distributed on oss will only search:
> 
>  /usr/lib/gcc-lib/mips-linux/egcs-2.91.66/include
>  /usr/mips-linux/include
> 
> by default.  I just tried, egcs-1.1.2-2 also doesn't search silently in
> other directories.  So it's not a problem of gcc itself which leaves the
> makefiles.  If you find any instance of the wrong directories being
> searched, please tell me.  Or better, include a patch :-)

I saw an instance of this on the order of a year ago.  I don't
remember which compiler I was using, nor where I got it.  I have
no ability nor really much desire to try to reconstruct the
environment to reproduce the problem!

			Kevin K.

From owner-linux-mips@oss.sgi.com Wed Nov  8 12:12:30 2000
Received:  by oss.sgi.com id <S554034AbQKHUMV>;
	Wed, 8 Nov 2000 12:12:21 -0800
Received: from u-242.karlsruhe.ipdial.viaginterkom.de ([62.180.19.242]:5636
        "EHLO u-242.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S554015AbQKHUMG>; Wed, 8 Nov 2000 12:12:06 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869645AbQKHULz>;
        Wed, 8 Nov 2000 21:11:55 +0100
Date:   Wed, 8 Nov 2000 21:11:55 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Kevin D. Kissell" <kevink@mips.com>
Cc:     Ralf Baechle <ralf@oss.sgi.com>,
        Nicu Popovici <octavp@isratech.ro>, linux-mips@oss.sgi.com
Subject: Re: MIPS kernel!
Message-ID: <20001108211155.B870@bacchus.dhis.org>
References: <3A09753F.DB2457EE@isratech.ro> <004101c04969$b744b160$0323c0d8@Ulysses> <20001108151048.A13841@bacchus.dhis.org> <3A09B268.73303E91@mips.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A09B268.73303E91@mips.com>; from kevink@mips.com on Wed, Nov 08, 2000 at 12:07:04PM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 08, 2000 at 12:07:04PM -0800, Kevin D. Kissell wrote:

> > by default.  I just tried, egcs-1.1.2-2 also doesn't search silently in
> > other directories.  So it's not a problem of gcc itself which leaves the
> > makefiles.  If you find any instance of the wrong directories being
> > searched, please tell me.  Or better, include a patch :-)
> 
> I saw an instance of this on the order of a year ago.  I don't
> remember which compiler I was using, nor where I got it.  I have
> no ability nor really much desire to try to reconstruct the
> environment to reproduce the problem!

It think you can missconfigure a compiler to do something like that on a
i386-linux host by ``configure mips-linux'' or so.  That will or course
also hose your native compiler.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov  8 13:08:51 2000
Received:  by oss.sgi.com id <S554045AbQKHVIl>;
	Wed, 8 Nov 2000 13:08:41 -0800
Received: from orzan.fi.udc.es ([193.144.60.19]:14722 "EHLO orzan.fi.udc.es")
	by oss.sgi.com with ESMTP id <S553660AbQKHVIV>;
	Wed, 8 Nov 2000 13:08:21 -0800
Received: from serpe.mitica (mail@vexeta.dc.fi.udc.es [193.144.51.32])
	by orzan.fi.udc.es (8.9.3/8.9.1) with ESMTP id WAA18458;
	Wed, 8 Nov 2000 22:08:02 +0100 (MET)
Received: from quintela by serpe.mitica with local (Exim 3.16 #1 (Debian))
	id 13taUA-0000IL-00; Wed, 08 Nov 2000 20:02:14 +0100
To:     Klaus Naumann <spock@mgnet.de>, linux-mips@oss.sgi.com
Subject: TCP dump trace
X-Url:  http://carpanta.dc.fi.udc.es/~quintela
From:   "Juan J. Quintela" <quintela@fi.udc.es>
Date:   08 Nov 2000 20:02:14 +0100
Message-ID: <yttg0l2uw21.fsf@serpe.mitica>
Lines:  72
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Hi
        I am trying to boot an I2.  The Indigo 2 needs an ecoff binary
        for booting (i.e. an ELF image is not good).

        I have set up tftp and dhcp.  Both of them are working ok (at
        least they are able to boot my Multia without any problem).

        server machine:
               serpe.mitica: Linux x86 test10
                             debian woody
               Yes, I have done the:
                    echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc
        client machine:
               indigo 2: trying to boot sash & kernel in ecoff format
               (same error).

Entries in /var/log/daemon.log

Nov  8 19:55:57 serpe dhcpd-2.2.x: BOOTREQUEST from 08:00:69:07:1e:7f via eth0 (non-rfc1048)
Nov  8 19:55:57 serpe dhcpd-2.2.x: BOOTREPLY for 192.168.10.13 to meiga (08:00:69:07:1e:7f) via eth0
Nov  8 19:55:58 serpe in.tftpd[1135]: connect from meiga.mitica
Nov  8 19:55:58 serpe tftpd[1136]: tftpd: trying to get file: i2.ecoff
Nov  8 19:55:58 serpe tftpd[1136]: tftpd: serving file from /home/tftpboot


Yes, I wanted to boot the file i2.ecoff in meiga, everything looks ok
here.

Now the tcpdump -vvv -i eth0 output

19:55:57.852630 arp who-has meiga.mitica tell meiga.mitica
19:55:57.853168 meiga.mitica.bootpc > 255.255.255.255.bootps: xid:0xdee8 secs:5 C:meiga.mitica [|bootp] (ttl 255, id 49)
19:55:57.854112 serpe.mitica.bootps > meiga.mitica.bootpc: xid:0xdee8 secs:5 C:meiga.mitica Y:meiga.mitica S:serpe.mitica [|bootp] [tos 0x10] (ttl 16, id 0)
19:55:57.854888 arp who-has meiga.mitica tell meiga.mitica
19:55:57.934563 meiga.mitica.7913 > serpe.mitica.tftp: 21 RRQ "i2.ecoff" (ttl 255, id 50)
19:55:58.076108 serpe.mitica.32776 > meiga.mitica.7913: udp 516 (ttl 64, id 41004)
19:55:58.077099 meiga.mitica.7913 > serpe.mitica.32776: udp 6 (ttl 255, id 51)
19:55:58.081840 serpe.mitica.32776 > meiga.mitica.7913: udp 516 (ttl 64, id 41260)
19:56:03.069430 arp who-has meiga.mitica tell serpe.mitica
19:56:03.069883 arp reply meiga.mitica is-at 8:0:69:7:1e:7f
19:56:03.079855 serpe.mitica.32776 > meiga.mitica.7913: udp 516 (ttl 64, id 41516)
19:56:08.079263 serpe.mitica.32776 > meiga.mitica.7913: udp 516 (ttl 64, id 41772)
19:56:13.078798 serpe.mitica.32776 > meiga.mitica.7913: udp 516 (ttl 64, id 42028)
19:56:18.078397 serpe.mitica.32776 > meiga.mitica.7913: udp 516 (ttl 64, id 42284)
19:56:27.704048 meiga.mitica.7913 > serpe.mitica.32776: udp 6 (ttl 255, id 52)
19:56:27.704112 serpe.mitica > meiga.mitica: icmp: serpe.mitica udp port 32776 unreachable (DF) [tos 0xc0] (ttl 255, id 0)
19:56:57.706480 meiga.mitica.7913 > serpe.mitica.32776: udp 6 (ttl 255, id 53)
19:56:57.706564 serpe.mitica > meiga.mitica: icmp: serpe.mitica udp port 32776 unreachable (DF) [tos 0xc0] (ttl 255, id 0)
19:57:02.704267 arp who-has meiga.mitica tell serpe.mitica
19:57:02.704708 arp reply meiga.mitica is-at 8:0:69:7:1e:7f
19:57:27.709047 meiga.mitica.7913 > serpe.mitica.32776: udp 6 (ttl 255, id 54)
19:57:27.709140 serpe.mitica > meiga.mitica: icmp: serpe.mitica udp port 32776 unreachable (DF) [tos 0xc0] (ttl 255, id 0)
19:57:57.711458 meiga.mitica.7913 > serpe.mitica.32776: udp 6 (ttl 255, id 55)
19:57:57.711543 serpe.mitica > meiga.mitica: icmp: serpe.mitica udp port 32776 unreachable (DF) [tos 0xc0] (ttl 255, id 0)
19:58:02.709064 arp who-has meiga.mitica tell serpe.mitica
19:58:02.709327 arp reply meiga.mitica is-at 8:0:69:7:1e:7f
19:58:27.808524 meiga.mitica.7913 > serpe.mitica.32776: udp 6 (ttl 255, id 56)
19:58:27.808598 serpe.mitica > meiga.mitica: icmp: serpe.mitica udp port 32776 unreachable (DF) [tos 0xc0] (ttl 255, id 0)


Notice that the sender (serpe) sends 3 packets to the i2 (meiga),
there is no ack, and after some time, meiga answer to the previous
port, and serpe tells meiga that the port is unreachable.

Any suggestion???

Later, Juan.        

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

From owner-linux-mips@oss.sgi.com Wed Nov  8 14:27:11 2000
Received:  by oss.sgi.com id <S553736AbQKHW1B>;
	Wed, 8 Nov 2000 14:27:01 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:62769 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553708AbQKHW0u>;
	Wed, 8 Nov 2000 14:26:50 -0800
Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id OAA02778
	for <linux-mips@oss.sgi.com>; Wed, 8 Nov 2000 14:18:56 -0800 (PST)
	mail_from (jsk@tetracon-eng.net)
Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id SAA15760; Wed, 8 Nov 2000 18:26:53 -0400
Date:   Wed, 8 Nov 2000 18:26:52 -0400
From:   "J. Scott Kasten" <jsk@tetracon-eng.net>
To:     pete@blackhammer.com
cc:     linux-mips@oss.sgi.com
Subject: Re: MIPS linux
In-Reply-To: <20001108185711.A10689@woody.ichilton.co.uk>
Message-ID: <Pine.SGI.4.10.10011081824560.15757-100000@thor.tetracon-eng.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Try the simple linux stuff.  I had great success with the 0.1 release, and
some degree with the 0.2 series (the Death on a Stick releases).


On Wed, 8 Nov 2000, Ian Chilton wrote:

> Hello,
> 
> > and noticed that you do not recommend using the hardhat distro based on
> 
> You can use it, but it is old and broken. It will get you booted into Linux, but IIRC you can not even compile a kernel  :(
> 


From owner-linux-mips@oss.sgi.com Wed Nov  8 23:06:34 2000
Received:  by oss.sgi.com id <S553733AbQKIHGY>;
	Wed, 8 Nov 2000 23:06:24 -0800
Received: from router.isratech.ro ([193.226.114.69]:30738 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553714AbQKIHGG>;
	Wed, 8 Nov 2000 23:06:06 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA974og06131;
	Thu, 9 Nov 2000 09:04:50 +0200
Message-ID: <3A0ABB53.92D39438@isratech.ro>
Date:   Thu, 09 Nov 2000 09:57:23 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@uni-koblenz.de>, linux-mips@oss.sgi.com
Subject: Re: MIPS kernel!
References: <3A09753F.DB2457EE@isratech.ro> <004101c04969$b744b160$0323c0d8@Ulysses> <20001108151048.A13841@bacchus.dhis.org> <3A09D68C.AF1D5AAA@isratech.ro> <20001108205319.A870@bacchus.dhis.org>
Content-Type: multipart/mixed;
 boundary="------------2FF99F9F47D290EEF8EEBEF6"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Ralf Baechle wrote:

> On Wed, Nov 08, 2000 at 05:41:16PM -0500, Nicu Popovici wrote:
>
> > I managed to pass that stage with crosscompiler.
> > I managed to make the following thing
> > make CROSS_COMPILE=mips-linux-
> >
> > and I get the follwing error.
>
> What kernel are you trying to build and where did you download it from?
>
>   Ralf

I try to compile the linux 2.2.13 and   I got that one from ftp.lineo.com.
I also tried to cross compile the linux_2_2 from CVS repository from
oss.sgi.com and I managed but that one does not have support for my
ATLAS borad and I can not run it on my machine.

Regards,
Nicu

--------------2FF99F9F47D290EEF8EEBEF6
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------2FF99F9F47D290EEF8EEBEF6--


From owner-linux-mips@oss.sgi.com Wed Nov  8 23:11:43 2000
Received:  by oss.sgi.com id <S553743AbQKIHLe>;
	Wed, 8 Nov 2000 23:11:34 -0800
Received: from router.isratech.ro ([193.226.114.69]:55314 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553722AbQKIHL1>;
	Wed, 8 Nov 2000 23:11:27 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA97BEg10622
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 09:11:14 +0200
Message-ID: <3A0ABCD5.FA556A09@isratech.ro>
Date:   Thu, 09 Nov 2000 10:03:49 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: [Fwd: Warning: could not send message for past 4 hours]
Content-Type: multipart/mixed;
 boundary="------------52ED9AC7ABEF626DD11746EC"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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



--------------52ED9AC7ABEF626DD11746EC
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <MAILER-DAEMON@router.isratech.ro>
Received: from localhost (localhost)
	by router.isratech.ro (8.10.2/8.10.2) id eA8IrUg20360;
	Wed, 8 Nov 2000 20:53:30 +0200
Date: Wed, 8 Nov 2000 20:53:30 +0200
From: Mail Delivery Subsystem <MAILER-DAEMON@isratech.ro>
Message-Id: <200011081853.eA8IrUg20360@router.isratech.ro>
To: <octavp@isratech.ro>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="eA8IrUg20360.973709610/router.isratech.ro"
Subject: Warning: could not send message for past 4 hours
Auto-Submitted: auto-generated (warning-timeout)
X-Mozilla-Status2: 00000000

This is a MIME-encapsulated message

--eA8IrUg20360.973709610/router.isratech.ro

    **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Wed, 8 Nov 2000 16:48:41 +0200
from calin.cs.tuiasi.ro [193.231.15.163]

   ----- The following addresses had transient non-fatal errors -----
<ralf@oss.sgi.com>

   ----- Transcript of session follows -----
<ralf@oss.sgi.com>... Deferred: oss.sgi.com.: No route to host
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

--eA8IrUg20360.973709610/router.isratech.ro
Content-Type: message/delivery-status

Reporting-MTA: dns; router.isratech.ro
Arrival-Date: Wed, 8 Nov 2000 16:48:41 +0200

Final-Recipient: RFC822; ralf@oss.sgi.com
Action: delayed
Status: 4.4.1
Remote-MTA: DNS; oss.sgi.com
Last-Attempt-Date: Wed, 8 Nov 2000 20:53:30 +0200
Will-Retry-Until: Mon, 13 Nov 2000 16:48:41 +0200

--eA8IrUg20360.973709610/router.isratech.ro
Content-Type: message/rfc822

Return-Path: <octavp@isratech.ro>
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eA8EmfM31942
	for <ralf@oss.sgi.com>; Wed, 8 Nov 2000 16:48:41 +0200
Sender: nicu
Message-ID: <3A09D68C.AF1D5AAA@isratech.ro>
Date: Wed, 08 Nov 2000 17:41:16 -0500
From: Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: MIPS kernel!
References: <3A09753F.DB2457EE@isratech.ro> <004101c04969$b744b160$0323c0d8@Ulysses> <20001108151048.A13841@bacchus.dhis.org>
Content-Type: multipart/mixed;
 boundary="------------D4D29154E5C4E1D2C0F29A3E"

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

Ralf Baechle wrote:

> On Wed, Nov 08, 2000 at 10:53:14AM +0100, Kevin D. Kissell wrote:
>
> > In general, at MIPS, we generally build native or semi-native
> > (mipsel on mipseb machines and vice versa).  In cross-builds
> > of other components, however, I have observed that problems
> > such as those you describe can result from include files
> > on the host platform being erroneously pulled in to the cross-build.
> > Cross-gcc and the makefiles have been known to be set up such
> > that, if the needed include file can be found neither in the explicitly
> > requested directories nor in the cross-compiler's default includes,
> > it will silently search the host /usr/include directories.
>
> This is either a bug in the version that you're using, a wrongly installed
> compiled or simply wrong -I directives passed to the compiler.  The
> crosscompiler rpms as distributed on oss will only search:
>
>  /usr/lib/gcc-lib/mips-linux/egcs-2.91.66/include
>  /usr/mips-linux/include
>
> by default.  I just tried, egcs-1.1.2-2 also doesn't search silently in
> other directories.  So it's not a problem of gcc itself which leaves the
> makefiles.  If you find any instance of the wrong directories being
> searched, please tell me.  Or better, include a patch :-)
>
>   Ralf

Hello Ralf,

I managed to pass that stage with crosscompiler.
I managed to make the following thing
make CROSS_COMPILE=mips-linux-

and I get the follwing error.

mips-linux-ld -static -G 0 -T arch/mips/ld.script.big -Ttext 0x80100000
arch/mip
        --start-group \
        arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o arch/mips/fpu_emulator/fpu_emulator.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/pci/pci.a \
        arch/mips/lib/lib.a /home/nicu/linux/lib/lib.a
arch/mips/atlas/kernel/atlaskern.a arch/mips/atlas/prom/atlasprom.a \
        --end-group \
        -o vmlinux
arch/mips/kernel/kernel.o: In function `__compute_return_epc':
branch.c(__ksymtab+0x70): undefined reference to `__mips_bh_counter'
drivers/net/net.a(8390.o): In function `ei_start_xmit':
8390.c(.text+0x304): undefined reference to `disable_irq_nosync'
8390.c(.text+0x304): relocation truncated to fit: R_MIPS_26
disable_irq_nosync
8390.c(.text+0x3a0): undefined reference to `disable_irq_nosync'
8390.c(.text+0x3a0): relocation truncated to fit: R_MIPS_26
disable_irq_nosync
make: *** [vmlinux] Error 1

Best Regards,
Nicu

--------------D4D29154E5C4E1D2C0F29A3E
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------D4D29154E5C4E1D2C0F29A3E--


--eA8IrUg20360.973709610/router.isratech.ro--

--------------52ED9AC7ABEF626DD11746EC
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------52ED9AC7ABEF626DD11746EC--


From owner-linux-mips@oss.sgi.com Thu Nov  9 00:24:53 2000
Received:  by oss.sgi.com id <S553762AbQKIIYe>;
	Thu, 9 Nov 2000 00:24:34 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:58568 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553751AbQKIIYP>;
	Thu, 9 Nov 2000 00:24:15 -0800
Received: from scotty.mgnet.de (p3E9ECC1C.dip.t-dialin.net [62.158.204.28])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id JAA06606
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 09:24:12 +0100 (MET)
Received: (qmail 7336 invoked from network); 9 Nov 2000 08:24:09 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 9 Nov 2000 08:24:09 -0000
Date:   Thu, 9 Nov 2000 09:24:09 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Nicu Popovici <octavp@isratech.ro>
cc:     Ralf Baechle <ralf@uni-koblenz.de>,
        Linux/MIPS list <linux-mips@oss.sgi.com>
Subject: Re: MIPS kernel!
In-Reply-To: <3A0ABB53.92D39438@isratech.ro>
Message-ID: <Pine.LNX.4.21.0011090922450.7879-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, 9 Nov 2000, Nicu Popovici wrote:

> I try to compile the linux 2.2.13 and   I got that one from ftp.lineo.com.
> I also tried to cross compile the linux_2_2 from CVS repository from
> oss.sgi.com and I managed but that one does not have support for my
> ATLAS borad and I can not run it on my machine.

Did you also try 2.4 from oss.sgi.com ? If not you should try it,
because IIRC 2.2 doesn't have ATLAS support but 2.4 has.
I think I remember seeing a CVS commit which included ATLAS support
into 2.4 ... correct me if I'm wrong.

		HTH, Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Thu Nov  9 00:30:53 2000
Received:  by oss.sgi.com id <S554033AbQKIIae>;
	Thu, 9 Nov 2000 00:30:34 -0800
Received: from mx.mips.com ([206.31.31.226]:42886 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553759AbQKIIa1>;
	Thu, 9 Nov 2000 00:30:27 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id AAA04454;
	Thu, 9 Nov 2000 00:29:19 -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 AAA19433;
	Thu, 9 Nov 2000 00:29:37 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id JAA12516;
	Thu, 9 Nov 2000 09:29:30 +0100 (MET)
Message-ID: <3A0A606A.CE90B43F@mips.com>
Date:   Thu, 09 Nov 2000 09:29:30 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     Klaus Naumann <spock@mgnet.de>
CC:     Nicu Popovici <octavp@isratech.ro>,
        Ralf Baechle <ralf@uni-koblenz.de>,
        Linux/MIPS list <linux-mips@oss.sgi.com>
Subject: Re: MIPS kernel!
References: <Pine.LNX.4.21.0011090922450.7879-100000@spock.mgnet.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Klaus Naumann wrote:

> On Thu, 9 Nov 2000, Nicu Popovici wrote:
>
> > I try to compile the linux 2.2.13 and   I got that one from ftp.lineo.com.
> > I also tried to cross compile the linux_2_2 from CVS repository from
> > oss.sgi.com and I managed but that one does not have support for my
> > ATLAS borad and I can not run it on my machine.
>
> Did you also try 2.4 from oss.sgi.com ? If not you should try it,
> because IIRC 2.2 doesn't have ATLAS support but 2.4 has.
> I think I remember seeing a CVS commit which included ATLAS support
> into 2.4 ... correct me if I'm wrong.
>

The current version in the CVS repository doesn't work yet,.
I have sent Ralf a set of patches that should make it work, but I don't think
he has committed it yet.

>
>                 HTH, Klaus
>
> --
> Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
> Nickname    : Spock             | Org.: Mad Guys Network
> Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
> PGP Key     : www.mgnet.de/keys/key_spock.txt

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




From owner-linux-mips@oss.sgi.com Thu Nov  9 02:16:14 2000
Received:  by oss.sgi.com id <S553756AbQKIKPy>;
	Thu, 9 Nov 2000 02:15:54 -0800
Received: from mx.mips.com ([206.31.31.226]:33671 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553724AbQKIKP1>;
	Thu, 9 Nov 2000 02:15:27 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id CAA05039
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 02:15:02 -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 CAA21641
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 02:15:19 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id LAA16868
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 11:15:13 +0100 (MET)
Message-ID: <3A0A7930.BC924ECF@mips.com>
Date:   Thu, 09 Nov 2000 11:15:12 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: Problems with egcs-1.0.3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

I wanted to upgrade my compiler, so I just install the following
packages:

binutils-2.8.1-4lm.mips.rpm
egcs-1.0.3a-10lm.mips.rpm
egcs-c++-1.0.3a-10lm.mips.rpm
egcs-g77-1.0.3a-10lm.mips.rpm
egcs-objc-1.0.3a-10lm.mips.rpm
glibc-2.0.6-5lm.mips.rpm
glibc-debug-2.0.6-5lm.mips.rpm
glibc-devel-2.0.6-5lm.mips.rpm
glibc-profile-2.0.6-5lm.mips.rpm

But when I try to compile the 2.4.0 kernel it simply hangs forever when
I try to compile driver/scsi/scsi_merge.c.
As anyone seen this ?

/Carsten


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




From owner-linux-mips@oss.sgi.com Thu Nov  9 10:18:20 2000
Received:  by oss.sgi.com id <S554055AbQKISSK>;
	Thu, 9 Nov 2000 10:18:10 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:58374 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S554052AbQKISRy>; Thu, 9 Nov 2000 10:17:54 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Thu, 09 Nov 2000 13:17:34 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFMYWW>; Thu, 9 Nov 2000 13:17:33 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209CA3@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: will this work in an Indy?
Date:   Thu, 9 Nov 2000 13:15:48 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Internal Transfer Rate (mbits/sec) 44 - 65 External Transfer Rate
(mbits/sec) 10 (burst) Spindle Speed (RPM) 5,400 Average Latency (msec) 5.55
Buffer 1024 Kbyte Interface 50 Pin SCSI-2 FAST Bytes Per Track (avg)
42,000-55,440 TPI (Tracks Per Inch) 2,250 Average Access (ms read/write)
11/12 Single Track Seek (ms) 0.9/1.7 Max Full Seek (ms) 23/24
Height: 3.25 in / 82.6 mm Width: 5.75 in / 146.1 mm Depth: 8.0 in / 203 mm
Weight: 7.8lb / 3.6 kg 


Tim Maloney
Senior Developer
iXL, Inc.
1930 Camden Road, Suite 2070
Charlotte, NC 28203
704 943-7193 phone
tmaloney@ixl.com
www.ixl.com


From owner-linux-mips@oss.sgi.com Thu Nov  9 10:21:10 2000
Received:  by oss.sgi.com id <S554057AbQKISUt>;
	Thu, 9 Nov 2000 10:20:49 -0800
Received: from gatekeep.ti.com ([192.94.94.61]:16840 "EHLO gatekeep.ti.com")
	by oss.sgi.com with ESMTP id <S554054AbQKISUm>;
	Thu, 9 Nov 2000 10:20:42 -0800
Received: from dlep7.itg.ti.com ([157.170.134.103])
	by gatekeep.ti.com (8.11.1/8.11.1) with ESMTP id eA9IKan26298
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 12:20:37 -0600 (CST)
Received: from dlep7.itg.ti.com (localhost [127.0.0.1])
	by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA00390
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 12:20:36 -0600 (CST)
Received: from dlep3.itg.ti.com (dlep3-maint.itg.ti.com [157.170.133.16])
	by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA00347
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 12:20:35 -0600 (CST)
Received: from ti.com (IDENT:bbrown@bbrowndt.sc.ti.com [158.218.100.180])
	by dlep3.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA01290
	for <linux-mips@oss.sgi.com>; Thu, 9 Nov 2000 12:20:35 -0600 (CST)
Message-ID: <3A0AEAEC.FE3E5152@ti.com>
Date:   Thu, 09 Nov 2000 11:20:28 -0700
From:   Brady Brown <bbrown@ti.com>
Organization: Texas Instruments
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     SGI news group <linux-mips@oss.sgi.com>
Subject: egcs-1.0.3a-2 mipsel binary?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

I am upgrading our Atlas board (mipsel r4kc core) to the 'recommended'
tool chain to be able to do some native re-compiles of several userland
packages. As far as I have been able to determine the rev's that I am
looking for are:

binutils-2.8.1-2.mipsel.rpm
glibc-2.0.6-5lm.mipsel.rpm

and egcs-1.0.3a-2

Does this rev of egcs exist as a binary native install for mipsel
anywhere or the web? If not, what tool-chain/library and environment is
needed to correctly build it? Seems to be a bit of a chicken and egg
problem to me.

Is there any particular order that I need to follow to do these updates?

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brady Brown (bbrown@ti.com)       Work:(801)619-6103
Texas Instruments: Broadband Access Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



From owner-linux-mips@oss.sgi.com Thu Nov  9 12:48:40 2000
Received:  by oss.sgi.com id <S554067AbQKIUsa>;
	Thu, 9 Nov 2000 12:48:30 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:24584 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S554064AbQKIUsX>; Thu, 9 Nov 2000 12:48:23 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Thu, 09 Nov 2000 15:48:02 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFM6ZD>; Thu, 9 Nov 2000 15:48:01 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209CAF@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: will this boot Irix?
Date:   Thu, 9 Nov 2000 15:46:14 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Plextor 4.5X Sparc and "most" (if don't want to say "all") other Unix boxes
bootable cdrom in Sun 411 case


Tim Maloney
Senior Developer
iXL, Inc.
1930 Camden Road, Suite 2070
Charlotte, NC 28203
704 943-7193 phone
tmaloney@ixl.com
www.ixl.com


From owner-linux-mips@oss.sgi.com Fri Nov 10 00:05:34 2000
Received:  by oss.sgi.com id <S553799AbQKJIFY>;
	Fri, 10 Nov 2000 00:05:24 -0800
Received: from router.isratech.ro ([193.226.114.69]:9479 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S553779AbQKJIFF>;
	Fri, 10 Nov 2000 00:05:05 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eAA81Df12822;
	Fri, 10 Nov 2000 10:01:14 +0200
Message-ID: <3A0C1820.6D5C615F@isratech.ro>
Date:   Fri, 10 Nov 2000 10:45:36 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@uni-koblenz.de>, linux-mips@oss.sgi.com
Subject: Re: [Fwd: Warning: could not send message for past 4 hours]
References: <3A0ABCD5.FA556A09@isratech.ro> <20001109170119.A3253@bacchus.dhis.org>
Content-Type: multipart/mixed;
 boundary="------------D339CBDB2ED45E993C97B02F"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Hello,

I am very sorry if I bothered any of you so please excuse me . It  will
not happen again.

Nicu

Ralf Baechle wrote:

> This was a _warning_ only, no need to resend.
>
>   Ralf

--------------D339CBDB2ED45E993C97B02F
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------D339CBDB2ED45E993C97B02F--


From owner-linux-mips@oss.sgi.com Fri Nov 10 01:13:24 2000
Received:  by oss.sgi.com id <S554069AbQKJJNE>;
	Fri, 10 Nov 2000 01:13:04 -0800
Received: from noose.gt.owl.de ([62.52.19.4]:64773 "HELO noose.gt.owl.de")
	by oss.sgi.com with SMTP id <S553810AbQKJJM7>;
	Fri, 10 Nov 2000 01:12:59 -0800
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id 781E97F5; Fri, 10 Nov 2000 10:12:57 +0100 (CET)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id 2FD648F81; Fri, 10 Nov 2000 10:12:06 +0100 (CET)
Date:   Fri, 10 Nov 2000 10:12:06 +0100
From:   Florian Lohoff <flo@rfc822.org>
To:     tmaloney@ixl.com
Cc:     linux-mips@oss.sgi.com
Subject: Re: will this work in an Indy?
Message-ID: <20001110101206.A3273@paradigm.rfc822.org>
References: <0A5319EEAF65D411825E00805FBBD8A1209CA3@exchange.clt.ixl.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <0A5319EEAF65D411825E00805FBBD8A1209CA3@exchange.clt.ixl.com>; from tmaloney@ixl.com on Thu, Nov 09, 2000 at 01:15:48PM -0500
Organization: rfc822 - pure communication
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 09, 2000 at 01:15:48PM -0500, tmaloney@ixl.com wrote:
> Internal Transfer Rate (mbits/sec) 44 - 65 External Transfer Rate
> (mbits/sec) 10 (burst) Spindle Speed (RPM) 5,400 Average Latency (msec) 5.55
> Buffer 1024 Kbyte Interface 50 Pin SCSI-2 FAST Bytes Per Track (avg)
> 42,000-55,440 TPI (Tracks Per Inch) 2,250 Average Access (ms read/write)
> 11/12 Single Track Seek (ms) 0.9/1.7 Max Full Seek (ms) 23/24
> Height: 3.25 in / 82.6 mm Width: 5.75 in / 146.1 mm Depth: 8.0 in / 203 mm
> Weight: 7.8lb / 3.6 kg 
> 
> 

I am getting a bit annoyed by the "Will this work in ..." - This is definitly
not something which should be discusses in here (Although small amounts
of Off-Topic mails will be tolerated) ...

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?


From owner-linux-mips@oss.sgi.com Fri Nov 10 02:34:24 2000
Received:  by oss.sgi.com id <S554072AbQKJKeO>;
	Fri, 10 Nov 2000 02:34:14 -0800
Received: from router.isratech.ro ([193.226.114.69]:7185 "EHLO
        router.isratech.ro") by oss.sgi.com with ESMTP id <S554067AbQKJKeA>;
	Fri, 10 Nov 2000 02:34:00 -0800
Received: from isratech.ro (calin.cs.tuiasi.ro [193.231.15.163])
	by router.isratech.ro (8.10.2/8.10.2) with ESMTP id eAAAXMf30348;
	Fri, 10 Nov 2000 12:33:25 +0200
Message-ID: <3A0C3DAB.7481EECE@isratech.ro>
Date:   Fri, 10 Nov 2000 13:25:48 -0500
From:   Nicu Popovici <octavp@isratech.ro>
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.15-2.5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com, carstenl@mips.com
Subject: Atlas support.
Content-Type: multipart/mixed;
 boundary="------------AA990F358F198CF551CEF681"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

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

Hello Carsten,

I so in the linux 2.2.12 on the Atlas board that you added support for
this board in this kernel. What I need now is kernel2.2.14 for ATLAS
boards. What should I do in order to have such a thing ?
I did  the following :
1. I modified the Config.in from /linux2.2.14/arch/mips with the lines
from 2.2.12 regarding ATLAS board. The same I did with the Makefile from
the same directory.
2. copied the atlas directory from 2.2.12 into arch/mips/atlas on the
2.2.14 kernel and also the linux/include/asm/atlas/ from 2.2.12 into
2.2.14 directory .
And now I did the following : make menuconfig and  appeared the Mips
Atlaas Board
make dep ( I dod not know if this is correct ) and make
CROSS_COMPILE=mips-linux-.But I got the following errors:
 In file included from /usr/mips-linux/include/linux/sched.h:15,
                 from setup.c:30:
/usr/mips-linux/include/linux/timex.h:159: field `time' has incomplete
type
In file included from /usr/mips-linux/include/linux/sched.h:18,
                 from setup.c:30:
/usr/mips-linux/include/asm/semaphore.h:30: parse error before
`wait_queue_head_
t'
/usr/mips-linux/include/asm/semaphore.h:30: warning: no semicolon at end
of stru
ct or union
/usr/mips-linux/include/asm/semaphore.h:34: warning: empty declaration
/usr/mips-linux/include/asm/semaphore.h: In function `sema_init':
/usr/mips-linux/include/asm/semaphore.h:64: dereferencing pointer to
incompletetype
/usr/mips-linux/include/asm/semaphore.h:65: dereferencing pointer to
incompletetype
/usr/mips-linux/include/asm/semaphore.h:66: dereferencing pointer to
incompletetype
/usr/mips-linux/include/asm/semaphore.h: In function `down':
/usr/mips-linux/include/asm/semaphore.h:92: dereferencing pointer to
incompletetype
/usr/mips-linux/include/asm/semaphore.h: In function
`down_interruptible':
/usr/mips-linux/include/asm/semaphore.h:103: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h: In function `down_trylock':
/usr/mips-linux/include/asm/semaphore.h:113: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h: In function `up':
/usr/mips-linux/include/asm/semaphore.h:188: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h: At top level:
/usr/mips-linux/include/asm/semaphore.h:219: parse error before
`wait_queue_head
_t'
/usr/mips-linux/include/asm/semaphore.h:219: warning: no semicolon at
end of str
uct or union
/usr/mips-linux/include/asm/semaphore.h:220: warning: data definition
has no typ
e or storage class
/usr/mips-linux/include/asm/semaphore.h: In function `init_rwsem':
/usr/mips-linux/include/asm/semaphore.h:252: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h:253: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h:254: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h:255: dereferencing pointer to
incomplete
 type
/usr/mips-linux/include/asm/semaphore.h: In function `down_read':
In file included from /usr/mips-linux/include/linux/sched.h:76,
                 from setup.c:30:
/usr/mips-linux/include/linux/timer.h:21: field `list' has incomplete
type
setup.c:59: storage class specified for parameter `atlas_irq_setup'
setup.c:75: redefinition of `__initfunc'
setup.c:60: `__initfunc' previously defined here
setup.c: In function `__initfunc':
setup.c:86: `atlas_irq_setup' undeclared (first use this function)
setup.c:86: (Each undeclared identifier is reported only once
setup.c:86: for each function it appears in.)
setup.c:135: `mips_cpu' undeclared (first use this function)
setup.c:135: `MIPS_CPU_FPU' undeclared (first use this function)
setup.c:137: `pci_ops' undeclared (first use this function)
[WIFEXITED(s) && WEXITSTATUS(s) == 33], 0, NULL) = 5696
--- SIGCHLD (Child exited) ---
stat("/tmp/cc2u8Czo.s", {st_mode=S_IFREG|0644, st_size=1823, ...}) = 0
unlink("/tmp/cc2u8Czo.s")               = 0
stat("/tmp/cc2u8Czo.i", {st_mode=S_IFREG|0644, st_size=61912, ...}) = 0
unlink("/tmp/cc2u8Czo.i")               = 0
_exit(1)                                = ?
[root@ares kernel]#

this is an output from a strace make CROSS_COMPILE=mips-linux-

Maybe there is a patch for what I need , maybe some will help me .
Thanks in advance
Regards,
Nicu


--------------AA990F358F198CF551CEF681
Content-Type: text/x-vcard; charset=us-ascii;
 name="octavp.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Nicu Popovici
Content-Disposition: attachment;
 filename="octavp.vcf"

begin:vcard 
n:POPOVICI;Nicolae Octavian 
tel;cell:+40 93 605020
x-mozilla-html:FALSE
org:SC Silicon Service SRL;Software
adr:;;;;;;
version:2.1
email;internet:octavp@isratech.ro
title:Software engineer
x-mozilla-cpt:;0
fn:Nicolae Octavian POPOVICI
end:vcard

--------------AA990F358F198CF551CEF681--


From owner-linux-mips@oss.sgi.com Fri Nov 10 03:57:34 2000
Received:  by oss.sgi.com id <S554074AbQKJL5O>;
	Fri, 10 Nov 2000 03:57:14 -0800
Received: from mx.mips.com ([206.31.31.226]:42653 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S554071AbQKJL4y>;
	Fri, 10 Nov 2000 03:56:54 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id DAA17136;
	Fri, 10 Nov 2000 03:56:19 -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 DAA02515;
	Fri, 10 Nov 2000 03:56:38 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id MAA28191;
	Fri, 10 Nov 2000 12:56:31 +0100 (MET)
Message-ID: <3A0BE26E.77137E0E@mips.com>
Date:   Fri, 10 Nov 2000 12:56:30 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     Nicu Popovici <octavp@isratech.ro>
CC:     linux-mips@oss.sgi.com
Subject: Re: Atlas support.
References: <3A0C3DAB.7481EECE@isratech.ro>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

If you don't know what you are doing it is not that simple to get Atlas
support in the 2.2.14 kernel.
It will probably take me a couple of days, but I'm afraid I don't have the
time.
Right now I'm in the progress of integrating our 2.2.12 work into the 2.4.0
kernel.
I have already sent Ralf a patch, so one can run the 2.4.0 kernel on the
Atlas board with a QED, but I don't think he had committed it yet.

I hope to have a new patch with FP emulator integrated for the 2.4.0 kernel
ready in next week, if time permits it.

/Carsten

Nicu Popovici wrote:

> Hello Carsten,
>
> I so in the linux 2.2.12 on the Atlas board that you added support for
> this board in this kernel. What I need now is kernel2.2.14 for ATLAS
> boards. What should I do in order to have such a thing ?
> I did  the following :
> 1. I modified the Config.in from /linux2.2.14/arch/mips with the lines
> from 2.2.12 regarding ATLAS board. The same I did with the Makefile from
> the same directory.
> 2. copied the atlas directory from 2.2.12 into arch/mips/atlas on the
> 2.2.14 kernel and also the linux/include/asm/atlas/ from 2.2.12 into
> 2.2.14 directory .
> And now I did the following : make menuconfig and  appeared the Mips
> Atlaas Board
> make dep ( I dod not know if this is correct ) and make
> CROSS_COMPILE=mips-linux-.But I got the following errors:
>  In file included from /usr/mips-linux/include/linux/sched.h:15,
>                  from setup.c:30:
> /usr/mips-linux/include/linux/timex.h:159: field `time' has incomplete
> type
> In file included from /usr/mips-linux/include/linux/sched.h:18,
>                  from setup.c:30:
> /usr/mips-linux/include/asm/semaphore.h:30: parse error before
> `wait_queue_head_
> t'
> /usr/mips-linux/include/asm/semaphore.h:30: warning: no semicolon at end
> of stru
> ct or union
> /usr/mips-linux/include/asm/semaphore.h:34: warning: empty declaration
> /usr/mips-linux/include/asm/semaphore.h: In function `sema_init':
> /usr/mips-linux/include/asm/semaphore.h:64: dereferencing pointer to
> incompletetype
> /usr/mips-linux/include/asm/semaphore.h:65: dereferencing pointer to
> incompletetype
> /usr/mips-linux/include/asm/semaphore.h:66: dereferencing pointer to
> incompletetype
> /usr/mips-linux/include/asm/semaphore.h: In function `down':
> /usr/mips-linux/include/asm/semaphore.h:92: dereferencing pointer to
> incompletetype
> /usr/mips-linux/include/asm/semaphore.h: In function
> `down_interruptible':
> /usr/mips-linux/include/asm/semaphore.h:103: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h: In function `down_trylock':
> /usr/mips-linux/include/asm/semaphore.h:113: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h: In function `up':
> /usr/mips-linux/include/asm/semaphore.h:188: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h: At top level:
> /usr/mips-linux/include/asm/semaphore.h:219: parse error before
> `wait_queue_head
> _t'
> /usr/mips-linux/include/asm/semaphore.h:219: warning: no semicolon at
> end of str
> uct or union
> /usr/mips-linux/include/asm/semaphore.h:220: warning: data definition
> has no typ
> e or storage class
> /usr/mips-linux/include/asm/semaphore.h: In function `init_rwsem':
> /usr/mips-linux/include/asm/semaphore.h:252: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h:253: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h:254: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h:255: dereferencing pointer to
> incomplete
>  type
> /usr/mips-linux/include/asm/semaphore.h: In function `down_read':
> In file included from /usr/mips-linux/include/linux/sched.h:76,
>                  from setup.c:30:
> /usr/mips-linux/include/linux/timer.h:21: field `list' has incomplete
> type
> setup.c:59: storage class specified for parameter `atlas_irq_setup'
> setup.c:75: redefinition of `__initfunc'
> setup.c:60: `__initfunc' previously defined here
> setup.c: In function `__initfunc':
> setup.c:86: `atlas_irq_setup' undeclared (first use this function)
> setup.c:86: (Each undeclared identifier is reported only once
> setup.c:86: for each function it appears in.)
> setup.c:135: `mips_cpu' undeclared (first use this function)
> setup.c:135: `MIPS_CPU_FPU' undeclared (first use this function)
> setup.c:137: `pci_ops' undeclared (first use this function)
> [WIFEXITED(s) && WEXITSTATUS(s) == 33], 0, NULL) = 5696
> --- SIGCHLD (Child exited) ---
> stat("/tmp/cc2u8Czo.s", {st_mode=S_IFREG|0644, st_size=1823, ...}) = 0
> unlink("/tmp/cc2u8Czo.s")               = 0
> stat("/tmp/cc2u8Czo.i", {st_mode=S_IFREG|0644, st_size=61912, ...}) = 0
> unlink("/tmp/cc2u8Czo.i")               = 0
> _exit(1)                                = ?
> [root@ares kernel]#
>
> this is an output from a strace make CROSS_COMPILE=mips-linux-
>
> Maybe there is a patch for what I need , maybe some will help me .
> Thanks in advance
> Regards,
> Nicu

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




From owner-linux-mips@oss.sgi.com Fri Nov 10 08:32:17 2000
Received:  by oss.sgi.com id <S553830AbQKJQcI>;
	Fri, 10 Nov 2000 08:32:08 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:31797 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553763AbQKJQbq>;
	Fri, 10 Nov 2000 08:31:46 -0800
Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id IAA29671
	for <linux-mips@oss.sgi.com>; Fri, 10 Nov 2000 08:23:54 -0800 (PST)
	mail_from (jsk@tetracon-eng.net)
Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id MAA20160 for <linux-mips@oss.sgi.com>; Fri, 10 Nov 2000 12:32:12 -0400
Date:   Fri, 10 Nov 2000 12:32:11 -0400
From:   "J. Scott Kasten" <jsk@tetracon-eng.net>
To:     linux-mips@oss.sgi.com
Subject: Re: will this work in an Indy?
In-Reply-To: <20001110101206.A3273@paradigm.rfc822.org>
Message-ID: <Pine.SGI.4.10.10011101226270.20121-100000@thor.tetracon-eng.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


I suppose then that you have some constructive comments on where that
fellow should go to ask such questions???  I for one have been answering
him off line to keep the traffic down because the questions fell into the
general knowledge category, but newbies have to learn somewhere...

On Fri, 10 Nov 2000, Florian Lohoff wrote:

> I am getting a bit annoyed by the "Will this work in ..." - This is definitly
> not something which should be discusses in here (Although small amounts
> of Off-Topic mails will be tolerated) ...
> 
> Flo
> -- 
> Florian Lohoff                  flo@rfc822.org             +49-5201-669912
>      Why is it called "common sense" when nobody seems to have any?
> 
> 


From owner-linux-mips@oss.sgi.com Fri Nov 10 09:53:38 2000
Received:  by oss.sgi.com id <S554071AbQKJRxS>;
	Fri, 10 Nov 2000 09:53:18 -0800
Received: from noose.gt.owl.de ([62.52.19.4]:22291 "HELO noose.gt.owl.de")
	by oss.sgi.com with SMTP id <S553849AbQKJRxL>;
	Fri, 10 Nov 2000 09:53:11 -0800
Received: by noose.gt.owl.de (Postfix, from userid 10)
	id BA84C7DD; Fri, 10 Nov 2000 18:53:08 +0100 (CET)
Received: by paradigm.rfc822.org (Postfix, from userid 1000)
	id 4F6AB8F81; Fri, 10 Nov 2000 18:52:59 +0100 (CET)
Date:   Fri, 10 Nov 2000 18:52:59 +0100
From:   Florian Lohoff <flo@rfc822.org>
To:     "J. Scott Kasten" <jsk@tetracon-eng.net>
Cc:     linux-mips@oss.sgi.com
Subject: Re: will this work in an Indy?
Message-ID: <20001110185259.A721@paradigm.rfc822.org>
References: <20001110101206.A3273@paradigm.rfc822.org> <Pine.SGI.4.10.10011101226270.20121-100000@thor.tetracon-eng.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <Pine.SGI.4.10.10011101226270.20121-100000@thor.tetracon-eng.net>; from jsk@tetracon-eng.net on Fri, Nov 10, 2000 at 12:32:11PM -0400
Organization: rfc822 - pure communication
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, Nov 10, 2000 at 12:32:11PM -0400, J. Scott Kasten wrote:
> 
> I suppose then that you have some constructive comments on where that
> fellow should go to ask such questions???  I for one have been answering

Asking the same question over and over again is very anoying - A couple
of people have answered already that ANY SCSI Drive/CD-Rom will do fine
but it doesnt seem to reach the originator.

There have been lists concerning all aspects of SGI Systems
which should be called sgi-managers IIRC. 

This list is called "linux-mips" and from my opinion it deals
with the aspects of the Mips Port of Linux. And i dont
think that SCSI questions fall into that category.
As i already said - I am not annoyed by single Off-Topic mails
but repeated questions (read: forwarding of sell advertisements)
is not really something concerning the topic.

> him off line to keep the traffic down because the questions fell into the
> general knowledge category, but newbies have to learn somewhere...

Learn about what ? Asking any Question Anywhere ?

http://www.ietf.org/rfc/rfc1855.txt

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?


From owner-linux-mips@oss.sgi.com Fri Nov 10 11:18:28 2000
Received:  by oss.sgi.com id <S554079AbQKJTST>;
	Fri, 10 Nov 2000 11:18:19 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:41463 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S554071AbQKJTRx>;
	Fri, 10 Nov 2000 11:17:53 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eAAJFh320092;
	Fri, 10 Nov 2000 11:15:43 -0800
Message-ID: <3A0C49EA.1E6C79CC@mvista.com>
Date:   Fri, 10 Nov 2000 11:18:02 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: PROPOSAL : machine dependent support
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


More and more mips boards are popping and most of them have PCI bus.  I
was looking at having a common PCI code under arch/mips/kernel which
will do the same job which each machine is handling all by itself now. 
It will invoke various machine dependent calls to accomplish the same
job.

Following the MIPS tradition, it seems appropriate to introduce some
struct like mach_pci_ops.  But I think I have a better idea. :-)

So far we already have several variables and data structures in the
similar nature.  (See a complete listing below).  Why don't we lump them
all together into one centralized structure?

OK, I have to be honest - I steal this idea from PPC.  PPC folks have
gone through some what similar phase when they tried to support ever
increasing number of boards in the past two years.  The machine
dependent structure is part of their solution.

I see several benefits :

1. I expect more machine/board abstraction down the road.  Other PCI,
things may include pwoer management, generic I/O interface, accessing
non-volatile storage for system, interrupt management, etc.  This
structure gives a systematic to include those support, rather than each
time investing some ad hoc stuff.

2. Easier to port Linux to a new board.  One central place with most of
the required functions and variables.  (It almost becomes a porting
layer - I said "almost". :-0)  With good and extensive document, I see
the header file is the starting point for anybody who wants to start
porting linux to a new board.

3. It makes the mips-common code easier to write - so my common PCI code
can be added more easily. 

Ok, enough bluffing.  

Specifically, I think I will start with a modest structure (read as
"least amount of work" :-0)

struct mips_mach_depend {
	/* _machine_xxx stuff */
	void 	(*restart)(char *cmd);
	void 	(*power_off)(void);
	void	(*halt)(void);

	/* board_time_init */
	void 	(*time_init)(struct irqaction *irq);

	void 	(*irq_setup)(void);

	/* mips_io_port_base */
	unsigned long 	io_port_base;
};

extern mips_mach_depend mips_md;

I suppose rtc_ops and kbd_ops should be included there as well. 

I will add PCI stuff to it later.

Note that some functions can be NULL, and the mips-generic code will
supply default behavior.  For example, if power_off is not supplied, it
will probably just do a printk, cli() and loop forever.

What do you think?  I will volunteer to do the first phase change for
ALL existing boards so that nothing breaks.

Jun

P.S., I forgot to mention that one HUGE assumption behind this is that I
believe we are going to see 20 to 100 MIPS boards (including SOC,
"pseudo-MIPS', etc) in the coming a couple of years which want to use
Linux.  Certainly anything in this direction will help the proliferation
of Linux MIPS - unless someone think this would make Linux too easy to
port and they would lose the job. :-)  But we always have the option to
introduce bugs....

From owner-linux-mips@oss.sgi.com Sat Nov 11 06:48:05 2000
Received:  by oss.sgi.com id <S553891AbQKKOrq>;
	Sat, 11 Nov 2000 06:47:46 -0800
Received: from air.lug-owl.de ([62.52.24.190]:271 "HELO air.lug-owl.de")
	by oss.sgi.com with SMTP id <S553886AbQKKOra>;
	Sat, 11 Nov 2000 06:47:30 -0800
Received: by air.lug-owl.de (Postfix, from userid 1000)
	id 02E91826A; Sat, 11 Nov 2000 15:47:22 +0100 (CET)
Date:   Sat, 11 Nov 2000 15:47:22 +0100
From:   Jan-Benedict Glaw <jbglaw@lug-owl.de>
To:     linux-mips@oss.sgi.com
Subject: Boot Problem on DS 5000/240
Message-ID: <20001111154721.B9307@lug-owl.de>
Reply-To: jbglaw@lug-owl.de
Mail-Followup-To: linux-mips@oss.sgi.com
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Operating-System: Linux air 2.4.0-test8-pre1 
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


--DKU6Jbt7q3WqK7+M
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

I've got some problem booting another DECStation I've got:

=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D=
 =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
KN03-AA V5.1b
3/misc/kbd
?STF (4: Ln#0 Kbd self test)

3/misc/mouse
?STF (4: Ln#1 Pntr self test)

>>cnfg
 3: KN03-AA  DEC      V5.1b    TCF0  ( 32 MB)
                                     (enet: 08-00-2b-2f-07-27)
                                     (SCSI =3D 7)

>>boot 3/tftp

???
? PC:  0x80021fe4<vtr=3DNRML>
? CR:  0x30000010<CE=3D3,EXC=3DAdEL>
? SR:  0x30080000<CU1,CU0,CM,IPL=3D8>
? VA:  0xa000ef3a
>>
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D=
 =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D

The box doesn't actually send anything down te wire...

Can anybody help me with the dump above?

MfG, JBG

--=20
Fehler eingestehen, Gr=F6=DFe zeigen: Nehmt die Rechtschreibreform zur=FCck=
!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-177-5601720 */
keyID=3D0x8399E1BB fingerprint=3D250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 83=
99 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)

--DKU6Jbt7q3WqK7+M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjoNW/kACgkQHb1edYOZ4buenQCfRZanTAUspRzDJXnzIWdDg9+n
qQ8An02UfqqcPvHb/frCFaAgX0vEm1+X
=4XjQ
-----END PGP SIGNATURE-----

--DKU6Jbt7q3WqK7+M--

From owner-linux-mips@oss.sgi.com Sun Nov 12 09:03:20 2000
Received:  by oss.sgi.com id <S553897AbQKLRDL>;
	Sun, 12 Nov 2000 09:03:11 -0800
Received: from [62.145.23.107] ([62.145.23.107]:21369 "HELO
        fileserv2.Cologne.DE") by oss.sgi.com with SMTP id <S553885AbQKLRCp>;
	Sun, 12 Nov 2000 09:02:45 -0800
Received: from localhost (1347 bytes) by fileserv2.Cologne.DE
	via rmail with P:stdio/R:bind/T:smtp
	(sender: <excalibur.cologne.de!karsten>) (ident <excalibur.cologne.de!karsten> using unix)
	id <m13v0Wb-0006sNC@fileserv2.Cologne.DE>
	for <linux-mips@oss.sgi.com>; Sun, 12 Nov 2000 18:02:37 +0100 (CET)
	(Smail-3.2.0.101 1997-Dec-17 #5 built 1998-Jan-19)
Received: (from karsten@localhost)
	by excalibur.cologne.de (8.9.3/8.8.7) id RAA02817;
	Sun, 12 Nov 2000 17:58:59 +0100
Message-ID: <20001112175843.A1201@excalibur.cologne.de>
Date:   Sun, 12 Nov 2000 17:58:43 +0100
From:   Karsten Merker <karsten@excalibur.cologne.de>
To:     linux-mips@oss.sgi.com
Subject: Re: Boot Problem on DS 5000/240
Mail-Followup-To: linux-mips@oss.sgi.com
References: <20001111154721.B9307@lug-owl.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91i
In-Reply-To: <20001111154721.B9307@lug-owl.de>; from Jan-Benedict Glaw on Sat, Nov 11, 2000 at 03:47:22PM +0100
X-No-Archive: yes
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, Nov 11, 2000 at 03:47:22PM +0100, Jan-Benedict Glaw wrote:

> I've got some problem booting another DECStation I've got:
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> KN03-AA V5.1b
          ^^^^^

This firmware release has no working tftp support. Boot via MOP,
mopd-sources are available at http://decstation.unix-ag.org/.

HTH,
Karsten
-- 
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.

From owner-linux-mips@oss.sgi.com Sun Nov 12 11:57:15 2000
Received:  by oss.sgi.com id <S553936AbQKLT5E>;
	Sun, 12 Nov 2000 11:57:04 -0800
Received: from air.lug-owl.de ([62.52.24.190]:11281 "HELO air.lug-owl.de")
	by oss.sgi.com with SMTP id <S553900AbQKLT4t>;
	Sun, 12 Nov 2000 11:56:49 -0800
Received: by air.lug-owl.de (Postfix, from userid 1000)
	id AE96D826A; Sun, 12 Nov 2000 20:56:46 +0100 (CET)
Date:   Sun, 12 Nov 2000 20:56:46 +0100
From:   Jan-Benedict Glaw <jbglaw@lug-owl.de>
To:     linux-mips@oss.sgi.com
Subject: Re: Boot Problem on DS 5000/240
Message-ID: <20001112205645.B26606@lug-owl.de>
Reply-To: jbglaw@lug-owl.de
Mail-Followup-To: linux-mips@oss.sgi.com
References: <20001111154721.B9307@lug-owl.de> <20001112175843.A1201@excalibur.cologne.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20001112175843.A1201@excalibur.cologne.de>; from karsten@excalibur.cologne.de on Sun, Nov 12, 2000 at 05:58:43PM +0100
X-Operating-System: Linux air 2.4.0-test8-pre1 
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


--4bRzO86E/ozDv8r1
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 12, 2000 at 05:58:43PM +0100, Karsten Merker wrote:
> On Sat, Nov 11, 2000 at 03:47:22PM +0100, Jan-Benedict Glaw wrote:
>=20
> > I've got some problem booting another DECStation I've got:
> >=20
> > =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D=
 =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
> > KN03-AA V5.1b
>           ^^^^^
> This firmware release has no working tftp support. Boot via MOP,

Nov 12 19:38:12 bootserver mop_srvr[21803]: Client 08:00:2b:2f:69:0a: has u=
nknown device type 0x76

Has anybody get correct values for mop_srvr.c?
struct  client_data clnt_data[]=3D{
                { "PMAX"        , 0x43, 0x80700000, 1024 },
                { "MVAX_II"     , 0x05, 0x00000000, 1004 },
                { ""            , 0x00, 0x00000000, 0 } };
                                  ^^^^

???

MfG, JBG

--=20
Fehler eingestehen, Gr=F6=DFe zeigen: Nehmt die Rechtschreibreform zur=FCck=
!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-177-5601720 */
keyID=3D0x8399E1BB fingerprint=3D250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 83=
99 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)

--4bRzO86E/ozDv8r1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjoO9f0ACgkQHb1edYOZ4bs0JwCfXPXpVNPHVEuu1tXXvKh1R+Of
lx8AoInRLlY/0rM16xXMrkvdyLT//lqU
=wbv6
-----END PGP SIGNATURE-----

--4bRzO86E/ozDv8r1--

From owner-linux-mips@oss.sgi.com Sun Nov 12 12:01:13 2000
Received:  by oss.sgi.com id <S553941AbQKLUAy>;
	Sun, 12 Nov 2000 12:00:54 -0800
Received: from air.lug-owl.de ([62.52.24.190]:11537 "HELO air.lug-owl.de")
	by oss.sgi.com with SMTP id <S553934AbQKLUAw>;
	Sun, 12 Nov 2000 12:00:52 -0800
Received: by air.lug-owl.de (Postfix, from userid 1000)
	id 06133826A; Sun, 12 Nov 2000 21:00:49 +0100 (CET)
Date:   Sun, 12 Nov 2000 21:00:49 +0100
From:   Jan-Benedict Glaw <jbglaw@lug-owl.de>
To:     linux-mips@oss.sgi.com
Subject: Build failure for R3000 DECstation
Message-ID: <20001112210049.C26606@lug-owl.de>
Reply-To: jbglaw@lug-owl.de
Mail-Followup-To: linux-mips@oss.sgi.com
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="Qbvjkv9qwOGw/5Fx"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Operating-System: Linux air 2.4.0-test8-pre1 
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


--Qbvjkv9qwOGw/5Fx
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

I see this build failure:

mipsel-linux-gcc -D__KERNEL__ -I/usr/src/mipsel/linux/include -Wall -Wstric=
t-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=3Dr=
3000 -mips1 -pipe     -c -o sysmips.o sysmips.c
sysmips.c: In function `sys_sysmips':
sysmips.c:109: warning: implicit declaration of function `syscall_trace'
{standard input}: Assembler messages:
{standard input}:337: Error: opcode requires -mips2 or greater `ll'
{standard input}:339: Error: opcode requires -mips2 or greater `sc'
{standard input}:340: Error: opcode requires -mips2 or greater `beqzl'
{standard input}:341: Error: opcode requires -mips2 or greater `ll'
make[1]: *** [sysmips.o] Error 1

jbglaw@bootserver:/usr/src/mipsel/linux/arch/mips/kernel$ mipsel-linux-gcc =
-v
Reading specs from /usr/lib/gcc-lib/mipsel-linux/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

MfG, JBG

--=20
Fehler eingestehen, Gr=F6=DFe zeigen: Nehmt die Rechtschreibreform zur=FCck=
!!!
/* Jan-Benedict Glaw <jbglaw@lug-owl.de> -- +49-177-5601720 */
keyID=3D0x8399E1BB fingerprint=3D250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 83=
99 E1BB
     "insmod vi.o and there we go..." (Alexander Viro on linux-kernel)

--Qbvjkv9qwOGw/5Fx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjoO9vEACgkQHb1edYOZ4bs4tgCbBACk+hXQGJtovwyapHVUCh/4
vFwAoIky6Q3+Ffh/ZkwTNN/taHY0Vu6p
=b1Cv
-----END PGP SIGNATURE-----

--Qbvjkv9qwOGw/5Fx--

From owner-linux-mips@oss.sgi.com Sun Nov 12 12:11:43 2000
Received:  by oss.sgi.com id <S553945AbQKLULd>;
	Sun, 12 Nov 2000 12:11:33 -0800
Received: from u-69.karlsruhe.ipdial.viaginterkom.de ([62.180.19.69]:24840
        "EHLO u-69.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553937AbQKLULP>; Sun, 12 Nov 2000 12:11:15 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869102AbQKLUK5>;
        Sun, 12 Nov 2000 21:10:57 +0100
Date:   Sun, 12 Nov 2000 21:10:57 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Jun Sun <jsun@mvista.com>
Cc:     Nicu Popovici <octavp@isratech.ro>, linux-mips@oss.sgi.com
Subject: Re: Cross_compiler!
Message-ID: <20001112211057.E15594@bacchus.dhis.org>
References: <3A09DE18.E55FA70F@isratech.ro> <3A09ADDB.EA2A6246@mvista.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A09ADDB.EA2A6246@mvista.com>; from jsun@mvista.com on Wed, Nov 08, 2000 at 11:47:39AM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 08, 2000 at 11:47:39AM -0800, Jun Sun wrote:

> You can get the cross-compile tool chains from the monta vista ftp
> site.  These tools are considered stable and recommeded - at least
> before Ralf shows his latest toys. :-0

> 2. egcs 1.0.3a

Sorry to ruin your weekend but I've alredy put egcs-1.1.2 on oss two days
before your posting :-)

  Ralf

From owner-linux-mips@oss.sgi.com Sun Nov 12 13:37:34 2000
Received:  by oss.sgi.com id <S553958AbQKLVhY>;
	Sun, 12 Nov 2000 13:37:24 -0800
Received: from bender.bawue.de ([193.197.13.1]:41999 "HELO bender.bawue.de")
	by oss.sgi.com with SMTP id <S553942AbQKLVhA>;
	Sun, 12 Nov 2000 13:37:00 -0800
Received: from void.s.bawue.de (virtual2.lb.bawue.de [193.197.8.130])
	by bender.bawue.de (Postfix) with ESMTP id 002DA82B
	for <linux-mips@oss.sgi.com>; Sun, 12 Nov 2000 22:36:56 +0100 (CET)
Received: from florian by void.s.bawue.de with local (Exim 3.16 #1 (Debian))
	id 13v3My-0000TA-00; Sun, 12 Nov 2000 21:04:52 +0100
Date:   Sun, 12 Nov 2000 21:04:52 +0100
To:     linux-mips@oss.sgi.com
Subject: Re: will this work in an Indy?
Message-ID: <20001112210451.A1799@void.s.bawue.de>
Mail-Followup-To: Florian Laws <florian@void.s.bawue.de>,
	linux-mips@oss.sgi.com
References: <20001110101206.A3273@paradigm.rfc822.org> <Pine.SGI.4.10.10011101226270.20121-100000@thor.tetracon-eng.net> <20001110185259.A721@paradigm.rfc822.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20001110185259.A721@paradigm.rfc822.org>; from flo@rfc822.org on Fri, Nov 10, 2000 at 06:52:59PM +0100
From:   Florian Laws <florian@void.s.bawue.de>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, Nov 10, 2000 at 06:52:59PM +0100, Florian Lohoff wrote:
> On Fri, Nov 10, 2000 at 12:32:11PM -0400, J. Scott Kasten wrote:
> > 
> > I suppose then that you have some constructive comments on where that
> > fellow should go to ask such questions???  I for one have been answering
> 
> Asking the same question over and over again is very anoying - A couple
> of people have answered already that ANY SCSI Drive/CD-Rom will do fine
> but it doesnt seem to reach the originator.
> 
> There have been lists concerning all aspects of SGI Systems
> which should be called sgi-managers IIRC. 

The newsgroup comp.sys.sgi.hardware should be appropraite, too.

Florian

From owner-linux-mips@oss.sgi.com Sun Nov 12 18:48:46 2000
Received:  by oss.sgi.com id <S553963AbQKMCs1>;
	Sun, 12 Nov 2000 18:48:27 -0800
Received: from [159.226.39.1] ([159.226.39.1]:56077 "HELO ns.ict.ac.cn")
	by oss.sgi.com with SMTP id <S553953AbQKMCsD>;
	Sun, 12 Nov 2000 18:48:03 -0800
Received: (qmail 26586 invoked from network); 13 Nov 2000 02:43:02 -0000
Received: from unknown (HELO bjzheng) (159.226.39.167)
  by ns.ict.ac.cn with SMTP; 13 Nov 2000 02:43:02 -0000
Message-ID: <002801c04d1b$c1adc320$a727e29f@ict.ac.cn>
From:   "Zheng Baojian" <bjzheng@ict.ac.cn>
To:     <linux-mips@oss.sgi.com>
Subject: Can you help me?
Date:   Mon, 13 Nov 2000 10:45:17 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0025_01C04D5E.CFC1C0E0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This is a multi-part message in MIME format.

------=_NextPart_000_0025_01C04D5E.CFC1C0E0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

SGVsbG86DQogICAgIEknbSBhIENoaW5lc2Ugc3R1ZGVudCxpIHdhbnQgdG8gcnVuIGxpbnV4IG9u
IFNHSSBPMiB3b3Jrc3RhdGlvbi4NCkkgc2VlIHRoYXQgTzIgbm90IHN1cHBvcnQgbGludXggbm93
IG9uIHlvdXIgd2ViLGNhbiB5b3UgdGVsbCBtZSB0aGUNCnJlYXNvbj9BcyBzZXJpZXMgb2YgU0dJ
IHdvcmtzdGF0aW9ucyxPMixJbmR5LE9ueXggLE9yaWdpbix0aGV5IGhhdmUgc2FtZQ0KYXJjaGl0
ZWN0dXJlLHNhbWUgY3B1LHdoeSBvdGhlcnMgc3VwcG9ydCBsaW51eCxPMiBub3Qgc3VwcG9ydC4N
CiAgICAgICAgQmVzdCByZWdhcmRzLg0KQmp6aGVuZw0K

------=_NextPart_000_0025_01C04D5E.CFC1C0E0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWdi
MjMxMiIgaHR0cC1lcXVpdj1Db250ZW50LVR5cGU+DQo8TUVUQSBjb250ZW50PSJNU0hUTUwgNS4w
MC4yMzE0LjEwMDAiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPjwvU1RZTEU+DQo8L0hFQUQ+DQo8
Qk9EWSBiZ0NvbG9yPSNjMGMwYzA+DQo8RElWPjxGT05UIHNpemU9Mj4NCjxESVY+PEZPTlQgc2l6
ZT0yPkhlbGxvOjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPiZuYnNwOyZuYnNwOyZu
YnNwOyZuYnNwOyZuYnNwO0knbSBhIENoaW5lc2Ugc3R1ZGVudCxpIHdhbnQgdG8gDQpydW4gbGlu
dXggb24gU0dJIE8yIHdvcmtzdGF0aW9uLjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0y
Pkkgc2VlIHRoYXQgTzIgbm90IHN1cHBvcnQgbGludXggbm93IG9uIHlvdXIgd2ViLGNhbiB5b3Ug
dGVsbCANCm1lIHRoZTwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPnJlYXNvbj9BcyBz
ZXJpZXMgb2YgU0dJIHdvcmtzdGF0aW9ucyxPMixJbmR5LDxTUEFOIGxhbmc9RU4tVVMgDQpzdHls
ZT0iRk9OVC1GQU1JTFk6ICdUaW1lcyBOZXcgUm9tYW4nOyBGT05ULVNJWkU6IDEwLjVwdDsgbXNv
LWJpZGktZm9udC1zaXplOiAxMi4wcHQ7IG1zby1mYXJlYXN0LWZvbnQtZmFtaWx5OiDLzszlOyBt
c28tZm9udC1rZXJuaW5nOiAxLjBwdDsgbXNvLWFuc2ktbGFuZ3VhZ2U6IEVOLVVTOyBtc28tZmFy
ZWFzdC1sYW5ndWFnZTogWkgtQ047IG1zby1iaWRpLWxhbmd1YWdlOiBBUi1TQSI+T255eCZuYnNw
OyxPcmlnaW4sdGhleSANCmhhdmUgc2FtZTwvU1BBTj48L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05U
IHNpemU9Mj48U1BBTiBsYW5nPUVOLVVTIA0Kc3R5bGU9IkZPTlQtRkFNSUxZOiAnVGltZXMgTmV3
IFJvbWFuJzsgRk9OVC1TSVpFOiAxMC41cHQ7IG1zby1iaWRpLWZvbnQtc2l6ZTogMTIuMHB0OyBt
c28tZmFyZWFzdC1mb250LWZhbWlseTogy87M5TsgbXNvLWZvbnQta2VybmluZzogMS4wcHQ7IG1z
by1hbnNpLWxhbmd1YWdlOiBFTi1VUzsgbXNvLWZhcmVhc3QtbGFuZ3VhZ2U6IFpILUNOOyBtc28t
YmlkaS1sYW5ndWFnZTogQVItU0EiPmFyY2hpdGVjdHVyZSxzYW1lIA0KY3B1LHdoeSBvdGhlcnMg
c3VwcG9ydCBsaW51eCxPMiBub3Qgc3VwcG9ydC48L1NQQU4+PC9GT05UPjwvRElWPg0KPERJVj48
Rk9OVCBzaXplPTI+PFNQQU4gbGFuZz1FTi1VUyANCnN0eWxlPSJGT05ULUZBTUlMWTogJ1RpbWVz
IE5ldyBSb21hbic7IEZPTlQtU0laRTogMTAuNXB0OyBtc28tYmlkaS1mb250LXNpemU6IDEyLjBw
dDsgbXNvLWZhcmVhc3QtZm9udC1mYW1pbHk6IMvOzOU7IG1zby1mb250LWtlcm5pbmc6IDEuMHB0
OyBtc28tYW5zaS1sYW5ndWFnZTogRU4tVVM7IG1zby1mYXJlYXN0LWxhbmd1YWdlOiBaSC1DTjsg
bXNvLWJpZGktbGFuZ3VhZ2U6IEFSLVNBIj4mbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsmbmJzcDsm
bmJzcDsmbmJzcDsgDQpCZXN0IHJlZ2FyZHMuPC9TUEFOPjwvRk9OVD48L0RJVj4NCjxESVY+PEZP
TlQgc2l6ZT0yPjxTUEFOIGxhbmc9RU4tVVMgDQpzdHlsZT0iRk9OVC1GQU1JTFk6ICdUaW1lcyBO
ZXcgUm9tYW4nOyBGT05ULVNJWkU6IDEwLjVwdDsgbXNvLWJpZGktZm9udC1zaXplOiAxMi4wcHQ7
IG1zby1mYXJlYXN0LWZvbnQtZmFtaWx5OiDLzszlOyBtc28tZm9udC1rZXJuaW5nOiAxLjBwdDsg
bXNvLWFuc2ktbGFuZ3VhZ2U6IEVOLVVTOyBtc28tZmFyZWFzdC1sYW5ndWFnZTogWkgtQ047IG1z
by1iaWRpLWxhbmd1YWdlOiBBUi1TQSI+Qmp6aGVuZzwvU1BBTj48L0ZPTlQ+PC9ESVY+PC9GT05U
PjwvRElWPjwvQk9EWT48L0hUTUw+DQo=

------=_NextPart_000_0025_01C04D5E.CFC1C0E0--


From owner-linux-mips@oss.sgi.com Sun Nov 12 20:41:07 2000
Received:  by oss.sgi.com id <S553956AbQKMEkr>;
	Sun, 12 Nov 2000 20:40:47 -0800
Received: from [166.70.178.116] ([166.70.178.116]:64260 "EHLO home.knm.org")
	by oss.sgi.com with ESMTP id <S553916AbQKMEkV>;
	Sun, 12 Nov 2000 20:40:21 -0800
Received: (from mark@localhost)
	by home.knm.org (8.9.3/8.9.3) id VAA19564;
	Sun, 12 Nov 2000 21:39:36 -0700
Date:   Sun, 12 Nov 2000 21:39:36 -0700
Message-Id: <200011130439.VAA19564@home.knm.org>
X-Authentication-Warning: home.knm.org: mark set sender to mark@home.knm.org using -f
From:   Mark Lehrer <mark@knm.org>
To:     bjzheng@ict.ac.cn
CC:     linux-mips@oss.sgi.com
In-reply-to: <002801c04d1b$c1adc320$a727e29f@ict.ac.cn> (bjzheng@ict.ac.cn)
Subject: Re: Can you help me?
References:  <002801c04d1b$c1adc320$a727e29f@ict.ac.cn>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Does this kind of message violate any RFC's or anything?  I can't read
it in emacs.  I am disturbed at how MS mail readers only use MIME types
and don't include plain text.

Mark


   ------=_NextPart_000_0025_01C04D5E.CFC1C0E0
   Content-Type: text/plain;
	   charset="gb2312"
   Content-Transfer-Encoding: base64

   SGVsbG86DQogICAgIEknbSBhIENoaW5lc2Ugc3R1ZGVudCxpIHdhbnQgdG8gcnVuIGxpbnV4IG9u
   IFNHSSBPMiB3b3Jrc3RhdGlvbi4NCkkgc2VlIHRoYXQgTzIgbm90IHN1cHBvcnQgbGludXggbm93
   IG9uIHlvdXIgd2ViLGNhbiB5b3UgdGVsbCBtZSB0aGUNCnJlYXNvbj9BcyBzZXJpZXMgb2YgU0dJ
   IHdvcmtzdGF0aW9ucyxPMixJbmR5LE9ueXggLE9yaWdpbix0aGV5IGhhdmUgc2FtZQ0KYXJjaGl0
   ZWN0dXJlLHNhbWUgY3B1LHdoeSBvdGhlcnMgc3VwcG9ydCBsaW51eCxPMiBub3Qgc3VwcG9ydC4N
   CiAgICAgICAgQmVzdCByZWdhcmRzLg0KQmp6aGVuZw0K

From owner-linux-mips@oss.sgi.com Sun Nov 12 23:19:47 2000
Received:  by oss.sgi.com id <S553967AbQKMHT2>;
	Sun, 12 Nov 2000 23:19:28 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:32007 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553961AbQKMHTN>;
	Sun, 12 Nov 2000 23:19:13 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id XAA16929;
	Sun, 12 Nov 2000 23:16:38 -0800
Date:   Sun, 12 Nov 2000 23:16:38 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Zheng Baojian <bjzheng@ict.ac.cn>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Can you help me?
Message-ID: <20001112231638.A16609@chem.unr.edu>
References: <002801c04d1b$c1adc320$a727e29f@ict.ac.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <002801c04d1b$c1adc320$a727e29f@ict.ac.cn>; from bjzheng@ict.ac.cn on Mon, Nov 13, 2000 at 10:45:17AM +0800
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 13, 2000 at 10:45:17AM +0800, Zheng Baojian wrote:

>      I'm a Chinese student,i want to run linux on SGI O2 workstation.
> I see that O2 not support linux now on your web,can you tell me the
> reason?As series of SGI workstations,O2,Indy,Onyx ,Origin,they have same
> architecture,same cpu,why others support linux,O2 not support.

Harald Koerfgen and I (at least) have done some work on O2 and I can
verify that it has at one point booted to userland (I no longer have
the machine and thus do not know the status).  To say that an O2 has
the same architecture as the other machines you mention, however, is
an oversimplification at best; these machines have numerous
differences (no two use the same bus type/controller), and afaik Onyx
is not and never has been supported.  In fact, these machines don't
even have the same CPUs; the r5ks used in O2 have different caches
than those used in Indys, and the r10k O2s are another mess
altogether.  Welcome to the wonderful world of MIPS; 86 million
machines, no two remotely similar.

The NetBSD people have also done some work in this area.  Between
their work, the Irix headers - look but don't copy, and the existing
Linux work - for which you might ask Harald if you are interested in
improving it - it's possible to get a reasonably working kernel for
r5k O2.  More advanced work such as accelerated X and a driver for the
built-in ethernet will most likely require additional documentation.

The short answer, of course, is that nobody has ever had concurrent
interest, free time, and access to hardware for a sufficient length of
time.

Please use plain text in the future.  I recommend non-Microsoft mailers.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Mon Nov 13 01:21:08 2000
Received:  by oss.sgi.com id <S553975AbQKMJUs>;
	Mon, 13 Nov 2000 01:20:48 -0800
Received: from helena.bawue.de ([193.197.13.6]:25349 "HELO helena.bawue.de")
	by oss.sgi.com with SMTP id <S553972AbQKMJU1>;
	Mon, 13 Nov 2000 01:20:27 -0800
Received: by helena.bawue.de (Postfix, from userid 99)
	id 54D9D1F10E; Mon, 13 Nov 2000 10:20:14 +0100 (CET)
To:     wesolows@chem.unr.edu, bjzheng@ict.ac.cn
Subject: Re: Can you help me?
From:   flaws@bawue.de
Reply-To: flaws@bawue.de
Cc:     linux-mips@oss.sgi.com
X-Mailer: AeroMail (http://the.cushman.net/reverb/aeromail/)
Message-Id: <20001113092014.54D9D1F10E@helena.bawue.de>
Date:   Mon, 13 Nov 2000 10:20:14 +0100 (CET)
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


> On Mon, Nov 13, 2000 at 10:45:17AM +0800, Zheng Baojian wrote:
> 
> >      I'm a Chinese student,i want to run linux on SGI O2 workstation.
> > I see that O2 not support linux now on your web,can you tell me the
> > reason?As series of SGI workstations,O2,Indy,Onyx ,Origin,they have
same
> > architecture,same cpu,why others support linux,O2 not support.
> 
> Harald Koerfgen and I (at least) have done some work on O2 and I can
> verify that it has at one point booted to userland (I no longer have
> the machine and thus do not know the status).  To say that an O2 has
> the same architecture as the other machines you mention, however, is
> an oversimplification at best; these machines have numerous
> differences (no two use the same bus type/controller), and afaik Onyx
> is not and never has been supported.  In fact, these machines don't

AFAIK Onyx is pretty much the same as an Origin, except for the graphics
hardware. Since Ralf is working on an Origin port, which is in quite a good
state, I guess, Onyx should be supported, too.
Without graphics, of course.

Florian

From owner-linux-mips@oss.sgi.com Mon Nov 13 02:29:58 2000
Received:  by oss.sgi.com id <S553979AbQKMK3s>;
	Mon, 13 Nov 2000 02:29:48 -0800
Received: from piet.lfm.RWTH-Aachen.DE ([134.130.37.110]:10146 "EHLO
        piet.lfm.rwth-aachen.de") by oss.sgi.com with ESMTP
	id <S553976AbQKMK3o>; Mon, 13 Nov 2000 02:29:44 -0800
Received: from tango (tango [134.130.37.56])
	by piet.lfm.rwth-aachen.de (8.9.3/8.9.3) with SMTP id LAA12121
	for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 11:27:20 +0100 (MET)
Message-ID: <012301c04d5c$b4d71b60$38258286@lfm.rwthaachen.de>
From:   "Markus Hoff-Holtmanns" <markus@LFM.rwth-aachen.de>
To:     <linux-mips@oss.sgi.com>
References: <20001113092014.54D9D1F10E@helena.bawue.de>
Subject: MIPS Linux and O2 and/or Octane...
Date:   Mon, 13 Nov 2000 11:30:12 +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 5.50.4133.2400
X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi folks!

There probably already were numerous threads concerning this subject, but
I'm new and I didn't find anything fitting in the archives. So here is my
question.

Anyone who did or tried a Linux port for O2, or contributed anything
regarding that topic, could you please give me that information again. At
the moment I try to gather as much info as possible in this regard, as we
have some O2s running IRIX 6.3 and gathering dust most of the time.

Any help appreciated.

Markus

--
Markus Hoff-Holtmanns
RWTH Aachen
Germany
markus@lfm.rwth-aachen.de



From owner-linux-mips@oss.sgi.com Mon Nov 13 03:15:28 2000
Received:  by oss.sgi.com id <S553844AbQKMLPT>;
	Mon, 13 Nov 2000 03:15:19 -0800
Received: from voyager.cistron.net ([195.64.68.34]:29193 "EHLO smtp.cistron.nl")
	by oss.sgi.com with ESMTP id <S553984AbQKMLPA>;
	Mon, 13 Nov 2000 03:15:00 -0800
Received: from picard.cistron.nl ([195.64.65.20])
	by smtp.cistron.nl with esmtp (Exim 3.13 #1 (Debian))
	id 13vHZn-0002OM-00; Mon, 13 Nov 2000 12:15:03 +0100
Received: (from wichert@localhost)
	by picard.cistron.nl (8.9.3/8.9.3/Debian 8.9.3-6) id MAA07008;
	Mon, 13 Nov 2000 12:14:54 +0100
Date:   Mon, 13 Nov 2000 12:14:54 +0100
From:   Wichert Akkerman <wichert@cistron.nl>
To:     Mark Lehrer <mark@knm.org>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Can you help me?
Message-ID: <20001113121454.B6557@cistron.nl>
Mail-Followup-To: Mark Lehrer <mark@knm.org>, linux-mips@oss.sgi.com
References: <002801c04d1b$c1adc320$a727e29f@ict.ac.cn> <200011130439.VAA19564@home.knm.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200011130439.VAA19564@home.knm.org>; from mark@knm.org on Sun, Nov 12, 2000 at 09:39:36PM -0700
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Previously Mark Lehrer wrote:
> Does this kind of message violate any RFC's or anything?  I can't read
> it in emacs.  I am disturbed at how MS mail readers only use MIME types
> and don't include plain text.

Your emacs is broken then, it was a multipart/alternative message
with one plan in our standard character set and the other in gb2312.
mutt shows it just fine.

Wichert.

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

From owner-linux-mips@oss.sgi.com Mon Nov 13 07:05:40 2000
Received:  by oss.sgi.com id <S554084AbQKMPFb>;
	Mon, 13 Nov 2000 07:05:31 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:13832 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553991AbQKMPFQ>;
	Mon, 13 Nov 2000 07:05:16 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id HAA19918;
	Mon, 13 Nov 2000 07:04:02 -0800
Date:   Mon, 13 Nov 2000 07:04:02 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     flaws@bawue.de
Cc:     bjzheng@ict.ac.cn, linux-mips@oss.sgi.com
Subject: Re: Can you help me?
Message-ID: <20001113070402.A19583@chem.unr.edu>
References: <20001113092014.54D9D1F10E@helena.bawue.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <20001113092014.54D9D1F10E@helena.bawue.de>; from flaws@bawue.de on Mon, Nov 13, 2000 at 10:20:14AM +0100
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 13, 2000 at 10:20:14AM +0100, flaws@bawue.de wrote:

> AFAIK Onyx is pretty much the same as an Origin, except for the graphics
> hardware. Since Ralf is working on an Origin port, which is in quite a good
> state, I guess, Onyx should be supported, too.
> Without graphics, of course.

You're confusing Onyx with Onyx2.  The Onyx2 is Origin-like and
probably works.  The Onyx is sort of a multiprocessor version of the
Crimson (or, alternately, a graphics-heavy version of a Challenge D).
There were also Power Onyxen, with R8000 CPUs; I can't remember
whether there were r10k versions.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Mon Nov 13 07:28:10 2000
Received:  by oss.sgi.com id <S553886AbQKMP2A>;
	Mon, 13 Nov 2000 07:28:00 -0800
Received: from mx.mips.com ([206.31.31.226]:55222 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553844AbQKMP1g>;
	Mon, 13 Nov 2000 07:27:36 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id HAA05493
	for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 07:27:11 -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 HAA27952
	for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 07:27:31 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id OAA29370
	for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 14:20:54 +0100 (MET)
Message-ID: <3A0FEAB6.7117CC3C@mips.com>
Date:   Mon, 13 Nov 2000 14:20:54 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: The do_fast_gettimeoffset function
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

The do_fast_gettimeoffset function below (taken from
arch/mips/kernel/time.c) can only be used on 64-bit processors.
I would like to be able to use this on a 32-bit processor. As I'm not
completely sure what this function does, can someone who does please
help me out ?

/Carsten


static unsigned long do_fast_gettimeoffset(void)
{
 u32 count;
 unsigned long res, tmp;

 /* Last jiffy when do_fast_gettimeoffset() was called. */
 static unsigned long last_jiffies=0;
 unsigned long quotient;

 /*
  * Cached "1/(clocks per usec)*2^32" value.
  * It has to be recalculated once each jiffy.
  */
 static unsigned long cached_quotient=0;

 tmp = jiffies;

 quotient = cached_quotient;

 if (tmp && last_jiffies != tmp) {
  last_jiffies = tmp;
  __asm__(".set\tnoreorder\n\t"
   ".set\tnoat\n\t"
   ".set\tmips3\n\t"
   "lwu\t%0,%2\n\t"
   "dsll32\t$1,%1,0\n\t"
   "or\t$1,$1,%0\n\t"
   "ddivu\t$0,$1,%3\n\t"
   "mflo\t$1\n\t"
   "dsll32\t%0,%4,0\n\t"
   "nop\n\t"
   "ddivu\t$0,%0,$1\n\t"
   "mflo\t%0\n\t"
   ".set\tmips0\n\t"
   ".set\tat\n\t"
   ".set\treorder"
   :"=&r" (quotient)
   :"r" (timerhi),
    "m" (timerlo),
    "r" (tmp),
    "r" (USECS_PER_JIFFY)
   :"$1");
  cached_quotient = quotient;
 }

 /* Get last timer tick in absolute kernel time */
 count = read_32bit_cp0_register(CP0_COUNT);

 /* .. relative to previous jiffy (32 bits is enough) */
 count -= timerlo;

 __asm__("multu\t%1,%2\n\t"
  "mfhi\t%0"
  :"=r" (res)
  :"r" (count),
   "r" (quotient));

 /*
   * Due to possible jiffies inconsistencies, we need to check
  * the result so that we'll get a timer that is monotonic.
  */
 if (res >= USECS_PER_JIFFY)
  res = USECS_PER_JIFFY-1;

 return res;
}



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




From owner-linux-mips@oss.sgi.com Mon Nov 13 09:57:32 2000
Received:  by oss.sgi.com id <S553891AbQKMR5W>;
	Mon, 13 Nov 2000 09:57:22 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:12218 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553860AbQKMR46>;
	Mon, 13 Nov 2000 09:56:58 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id SAA12619;
	Mon, 13 Nov 2000 18:53:21 +0100 (MET)
Date:   Mon, 13 Nov 2000 18:53:20 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ian Chilton <mailinglist@ichilton.co.uk>
cc:     linux-mips@oss.sgi.com
Subject: Re: Patch Problems with Glibc 2.2
In-Reply-To: <20001105235715.A5531@woody.ichilton.co.uk>
Message-ID: <Pine.GSO.3.96.1001113184904.12211A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sun, 5 Nov 2000, Ian Chilton wrote:

> I am having a problem with patch under glibc 2.2
> 
> patch: **** Only garbage was found in the patch input.
> 
> If I exit my chroot, back to my 2.0.6 base and use the same source dir, with the same patch there, it works fine, so it is definatly the patch program.
> 
> It was compiled exactly the same way as the 2.0.6 based base too. Tried re-compiling, and still the same..
> 
> Everything else so far seems to work under my 2.2 base, incl compiler etc..

 This is due to the LFS support that's present in glibc 2.2 (fseeko() is
the reason of the trouble here).  Get a patch source RPM package from my
FTP site (ftp://ftp.ds2.pg.gda.pl/pub/macro/) for a fix.  An alternative
solution is available in the current CVS version of patch, I am told.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Mon Nov 13 10:34:52 2000
Received:  by oss.sgi.com id <S553937AbQKMSec>;
	Mon, 13 Nov 2000 10:34:32 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:39663 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553916AbQKMSe0>;
	Mon, 13 Nov 2000 10:34:26 -0800
Received: from scotty.mgnet.de (p3E9912F2.dip.t-dialin.net [62.153.18.242])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id TAA26951
	for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 19:34:23 +0100 (MET)
Received: (qmail 24468 invoked from network); 13 Nov 2000 18:34:18 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 13 Nov 2000 18:34:18 -0000
Date:   Mon, 13 Nov 2000 19:34:20 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Markus Hoff-Holtmanns <markus@LFM.rwth-aachen.de>
cc:     linux-mips@oss.sgi.com
Subject: Re: MIPS Linux and O2 and/or Octane...
In-Reply-To: <012301c04d5c$b4d71b60$38258286@lfm.rwthaachen.de>
Message-ID: <Pine.LNX.4.21.0011131931310.3276-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, 13 Nov 2000, Markus Hoff-Holtmanns wrote:

> Hi folks!
> 
> There probably already were numerous threads concerning this subject, but
> I'm new and I didn't find anything fitting in the archives. So here is my
> question.
> 
> Anyone who did or tried a Linux port for O2, or contributed anything
> regarding that topic, could you please give me that information again. At
> the moment I try to gather as much info as possible in this regard, as we
> have some O2s running IRIX 6.3 and gathering dust most of the time.

As far as I know only Keith M. Wesolowski and Harald Koerfgen
were trying to get Linux running and also got it to boot into 
usermode - the problem is that noone has such a machine.
So if you have a bunch of them which collect dust and want to
get rid of them this is the right place :-)


				Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt



From owner-linux-mips@oss.sgi.com Mon Nov 13 11:03:22 2000
Received:  by oss.sgi.com id <S553936AbQKMTDN>;
	Mon, 13 Nov 2000 11:03:13 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:54970 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553897AbQKMTCt>;
	Mon, 13 Nov 2000 11:02:49 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id UAA14948;
	Mon, 13 Nov 2000 20:02:48 +0100 (MET)
Date:   Mon, 13 Nov 2000 20:02:48 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     Ian Chilton <ian@ichilton.co.uk>, linux-mips@oss.sgi.com,
        lfs-discuss@linuxfromscratch.org
Subject: Re: User/Group Problem
In-Reply-To: <20001108050158.B12999@bacchus.dhis.org>
Message-ID: <Pine.GSO.3.96.1001113195048.12211C-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 8 Nov 2000, Ralf Baechle wrote:

>  - your chown / chgrp binaries are statically linked.  In that case nss
>    won't work on MIPS until it's fixed ...

 That's actually not a MIPS-specific problem.  This happens due to a bogus
error from mmap() (when called by ld.so) which cannot handle certain valid
requests -- when there is a non-zero suggested VM address, but the area
and all space above it is already occupied or unavailable for other
reasons.  It can sometimes appear for other ports, as well (I have an i386
test case, for example), but it bites MIPS specifically, because of a
non-zero initial VMA set for our shared objects.

 Here is a patch I use since July successfully.  We need to wait until
2.4.1 or so (or maybe even 2.5) is released for it to be applied as
2.4.0-test* are currently code-frozen.  Maybe we could apply it to our CVS
for now?  Ralf, what do you think? 

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

diff -u --recursive --new-file linux-2.4.0-test4.macro/mm/mmap.c linux-2.4.0-test4/mm/mmap.c
--- linux-2.4.0-test4.macro/mm/mmap.c	Sun Jul 16 22:27:29 2000
+++ linux-2.4.0-test4/mm/mmap.c	Tue Jul 25 05:06:21 2000
@@ -175,7 +175,7 @@
 	if ((len = PAGE_ALIGN(len)) == 0)
 		return addr;
 
-	if (len > TASK_SIZE || addr > TASK_SIZE-len)
+	if (len > TASK_SIZE || ((flags & MAP_FIXED) && (addr > TASK_SIZE - len)))
 		return -EINVAL;
 
 	/* offset overflow? */
@@ -356,20 +356,31 @@
 unsigned long get_unmapped_area(unsigned long addr, unsigned long len)
 {
 	struct vm_area_struct * vmm;
+	int pass = 0;
 
 	if (len > TASK_SIZE)
 		return 0;
-	if (!addr)
-		addr = TASK_UNMAPPED_BASE;
-	addr = PAGE_ALIGN(addr);
-
-	for (vmm = find_vma(current->mm, addr); ; vmm = vmm->vm_next) {
-		/* At this point:  (!vmm || addr < vmm->vm_end). */
-		if (TASK_SIZE - len < addr)
-			return 0;
-		if (!vmm || addr + len <= vmm->vm_start)
-			return addr;
-		addr = vmm->vm_end;
+
+	while (1) {
+		if (!addr)
+			addr = TASK_UNMAPPED_BASE;
+		addr = PAGE_ALIGN(addr);
+
+		for (vmm = find_vma(current->mm, addr); ; vmm = vmm->vm_next) {
+			/* At this point:  (!vmm || addr < vmm->vm_end). */
+			if (TASK_SIZE - len < addr) {
+				if (pass > 0)
+					return 0;
+				else {
+					pass = 1;
+					addr = 0;
+					break;
+				}
+			}
+			if (!vmm || addr + len <= vmm->vm_start)
+				return addr;
+			addr = vmm->vm_end;
+		}
 	}
 }
 #endif


From owner-linux-mips@oss.sgi.com Mon Nov 13 11:15:12 2000
Received:  by oss.sgi.com id <S553942AbQKMTPC>;
	Mon, 13 Nov 2000 11:15:02 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:56829 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553897AbQKMTOl>;
	Mon, 13 Nov 2000 11:14:41 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eADJCR319253;
	Mon, 13 Nov 2000 11:12:27 -0800
Message-ID: <3A103DAE.463492A4@mvista.com>
Date:   Mon, 13 Nov 2000 11:14:54 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@oss.sgi.com>
CC:     Nicu Popovici <octavp@isratech.ro>, linux-mips@oss.sgi.com
Subject: Re: Cross_compiler!
References: <3A09DE18.E55FA70F@isratech.ro> <3A09ADDB.EA2A6246@mvista.com> <20001112211057.E15594@bacchus.dhis.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Ralf Baechle wrote:
> 
> On Wed, Nov 08, 2000 at 11:47:39AM -0800, Jun Sun wrote:
> 
> > You can get the cross-compile tool chains from the monta vista ftp
> > site.  These tools are considered stable and recommeded - at least
> > before Ralf shows his latest toys. :-0
> 
> > 2. egcs 1.0.3a
> 
> Sorry to ruin your weekend but I've alredy put egcs-1.1.2 on oss two days
> before your posting :-)
> 
>   Ralf

My weekend was just fine - without reading this bothersome email. :-)

I thought egcs-1.1.2 had some problems with binutil 2.8.1 and glibc
2.0.6.  Was the problem solved?  


Jun

From owner-linux-mips@oss.sgi.com Mon Nov 13 12:01:42 2000
Received:  by oss.sgi.com id <S553958AbQKMUBW>;
	Mon, 13 Nov 2000 12:01:22 -0800
Received: from serv1.is1.u-net.net ([195.102.240.129]:7626 "EHLO
        serv1.is1.u-net.net") by oss.sgi.com with ESMTP id <S553945AbQKMUAx>;
	Mon, 13 Nov 2000 12:00:53 -0800
Received: from [213.48.88.27] (helo=zurg)
	by serv1.is1.u-net.net with smtp (Exim 3.12 #1)
	id 13vPmU-0006fU-00; Mon, 13 Nov 2000 20:00:42 +0000
From:   "Ian Chilton" <ian@ichilton.co.uk>
To:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
        "Ralf Baechle" <ralf@oss.sgi.com>
Cc:     <linux-mips@oss.sgi.com>, <lfs-discuss@linuxfromscratch.org>
Subject: RE: User/Group Problem
Date:   Mon, 13 Nov 2000 20:02:21 -0000
Message-ID: <NAENLMKGGBDKLPONCDDOGEMADCAA.ian@ichilton.co.uk>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
In-Reply-To: <Pine.GSO.3.96.1001113195048.12211C-100000@delta.ds2.pg.gda.pl>
Importance: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

>  That's actually not a MIPS-specific problem.

I actually got round this by copying /lib/libnss* from glibc 2.0.6 over,
until I had finished compiling everything..


>From the LFS-Book:

------------ Quote --------------
Copying old NSS library files
If your normal Linux system runs glibc-2.0, you need to copy the NSS library
files to the LFS partition. Certain statically linked programs still depend
on the NSS library, especially programs that need to lookup
usernames,userid's and groupid's. You can check which C library version your
normal Linux system uses by running:

strings /lib/libc* | grep "release version"

The output of that command should tell you something like this:

GNU C Library stable release version 2.1.3, by Roland McGrath et al.

If you have a libc-2.0.x file copy the NSS library files by running:

cp -av /lib/libnss* $LFS/lib

--------------- End Quote --------------


Bye for Now,

Ian


                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 \-----------------------------------------------------------------/



From owner-linux-mips@oss.sgi.com Mon Nov 13 13:04:12 2000
Received:  by oss.sgi.com id <S553872AbQKMVDx>;
	Mon, 13 Nov 2000 13:03:53 -0800
Received: from mail.ivm.net ([62.204.1.4]:2687 "EHLO mail.ivm.net")
	by oss.sgi.com with ESMTP id <S553863AbQKMVDg>;
	Mon, 13 Nov 2000 13:03:36 -0800
Received: from franz.no.dom (port166.duesseldorf.ivm.de [195.247.65.166])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id WAA15124;
	Mon, 13 Nov 2000 22:03:21 +0100
X-To:   linux-mips@oss.sgi.com
Message-ID: <XFMail.001113220314.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20001112210049.C26606@lug-owl.de>
Date:   Mon, 13 Nov 2000 22:03:14 +0100 (CET)
Reply-To: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Organization: none
From:   Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To:     Jan-Benedict Glaw <jbglaw@lug-owl.de>
Subject: RE: Build failure for R3000 DECstation
Cc:     linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


On 12-Nov-00 Jan-Benedict Glaw wrote:
> I see this build failure:
> 
> sysmips.c: In function `sys_sysmips':
> sysmips.c:109: warning: implicit declaration of function `syscall_trace'
> {standard input}: Assembler messages:
> {standard input}:337: Error: opcode requires -mips2 or greater `ll'
> {standard input}:339: Error: opcode requires -mips2 or greater `sc'
> {standard input}:340: Error: opcode requires -mips2 or greater `beqzl'
> {standard input}:341: Error: opcode requires -mips2 or greater `ll'

Something like 

--- snip here ---
diff -ruN /nfs/cvs/linux-2.3/linux/arch/mips/kernel/sysmips.c
linux/arch/mips/kernel/sysmips.c
--- /nfs/cvs/linux-2.3/linux/arch/mips/kernel/sysmips.c Sun Nov 12 16:05:54 2000
+++ linux/arch/mips/kernel/sysmips.c    Mon Nov 13 19:35:46 2000
@@ -73,13 +73,16 @@
 
        case MIPS_ATOMIC_SET: {
                unsigned int tmp;
-
+#ifndef CONFIG_CPU_HAS_LLSC
+               unsigned long flags;
+#endif
                p = (int *) arg1;
                errno = verify_area(VERIFY_WRITE, p, sizeof(*p));
                if (errno)
                        return errno;
                errno = 0;
 
+#ifdef CONFIG_CPU_HAS_LLSC             
                __asm__(".set\tpush\t\t\t# sysmips(MIPS_ATOMIC, ...)\n\t"
                        ".set\tnoreorder\n\t"
                        ".set\tnoat\n\t"
@@ -100,6 +103,12 @@
                        : "=&r" (tmp), "=o" (* (u32 *) p), "=r" (errno)
                        : "r" (arg2), "o" (* (u32 *) p), "2" (errno)
                        : "$1");
+#else
+               save_and_cli(flags);
+               errno |= __get_user(tmp, p);
+               errno |= __put_user(arg2, p);
+               restore_flags(flags);
+#endif
 
                if (errno)
                        return -EFAULT;
--- snip here ---

should fix this. However, this patch is untested and should be considered as an
RFD. For unknown reasons my R3000 DECstation doesn't grok elf2ecoffed kernels
any more. 

-- 
Regards,
Harald

From owner-linux-mips@oss.sgi.com Mon Nov 13 13:07:02 2000
Received:  by oss.sgi.com id <S553961AbQKMVGn>;
	Mon, 13 Nov 2000 13:06:43 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:51981 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553869AbQKMVGf>; Mon, 13 Nov 2000 13:06:35 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Mon, 13 Nov 2000 16:06:08 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <TMPFN6FP>; Mon, 13 Nov 2000 16:06:07 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209D07@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: irix vs. linux
Date:   Mon, 13 Nov 2000 15:26:01 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Until I can get Linux up and running I was going to try Irix.

Any roadblocks to this approach that I should know about? Advantages to
Linux on SGI over Irix?

by the way, i saw Irix for sale on ebay, but there was only one cd. is this
a full install. i thought Irix had more cds.

how many cd's for linux on mips?

Tim Maloney
Senior Developer
iXL, Inc.
1930 Camden Road, Suite 2070
Charlotte, NC 28203
704 943-7193 phone
tmaloney@ixl.com
www.ixl.com


From owner-linux-mips@oss.sgi.com Mon Nov 13 13:28:02 2000
Received:  by oss.sgi.com id <S553956AbQKMV1n>;
	Mon, 13 Nov 2000 13:27:43 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:52857 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553975AbQKMV1Z>;
	Mon, 13 Nov 2000 13:27:25 -0800
Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id NAA00092
	for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 13:19:34 -0800 (PST)
	mail_from (andya@pinckneya.peachtree.sgi.com)
Received: from pinckneya.peachtree.sgi.com (pinckneya.peachtree.sgi.com [169.238.221.130]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via SMTP id NAA63972 for <linux-mips@oss.sgi.com>; Mon, 13 Nov 2000 13:25:39 -0800 (PST)
Received: from sweetleaf.peachtree.sgi.com by pinckneya.peachtree.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI)
	 id QAA08254; Mon, 13 Nov 2000 16:24:22 -0500
Received: from peachtree.sgi.com (localhost [127.0.0.1])
	by sweetleaf.peachtree.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id QAA04779;
	Mon, 13 Nov 2000 16:24:22 -0500 (EST)
Message-ID: <3A105C05.9CEF7B7F@peachtree.sgi.com>
Date:   Mon, 13 Nov 2000 16:24:21 -0500
From:   "Nils C. Anderson" <andya@pinckneya.peachtree.sgi.com>
Organization: SGI
X-Mailer: Mozilla 4.7C-SGI [en] (X11; I; IRIX 6.5 IP22)
X-Accept-Language: en
MIME-Version: 1.0
To:     tmaloney@ixl.com
CC:     linux-mips@oss.sgi.com
Subject: Re: irix vs. linux
References: <0A5319EEAF65D411825E00805FBBD8A1209D07@exchange.clt.ixl.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing




Irix 5.3 - 1 cdrom
Irix 6.2 - 2 cdroms
Irix 6.3 - 2 cdroms
Irix 6.5 - at least 4, Install Tools, Foundation 1 & 2, Applications

each overlay spans between 1 and 3 cdroms.


tmaloney@ixl.com wrote:
> 
> Until I can get Linux up and running I was going to try Irix.
> 
> Any roadblocks to this approach that I should know about? Advantages to
> Linux on SGI over Irix?
> 
> by the way, i saw Irix for sale on ebay, but there was only one cd. is this
> a full install. i thought Irix had more cds.
> 
> how many cd's for linux on mips?
> 
> Tim Maloney
> Senior Developer
> iXL, Inc.
> 1930 Camden Road, Suite 2070
> Charlotte, NC 28203
> 704 943-7193 phone
> tmaloney@ixl.com
> www.ixl.com

From owner-linux-mips@oss.sgi.com Mon Nov 13 14:11:33 2000
Received:  by oss.sgi.com id <S553972AbQKMWLN>;
	Mon, 13 Nov 2000 14:11:13 -0800
Received: from u-174.karlsruhe.ipdial.viaginterkom.de ([62.180.10.174]:25356
        "EHLO u-174.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553967AbQKMWLB>; Mon, 13 Nov 2000 14:11:01 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S869076AbQKMJrf>;
        Mon, 13 Nov 2000 10:47:35 +0100
Date:   Mon, 13 Nov 2000 10:47:35 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
Message-ID: <20001113104735.A3253@bacchus.dhis.org>
References: <20001112210049.C26606@lug-owl.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001112210049.C26606@lug-owl.de>; from jbglaw@lug-owl.de on Sun, Nov 12, 2000 at 09:00:49PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sun, Nov 12, 2000 at 09:00:49PM +0100, Jan-Benedict Glaw wrote:

> I see this build failure:
> 
> mipsel-linux-gcc -D__KERNEL__ -I/usr/src/mipsel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r3000 -mips1 -pipe     -c -o sysmips.o sysmips.c
> sysmips.c: In function `sys_sysmips':
> sysmips.c:109: warning: implicit declaration of function `syscall_trace'
> {standard input}: Assembler messages:
> {standard input}:337: Error: opcode requires -mips2 or greater `ll'
> {standard input}:339: Error: opcode requires -mips2 or greater `sc'
> {standard input}:340: Error: opcode requires -mips2 or greater `beqzl'
> {standard input}:341: Error: opcode requires -mips2 or greater `ll'
> make[1]: *** [sysmips.o] Error 1

The sysmips(MIPS_ATOMIC_SET, ...) implementation used to be completly broken.
I fixed it for CPUs with ll/sc and left the part with ll/sc to others.

Obviously none of them seemed to care so now I'm doing the quick fix.
Frankly, a syscall which shouldn't be used doesn't deserve more attention ...

  Ralf

From owner-linux-mips@oss.sgi.com Mon Nov 13 14:20:43 2000
Received:  by oss.sgi.com id <S553976AbQKMWUd>;
	Mon, 13 Nov 2000 14:20:33 -0800
Received: from u-174.karlsruhe.ipdial.viaginterkom.de ([62.180.10.174]:27404
        "EHLO u-174.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553967AbQKMWUY>; Mon, 13 Nov 2000 14:20:24 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868642AbQKMWTt>;
        Mon, 13 Nov 2000 23:19:49 +0100
Date:   Mon, 13 Nov 2000 23:19:49 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc:     Ian Chilton <ian@ichilton.co.uk>, linux-mips@oss.sgi.com,
        lfs-discuss@linuxfromscratch.org
Subject: Re: User/Group Problem
Message-ID: <20001113231949.B16012@bacchus.dhis.org>
References: <20001108050158.B12999@bacchus.dhis.org> <Pine.GSO.3.96.1001113195048.12211C-100000@delta.ds2.pg.gda.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <Pine.GSO.3.96.1001113195048.12211C-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Mon, Nov 13, 2000 at 08:02:48PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 13, 2000 at 08:02:48PM +0100, Maciej W. Rozycki wrote:

> >  - your chown / chgrp binaries are statically linked.  In that case nss
> >    won't work on MIPS until it's fixed ...
> 
>  That's actually not a MIPS-specific problem.  This happens due to a bogus
> error from mmap() (when called by ld.so) which cannot handle certain valid
> requests -- when there is a non-zero suggested VM address, but the area
> and all space above it is already occupied or unavailable for other
> reasons.  It can sometimes appear for other ports, as well (I have an i386
> test case, for example), but it bites MIPS specifically, because of a
> non-zero initial VMA set for our shared objects.
> 
>  Here is a patch I use since July successfully.  We need to wait until
> 2.4.1 or so (or maybe even 2.5) is released for it to be applied as
> 2.4.0-test* are currently code-frozen.  Maybe we could apply it to our CVS
> for now?  Ralf, what do you think? 

There is second interpretation of this problem - the address passed to
mmap is bogus, so this computation needs to be fixed.

  Ralf

From owner-linux-mips@oss.sgi.com Tue Nov 14 06:21:16 2000
Received:  by oss.sgi.com id <S553665AbQKNOU4>;
	Tue, 14 Nov 2000 06:20:56 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:49861 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553655AbQKNOUh>;
	Tue, 14 Nov 2000 06:20:37 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id PAA17764;
	Tue, 14 Nov 2000 15:19:11 +0100 (MET)
Date:   Tue, 14 Nov 2000 15:19:11 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     Ian Chilton <ian@ichilton.co.uk>, linux-mips@oss.sgi.com,
        lfs-discuss@linuxfromscratch.org, Andreas Jaeger <aj@suse.de>
Subject: Re: User/Group Problem
In-Reply-To: <20001113231949.B16012@bacchus.dhis.org>
Message-ID: <Pine.GSO.3.96.1001114150916.17140A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, 13 Nov 2000, Ralf Baechle wrote:

> >  Here is a patch I use since July successfully.  We need to wait until
> > 2.4.1 or so (or maybe even 2.5) is released for it to be applied as
> > 2.4.0-test* are currently code-frozen.  Maybe we could apply it to our CVS
> > for now?  Ralf, what do you think? 
> 
> There is second interpretation of this problem - the address passed to
> mmap is bogus, so this computation needs to be fixed.

 Where is it written mmap() is allowed to fail when a bogus VM address is
passed but MAP_FIXED is not set?  I believe mmap() should choose a
different VM address in this case, as long as much enough contiguous VM
space is available anywhere to satisfy the requested length.

 Surely, map_segment() (see dl-load.c) might call mmap(0, ...) after
mmap(<some_address>, ...) fails when MAP_FIXED is not set but wouldn't
that be a dirty hack?  We'd better fix the kernel. 

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Tue Nov 14 07:34:37 2000
Received:  by oss.sgi.com id <S553650AbQKNPeR>;
	Tue, 14 Nov 2000 07:34:17 -0800
Received: from smtp.algor.co.uk ([62.254.210.199]:50374 "EHLO
        kenton.algor.co.uk") by oss.sgi.com with ESMTP id <S553645AbQKNPdx>;
	Tue, 14 Nov 2000 07:33:53 -0800
Received: from gladsmuir.algor.co.uk (dom@gladsmuir.algor.co.uk [192.168.5.75])
	by kenton.algor.co.uk (8.9.3/8.8.8) with ESMTP id PAA16283;
	Tue, 14 Nov 2000 15:33:48 GMT
Received: (from dom@localhost)
	by gladsmuir.algor.co.uk (8.8.5/8.8.5) id PAA00560;
	Tue, 14 Nov 2000 15:44:13 GMT
Date:   Tue, 14 Nov 2000 15:44:13 GMT
Message-Id: <200011141544.PAA00560@gladsmuir.algor.co.uk>
From:   Dominic Sweetman <dom@algor.co.uk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="dMNvDsnJMR"
Content-Transfer-Encoding: 7bit
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: MIPS HOWTO
In-Reply-To: <20001106204426.A23625@bacchus.dhis.org>
References: <20001106204426.A23625@bacchus.dhis.org>
X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


--dMNvDsnJMR
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Ralf Baechle (ralf@oss.sgi.com) writes:

> November 15 is the deadline for a new edition of ``Linux, the Complete
> Reference'' which the MIPS Howto will be part of.  So please everybody
> take a look at the documente at http://oss.sgi.com/mips/mips-howto.html
> and send me updates, preferably as unified diffs for the SGML source
> code.

Here's one patch to your SGML for Algorithmics' boards:


--dMNvDsnJMR
Content-Type: text/plain
Content-Disposition: inline;
	filename="mips-howto.sgml.diff"
Content-Transfer-Encoding: 7bit

*** mips-howto.sgml~    Tue Nov  7 09:45:30 2000
--- mips-howto.sgml     Tue Nov 14 15:28:11 2000
***************
*** 296,308 ****
    This machine is a OEM variant of the SGI Indigo and therefore also still
    unsupported.
  
!   <sect2>Algorithmics P4032<p>
!   The Algorithmics P4032 port is at the time of this writing still running
!   Linux 2.1.36.
  
!   <sect2>Algorithmics P5064<p>
!   The P5064 is basically an R5000-based 64bit variant of the P4032.  A port is
!   ongoing.
  
    <sect2>DECstation series<p>
    During the late 80's and the early 90's Digital (now Compaq) built MIPS based 
--- 296,337 ----
    This machine is a OEM variant of the SGI Indigo and therefore also still
    unsupported.
  
!   <sect2>Algorithmics P-4032, P-5064, P-6032<p>
!   Algorithmics (<url url="http://www.algor.co.uk/">) make a series of
!   single-board computers for MIPS prototyping, and maintain Linux kernels
!   for all of them:
!   <itemize>
!     <item>P-6032 is a new board for CPUs with 32-bit buses (QED
!   RM5231, NEC Vr43x0, NEC Vr5432, IDT 64x74)
!     <item>P-4032 is an older board obsoleted by P-6032.
!     <item>P-5064 is for CPUs with 64-bit buses, notably QED's RM70xx
!   and RM52xx series.
!   </itemize>
  
!   All the boards have common I/O plus ethernet and disk interfaces
!   onboard, with spare PCI slots for adding different controllers.
!   They're highly configurable, so will run with either byte order.
!   All are suitable targets for 64-bit kernels, but (so far) all the
!   Linux work we've done has been using 32-bit code.
! 
!   They're available, supported and documented with PDF manuals
!   available online, like 
!   <url url="http://www.algor.co.uk/ftp/pub/doc/p6032-user.pdf">
!   for the P-6032.
! 
!   At the time of writing (November 2000) we are using a 2.2.x
!   kernel, and we're sharing kernel code with the ports being done by
!   people from MIPS Technologies Inc (<url url="http://www.mips.com">).
!   Algorithmics wrote the floating point trap handler and emulator used
!   in this kernel - essential for MIPS CPUs to run floating point
!   operations reliably and correctly.
! 
!   Algorithmics' kernels and a link to the MIPS userland can be found
!   from a jump page at
!   <url url="http://www.algor.co.uk/algor/info/linux.html">
!   
!   You can contact us at <htmlurl url="mailto:ask@algor.co.uk"
!   name="Algorithmics">.
  
    <sect2>DECstation series<p>
    During the late 80's and the early 90's Digital (now Compaq) built MIPS based 

--dMNvDsnJMR
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


-- 
Dominic Sweetman
Algorithmics Ltd
The Fruit Farm, Ely Road, Chittering, CAMBS CB5 9PH, ENGLAND
phone: +44 1223 706200 / fax: +44 1223 706250 / home: +44 20 7226 0032
http://www.algor.co.uk

--dMNvDsnJMR--

From owner-linux-mips@oss.sgi.com Tue Nov 14 09:31:27 2000
Received:  by oss.sgi.com id <S553661AbQKNRbS>;
	Tue, 14 Nov 2000 09:31:18 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:57543 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553655AbQKNRaz>;
	Tue, 14 Nov 2000 09:30:55 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id SAA24854;
	Tue, 14 Nov 2000 18:24:14 +0100 (MET)
Date:   Tue, 14 Nov 2000 18:24:13 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Carsten Langgaard <carstenl@mips.com>
cc:     linux-mips@oss.sgi.com
Subject: Re: The do_fast_gettimeoffset function
In-Reply-To: <3A0FEAB6.7117CC3C@mips.com>
Message-ID: <Pine.GSO.3.96.1001114182002.17140I-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, 13 Nov 2000, Carsten Langgaard wrote:

> The do_fast_gettimeoffset function below (taken from
> arch/mips/kernel/time.c) can only be used on 64-bit processors.
> I would like to be able to use this on a 32-bit processor. As I'm not
> completely sure what this function does, can someone who does please
> help me out ?

 The function performs a 64-bit division.  You may look at
do_ioasic_gettimeoffset which is almost identical (merging of these two
functions into a single one is actually on my TODO list) but it works for
32-bit processors. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Tue Nov 14 10:56:59 2000
Received:  by oss.sgi.com id <S553783AbQKNS4u>;
	Tue, 14 Nov 2000 10:56:50 -0800
Received: from u-177.karlsruhe.ipdial.viaginterkom.de ([62.180.10.177]:32516
        "EHLO u-177.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553655AbQKNS4f>; Tue, 14 Nov 2000 10:56:35 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870065AbQKNQQq>;
        Tue, 14 Nov 2000 17:16:46 +0100
Date:   Tue, 14 Nov 2000 17:16:46 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Jun Sun <jsun@mvista.com>
Cc:     Nicu Popovici <octavp@isratech.ro>, linux-mips@oss.sgi.com
Subject: Re: Cross_compiler!
Message-ID: <20001114171646.B1117@bacchus.dhis.org>
References: <3A09DE18.E55FA70F@isratech.ro> <3A09ADDB.EA2A6246@mvista.com> <20001112211057.E15594@bacchus.dhis.org> <3A103DAE.463492A4@mvista.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A103DAE.463492A4@mvista.com>; from jsun@mvista.com on Mon, Nov 13, 2000 at 11:14:54AM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 13, 2000 at 11:14:54AM -0800, Jun Sun wrote:

> My weekend was just fine - without reading this bothersome email. :-)
> 
> I thought egcs-1.1.2 had some problems with binutil 2.8.1 and glibc
> 2.0.6.  Was the problem solved?  

Kindof.  I just dumped the multilib support.  I don't know of anybody who
was actually using it, so away with it ...

  Ralf

From owner-linux-mips@oss.sgi.com Tue Nov 14 12:49:10 2000
Received:  by oss.sgi.com id <S553678AbQKNUtB>;
	Tue, 14 Nov 2000 12:49:01 -0800
Received: from [62.145.23.107] ([62.145.23.107]:6755 "HELO
        fileserv2.Cologne.DE") by oss.sgi.com with SMTP id <S553671AbQKNUsw>;
	Tue, 14 Nov 2000 12:48:52 -0800
Received: from localhost (1860 bytes) by fileserv2.Cologne.DE
	via rmail with P:stdio/R:bind/T:smtp
	(sender: <excalibur.cologne.de!karsten>) (ident <excalibur.cologne.de!karsten> using unix)
	id <m13vn0R-0006xUC@fileserv2.Cologne.DE>
	for <linux-mips@oss.sgi.com>; Tue, 14 Nov 2000 21:48:39 +0100 (CET)
	(Smail-3.2.0.101 1997-Dec-17 #5 built 1998-Jan-19)
Received: (from karsten@localhost)
	by excalibur.cologne.de (8.9.3/8.8.7) id TAA03123;
	Tue, 14 Nov 2000 19:54:08 +0100
Message-ID: <20001114195408.C1751@excalibur.cologne.de>
Date:   Tue, 14 Nov 2000 19:54:08 +0100
From:   Karsten Merker <karsten@excalibur.cologne.de>
To:     Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
Subject: Re: MIPS HOWTO
Mail-Followup-To: Ralf Baechle <ralf@oss.sgi.com>, linux-mips@oss.sgi.com
References: <20001106204426.A23625@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91i
In-Reply-To: <20001106204426.A23625@bacchus.dhis.org>; from Ralf Baechle on Mon, Nov 06, 2000 at 08:44:26PM +0100
X-No-Archive: yes
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 06, 2000 at 08:44:26PM +0100, Ralf Baechle wrote:

> November 15 is the deadline for a new edition of ``Linux, the Complete
> Reference'' which the MIPS Howto will be part of.  So please everybody
> take a look at the documente at http://oss.sgi.com/mips/mips-howto.html
> and send me updates, preferably as unified diffs for the SGML source
> code.

Sorry, not as patch to the SGML code, but nonetheless:

[4.1 Redhat]

> Also, there's a distribution based on Red Hat 5.2 that's targeting the
> Cobalt Qubes. Those binaries will work perfectly on other MIPSel
> architectures available at ftp://intel.cleveland.lug.net/pub/Mipsel.
               ^
and are available

> ftp://bolug.uni-bonn.de/mips has various rpm packages from Redhat 6.0,
> and 6.1.

from Redhat 6.0, 6.1 and 6.2.

Greetings,
Karsten
-- 
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.

From owner-linux-mips@oss.sgi.com Tue Nov 14 13:31:10 2000
Received:  by oss.sgi.com id <S553685AbQKNVav>;
	Tue, 14 Nov 2000 13:30:51 -0800
Received: from mail.ivm.net ([62.204.1.4]:37158 "EHLO mail.ivm.net")
	by oss.sgi.com with ESMTP id <S553677AbQKNVag>;
	Tue, 14 Nov 2000 13:30:36 -0800
Received: from franz.no.dom (port120.duesseldorf.ivm.de [195.247.65.120])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id WAA18232;
	Tue, 14 Nov 2000 22:30:23 +0100
X-To:   linux-mips@oss.sgi.com
Message-ID: <XFMail.001114223017.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20001113104735.A3253@bacchus.dhis.org>
Date:   Tue, 14 Nov 2000 22:30:17 +0100 (CET)
Reply-To: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Organization: none
From:   Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To:     Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
Cc:     linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


On 13-Nov-00 Ralf Baechle wrote:
> The sysmips(MIPS_ATOMIC_SET, ...) implementation used to be completly broken.
> I fixed it for CPUs with ll/sc and left the part with ll/sc to others.
> 
> Obviously none of them seemed to care so now I'm doing the quick fix.
> Frankly, a syscall which shouldn't be used doesn't deserve more attention ...

Well, it seems as if there are people with a different opinion. Fresh from the
glibc CVS (libc/sysdeps/unix/sysv/linux/mips/sys/tas.h):

# if (_MIPS_ISA >= _MIPS_ISA_MIPS2)

_EXTERN_INLINE int
_test_and_set (int *p, int v) __THROW
{
[ll/sc implementation snipped]
}

# else /* !(_MIPS_ISA >= _MIPS_ISA_MIPS2) */

_EXTERN_INLINE int
_test_and_set (int *p, int v) __THROW
{
  return sysmips (MIPS_ATOMIC_SET, (int) p, v, 0);
}

# endif /* !(_MIPS_ISA >= _MIPS_ISA_MIPS2) */

Personally I like this more than a kernel ll/sc emulation. A syscall is likely
to be faster than at least two illegal instruction exceptions. If you're
concerned about binary compatibilty, the syscall should work on ISA>=2 CPUs as
well.

-- 
Regards,
Harald

From owner-linux-mips@oss.sgi.com Tue Nov 14 13:35:31 2000
Received:  by oss.sgi.com id <S553688AbQKNVfV>;
	Tue, 14 Nov 2000 13:35:21 -0800
Received: from mx.mips.com ([206.31.31.226]:41163 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553677AbQKNVfO>;
	Tue, 14 Nov 2000 13:35:14 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id NAA20023;
	Tue, 14 Nov 2000 13:34:49 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id NAA18844;
	Tue, 14 Nov 2000 13:35:04 -0800 (PST)
Message-ID: <01d501c04e83$3a7e1e40$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Karsten Merker" <karsten@excalibur.cologne.de>,
        "Ralf Baechle" <ralf@oss.sgi.com>, <linux-mips@oss.sgi.com>
References: <20001106204426.A23625@bacchus.dhis.org> <20001114195408.C1751@excalibur.cologne.de>
Subject: Re: MIPS HOWTO
Date:   Tue, 14 Nov 2000 22:38:14 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> 
> Sorry, not as patch to the SGML code, but nonetheless:
> 
> [4.1 Redhat]
> 
> > Also, there's a distribution based on Red Hat 5.2 that's targeting the
> > Cobalt Qubes. Those binaries will work perfectly on other MIPSel
> > architectures available at ftp://intel.cleveland.lug.net/pub/Mipsel.
>                ^
> and are available

Not in SGML either, but so long as we're talking about the mipsel 
binaries, it may be worth noting that I put together a compilation of 
the RedHat 5.2 mipsel distribution that includes the all the packages 
on the cleveland.lug site, plus quite a few others from elsewhere that 
are either newer than, or missing from, the cleveland.lug distribution. 
This can be found via HTML at http://www.paralogos.com/mipslinux 
or directly by FTP at
ftp://ftp.paralogos.com/pub/linux/mips/RPMS/mipsel/ 

            Regards,

            Kevin K.


From owner-linux-mips@oss.sgi.com Tue Nov 14 13:39:21 2000
Received:  by oss.sgi.com id <S553695AbQKNVjL>;
	Tue, 14 Nov 2000 13:39:11 -0800
Received: from mail.ivm.net ([62.204.1.4]:51241 "EHLO mail.ivm.net")
	by oss.sgi.com with ESMTP id <S553677AbQKNVjA>;
	Tue, 14 Nov 2000 13:39:00 -0800
Received: from franz.no.dom (port120.duesseldorf.ivm.de [195.247.65.120])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id WAA18225;
	Tue, 14 Nov 2000 22:30:22 +0100
X-To:   linux-mips@oss.sgi.com
Message-ID: <XFMail.001114223015.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <012301c04d5c$b4d71b60$38258286@lfm.rwthaachen.de>
Date:   Tue, 14 Nov 2000 22:30:15 +0100 (CET)
Reply-To: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Organization: none
From:   Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To:     Markus Hoff-Holtmanns <markus@LFM.rwth-aachen.de>
Subject: RE: MIPS Linux and O2 and/or Octane...
Cc:     linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


On 13-Nov-00 Markus Hoff-Holtmanns wrote:
> Hi folks!

Selber hi!
 
> There probably already were numerous threads concerning this subject, but
> I'm new and I didn't find anything fitting in the archives. So here is my
> question.
> 
> Anyone who did or tried a Linux port for O2, or contributed anything
> regarding that topic, could you please give me that information again. At
> the moment I try to gather as much info as possible in this regard, as we
> have some O2s running IRIX 6.3 and gathering dust most of the time.

Well, I guess I should update the FAQ :)

Keith and I have been working on O2 support, but due to a chronical lack of
time on my side progress is slow.

The actual status is:

o kernel boots and detects the machine and memory size.
o serial console works
o periodic interrupts working (the poor man's CPO_COUNT/CP0_COMPARE version)
o PCI code detects the onboard Adaptec AIC-7880 SCSI host adapters
o The Adaptec driver itself crashes
o The existing cache management does not handle secondary caches tied to a R5000
CPU too well. Read: userland programs crash without evil hacks, actually.
o R10000s will _not_ work for quite a while.

For the records:

> boot bootp()/vmlinux
130768+22320+3184+341792+48560d+4604+6816 entry: 0x87fa60d0
Setting $netaddr to 192.168.0.7 (from server intel)
Obtaining /vmlinux from server intel
656824+81120+112564 entry: 0x80002584
ARCH: SGI-IP32
PROMLIB: ARC firmware Version 1 Revision 10
PROMLIB: Total free ram 122888K / 120MB.
Loading R4000 MMU routines.
CPU revision is: 00002321
Primary instruction cache 32kb, linesize 32 bytes.
Primary data cache 32kb, linesize 32 bytes.
Secondary cache sized at 128K linesize 32 bytes.
Linux version 2.4.0-test9 (harry@intel) (gcc version egcs-2.91.66 19990314
(egcs-1.1.2 release)) #1 Die Nov 14 22:14:10 CET 2000
On node 0 totalpages: 32646
zone(0): 32646 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: 
Calibrating delay loop... 359.63 BogoMIPS
Memory: 120708k/130584k available (641k kernel code, 9876k reserved, 46k data,
32k init)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
Serial driver version 5.02 (2000-08-09) with SHARE_IRQ enabled
ttyS00 at 0x0000 (irq = 14) is a 16550A
ttyS01 at 0x0000 (irq = 0) is a 16550A
Kernel panic: I have no root and I want to scream

Please note that the secondary cache size and the BogoMIPS are, well, bogus :)

-- 
Regards,
Harald

From owner-linux-mips@oss.sgi.com Tue Nov 14 15:12:31 2000
Received:  by oss.sgi.com id <S553780AbQKNXMV>;
	Tue, 14 Nov 2000 15:12:21 -0800
Received: from tower.ti.com ([192.94.94.5]:13196 "EHLO tower.ti.com")
	by oss.sgi.com with ESMTP id <S553768AbQKNXMM>;
	Tue, 14 Nov 2000 15:12:12 -0800
Received: from dlep8.itg.ti.com ([157.170.134.88])
	by tower.ti.com (8.11.1/8.11.1) with ESMTP id eAENC6911709
	for <linux-mips@oss.sgi.com>; Tue, 14 Nov 2000 17:12:06 -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 RAA09938
	for <linux-mips@oss.sgi.com>; Tue, 14 Nov 2000 17:12:06 -0600 (CST)
Received: from dlep3.itg.ti.com (dlep3-maint.itg.ti.com [157.170.133.16])
	by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id RAA09923
	for <linux-mips@oss.sgi.com>; Tue, 14 Nov 2000 17:12:05 -0600 (CST)
Received: from ti.com (IDENT:bbrown@bbrowndt.sc.ti.com [158.218.100.180])
	by dlep3.itg.ti.com (8.9.3/8.9.3) with ESMTP id RAA22060
	for <linux-mips@oss.sgi.com>; Tue, 14 Nov 2000 17:12:05 -0600 (CST)
Message-ID: <3A11C6C5.C2CAB92E@ti.com>
Date:   Tue, 14 Nov 2000 16:12:05 -0700
From:   Brady Brown <bbrown@ti.com>
Organization: Texas Instruments
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     SGI news group <linux-mips@oss.sgi.com>
Subject: egcs 1.0.3a build error?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

I am trying to natively build egcs-1.0.3a-2 on an Atlas board (r4kc
little endian). I followed the emails and pulled down
ftp://ftp.mvista.com/pub/Area51/mips_le/misc/egcs-10.03a.tar.gz and
ftp://oss.sgi.com/pub/linux/mips/egcs/egcs-1.0.3a-2.diff.gz
applied the diff and did configure and then make. (I'm running
binutils-2.8.1 glibc-2.0.6 and egcs-1.0.2). The build fails with this
output:

/tmp/cca30501.s: Assembler messages:
/tmp/cca30501.s:136: Internal error!
Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2231.
Please report this bug.
make[1]: *** [xexit.o] Error 1
make: *** [all-target-libiberty] Error 2

I have been unable to figure out what the problem is.

Any ideas?


From owner-linux-mips@oss.sgi.com Tue Nov 14 15:42:01 2000
Received:  by oss.sgi.com id <S553787AbQKNXlv>;
	Tue, 14 Nov 2000 15:41:51 -0800
Received: from u-210.karlsruhe.ipdial.viaginterkom.de ([62.180.18.210]:8452
        "EHLO u-210.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553767AbQKNXlk>; Tue, 14 Nov 2000 15:41:40 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870080AbQKNXlW>;
        Wed, 15 Nov 2000 00:41:22 +0100
Date:   Wed, 15 Nov 2000 00:41:22 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
Message-ID: <20001115004122.G927@bacchus.dhis.org>
References: <20001113104735.A3253@bacchus.dhis.org> <XFMail.001114223017.Harald.Koerfgen@home.ivm.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <XFMail.001114223017.Harald.Koerfgen@home.ivm.de>; from Harald.Koerfgen@home.ivm.de on Tue, Nov 14, 2000 at 10:30:17PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 14, 2000 at 10:30:17PM +0100, Harald Koerfgen wrote:

> > Obviously none of them seemed to care so now I'm doing the quick fix.
> > Frankly, a syscall which shouldn't be used doesn't deserve more attention ...
> 
> Well, it seems as if there are people with a different opinion. Fresh from the
> glibc CVS (libc/sysdeps/unix/sysv/linux/mips/sys/tas.h):

I know.  Otherwise I'd have plain killed this syscall rsn.

> Personally I like this more than a kernel ll/sc emulation. A syscall is likely
> to be faster than at least two illegal instruction exceptions. If you're
> concerned about binary compatibilty, the syscall should work on ISA>=2 CPUs as
> well.

The idea is to punish the least widespread architecture and this are the
non-ll/sc CPUs.  Just like Linux is no longer performing optimally on x86.

In any case, for uniprocessor non-ll/sc machines there is also a better
solution availble with no syscalls at all.  It's easy to implement, just
use the fact that any exception will change the values of k0/k1.  That of
course breaks silently on SMP.

glibc 2.2 calls this sysmips(). very often so optimizing them is fairly
important ...

  Ralf

From owner-linux-mips@oss.sgi.com Tue Nov 14 16:59:02 2000
Received:  by oss.sgi.com id <S553860AbQKOA6w>;
	Tue, 14 Nov 2000 16:58:52 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:4814 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553816AbQKOA63>;
	Tue, 14 Nov 2000 16:58:29 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id BAA12683;
	Wed, 15 Nov 2000 01:58:21 +0100 (MET)
Date:   Wed, 15 Nov 2000 01:58:21 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <20001115004122.G927@bacchus.dhis.org>
Message-ID: <Pine.GSO.3.96.1001115014410.11897A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 15 Nov 2000, Ralf Baechle wrote:

> In any case, for uniprocessor non-ll/sc machines there is also a better
> solution availble with no syscalls at all.  It's easy to implement, just
> use the fact that any exception will change the values of k0/k1.  That of
> course breaks silently on SMP.

 Can you guarantee it???  Well I can guarantee k0 and k1 won't change when
least expected. ;-)  AFAIK, the only fact guaranteed is that exception
handlers do not preserve the values of the scratch registers, but it does
not mean the last value written there is always different from what was
there upon a handler's entry... 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Tue Nov 14 17:44:42 2000
Received:  by oss.sgi.com id <S553678AbQKOBoc>;
	Tue, 14 Nov 2000 17:44:32 -0800
Received: from u-210.karlsruhe.ipdial.viaginterkom.de ([62.180.18.210]:34820
        "EHLO u-210.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553671AbQKOBoU>; Tue, 14 Nov 2000 17:44:20 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870081AbQKOBn6>;
        Wed, 15 Nov 2000 02:43:58 +0100
Date:   Wed, 15 Nov 2000 02:43:58 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
Message-ID: <20001115024358.A3182@bacchus.dhis.org>
References: <20001115004122.G927@bacchus.dhis.org> <Pine.GSO.3.96.1001115014410.11897A-100000@delta.ds2.pg.gda.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <Pine.GSO.3.96.1001115014410.11897A-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Wed, Nov 15, 2000 at 01:58:21AM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 15, 2000 at 01:58:21AM +0100, Maciej W. Rozycki wrote:

> > In any case, for uniprocessor non-ll/sc machines there is also a better
> > solution availble with no syscalls at all.  It's easy to implement, just
> > use the fact that any exception will change the values of k0/k1.  That of
> > course breaks silently on SMP.
> 
>  Can you guarantee it???  Well I can guarantee k0 and k1 won't change when
> least expected. ;-)  AFAIK, the only fact guaranteed is that exception
> handlers do not preserve the values of the scratch registers, but it does
> not mean the last value written there is always different from what was
> there upon a handler's entry... 

Make that change k0 to a non-zero value.  So a R3000 UP spinlock can look
like:

	move	k0, zero
	li	t0, 1
0:	sw	t0, spin
	bnez	k0, 0b

	[critical section]

	sw	zero, spin

  Ralf

(Who should write thousant times ``I shall not post with a phone in my hand'')

From owner-linux-mips@oss.sgi.com Tue Nov 14 19:13:24 2000
Received:  by oss.sgi.com id <S553678AbQKODNO>;
	Tue, 14 Nov 2000 19:13:14 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:56049 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553688AbQKODM4>;
	Tue, 14 Nov 2000 19:12:56 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eAF3Ac305933;
	Tue, 14 Nov 2000 19:10:38 -0800
Message-ID: <3A11FF44.D7B8D826@mvista.com>
Date:   Tue, 14 Nov 2000 19:13:08 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@oss.sgi.com>
CC:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
        Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
References: <20001115004122.G927@bacchus.dhis.org> <Pine.GSO.3.96.1001115014410.11897A-100000@delta.ds2.pg.gda.pl> <20001115024358.A3182@bacchus.dhis.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Ralf Baechle wrote:
> 
> On Wed, Nov 15, 2000 at 01:58:21AM +0100, Maciej W. Rozycki wrote:
> 
> > > In any case, for uniprocessor non-ll/sc machines there is also a better
> > > solution availble with no syscalls at all.  It's easy to implement, just
> > > use the fact that any exception will change the values of k0/k1.  That of
> > > course breaks silently on SMP.
> >
> >  Can you guarantee it???  Well I can guarantee k0 and k1 won't change when
> > least expected. ;-)  AFAIK, the only fact guaranteed is that exception
> > handlers do not preserve the values of the scratch registers, but it does
> > not mean the last value written there is always different from what was
> > there upon a handler's entry...
> 
> Make that change k0 to a non-zero value.  So a R3000 UP spinlock can look
> like:
> 
>         move    k0, zero
>         li      t0, 1
> 0:      sw      t0, spin
>         bnez    k0, 0b
> 
>         [critical section]
> 
>         sw      zero, spin
> 
>   Ralf
> 
> (Who should write thousant times ``I shall not post with a phone in my hand'')

You should not post when you are sleepy. :-)

The above code does not work - the loop is infinite as nobody will set
k0 to 0 again if it is not zero for the first time.

In fact, I don't think you can perform automic operation ONLY based on
the knowledge whether a context switch has happened during a specified
period.  (It should be interesting to see if we can actually "prove"
it.)

I also doubt if k0 is absolutely non-zero after a context ...

Jun

From owner-linux-mips@oss.sgi.com Tue Nov 14 19:17:35 2000
Received:  by oss.sgi.com id <S553688AbQKODRY>;
	Tue, 14 Nov 2000 19:17:24 -0800
Received: from u-210.karlsruhe.ipdial.viaginterkom.de ([62.180.18.210]:38148
        "EHLO u-210.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553677AbQKODRS>; Tue, 14 Nov 2000 19:17:18 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870081AbQKODQ6>;
        Wed, 15 Nov 2000 04:16:58 +0100
Date:   Wed, 15 Nov 2000 04:16:57 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Jun Sun <jsun@mvista.com>
Cc:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
        Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
Message-ID: <20001115041657.A4556@bacchus.dhis.org>
References: <20001115004122.G927@bacchus.dhis.org> <Pine.GSO.3.96.1001115014410.11897A-100000@delta.ds2.pg.gda.pl> <20001115024358.A3182@bacchus.dhis.org> <3A11FF44.D7B8D826@mvista.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A11FF44.D7B8D826@mvista.com>; from jsun@mvista.com on Tue, Nov 14, 2000 at 07:13:08PM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 14, 2000 at 07:13:08PM -0800, Jun Sun wrote:

> I also doubt if k0 is absolutely non-zero after a context ...

If not the vendor of some R3k based product is in pretty deep sh*t :-)

  Ralf

From owner-linux-mips@oss.sgi.com Tue Nov 14 20:17:04 2000
Received:  by oss.sgi.com id <S553695AbQKOEQz>;
	Tue, 14 Nov 2000 20:16:55 -0800
Received: from [195.103.87.134] ([195.103.87.134]:18469 "EHLO rek.polithema.it")
	by oss.sgi.com with ESMTP id <S553686AbQKOEQt>;
	Tue, 14 Nov 2000 20:16:49 -0800
Received: from rek.polithema.it (TNTPool64.vegasnet.net [208.147.127.64])
	by rek.polithema.it (8.8.5/8.8.5) with SMTP id EAA23341;
	Wed, 15 Nov 2000 04:59:44 +0100
From:   cindy@rek.polithema.it
Message-Id: <200011150359.EAA23341@rek.polithema.it>
Received: from jan@eartyh.net by sammy@ifreenet.com (8.8.5/8.6.5) with SMTP id GAA03315 for <llouyd@lamlamda.com>; Tue, 14 Nov 2000 19:50:20 -0600 (EST)
To:     llouyd@lamlamda.com
Date:   Tue, 14 Nov 00 19:50:20 EST
Subject: hi
Reply-To: therat@theline.net
Comments: Authenticated sender is <lovethe@aolnet.com>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Looking for the hottest girls on the net?

Look no further, we have the youngest, freshest
girls on the Internet. We have thousands of pics,
video clips, and live cams for your entertainment.
If these girls can't get you off, then nobody can!

Try us now for only $1.95 cents, no catch!

What are you waiting for?

http://www.clitchewiing.com/1/index.html
 



From owner-linux-mips@oss.sgi.com Wed Nov 15 03:23:54 2000
Received:  by oss.sgi.com id <S553726AbQKOLXp>;
	Wed, 15 Nov 2000 03:23:45 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:56529 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553695AbQKOLXh>;
	Wed, 15 Nov 2000 03:23:37 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id MAA26149;
	Wed, 15 Nov 2000 12:18:59 +0100 (MET)
Date:   Wed, 15 Nov 2000 12:18:57 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <20001115024358.A3182@bacchus.dhis.org>
Message-ID: <Pine.GSO.3.96.1001115121537.25921A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 15 Nov 2000, Ralf Baechle wrote:

> Make that change k0 to a non-zero value.  So a R3000 UP spinlock can look
> like:
> 
> 	move	k0, zero
> 	li	t0, 1
> 0:	sw	t0, spin
> 	bnez	k0, 0b
> 
> 	[critical section]
> 
> 	sw	zero, spin

 Great! -- I haven't thought of such a solution.  I'll prepare some code
and see whether there are no races.  It should work fine, indeed.

> (Who should write thousant times ``I shall not post with a phone in my hand'')

 ;-)

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Wed Nov 15 03:39:15 2000
Received:  by oss.sgi.com id <S553734AbQKOLjF>;
	Wed, 15 Nov 2000 03:39:05 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:978 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553696AbQKOLix>;
	Wed, 15 Nov 2000 03:38:53 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id MAA26306;
	Wed, 15 Nov 2000 12:21:22 +0100 (MET)
Date:   Wed, 15 Nov 2000 12:21:22 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Jun Sun <jsun@mvista.com>
cc:     Ralf Baechle <ralf@oss.sgi.com>,
        Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <3A11FF44.D7B8D826@mvista.com>
Message-ID: <Pine.GSO.3.96.1001115122023.25921C-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, 14 Nov 2000, Jun Sun wrote:

> I also doubt if k0 is absolutely non-zero after a context ...

 We might force it if we need to...

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Wed Nov 15 05:22:07 2000
Received:  by oss.sgi.com id <S553726AbQKONVr>;
	Wed, 15 Nov 2000 05:21:47 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:47887 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553695AbQKONV0>;
	Wed, 15 Nov 2000 05:21:26 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 63AAC7CD4; Wed, 15 Nov 2000 13:21:09 +0000 (GMT)
Date:   Wed, 15 Nov 2000 13:21:08 +0000
From:   Ian Chilton <ian@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: [mailinglist@ichilton.co.uk: Re: egcs 1.0.3a build error?]
Message-ID: <20001115132108.A22277@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

----- Forwarded message from Ian Chilton <mailinglist@ichilton.co.uk> -----

Date: Wed, 15 Nov 2000 13:19:58 +0000
From: Ian Chilton <mailinglist@ichilton.co.uk>
To: Brady Brown <bbrown@ti.com>
Subject: Re: egcs 1.0.3a build error?

Hello,

> /tmp/cca30501.s: Assembler messages:
> /tmp/cca30501.s:136: Internal error!

I have seen this with the new CVS GCC...

Try compiling with CFLAGS="-O1"
That fixed my problem.


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


----- End forwarded message -----

-- 
Hello,




Thanks!


Bye for Now,

Ian


                                \|||/ 
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov 15 05:53:37 2000
Received:  by oss.sgi.com id <S553769AbQKONx0>;
	Wed, 15 Nov 2000 05:53:26 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:50191 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553747AbQKONxQ>;
	Wed, 15 Nov 2000 05:53:16 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id F19247CD4; Wed, 15 Nov 2000 13:53:14 +0000 (GMT)
Date:   Wed, 15 Nov 2000 13:53:14 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: GCC CVS Checkout Error
Message-ID: <20001115135314.A22336@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

Has anyone else seen this problem?

It was working fine at the weekend, then just stopped working on Monday and has said that every since....


$ cvs -z9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/gcc co gcc

cvs server: existing repository /cvs/gcc/egcs does not match /cvs/gcc/gcc
cvs server: ignoring module gcc


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov 15 08:03:48 2000
Received:  by oss.sgi.com id <S553796AbQKOQD3>;
	Wed, 15 Nov 2000 08:03:29 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:32520 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553787AbQKOQDU>; Wed, 15 Nov 2000 08:03:20 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Wed, 15 Nov 2000 11:02:42 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <W6VAD8C1>; Wed, 15 Nov 2000 11:02:42 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209D3F@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: 5400 rpm drive in an Indy
Date:   Wed, 15 Nov 2000 11:02:58 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

I just got a 5400 rpm full height drive. it is 50 pin scsi and fits in my
Indy. my concern is that the heat will be too much considering that it is
right next to the processor. any Indy users with an opinion on this?

oh, and when i put the ram and drive in, it played a little horn music on
power-up, like the queen was arriving or something. since i have no os
loaded as of yet(still waiting to score a cdrom drive), i don't know what
that music means. 
maybe the queen is coming! christ, i have to go clean up that place :-)

appologies for being off topic yet again, but i can't ask Linux questions
till i get this beast running. 
then, careful what you wish for  :-)

here's a little something on topic though: where can i get a copy of HardHat
on cd? i know it's only based on RedHat 5.1, but it's a place to start.

thanks!

Tim Maloney
Senior Developer
iXL, Inc.
1930 Camden Road, Suite 2070
Charlotte, NC 28203
704 943-7193 phone
tmaloney@ixl.com
www.ixl.com


From owner-linux-mips@oss.sgi.com Wed Nov 15 08:24:59 2000
Received:  by oss.sgi.com id <S553787AbQKOQYt>;
	Wed, 15 Nov 2000 08:24:49 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:42503 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553771AbQKOQYe>; Wed, 15 Nov 2000 08:24:34 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Wed, 15 Nov 2000 11:23:59 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <W6VAD8S8>; Wed, 15 Nov 2000 11:23:58 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209D40@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: re: Indy drive question
Date:   Wed, 15 Nov 2000 11:24:15 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=484497206&ed=97379781

this is the drive in question form my previous email.

Tim Maloney
Senior Developer
iXL, Inc.
1930 Camden Road, Suite 2070
Charlotte, NC 28203
704 943-7193 phone
tmaloney@ixl.com
www.ixl.com


From owner-linux-mips@oss.sgi.com Wed Nov 15 08:59:19 2000
Received:  by oss.sgi.com id <S553850AbQKOQ66>;
	Wed, 15 Nov 2000 08:58:58 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:57871 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553729AbQKOQ6b>;
	Wed, 15 Nov 2000 08:58:31 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 050F17CEC; Wed, 15 Nov 2000 16:58:29 +0000 (GMT)
Date:   Wed, 15 Nov 2000 16:58:29 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     tmaloney@ixl.com
Cc:     linux-mips@oss.sgi.com
Subject: Re: 5400 rpm drive in an Indy
Message-ID: <20001115165829.A22899@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> i don't know what that music means. 

It means: "hey, i'm on and working!"


> here's a little something on topic though: where can i get a copy of HardHat
> on cd? i know it's only based on RedHat 5.1, but it's a place to start.

AFAIK, you can't


ftp://oss.sgi.com/pub/linux/mips/redhat/     :-)


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov 15 11:46:48 2000
Received:  by oss.sgi.com id <S553702AbQKOTqi>;
	Wed, 15 Nov 2000 11:46:38 -0800
Received: from mail.ivm.net ([62.204.1.4]:45410 "EHLO mail.ivm.net")
	by oss.sgi.com with ESMTP id <S553660AbQKOTqd>;
	Wed, 15 Nov 2000 11:46:33 -0800
Received: from franz.no.dom (port73.duesseldorf.ivm.de [195.247.65.73])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id UAA10526;
	Wed, 15 Nov 2000 20:46:21 +0100
X-To:   linux-mips@oss.sgi.com
Message-ID: <XFMail.001115204615.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <20001115004122.G927@bacchus.dhis.org>
Date:   Wed, 15 Nov 2000 20:46:15 +0100 (CET)
Reply-To: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Organization: none
From:   Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To:     Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
Cc:     linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


On 14-Nov-00 Ralf Baechle wrote:
> In any case, for uniprocessor non-ll/sc machines there is also a better
> solution availble with no syscalls at all.  It's easy to implement, just
> use the fact that any exception will change the values of k0/k1.  That of
> course breaks silently on SMP.

Please, we do not even want to think about SMP boxen without ll/sc, do we?

;-)

-- 
Regards,
Harald

From owner-linux-mips@oss.sgi.com Wed Nov 15 11:46:58 2000
Received:  by oss.sgi.com id <S553660AbQKOTqs>;
	Wed, 15 Nov 2000 11:46:48 -0800
Received: from mail.ivm.net ([62.204.1.4]:48738 "EHLO mail.ivm.net")
	by oss.sgi.com with ESMTP id <S553694AbQKOTqi>;
	Wed, 15 Nov 2000 11:46:38 -0800
Received: from franz.no.dom (port73.duesseldorf.ivm.de [195.247.65.73])
	by mail.ivm.net (8.8.8/8.8.8) with ESMTP id UAA10519;
	Wed, 15 Nov 2000 20:46:19 +0100
X-To:   ralf@oss.sgi.com
Message-ID: <XFMail.001115204613.Harald.Koerfgen@home.ivm.de>
X-Mailer: XFMail 1.4.0 on Linux
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <3A11FF44.D7B8D826@mvista.com>
Date:   Wed, 15 Nov 2000 20:46:13 +0100 (CET)
Reply-To: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Organization: none
From:   Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
To:     Jun Sun <jsun@mvista.com>
Subject: Re: Build failure for R3000 DECstation
Cc:     linux-mips@oss.sgi.com, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
        Ralf Baechle <ralf@oss.sgi.com>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


On 15-Nov-00 Jun Sun wrote:
[R3000 UP userland spinlocks]
> In fact, I don't think you can perform automic operation ONLY based on
> the knowledge whether a context switch has happened during a specified
> period.  (It should be interesting to see if we can actually "prove"
> it.)

I doubt this as well, although I'd love to be proven wrong.
 
> I also doubt if k0 is absolutely non-zero after a context ...

That's not the problem here, yes, it is. At least for the the CONFIG_CPU_R3000
case. Have a look at include/asm-mips/stackframe.h, especially the R3000
version of the RESTORE_SP_AND_RET macro.

-- 
Regards,
Harald

From owner-linux-mips@oss.sgi.com Wed Nov 15 12:18:09 2000
Received:  by oss.sgi.com id <S553738AbQKOUR6>;
	Wed, 15 Nov 2000 12:17:58 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:62714 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553708AbQKOURy>;
	Wed, 15 Nov 2000 12:17:54 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eAFKFN319254;
	Wed, 15 Nov 2000 12:15:23 -0800
Message-ID: <3A12EF72.980C8E92@mvista.com>
Date:   Wed, 15 Nov 2000 12:17:54 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
CC:     linux-mips@oss.sgi.com, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>,
        Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
References: <XFMail.001115204613.Harald.Koerfgen@home.ivm.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Harald Koerfgen wrote:
> > I also doubt if k0 is absolutely non-zero after a context ...
> 
> That's not the problem here, yes, it is. At least for the the CONFIG_CPU_R3000
> case. Have a look at include/asm-mips/stackframe.h, especially the R3000
> version of the RESTORE_SP_AND_RET macro.
> 

I did not doubt the non-zero value of k0.  I really doubted the
approach: a userland primitive is based on non-documented,
non-guarranteed kernel stack restoring code.  Once something changes in
kernel, you will get really obscure bugs.

Jun

From owner-linux-mips@oss.sgi.com Wed Nov 15 12:18:18 2000
Received:  by oss.sgi.com id <S553729AbQKOUSJ>;
	Wed, 15 Nov 2000 12:18:09 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:42712 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553682AbQKOURz>;
	Wed, 15 Nov 2000 12:17:55 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id VAA16627;
	Wed, 15 Nov 2000 21:17:35 +0100 (MET)
Date:   Wed, 15 Nov 2000 21:17:35 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Reply-To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
cc:     Jun Sun <jsun@mvista.com>, linux-mips@oss.sgi.com,
        Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <XFMail.001115204613.Harald.Koerfgen@home.ivm.de>
Message-ID: <Pine.GSO.3.96.1001115210032.5687K-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 15 Nov 2000, Harald Koerfgen wrote:

> On 15-Nov-00 Jun Sun wrote:
> [R3000 UP userland spinlocks]
> > In fact, I don't think you can perform automic operation ONLY based on
> > the knowledge whether a context switch has happened during a specified
> > period.  (It should be interesting to see if we can actually "prove"
> > it.)
> 
> I doubt this as well, although I'd love to be proven wrong.

 Well, on UP the only events that can break atomicity are exceptions (here
I treat interrupts as exceptions as well) and DMA accesses.  I don't think
we do DMA to user space, so this should not be a problem.  So if we can
detect an exception occured we may assume an operation failed and retry. 
It's not a problem for an exception handler to clobber k0 or k1 upon exit. 

 Unfortunately we cannot use this implementation in the userland or we
risk problems when running on SMP systems -- an ISA-I user binary might
very well be run on an ISA-II (or higher) SMP system.  But we can use it
in the kernel, for sysmips() and everything else.  All we have to be
careful about is not to allow DMA accesses to spinlocks.  I don't think
this is a problem in reality. 

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Wed Nov 15 12:22:10 2000
Received:  by oss.sgi.com id <S553750AbQKOUWA>;
	Wed, 15 Nov 2000 12:22:00 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:17403 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553736AbQKOUVu>;
	Wed, 15 Nov 2000 12:21:50 -0800
Received: from mvista.com (IDENT:jsun@orion.mvista.com [10.0.0.75])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eAFKJN319524;
	Wed, 15 Nov 2000 12:19:23 -0800
Message-ID: <3A12F062.5E05CA0B@mvista.com>
Date:   Wed, 15 Nov 2000 12:21:54 -0800
From:   Jun Sun <jsun@mvista.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i586)
X-Accept-Language: en
MIME-Version: 1.0
To:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
CC:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com, Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
References: <Pine.GSO.3.96.1001115210032.5687K-100000@delta.ds2.pg.gda.pl>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

"Maciej W. Rozycki" wrote:
> 
> On Wed, 15 Nov 2000, Harald Koerfgen wrote:
> 
> > On 15-Nov-00 Jun Sun wrote:
> > [R3000 UP userland spinlocks]
> > > In fact, I don't think you can perform automic operation ONLY based on
> > > the knowledge whether a context switch has happened during a specified
> > > period.  (It should be interesting to see if we can actually "prove"
> > > it.)
> >
> > I doubt this as well, although I'd love to be proven wrong.
> 
>  Well, on UP the only events that can break atomicity are exceptions (here
> I treat interrupts as exceptions as well) and DMA accesses.  I don't think
> we do DMA to user space, so this should not be a problem.  So if we can
> detect an exception occured we may assume an operation failed and retry.
> It's not a problem for an exception handler to clobber k0 or k1 upon exit.
> 

I gave more thoughts on this.  While your argument sounds plausible, the
devil is in "retry" - without a lower-level atomic operation, you cannot
"restore" the initial condition and conduct a re-try.

Come up with a pseudo code to show I am wrong.

>  Unfortunately we cannot use this implementation in the userland or we
> risk problems when running on SMP systems -- an ISA-I user binary might
> very well be run on an ISA-II (or higher) SMP system.  But we can use it
> in the kernel, for sysmips() and everything else.  All we have to be
> careful about is not to allow DMA accesses to spinlocks.  I don't think
> this is a problem in reality.
>

Let us solve UP first. :-)

 
Jun

From owner-linux-mips@oss.sgi.com Wed Nov 15 12:32:19 2000
Received:  by oss.sgi.com id <S553775AbQKOUcK>;
	Wed, 15 Nov 2000 12:32:10 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:53976 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553736AbQKOUby>;
	Wed, 15 Nov 2000 12:31:54 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id VAA17243;
	Wed, 15 Nov 2000 21:31:41 +0100 (MET)
Date:   Wed, 15 Nov 2000 21:31:41 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Reply-To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Jun Sun <jsun@mvista.com>
cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com, Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <3A12EF72.980C8E92@mvista.com>
Message-ID: <Pine.GSO.3.96.1001115211935.5687L-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 15 Nov 2000, Jun Sun wrote:

> I did not doubt the non-zero value of k0.  I really doubted the
> approach: a userland primitive is based on non-documented,
> non-guarranteed kernel stack restoring code.  Once something changes in
> kernel, you will get really obscure bugs.

 We need not rely on a non-documented behaviour.  We may clobber k0
explicitly, e.g.:

#define RESTORE_SP_AND_RET			\
		.set	push;			\
		.set	noreorder;		\
		lw	k1, PT_EPC(sp);		\
		lw	sp, PT_R29(sp);		\
		nor	k0, zero, zero;		\
		jr	k1;			\
		 rfe;				\
		.set	pop

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +



From owner-linux-mips@oss.sgi.com Wed Nov 15 12:32:19 2000
Received:  by oss.sgi.com id <S553736AbQKOUcK>;
	Wed, 15 Nov 2000 12:32:10 -0800
Received: from serv1.is1.u-net.net ([195.102.240.129]:23759 "EHLO
        serv1.is1.u-net.net") by oss.sgi.com with ESMTP id <S553766AbQKOUcG>;
	Wed, 15 Nov 2000 12:32:06 -0800
Received: from [213.48.88.191] (helo=zurg)
	by serv1.is1.u-net.net with smtp (Exim 3.12 #1)
	id 13w9Dt-0006H9-00; Wed, 15 Nov 2000 20:32:02 +0000
From:   "Ian Chilton" <ian@ichilton.co.uk>
To:     "Brady Brown" <bbrown@ti.com>
Cc:     "Linux-MIPS Mailing List" <linux-mips@oss.sgi.com>
Subject: RE: egcs 1.0.3a build error?
Date:   Wed, 15 Nov 2000 20:33:41 -0000
Message-ID: <NAENLMKGGBDKLPONCDDOAEMGDCAA.ian@ichilton.co.uk>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <3A12F036.40753275@ti.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> Thank you, I tried that and had the same result?? Maybe there are other
> CFLAGS that I need to specify?

Don't think so...it worked for me, but this was CVS GCC, not 1.0.3a. I have
had no such problems with 1.0.3a.

> CFLAGS=-O1

humm...I used CFLAGS="-O1"
donno what difference the quotes make, if any...


> --enable-languages=c c++

I use c,c++

You could also try just --enable-languages=c  then using that to compile one
with c,c++ I have done that in the past too!


> Have you been successful in getting Egcs-1.0.3a-2 to build natively on a
> MIPS little endian system?

No, big endian. Have compiled on an Indy and an I2 loads of times...


Bye for Now,

Ian


                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 \-----------------------------------------------------------------/



From owner-linux-mips@oss.sgi.com Wed Nov 15 16:13:10 2000
Received:  by oss.sgi.com id <S553806AbQKPANA>;
	Wed, 15 Nov 2000 16:13:00 -0800
Received: from u-6.karlsruhe.ipdial.viaginterkom.de ([62.180.20.6]:46597 "EHLO
        u-6.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP
	id <S553717AbQKPAMx>; Wed, 15 Nov 2000 16:12:53 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870082AbQKOHwp>;
        Wed, 15 Nov 2000 08:52:45 +0100
Date:   Wed, 15 Nov 2000 08:52:45 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc:     Ian Chilton <ian@ichilton.co.uk>, linux-mips@oss.sgi.com,
        lfs-discuss@linuxfromscratch.org, Andreas Jaeger <aj@suse.de>
Subject: Re: User/Group Problem
Message-ID: <20001115085244.A5153@bacchus.dhis.org>
References: <20001113231949.B16012@bacchus.dhis.org> <Pine.GSO.3.96.1001114150916.17140A-100000@delta.ds2.pg.gda.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <Pine.GSO.3.96.1001114150916.17140A-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Tue, Nov 14, 2000 at 03:19:11PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, Nov 14, 2000 at 03:19:11PM +0100, Maciej W. Rozycki wrote:

> > There is second interpretation of this problem - the address passed to
> > mmap is bogus, so this computation needs to be fixed.
> 
>  Where is it written mmap() is allowed to fail when a bogus VM address is
> passed but MAP_FIXED is not set?  I believe mmap() should choose a
> different VM address in this case, as long as much enough contiguous VM
> space is available anywhere to satisfy the requested length.

No argument about that, I do agree.

>  Surely, map_segment() (see dl-load.c) might call mmap(0, ...) after
> mmap(<some_address>, ...) fails when MAP_FIXED is not set but wouldn't
> that be a dirty hack?  We'd better fix the kernel. 

Ld.so isn't linked to the same base address as all other libraries for
obscure reasons.  Right now dl-machine.h use the constant value of 0x5ffe0000
as the base address which it assumes all libraries to be linked to - and that
makes us calculate the wrong base address which we're passing to mmap.

So we've got two bugs, not just one.  I knew about the ld.so part since
Linux/MIPS has shared libs.  It's just that this is the first time this bug
bites us.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov 15 17:28:02 2000
Received:  by oss.sgi.com id <S553822AbQKPB1v>;
	Wed, 15 Nov 2000 17:27:51 -0800
Received: from u-6.karlsruhe.ipdial.viaginterkom.de ([62.180.20.6]:55301 "EHLO
        u-6.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP
	id <S553687AbQKPB1e>; Wed, 15 Nov 2000 17:27:34 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868642AbQKPB1K>;
        Thu, 16 Nov 2000 02:27:10 +0100
Date:   Thu, 16 Nov 2000 02:27:10 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
Message-ID: <20001116022710.E6979@bacchus.dhis.org>
References: <20001115024358.A3182@bacchus.dhis.org> <Pine.GSO.3.96.1001115121537.25921A-100000@delta.ds2.pg.gda.pl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <Pine.GSO.3.96.1001115121537.25921A-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Wed, Nov 15, 2000 at 12:18:57PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 15, 2000 at 12:18:57PM +0100, Maciej W. Rozycki wrote:

>  Great! -- I haven't thought of such a solution.  I'll prepare some code
> and see whether there are no races.  It should work fine, indeed.

I'm still not completly happy - it's a somewhat hackish solution.  I'm
thinking about a special file which can be mmaped into the process address
space and contains processor specific optimized code.  This also has other
uses.  One that comes to my mind are trampolines.  Right now we have to
make a syscall to flush the cache.  But on the RM7000 some cacheflush
operations are available in userspace.  I'm sure we can come up with more
uses.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov 15 17:57:51 2000
Received:  by oss.sgi.com id <S553817AbQKPB5l>;
	Wed, 15 Nov 2000 17:57:41 -0800
Received: from u-6.karlsruhe.ipdial.viaginterkom.de ([62.180.20.6]:56069 "EHLO
        u-6.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP
	id <S553704AbQKPB5T>; Wed, 15 Nov 2000 17:57:19 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868642AbQKPB5D>;
        Thu, 16 Nov 2000 02:57:03 +0100
Date:   Thu, 16 Nov 2000 02:57:03 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Ian Chilton <ian@ichilton.co.uk>
Cc:     Brady Brown <bbrown@ti.com>,
        Linux-MIPS Mailing List <linux-mips@oss.sgi.com>
Subject: Re: egcs 1.0.3a build error?
Message-ID: <20001116025703.F6979@bacchus.dhis.org>
References: <3A12F036.40753275@ti.com> <NAENLMKGGBDKLPONCDDOAEMGDCAA.ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <NAENLMKGGBDKLPONCDDOAEMGDCAA.ian@ichilton.co.uk>; from ian@ichilton.co.uk on Wed, Nov 15, 2000 at 08:33:41PM -0000
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 15, 2000 at 08:33:41PM -0000, Ian Chilton wrote:

> > Thank you, I tried that and had the same result?? Maybe there are other
> > CFLAGS that I need to specify?
> 
> Don't think so...it worked for me, but this was CVS GCC, not 1.0.3a. I have
> had no such problems with 1.0.3a.
> 
> > CFLAGS=-O1
> 
> humm...I used CFLAGS="-O1"
> donno what difference the quotes make, if any...

No difference.

In any case he seems to hit a different problem than the one you're
refering to which only happens when using an old gcc suchs as egcs 1.0.3a
without optimization for compilation of a fairly recent one.

  Ralf

From owner-linux-mips@oss.sgi.com Thu Nov 16 04:21:54 2000
Received:  by oss.sgi.com id <S553708AbQKPMVo>;
	Thu, 16 Nov 2000 04:21:44 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:13792 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553690AbQKPMVR>;
	Thu, 16 Nov 2000 04:21:17 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id NAA13311;
	Thu, 16 Nov 2000 13:13:41 +0100 (MET)
Date:   Thu, 16 Nov 2000 13:13:40 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     Ian Chilton <ian@ichilton.co.uk>, linux-mips@oss.sgi.com,
        lfs-discuss@linuxfromscratch.org, Andreas Jaeger <aj@suse.de>
Subject: Re: User/Group Problem
In-Reply-To: <20001115085244.A5153@bacchus.dhis.org>
Message-ID: <Pine.GSO.3.96.1001116125444.12770A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 15 Nov 2000, Ralf Baechle wrote:

> Ld.so isn't linked to the same base address as all other libraries for
> obscure reasons.  Right now dl-machine.h use the constant value of 0x5ffe0000
> as the base address which it assumes all libraries to be linked to - and that
> makes us calculate the wrong base address which we're passing to mmap.

 I don't count this as a bug.  The ELF spec allows shared objects to be
loaded with any load address.  In fact it's great we are non-standard here
-- this makes catching bugs easier.  I've already found and fixed a few
bugs in gdb thanks to this difference. 

> So we've got two bugs, not just one.  I knew about the ld.so part since
> Linux/MIPS has shared libs.  It's just that this is the first time this bug
> bites us.

 I insist there is a kernel bug only.  We might change the enforced base
address within ld.so one day to be more like other archs, but let's keep
it for now -- this really benefits.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Thu Nov 16 05:34:04 2000
Received:  by oss.sgi.com id <S553716AbQKPNdx>;
	Thu, 16 Nov 2000 05:33:53 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:13793 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553702AbQKPNdn>;
	Thu, 16 Nov 2000 05:33:43 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id OAA15837;
	Thu, 16 Nov 2000 14:23:42 +0100 (MET)
Date:   Thu, 16 Nov 2000 14:23:41 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Reply-To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Jun Sun <jsun@mvista.com>
cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com, Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <3A12F062.5E05CA0B@mvista.com>
Message-ID: <Pine.GSO.3.96.1001116131651.12770B-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, 15 Nov 2000, Jun Sun wrote:

> I gave more thoughts on this.  While your argument sounds plausible, the
> devil is in "retry" - without a lower-level atomic operation, you cannot
> "restore" the initial condition and conduct a re-try.

 You are right -- it's not that trivial, if at all possible (assuming O(1)
memory usage).

> Come up with a pseudo code to show I am wrong.

 I'm thinking -- I'll provide results if I invent something useful.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Thu Nov 16 06:08:44 2000
Received:  by oss.sgi.com id <S553724AbQKPOIf>;
	Thu, 16 Nov 2000 06:08:35 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:46049 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553715AbQKPOIW>;
	Thu, 16 Nov 2000 06:08:22 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id OAA16404;
	Thu, 16 Nov 2000 14:41:14 +0100 (MET)
Date:   Thu, 16 Nov 2000 14:41:13 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-mips@oss.sgi.com
Subject: Re: Build failure for R3000 DECstation
In-Reply-To: <20001116022710.E6979@bacchus.dhis.org>
Message-ID: <Pine.GSO.3.96.1001116142410.15690A-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, 16 Nov 2000, Ralf Baechle wrote:

> I'm still not completly happy - it's a somewhat hackish solution.  I'm
> thinking about a special file which can be mmaped into the process address
> space and contains processor specific optimized code.  This also has other
> uses.  One that comes to my mind are trampolines.  Right now we have to
> make a syscall to flush the cache.  But on the RM7000 some cacheflush
> operations are available in userspace.  I'm sure we can come up with more
> uses.

 I don't actually think this is needed.  All I worry about are inline
functions.  They must be fast and work on anything equal or better then
the host they were built for.  Normal functions are not a problem -- they
may be converted to wrappers that call various backends indirectly.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Thu Nov 16 13:15:47 2000
Received:  by oss.sgi.com id <S553781AbQKPVPh>;
	Thu, 16 Nov 2000 13:15:37 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:14717 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S553766AbQKPVPa>; Thu, 16 Nov 2000 13:15:30 -0800
Received: from zeus-fddi.americas.sgi.com (zeus-fddi.americas.sgi.com [128.162.8.103]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id NAA09266
	for <linux-mips@oss.sgi.com>; Thu, 16 Nov 2000 13:23:18 -0800 (PST)
	mail_from (jberens@sgi.com)
Received: from poppy-e185.americas.sgi.com (poppy.americas.sgi.com [128.162.185.207]) by zeus-fddi.americas.sgi.com (8.9.3/americas-smart-nospam1.1) with ESMTP id PAA7686803 for <linux-mips@oss.sgi.com>; Thu, 16 Nov 2000 15:14:14 -0600 (CST)
Received: from jberens.americas.sgi.com (jberens.americas.sgi.com [128.162.186.11]) by poppy-e185.americas.sgi.com (980427.SGI.8.8.8/SGI-server-1.7) with ESMTP id PAA88645 for <linux-mips@oss.sgi.com>; Thu, 16 Nov 2000 15:14:13 -0600 (CST)
Date:   Thu, 16 Nov 2000 15:10:53 -0600
From:   Joe Berens <jberens@sgi.com>
X-Sender: jberens@jberens.americas.sgi.com
To:     linux-mips@oss.sgi.com
Subject: X
Message-ID: <Pine.SGI.4.10.10011161506530.11923-100000@jberens.americas.sgi.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I have compiled X on my Indy running linux following the directions found
at http://honk.physik.uni-konstanz.de/~agx/mipslinux/x/x.html.  When i to
startx it seems to start X but no x ever shows up.  From
/var/log/xdm-errrors:

XFree86 Version 4.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 1 July 2000
        If the server is older than 6-12 months, or if your card is newer
        than the above date, look for a newer version before reporting
        problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.1.100 mips [ELF] 
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 15 11:32:55 2000
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "simple layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "SGI GDM17e11"
(**) |   |-->Device "Newport Graphics"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
        Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(--) using VT number 7

(EE) No OS PCI support available
(II) v4l driver for Video4Linux
(II) Newport: driver for Newport Graphics Card: XL
(**) Newport(0): Depth 8, (--) framebuffer bpp 8
(==) Newport(0): Default visual is PseudoColor
(==) Newport(0): Using gamma correction (1.0, 1.0, 1.0)
xdm error (pid 4268): Hung in XOpenDisplay(:0), aborting
xdm error (pid 4268): server open failed for :0, giving up
xdm error (pid 4265): Display :0 cannot be opened

Any help?

Thank you,

Joe



___________________________________

Joe Berens
SGI Customer Support Center
Operating Systems Group
Phone: 800-800-4744, Direct: 651-683-3254
Email: jberens@sgi.com

___________________________________


From owner-linux-mips@oss.sgi.com Thu Nov 16 17:16:28 2000
Received:  by oss.sgi.com id <S553808AbQKQBQT>;
	Thu, 16 Nov 2000 17:16:19 -0800
Received: from [206.207.108.63] ([206.207.108.63]:27481 "HELO
        ridgerun-lx.ridgerun.cxm") by oss.sgi.com with SMTP
	id <S553675AbQKQBQD>; Thu, 16 Nov 2000 17:16:03 -0800
Received: (qmail 31550 invoked from network); 16 Nov 2000 18:15:51 -0700
Received: from stevej-lx.ridgerun.cxm (HELO ridgerun.com) (stevej@192.168.1.4)
  by ridgerun-lx.ridgerun.cxm with SMTP; 16 Nov 2000 18:15:51 -0700
Message-ID: <3A1486C7.408C50DE@ridgerun.com>
Date:   Thu, 16 Nov 2000 18:15:51 -0700
From:   Steve Johnson <stevej@ridgerun.com>
Organization: Ridgerun, Inc.
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: MIPS config.in NET configuration
Content-Type: multipart/mixed;
 boundary="------------E67C727199CC0F7C045E6927"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This is a multi-part message in MIME format.
--------------E67C727199CC0F7C045E6927
Content-Type: multipart/alternative;
 boundary="------------015809693C09D4C35C44B073"


--------------015809693C09D4C35C44B073
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

    I'm trying to add support for a Galileo Tech. EV64120A board,
building on Pete Popov's work that's already in CVS.  I'm having trouble
with the "Network device support" menu when I "make xconfig".

    If I select "Galileo EV96100 Evaluation board" on the "Machine
selection" menu, I can't select PPP support in the "Network device
support" menu because the IP22/Decstation/Baget code in
arch/mips/config.in eclipses the normal net menu's CONFIG_PPP.  Is there
a reasonable way to resolve two different environments needing the same
variable defined?

    The same problem exists for CONFIG_SERIAL, which is defined by the
Decstation and doesn't let me use the normal character device 16550 UART
menu item.

    Please note that this is only a problem for "make xconfig".  "make
menuconfig" works correctly and selects one set of responses for network
devices based on the machine selection.  Is that the solution, that
everyone in MIPS uses "make menuconfig"?

if [ "$CONFIG_NET" = "y" ]; then
   mainmenu_option next_comment
   comment 'Network device support'

   bool 'Network device support' CONFIG_NETDEVICES
   if [ "$CONFIG_NETDEVICES" = "y" ]; then

      if [ "$CONFIG_SGI_IP22" != "y" -a \
          "$CONFIG_DECSTATION" != "y" -a \
    "$CONFIG_BAGET_MIPS" != "y" ]; then

  source drivers/net/Config.in

  if [ "$CONFIG_ATM" = "y" ]; then
     source drivers/atm/Config.in
  fi
      else
  tristate 'Dummy net driver support' CONFIG_DUMMY
  tristate 'SLIP (serial line) support' CONFIG_SLIP
  if [ "$CONFIG_SLIP" != "n" ]; then
     bool ' CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
     bool ' Keepalive and linefill' CONFIG_SLIP_SMART
  fi
  tristate 'PPP (point-to-point) support' CONFIG_PPP
  if [ ! "$CONFIG_PPP" = "n" ]; then
     comment 'CCP compressors for PPP are only built as modules.'
  fi
         if [ "$CONFIG_SGI_IP22" = "y" ]; then
     bool 'SGI Seeq ethernet controller support' CONFIG_SGISEEQ
  fi
  if [ "$CONFIG_DECSTATION" = "y" ]; then
     bool 'DEC LANCE ethernet controller support' CONFIG_DECLANCE
  fi
  if [ "$CONFIG_BAGET_MIPS" = "y" ]; then
     tristate 'Baget AMD LANCE support' CONFIG_BAGETLANCE
  fi
      fi
   fi
   endmenu
fi


    Steve


--------------015809693C09D4C35C44B073
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>&nbsp;&nbsp;&nbsp; I'm trying to add support for a Galileo Tech. EV64120A
board, building on Pete Popov's work that's already in CVS.&nbsp; I'm having
trouble with the "Network device support" menu when I "make xconfig".
<p>&nbsp;&nbsp;&nbsp; If I select "Galileo EV96100 Evaluation board" on
the "Machine selection" menu, I can't select PPP support in the "Network
device support" menu because the IP22/Decstation/Baget code in arch/mips/config.in
eclipses the normal net menu's CONFIG_PPP.&nbsp; Is there a reasonable
way to resolve two different environments needing the same variable defined?
<p>&nbsp;&nbsp;&nbsp; The same problem exists for CONFIG_SERIAL, which
is defined by the Decstation and doesn't let me use the normal character
device 16550 UART menu item.
<p>&nbsp;&nbsp;&nbsp; Please note that this is only a problem for "make
xconfig".&nbsp; "make menuconfig" works correctly and selects one set of
responses for network devices based on the machine selection.&nbsp; Is
that the solution, that everyone in MIPS uses "make menuconfig"?
<p><tt>if [ "$CONFIG_NET" = "y" ]; then</tt>
<br><tt>&nbsp;&nbsp; mainmenu_option next_comment</tt>
<br><tt>&nbsp;&nbsp; comment 'Network device support'</tt><tt></tt>
<p><tt>&nbsp;&nbsp; bool 'Network device support' CONFIG_NETDEVICES</tt>
<br><tt>&nbsp;&nbsp; if [ "$CONFIG_NETDEVICES" = "y" ]; then</tt><tt></tt>
<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ "$CONFIG_SGI_IP22" != "y" -a
\</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "$CONFIG_DECSTATION"
!= "y" -a \</tt>
<br><tt>&nbsp;&nbsp;&nbsp; "$CONFIG_BAGET_MIPS" != "y" ]; then</tt><tt></tt>
<p><tt>&nbsp; source drivers/net/Config.in</tt><tt></tt>
<p><tt>&nbsp; if [ "$CONFIG_ATM" = "y" ]; then</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; source drivers/atm/Config.in</tt>
<br><tt>&nbsp; fi</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else</tt>
<br><tt>&nbsp; tristate 'Dummy net driver support' CONFIG_DUMMY</tt>
<br><tt>&nbsp; tristate 'SLIP (serial line) support' CONFIG_SLIP</tt>
<br><tt>&nbsp; if [ "$CONFIG_SLIP" != "n" ]; then</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; bool ' CSLIP compressed headers' CONFIG_SLIP_COMPRESSED</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; bool ' Keepalive and linefill' CONFIG_SLIP_SMART</tt>
<br><tt>&nbsp; fi</tt>
<br><tt>&nbsp; tristate 'PPP (point-to-point) support' CONFIG_PPP</tt>
<br><tt>&nbsp; if [ ! "$CONFIG_PPP" = "n" ]; then</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; comment 'CCP compressors for PPP are only
built as modules.'</tt>
<br><tt>&nbsp; fi</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ "$CONFIG_SGI_IP22"
= "y" ]; then</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; bool 'SGI Seeq ethernet controller support'
CONFIG_SGISEEQ</tt>
<br><tt>&nbsp; fi</tt>
<br><tt>&nbsp; if [ "$CONFIG_DECSTATION" = "y" ]; then</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; bool 'DEC LANCE ethernet controller support'
CONFIG_DECLANCE</tt>
<br><tt>&nbsp; fi</tt>
<br><tt>&nbsp; if [ "$CONFIG_BAGET_MIPS" = "y" ]; then</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp; tristate 'Baget AMD LANCE support' CONFIG_BAGETLANCE</tt>
<br><tt>&nbsp; fi</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi</tt>
<br><tt>&nbsp;&nbsp; fi</tt>
<br><tt>&nbsp;&nbsp; endmenu</tt>
<br><tt>fi</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p>&nbsp;&nbsp;&nbsp; Steve
<br>&nbsp;</html>

--------------015809693C09D4C35C44B073--

--------------E67C727199CC0F7C045E6927
Content-Type: text/x-vcard; charset=us-ascii;
 name="stevej.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Steve Johnson
Content-Disposition: attachment;
 filename="stevej.vcf"

begin:vcard 
n:Johnson;Steve
tel;fax:208-331-2227
tel;work:208-331-2226x11
x-mozilla-html:TRUE
url:http://www.ridgerun.com
org:RidgeRun, Inc.
version:2.1
email;internet:stevej@ridgerun.com
title:Senior Kernel Developer
adr;quoted-printable:;;RidgeRun, Inc.=0D=0A200 N 4th St, Suite 101		;Boise;ID;83702;USA
x-mozilla-cpt:;27936
fn:Steve Johnson
end:vcard

--------------E67C727199CC0F7C045E6927--


From owner-linux-mips@oss.sgi.com Thu Nov 16 17:44:59 2000
Received:  by oss.sgi.com id <S553865AbQKQBou>;
	Thu, 16 Nov 2000 17:44:50 -0800
Received: from gateway-490.mvista.com ([63.192.220.206]:36090 "EHLO
        hermes.mvista.com") by oss.sgi.com with ESMTP id <S553829AbQKQBog>;
	Thu, 16 Nov 2000 17:44:36 -0800
Received: from mvista.com (IDENT:ppopov@zeus.mvista.com [10.0.0.112])
	by hermes.mvista.com (8.11.0/8.11.0) with ESMTP id eAH1fi328800;
	Thu, 16 Nov 2000 17:41:44 -0800
Message-ID: <3A148E0C.5056F18A@mvista.com>
Date:   Thu, 16 Nov 2000 17:46:52 -0800
From:   Pete Popov <ppopov@mvista.com>
Organization: Monta Vista Software
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i586)
X-Accept-Language: bg, en
MIME-Version: 1.0
To:     Steve Johnson <stevej@ridgerun.com>,
        "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: RE: MIPS config.in NET configuration
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Hi Steve,

> I'm trying to add support for a Galileo Tech. EV64120A board,
>building on Pete Popov's work that's already in CVS.  I'm having trouble
>with the "Network device support" menu when I "make xconfig".

xconfig was broken for me the last time I did some powerpc work as
well.  If you want to be really safe, use "make config".

>    If I select "Galileo EV96100 Evaluation board" on the "Machine
>selection" menu, I can't select PPP support in the "Network device
>support" menu because the IP22/Decstation/Baget code in
>arch/mips/config.in eclipses the normal net menu's CONFIG_PPP.  Is there
>a reasonable way to resolve two different environments needing the same
>variable defined?

>    The same problem exists for CONFIG_SERIAL, which is defined by the
>Decstation and doesn't let me use the normal character device 16550 UART
>menu item.

>    Please note that this is only a problem for "make xconfig".  "make
>menuconfig" works correctly and selects one set of responses for network
>devices based on the machine selection.  Is that the solution, that
>everyone in MIPS uses "make menuconfig"?

BTW, I hope that by the end of next week, I'll be able to send Ralf the
latest patches for the ev96100. It's running pretty well now with the
scache enabled, but I found 96100 misconfiguration problems in the sdram
decoders/subdecoders. The DEC tulip (with one small patch), serial.c
(small patch again) also run fine, as well as the 96100 internal
10/100Mbps controllers.

-- 
Pete Popov
MontaVista Software, Inc
ppopov@mvista.com

From owner-linux-mips@oss.sgi.com Fri Nov 17 01:26:01 2000
Received:  by oss.sgi.com id <S553802AbQKQJZw>;
	Fri, 17 Nov 2000 01:25:52 -0800
Received: from gandalf.physik.uni-konstanz.de ([134.34.144.69]:56082 "EHLO
        gandalf.physik.uni-konstanz.de") by oss.sgi.com with ESMTP
	id <S553779AbQKQJZa>; Fri, 17 Nov 2000 01:25:30 -0800
Received: from gimli.physik.uni-konstanz.de [134.34.144.85] 
	by gandalf.physik.uni-konstanz.de with esmtp (Exim 3.12 #1 (Debian))
	id 13whlq-00066M-00; Fri, 17 Nov 2000 10:25:22 +0100
Received: from agx by gimli.physik.uni-konstanz.de with local (Exim 3.12 #1 (Debian))
	id 13whlq-0000rI-00; Fri, 17 Nov 2000 10:25:22 +0100
Date:   Fri, 17 Nov 2000 10:25:22 +0100
From:   Guido Guenther <guido.guenther@gmx.net>
To:     Joe Berens <jberens@sgi.com>
Cc:     linux-mips@oss.sgi.com
Subject: Re: X
Message-ID: <20001117102522.A2972@gimli.physik.uni-konstanz.de>
References: <Pine.SGI.4.10.10011161506530.11923-100000@jberens.americas.sgi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
In-Reply-To: <Pine.SGI.4.10.10011161506530.11923-100000@jberens.americas.sgi.com>; from jberens@sgi.com on Thu, Nov 16, 2000 at 03:10:53PM -0600
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 16, 2000 at 03:10:53PM -0600, Joe Berens wrote:
> Hello,
> 
> I have compiled X on my Indy running linux following the directions found
> at http://honk.physik.uni-konstanz.de/~agx/mipslinux/x/x.html.  When i to
> startx it seems to start X but no x ever shows up.  From
> /var/log/xdm-errrors:
> 
[..snip..] 
> Operating System: Linux 2.1.100 mips [ELF] 
> xdm error (pid 4268): Hung in XOpenDisplay(:0), aborting
> xdm error (pid 4268): server open failed for :0, giving up
> xdm error (pid 4265): Display :0 cannot be opened
I've never seen this kind of error before but the kernel you're using is
ancient, probably switching to a more recent one helps (2.2.16 and
2.4.0-test9 work fine for me). What version of glibc are you using? If
it is as old as your kernel you won't get anything to work.( I'm using
2.0.6-5lm here).
Regards,
 -- Guido

From owner-linux-mips@oss.sgi.com Fri Nov 17 04:58:02 2000
Received:  by oss.sgi.com id <S553810AbQKQM5w>;
	Fri, 17 Nov 2000 04:57:52 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:7441 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553781AbQKQM53>;
	Fri, 17 Nov 2000 04:57:29 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id D0EEC7CF8; Fri, 17 Nov 2000 12:57:27 +0000 (GMT)
Date:   Fri, 17 Nov 2000 12:57:27 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: GCC Version Error
Message-ID: <20001117125727.A26459@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

Did we ever find a solution to this problem?

/usr/bin/ld:libgcc.map:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
make[2]: Leaving directory `/mnt/hd2/lfstmp/gcc-001019/gcc-build/gcc'
make[1]: *** [libgcc.a] Error 2
 

Thanks!


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Fri Nov 17 10:40:35 2000
Received:  by oss.sgi.com id <S553826AbQKQSkZ>;
	Fri, 17 Nov 2000 10:40:25 -0800
Received: from u-248.karlsruhe.ipdial.viaginterkom.de ([62.180.19.248]:11527
        "EHLO u-248.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553804AbQKQSkX>; Fri, 17 Nov 2000 10:40:23 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870081AbQKQOAo>;
        Fri, 17 Nov 2000 15:00:44 +0100
Date:   Fri, 17 Nov 2000 15:00:44 +0100
From:   Ralf Baechle <ralf@uni-koblenz.de>
To:     linux-mips@oss.sgi.com
Subject: [owner-linux-mips@oss.sgi.com: BOUNCE linux-mips@oss.sgi.com:  global taboo header: /^subject:\s*test\b/i]
Message-ID: <20001117150044.E3304@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Forwarding this posting which got delayed by the SPAM & Idiot Filter (TM) ...

  Ralf

From carstenl@mips.com Fri Nov 17 02:58:52 2000
Received: from mx.mips.com ([206.31.31.226]:9462 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553781AbQKQK6i>;
	Fri, 17 Nov 2000 02:58:38 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id CAA19827
	for <linux-mips@oss.sgi.com>; Fri, 17 Nov 2000 02:58:11 -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 CAA25129
	for <linux-mips@oss.sgi.com>; Fri, 17 Nov 2000 02:58:32 -0800 (PST)
Received: from mips.com (copsun17 [192.168.205.27])
	by copfs01.mips.com (8.9.1/8.9.0) with ESMTP id LAA03874
	for <linux-mips@oss.sgi.com>; Fri, 17 Nov 2000 11:58:19 +0100 (MET)
Sender: carstenl@mips.com
Message-ID: <3A150F4A.4288529C@mips.com>
Date:   Fri, 17 Nov 2000 11:58:18 +0100
From:   Carsten Langgaard <carstenl@mips.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: Test your system to the limit.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Return-Path: <carstenl@mips.com>
X-Orcpt: rfc822;linux-mips@oss.sgi.com

Has anyone try to run Doom or Quake on their MIPS-linux box ?
I know it may be of topic, but it is a real good test of one's system
and a great demon.
So if any one could point me to some sources, it would be great.

Another fine test is crashme, has anyone dared try that one ?
I have been running it on our 2.2.12 kernel for some time with great
success, but I have some problems with the 2.4.0 kernel.
Has anyone tried crashme on the latest 2.4.0 kernel ?

/Carsten


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

From owner-linux-mips@oss.sgi.com Fri Nov 17 17:27:47 2000
Received:  by oss.sgi.com id <S553830AbQKRB1h>;
	Fri, 17 Nov 2000 17:27:37 -0800
Received: from gw-us4.philips.com ([63.114.235.90]:18692 "EHLO convert rfc822-to-8bitom.com
        gw-us4.philips.com") by oss.sgi.com with ESMTP id <S553827AbQKRB1c>;
	Fri, 17 Nov 2000 17:27:32 -0800
Received: from smtprelay-us2.philips.com (localhost.philips.com [127.0.0.1])
          by gw-us4.philips.com with ESMTP id TAA10357;
          Fri, 17 Nov 2000 19:27:14 -0600 (CST)
          (envelope-from rajesh.palani@philips.com)
From:   rajesh.palani@philips.com
Received: from smtprelay-nam2.philips.com(167.81.233.16) by gw-us4.philips.com via mwrap (4.0a)
	id xma010355; Fri, 17 Nov 00 19:27:14 -0600
Received: from AMLMS01.DIAMOND.PHILIPS.COM (amlms01sv1.diamond.philips.com [161.88.79.213]) 
	by smtprelay-us2.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id TAA07906; Fri, 17 Nov 2000 19:27:13 -0600 (CST)
Received: by AMLMS01.DIAMOND.PHILIPS.COM (Soft-Switch LMS 4.0) with snapi
          via AMEC id 0056910008698539; Fri, 17 Nov 2000 19:28:50 -0600
To:     <linux-mips@oss.sgi.com>, <linux-mips@fnet.fr>
Subject: sysmips syscall
Message-ID: <0056910008698539000002L192*@MHS>
Date:   Fri, 17 Nov 2000 19:28:50 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; name="MEMO 11/17/00 19:26:59"
Content-Transfer-Encoding: 8BIT
Content-Disposition: inline
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi,

   The following lines appear in the linuxthreads/sysdeps/mips/pt-machine.h file in version
LinuxThreads 2.1.2:

TODO: This version makes use of MIPS ISA 2 features.  It won't
   work on ISA 1.  These machines will have to take the overhead of
   a sysmips(MIPS_ATOMIC_SET, ...) syscall which isn't implemented
   yet correctly.  There is however a better solution for R3000
   uniprocessor machines possible.

My questions are:
1.  Is the sysmips syscall implemented correctly yet?
2.  What is the better solution for R3000 uniprocessor machines?
3.  Does anyone have a patch for LinuxThreads that supports MIPS ISA 1?

   Thanks and regards,

   Rajesh 


From owner-linux-mips@oss.sgi.com Sat Nov 18 04:15:33 2000
Received:  by oss.sgi.com id <S553810AbQKRMPX>;
	Sat, 18 Nov 2000 04:15:23 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:33553 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553779AbQKRMPM>;
	Sat, 18 Nov 2000 04:15:12 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 771A17CF8; Sat, 18 Nov 2000 12:15:10 +0000 (GMT)
Date:   Sat, 18 Nov 2000 12:15:10 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Wierd Boot Problem
Message-ID: <20001118121510.A28176@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I am currently cross-compiling 2.4 cvs kernels with different versions
of GCC, to find out when GCC broke...

I now have a few kernels here, all of which boot find on my Indy R4600

However, none of them will boot on my I2.

Obtaining /vmlinux from server slinky
  /                                  

Every time I try it, and with which ever kernel I use, the cursor
always stops spinning at the same point...

If I try a 2.2.14 kernel, it works fine, but when I try a 2.4 kernel
(same ones that boot on the Indy), it fails as above.

I have had the I2 booted on a 2.4 kernel before, but it was an older
2.4test9 kernel, and it was nativly compiled instead of cross-compiled.

Any ideas?


Thanks!


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Sat Nov 18 05:17:54 2000
Received:  by oss.sgi.com id <S553812AbQKRNRp>;
	Sat, 18 Nov 2000 05:17:45 -0800
Received: from u-71.karlsruhe.ipdial.viaginterkom.de ([62.180.19.71]:1544 "EHLO
        u-71.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP
	id <S553804AbQKRNRn>; Sat, 18 Nov 2000 05:17:43 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870460AbQKRK7J>;
        Sat, 18 Nov 2000 11:59:09 +0100
Date:   Sat, 18 Nov 2000 11:59:09 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     rajesh.palani@philips.com
Cc:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: sysmips syscall
Message-ID: <20001118115909.D8672@bacchus.dhis.org>
References: <0056910008698539000002L192*@MHS>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <0056910008698539000002L192*@MHS>; from rajesh.palani@philips.com on Fri, Nov 17, 2000 at 07:28:50PM -0600
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Fri, Nov 17, 2000 at 07:28:50PM -0600, rajesh.palani@philips.com wrote:

>    The following lines appear in the linuxthreads/sysdeps/mips/pt-machine.h file in version
> LinuxThreads 2.1.2:
> 
> TODO: This version makes use of MIPS ISA 2 features.  It won't
>    work on ISA 1.  These machines will have to take the overhead of
>    a sysmips(MIPS_ATOMIC_SET, ...) syscall which isn't implemented
>    yet correctly.  There is however a better solution for R3000
>    uniprocessor machines possible.
> 
> My questions are:
> 1.  Is the sysmips syscall implemented correctly yet?

Yes.

> 2.  What is the better solution for R3000 uniprocessor machines?

You can base a spinlock implementation on the fact that the register k0
will be left at a value != zero after any exception, also including context
switches.

Problem: this solution breaks silently on multiproessor systems.

> 3.  Does anyone have a patch for LinuxThreads that supports MIPS ISA 1?

glibc 2.2's pthread will do that out of the box.

  Ralf

From owner-linux-mips@oss.sgi.com Sat Nov 18 05:47:25 2000
Received:  by oss.sgi.com id <S553828AbQKRNrF>;
	Sat, 18 Nov 2000 05:47:05 -0800
Received: from ppp0.ocs.com.au ([203.34.97.3]:53262 "HELO mail.ocs.com.au")
	by oss.sgi.com with SMTP id <S553826AbQKRNqh>;
	Sat, 18 Nov 2000 05:46:37 -0800
Received: (qmail 7608 invoked from network); 18 Nov 2000 13:46:20 -0000
Received: from ocs3.ocs-net (192.168.255.3)
  by mail.ocs.com.au with SMTP; 18 Nov 2000 13:46:19 -0000
X-Mailer: exmh version 2.1.1 10/15/1999
From:   Keith Owens <kaos@melbourne.sgi.com>
To:     Ralf Baechle <ralf@oss.sgi.com>
cc:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: sysmips syscall 
In-reply-to: Your message of "Sat, 18 Nov 2000 11:59:09 BST."
             <20001118115909.D8672@bacchus.dhis.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:   Sun, 19 Nov 2000 00:46:19 +1100
Message-ID: <23098.974555179@ocs3.ocs-net>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, 18 Nov 2000 11:59:09 +0100, 
Ralf Baechle <ralf@oss.sgi.com> wrote:
>You can base a spinlock implementation on the fact that the register k0
>will be left at a value != zero after any exception, also including context
>switches.
>
>Problem: this solution breaks silently on multiproessor systems.

Use Dekker's algorithm between systems.  It requires cache coherent
memory but does not need any inter cpu locking mechanisms.

http://www.cs.wvu.edu/~jdm/classes/cs356/notes/mutex/Dekker.html
describes the algorithm for the two cpu case.  It assumes no preemption
on each cpu so it has to be modified to handle interrupts.  Add a local
lock so you are the only code on this processor trying to use Dekker
between processors.


From owner-linux-mips@oss.sgi.com Sat Nov 18 06:14:15 2000
Received:  by oss.sgi.com id <S553830AbQKROOF>;
	Sat, 18 Nov 2000 06:14:05 -0800
Received: from u-71.karlsruhe.ipdial.viaginterkom.de ([62.180.19.71]:2312 "EHLO
        u-71.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com with ESMTP
	id <S553826AbQKRONn>; Sat, 18 Nov 2000 06:13:43 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S870463AbQKRON3>;
        Sat, 18 Nov 2000 15:13:29 +0100
Date:   Sat, 18 Nov 2000 15:13:28 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Keith Owens <kaos@melbourne.sgi.com>
Cc:     linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: sysmips syscall
Message-ID: <20001118151328.B17046@bacchus.dhis.org>
References: <20001118115909.D8672@bacchus.dhis.org> <23098.974555179@ocs3.ocs-net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <23098.974555179@ocs3.ocs-net>; from kaos@melbourne.sgi.com on Sun, Nov 19, 2000 at 12:46:19AM +1100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sun, Nov 19, 2000 at 12:46:19AM +1100, Keith Owens wrote:

> On Sat, 18 Nov 2000 11:59:09 +0100, 
> Ralf Baechle <ralf@oss.sgi.com> wrote:
> >You can base a spinlock implementation on the fact that the register k0
> >will be left at a value != zero after any exception, also including context
> >switches.
> >
> >Problem: this solution breaks silently on multiproessor systems.
> 
> Use Dekker's algorithm between systems.  It requires cache coherent
> memory but does not need any inter cpu locking mechanisms.
> 
> http://www.cs.wvu.edu/~jdm/classes/cs356/notes/mutex/Dekker.html
> describes the algorithm for the two cpu case.  It assumes no preemption
> on each cpu so it has to be modified to handle interrupts.  Add a local
> lock so you are the only code on this processor trying to use Dekker
> between processors.

We're talking about a algorithem to implement atomic operations only in
userspace.  There is Dekker and few improved variants of it.  They all
got in common that they're performing badly for an increasing number of
threads even for the no-contention case.  And non-constant memory
requirements which would require further changes to glibc.  So I consider
this whole family of algorithems to be a entirely theoretical construct.
Which is why we're thinking about those crude hacks.

  Ralf

From owner-linux-mips@oss.sgi.com Sat Nov 18 06:56:45 2000
Received:  by oss.sgi.com id <S553673AbQKRO4f>;
	Sat, 18 Nov 2000 06:56:35 -0800
Received: from [210.200.192.151] ([210.200.192.151]:33811 "HELO
        cyber.dreamer.com.tw") by oss.sgi.com with SMTP id <S553647AbQKRO42>;
	Sat, 18 Nov 2000 06:56:28 -0800
Received: from 63.52.248.235 (unverified [63.52.248.235]) by cyber.dreamer.com.tw
 (EMWAC SMTPRS 0.83) with SMTP id <B0000205355@cyber.dreamer.com.tw>;
 Sat, 18 Nov 2000 11:14:38 +0800
Message-ID: <0000004e4d37$00005be7$000004a8@63.52.248.235>
To:     <McLean@d10.de>
From:   McLean@d10.de
Subject: Brand New FREE Satellite System
Date:   Fri, 17 Nov 2000 22:17:27 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

FREE Satellite T.V. System and FREE Installation

For a limited time we'll give you this top of the line Digital
Satellite System for FREE!  We'll even include Free installation.

Enjoy over 500 Channels of crystal clear digital picture and
cd stereo sound on your FREE Satellite TV System.  Why pay
for these items in a retail store, when we're giving you the
same satellite package for free.


Call 888-514-6881 to be Guaranteed Your FREE Satellite Today


This Innovative 20" Satellite includes a stereo receiver and
an infrared remote.  With this FREE offer you will have both
Interactive Television Capability and an On Screen Program Guide.

This limited time FREE offer is much less than the monthly cost
of cable tv. All you have to do is call us to arrange delivery.   
If you call today, we'll throw in a second receiver for your
second T.V. free.


Call 888-514-6881 to Begin Surfing through 500 Channels Today!


To be removed send email to tcaiom@yahoo.com

From owner-linux-mips@oss.sgi.com Sat Nov 18 08:42:46 2000
Received:  by oss.sgi.com id <S553673AbQKRQmh>;
	Sat, 18 Nov 2000 08:42:37 -0800
Received: from [210.59.227.242] ([210.59.227.242]:19722 "HELO
        smtp02.yuanta.com.tw") by oss.sgi.com with SMTP id <S553647AbQKRQmT>;
	Sat, 18 Nov 2000 08:42:19 -0800
Received: from 63.52.248.235 (unverified [63.52.248.235]) by smtp02.yuanta.com.tw
 (EMWAC SMTPRS 0.83) with SMTP id <B0008562733@smtp02.yuanta.com.tw>;
 Sat, 18 Nov 2000 11:22:00 +0800
Message-ID: <0000004e4d37$00005be7$000004a8@63.52.248.235>
To:     <McLean@d10.de>
From:   McLean@d10.de
Subject: Brand New FREE Satellite System
Date:   Fri, 17 Nov 2000 22:17:50 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

FREE Satellite T.V. System and FREE Installation

For a limited time we'll give you this top of the line Digital
Satellite System for FREE!  We'll even include Free installation.

Enjoy over 500 Channels of crystal clear digital picture and
cd stereo sound on your FREE Satellite TV System.  Why pay
for these items in a retail store, when we're giving you the
same satellite package for free.


Call 888-514-6881 to be Guaranteed Your FREE Satellite Today


This Innovative 20" Satellite includes a stereo receiver and
an infrared remote.  With this FREE offer you will have both
Interactive Television Capability and an On Screen Program Guide.

This limited time FREE offer is much less than the monthly cost
of cable tv. All you have to do is call us to arrange delivery.   
If you call today, we'll throw in a second receiver for your
second T.V. free.


Call 888-514-6881 to Begin Surfing through 500 Channels Today!


To be removed send email to tcaiom@yahoo.com

From owner-linux-mips@oss.sgi.com Sat Nov 18 09:22:07 2000
Received:  by oss.sgi.com id <S553700AbQKRRVq>;
	Sat, 18 Nov 2000 09:21:46 -0800
Received: from u-248.karlsruhe.ipdial.viaginterkom.de ([62.180.21.248]:11528
        "EHLO u-248.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553671AbQKRRVb>; Sat, 18 Nov 2000 09:21:31 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868506AbQKRRVP>;
        Sat, 18 Nov 2000 18:21:15 +0100
Date:   Sat, 18 Nov 2000 18:21:15 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Cc:     linux-cvs@oss.sgi.com, linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: CVS Update@oss.sgi.com: linux
Message-ID: <20001118182114.A19710@bacchus.dhis.org>
References: <20001118132233Z553804-494+838@oss.sgi.com> <XFMail.001118180639.Harald.Koerfgen@home.ivm.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <XFMail.001118180639.Harald.Koerfgen@home.ivm.de>; from Harald.Koerfgen@home.ivm.de on Sat, Nov 18, 2000 at 06:06:39PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, Nov 18, 2000 at 06:06:39PM +0100, Harald Koerfgen wrote:

> On 18-Nov-00 Ralf Baechle wrote:
> > CVSROOT:      /home/pub/cvs
> > Module name:  linux
> > Changes by:   ralf@oss.sgi.com        00/11/18 05:22:32
> > 
> > Modified files:
> >       Documentation  : Configure.help 
> >       arch/mips      : config.in 
> >       arch/mips/mm   : r4xx0.c 
> > 
> > Log message:
> >       New configuration option CONFIG_MIPS_UNCACHED.  Not yet selectable due
> >       to the manuals documenting ll/sc operation as undefined for uncached
> >       memory.
> 
> Wouldn't it make sense then to disable CONFIG_CPU_HAS_LLSC as well?

I'm waiting for authoritative answer from silicon guys before I deciede.
In the past I ran kernel entirely uncached and they seemed to work even
though the documentation made me assume the opposite.

  Ralf

From owner-linux-mips@oss.sgi.com Sat Nov 18 09:26:47 2000
Received:  by oss.sgi.com id <S553725AbQKRR0h>;
	Sat, 18 Nov 2000 09:26:37 -0800
Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:35848 "EHLO
        the-village.bc.nu") by oss.sgi.com with ESMTP id <S553712AbQKRR0T>;
	Sat, 18 Nov 2000 09:26:19 -0800
Received: from alan by the-village.bc.nu with local (Exim 2.12 #1)
	id 13xBlP-0001tb-00; Sat, 18 Nov 2000 17:26:55 +0000
Subject: Re: sysmips syscall
To:     kaos@melbourne.sgi.com (Keith Owens)
Date:   Sat, 18 Nov 2000 17:26:54 +0000 (GMT)
Cc:     ralf@oss.sgi.com (Ralf Baechle), linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
In-Reply-To: <23098.974555179@ocs3.ocs-net> from "Keith Owens" at Nov 19, 2000 12:46:19 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <E13xBlP-0001tb-00@the-village.bc.nu>
From:   Alan Cox <alan@lxorguk.ukuu.org.uk>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> Use Dekker's algorithm between systems.  It requires cache coherent
> memory but does not need any inter cpu locking mechanisms.

Cache coherent and write ordered


From owner-linux-mips@oss.sgi.com Sat Nov 18 10:20:46 2000
Received:  by oss.sgi.com id <S553720AbQKRSUh>;
	Sat, 18 Nov 2000 10:20:37 -0800
Received: from pobox.sibyte.com ([208.12.96.20]:57870 "HELO pobox.sibyte.com")
	by oss.sgi.com with SMTP id <S553671AbQKRSU1>;
	Sat, 18 Nov 2000 10:20:27 -0800
Received: from baton.sibyte.com (moat.sibyte.com [208.12.96.21])
	by pobox.sibyte.com (Postfix) with SMTP
	id E2AD0205FA; Sat, 18 Nov 2000 10:20:06 -0800 (PST)
Received: from SMTP agent by mail gateway 
 Sat, 18 Nov 2000 10:16:13 -0800
Received: by baton.sibyte.com (Postfix, from userid 1017)
	id 71ECE56FF; Sat, 18 Nov 2000 10:20:06 -0800 (PST)
From:   Justin Carlson <carlson@sibyte.com>
Reply-To: carlson@sibyte.com
Organization: Sibyte
To:     Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: CVS Update@oss.sgi.com: linux
Date:   Sat, 18 Nov 2000 10:13:34 -0800
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
Cc:     linux-cvs@oss.sgi.com, linux-mips@oss.sgi.com, linux-mips@fnet.fr
References: <20001118132233Z553804-494+838@oss.sgi.com> <XFMail.001118180639.Harald.Koerfgen@home.ivm.de> <20001118182114.A19710@bacchus.dhis.org>
In-Reply-To: <20001118182114.A19710@bacchus.dhis.org>
MIME-Version: 1.0
Message-Id: <0011181020063F.11653@baton.sibyte.com>
Content-Transfer-Encoding: 8bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sat, 18 Nov 2000, Ralf Baechle wrote:
> > Log message:
> >       New configuration option CONFIG_MIPS_UNCACHED.  Not yet selectable due
> >       to the manuals documenting ll/sc operation as undefined for uncached
> >       memory.
> 
> > Wouldn't it make sense then to disable CONFIG_CPU_HAS_LLSC as well?
> 
> I'm waiting for authoritative answer from silicon guys before I deciede.
> In the past I ran kernel entirely uncached and they seemed to work even
> though the documentation made me assume the opposite.
> 

I'd be very, VERY surprised if ll-sc were guaranteed to work in uncached space,
for any implementation.  It certainly wouldn't in the SB1.

The easiest way to implement the ops on a cache-coherent system is to keep track
of whether or not you've lost a line in the cache between  the ll and the sc. 
Then, in the sc, you convert the line to dirty (if necessary), do the write,
and go on your merry way.  Or, if you've lost the line at some point between the
ll and the sc, you fail the sc.

I've never heard of anyone implementing it in a significantly different manner,
on MIPS or on Alpha.  To keep track of who's written what in an uncached space
would be nightmarish at best, in hardware. 

Doesn't mean someone hasn't done it, but it would certainly be news to me.

-Justin

From owner-linux-mips@oss.sgi.com Sat Nov 18 10:33:57 2000
Received:  by oss.sgi.com id <S553748AbQKRSdr>;
	Sat, 18 Nov 2000 10:33:47 -0800
Received: from mx.mips.com ([206.31.31.226]:9091 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553671AbQKRSdl>;
	Sat, 18 Nov 2000 10:33:41 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id KAA01017;
	Sat, 18 Nov 2000 10:33:10 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id KAA06647;
	Sat, 18 Nov 2000 10:33:30 -0800 (PST)
Message-ID: <00d201c0518e$87060b20$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>,
        "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Cc:     <linux-cvs@oss.sgi.com>, <linux-mips@oss.sgi.com>,
        <linux-mips@fnet.fr>
References: <20001118132233Z553804-494+838@oss.sgi.com> <XFMail.001118180639.Harald.Koerfgen@home.ivm.de> <20001118182114.A19710@bacchus.dhis.org>
Subject: Re: CVS Update@oss.sgi.com: linux
Date:   Sat, 18 Nov 2000 19:36:41 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> > > Log message:
> > >       New configuration option CONFIG_MIPS_UNCACHED.  Not yet
selectable due
> > >       to the manuals documenting ll/sc operation as undefined for
uncached
> > >       memory.
> >
> > Wouldn't it make sense then to disable CONFIG_CPU_HAS_LLSC as well?
>
> I'm waiting for authoritative answer from silicon guys before I deciede.
> In the past I ran kernel entirely uncached and they seemed to work even
> though the documentation made me assume the opposite.

We've been discussing this at MIPS, and it's a bit tricky.
LL/SC is almost guaranteed not to work uncached in a
multiprocessor configuration.  In the uniprocessor case,
it's not documented to work, but probably would in most
"natural" implementations.

The whole operation hinges on an invisible flip-flop which
is set by an LL and cleared by one of a set of events,
which include cache interventions by other CPUs,
memory ops by the same CPU, ERETs, etc.  So long
as the LL flop is set by the LL even uncached, and cleared
on ERET regardless of caching, the desired behaviour will
be obtained in an uncached uniprocessor.  But that's outside
the scope of the ISA spec and any MIPS ISA validation suites,
and a legal MIPS II/III/IV/V implementation could do otherwise.

            Regards,

            Kevin K.


From owner-linux-mips@oss.sgi.com Sat Nov 18 17:37:52 2000
Received:  by oss.sgi.com id <S553829AbQKSBhm>;
	Sat, 18 Nov 2000 17:37:42 -0800
Received: from hermes.epita.fr ([194.98.116.10]:6152 "EHLO hermes.epita.fr")
	by oss.sgi.com with ESMTP id <S553814AbQKSBhf>;
	Sat, 18 Nov 2000 17:37:35 -0800
Received: from purple42.epx.epita.fr (purple42.epx.epita.fr [10.225.7.1])
	by hermes.epita.fr id CAA16930
	Sun, 19 Nov 2000 02:36:23 GMT
Received: by purple42.epx.epita.fr (Postfix, from userid 501)
	id 08F483F3B; Sun, 19 Nov 2000 02:42:59 +0100 (CET)
Date:   Sun, 19 Nov 2000 02:42:59 +0100
From:   Thomas Poindessous <poinde_t@epita.fr>
To:     Linux Mips at SGI <linux-mips@oss.sgi.com>, port-max@netbsd.org
Subject: Decstation 5000/200, status led ?
Message-ID: <20001119024259.A1244@purple42.epx.epita.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi,
I have got a digital decstation 5000/200, with a video card, a scsi card, 4
memory cards and no hard drive.

I tried to boot it :
* with/without video card
* with/without scsi card
* with/without keybord/mouse plugged
* with/without memory card

I have a null-cable to my pc, I use minicom and kermit.
Each time, I got nothing on my term.
And the status leds are set like this:
x000 xx00      (x: light off, 0: light on)

Is there anyone who have the hardware reference manual for 5000/200 ?
I need to know if the problem is from the hardware and which hardware.

Thank for your help.

my kermit conf:
set carrier-watch off
set line /dev/ttyS1
set speed 9600
set modem hayes
set prompt Kermit@\v(host)>
set flow xon/xoff

my minicom conf:
pu baudrate         9600
pu minit            
pu mreset           
pu mdialpre         
pu mdialsuf         
pu mdialpre2        
pu mdialsuf2        
pu mdialpre3        
pu mdialsuf3        
pu mconnect         
pu backspace        DEL
pu rtscts           Yes
pu xonxoff          Yes

-- 
Thomas Poindessous
EpX asso GNU/Linux de l'Epita
epx@epita.fr && http://www.epita.fr/~epx

From owner-linux-mips@oss.sgi.com Sun Nov 19 07:05:30 2000
Received:  by oss.sgi.com id <S553762AbQKSPFU>;
	Sun, 19 Nov 2000 07:05:20 -0800
Received: from smtp.algor.co.uk ([62.254.210.199]:51397 "EHLO
        kenton.algor.co.uk") by oss.sgi.com with ESMTP id <S553664AbQKSPFM>;
	Sun, 19 Nov 2000 07:05:12 -0800
Received: from gladsmuir.algor.co.uk (dom@gladsmuir.algor.co.uk [192.168.5.75])
	by kenton.algor.co.uk (8.9.3/8.8.8) with ESMTP id PAA15603;
	Sun, 19 Nov 2000 15:05:05 GMT
Received: (from dom@localhost)
	by gladsmuir.algor.co.uk (8.8.5/8.8.5) id PAA00336;
	Sun, 19 Nov 2000 15:16:33 GMT
Date:   Sun, 19 Nov 2000 15:16:33 GMT
Message-Id: <200011191516.PAA00336@gladsmuir.algor.co.uk>
From:   Dominic Sweetman <dom@algor.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To:     Ralf Baechle <ralf@oss.sgi.com>
Cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-cvs@oss.sgi.com, linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: CVS Update@oss.sgi.com: linux
In-Reply-To: <20001118182114.A19710@bacchus.dhis.org>
References: <20001118132233Z553804-494+838@oss.sgi.com>
	<XFMail.001118180639.Harald.Koerfgen@home.ivm.de>
	<20001118182114.A19710@bacchus.dhis.org>
X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Ralf Baechle (ralf@oss.sgi.com) writes:

> > >       New configuration option CONFIG_MIPS_UNCACHED.  Not yet
> > >       selectable due to the manuals documenting ll/sc operation
> > >       as undefined for uncached memory.
> > 
> > Wouldn't it make sense then to disable CONFIG_CPU_HAS_LLSC as well?
> 
> I'm waiting for authoritative answer from silicon guys before I
> deciede.  In the past I ran kernel entirely uncached and they seemed
> to work even though the documentation made me assume the opposite.

ll/sc between CPUs certainly won't work for uncached accesses, since
they rely on the cache coherency protocols.

On a uniprocessor CPU the ll/sc link is typically broken on any
exception.  You'd have to try very hard to design the CPU so that it
would work any differently for cached and uncached accesses.

-- 
Dominic Sweetman
Algorithmics Ltd
The Fruit Farm, Ely Road, Chittering, CAMBS CB5 9PH, ENGLAND
phone: +44 1223 706200 / fax: +44 1223 706250 / home: +44 20 7226 0032
http://www.algor.co.uk

From owner-linux-mips@oss.sgi.com Mon Nov 20 02:22:15 2000
Received:  by oss.sgi.com id <S553846AbQKTKWF>;
	Mon, 20 Nov 2000 02:22:05 -0800
Received: from [203.116.49.131] ([203.116.49.131]:1477 "EHLO convert rfc822-to-8bit
        as400.etown.com.sg") by oss.sgi.com with ESMTP id <S553842AbQKTKVg>;
	Mon, 20 Nov 2000 02:21:36 -0800
Received: from buttler-mad.mad.servicom.es ([63.52.247.249])
          by as400.etown.com.sg (Lotus Domino Release 5.0.3 (Intl))
          with SMTP id 2000111703584656:252 ;
          Fri, 17 Nov 2000 03:58:46 +0800 
Message-Id: <vt581n28ed5.b77d4a01g@buttler-mad.mad.servicom.es>
From:   Lee@cc-srv.baranyanet.hu
Subject: Information You Requested
Date:   Thu, 16 Nov 2000 14:50:23 -0500
To:     Elliot@essenet.it
X-MIMETrack: Itemize by SMTP Server on etown/etown(Release 5.0.3 (Intl)|21 March 2000) at
 11/17/2000 03:58:48 AM,
	Serialize by Router on etown/etown(Release 5.0.3 (Intl)|21 March 2000) at
 11/20/2000 06:20:46 PM
MIME-Version: 1.0
Content-Type: text/plain;
	 charset="iso-8859-1"
Content-Transfer-Encoding: 8BIT
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing




You were recently referred to me as someone who was
ready for a CHANGE, a financial breakthrough, so I'll
get right to the point.

I am the one that can help you make $125,000 plus this
year from HOME with your computer and phone. 
This is Not MLM and it IS very REAL.

Are you Serious about making $2000 plus per week 
starting Right Away with a SIMPLE system 
where customers are contacting you and 
you do absolutely ZERO selling?

Can you follow simple step-by-step instructions and put
forth the effort to make this a reality for yourself starting
today? If your answer is YES, then we need to talk.

I have few positions available on my team and its in my best
interest to train you for success.  In fact, I'm so sure that
I can do so, I'm willing to put my money where my mouth is!
Upon accepting you as a member on my team, I will provide 
you with complete Professional Training and Advertising  
Assistance to put you immediately on the road to success.

No experience necessary.... However you must have 
two qualities: moderate people skills and a serious desire 
for a personal and financial change.

Take a moment to take the next step by calling me at my 
Home Office and I will get you the details.


1-800-570-3782 ext 0652
24 Hrs/ 7 Days


Prosperous Regards!
Lee

"Profits are better than wages. Wages make you a living;
Profits make you a fortune"
					- Jim Rohn

To be removed send email to socpcf@yahoo.com


From owner-linux-mips@oss.sgi.com Mon Nov 20 11:57:06 2000
Received:  by oss.sgi.com id <S553669AbQKTT44>;
	Mon, 20 Nov 2000 11:56:56 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:22546 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553660AbQKTT4p>;
	Mon, 20 Nov 2000 11:56:45 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 8C51C7CF5; Mon, 20 Nov 2000 19:56:43 +0000 (GMT)
Date:   Mon, 20 Nov 2000 19:56:43 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: ICLinux/MIPS v1.0 Released
Message-ID: <20001120195643.A31511@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I have just released ICLinux/MIPS v1.0. This is a full base system
(incl compiler + networking). This is based on
Linux-2.2/glibc-2.0.6/egcs-1.0.3a/binutils-2.8.1

Coming soon is ICLinux/MIPS v2.0, which will be based on
Linux-2.4/glibc-2.2/gcc 2.97

ICLinux/MIPS is for Mips-Linux Systems, specifically the Indy or the I2

A brief install guide can be seen at:
ftp://download.ichilton.co.uk/pub/ichilton/linux-mips/iclinux/INSTALL

-----------------------------------------------------------------
Also, please remember to theck the Official #mipslinux web page @
http://linuxmips.ichilton.co.uk 
-----------------------------------------------------------------


As usual, you use all this stuff at your own risk  :-)


I'd be interested in knowing if you use ICLinux and your comments.


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       I used up all my sick days, so I'm calling in dead.       |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Mon Nov 20 19:39:47 2000
Received:  by oss.sgi.com id <S553743AbQKUDj2>;
	Mon, 20 Nov 2000 19:39:28 -0800
Received: from u-194.karlsruhe.ipdial.viaginterkom.de ([62.180.10.194]:5382
        "EHLO u-194.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553711AbQKUDjV>; Mon, 20 Nov 2000 19:39:21 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868471AbQKUDjD>;
        Tue, 21 Nov 2000 04:39:03 +0100
Date:   Tue, 21 Nov 2000 04:39:03 +0100
From:   Ralf Baechle <ralf@oss.sgi.com>
To:     Dominic Sweetman <dom@algor.co.uk>
Cc:     Harald Koerfgen <Harald.Koerfgen@home.ivm.de>,
        linux-cvs@oss.sgi.com, linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: CVS Update@oss.sgi.com: linux
Message-ID: <20001121043903.A24831@bacchus.dhis.org>
References: <20001118132233Z553804-494+838@oss.sgi.com> <XFMail.001118180639.Harald.Koerfgen@home.ivm.de> <20001118182114.A19710@bacchus.dhis.org> <200011191516.PAA00336@gladsmuir.algor.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <200011191516.PAA00336@gladsmuir.algor.co.uk>; from dom@algor.co.uk on Sun, Nov 19, 2000 at 03:16:33PM +0000
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Sun, Nov 19, 2000 at 03:16:33PM +0000, Dominic Sweetman wrote:

> ll/sc between CPUs certainly won't work for uncached accesses, since
> they rely on the cache coherency protocols.
> 
> On a uniprocessor CPU the ll/sc link is typically broken on any
> exception.  You'd have to try very hard to design the CPU so that it
> would work any differently for cached and uncached accesses.

Ok, so now CONFIG_MIPS_UNCACHED is only selectable for UP kernels.

  Ralf

From owner-linux-mips@oss.sgi.com Wed Nov 22 06:27:31 2000
Received:  by oss.sgi.com id <S553688AbQKVO1V>;
	Wed, 22 Nov 2000 06:27:21 -0800
Received: from [207.81.221.34] ([207.81.221.34]:19514 "EHLO relay")
	by oss.sgi.com with ESMTP id <S553678AbQKVO1J>;
	Wed, 22 Nov 2000 06:27:09 -0800
Received: from vcubed.com ([207.81.96.153])
	by relay (8.8.7/8.8.7) with ESMTP id JAA32746
	for <linux-mips@oss.sgi.com>; Wed, 22 Nov 2000 09:49:17 -0500
Message-ID: <3A1BD888.7FB3C6A6@vcubed.com>
Date:   Wed, 22 Nov 2000 09:30:32 -0500
From:   Dan Aizenstros <dan@vcubed.com>
Organization: V3 Semiconductor
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: Multiple copies of pci-dma.c file.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello All,

Is there any reason for having multiple copies of
the pci-dma.c file in Linux/MIPS.  The are all
doing basically the same thing.  We could have
just one copy in the arch/mips/lib directory
and have the Makefile build it if CONFIG_PCI
is defined.

Also they appear to have an error in that they
convert the pointer that is returned from the
__get_free_pages function call into a KSEG1
address even if the pointer is NULL.

Dan Aizenstros
Software Engineer
V3 Semiconductor Corp.

From owner-linux-mips@oss.sgi.com Wed Nov 22 07:57:31 2000
Received:  by oss.sgi.com id <S553734AbQKVP5V>;
	Wed, 22 Nov 2000 07:57:21 -0800
Received: from u-119-10.karlsruhe.ipdial.viaginterkom.de ([62.180.10.119]:14855
        "EHLO u-119-10.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553696AbQKVP5K>; Wed, 22 Nov 2000 07:57:10 -0800
Received: (ralf@lappi) by lappi.waldorf-gmbh.de id <S868489AbQKVP4x>;
	Wed, 22 Nov 2000 16:56:53 +0100
Date:	Wed, 22 Nov 2000 16:56:53 +0100
From:	Ralf Baechle <ralf@oss.sgi.com>
To:	Dan Aizenstros <dan@vcubed.com>
Cc:	linux-mips@oss.sgi.com
Subject: Re: Multiple copies of pci-dma.c file.
Message-ID: <20001122165653.A6421@bacchus.dhis.org>
References: <3A1BD888.7FB3C6A6@vcubed.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A1BD888.7FB3C6A6@vcubed.com>; from dan@vcubed.com on Wed, Nov 22, 2000 at 09:30:32AM -0500
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 22, 2000 at 09:30:32AM -0500, Dan Aizenstros wrote:

> Is there any reason for having multiple copies of
> the pci-dma.c file in Linux/MIPS.  The are all
> doing basically the same thing.  We could have
> just one copy in the arch/mips/lib directory
> and have the Makefile build it if CONFIG_PCI
> is defined.

Sounds like a plan, done.  Tell me if it breaks something ...

Some chipsets have a builtin scatter / gather facility, those may need
special variants of pci-dma.c for better support.

> Also they appear to have an error in that they
> convert the pointer that is returned from the
> __get_free_pages function call into a KSEG1
> address even if the pointer is NULL.

Fixed.

  Ralf

From owner-linux-mips@oss.sgi.com Thu Nov 23 05:21:36 2000
Received:  by oss.sgi.com id <S553682AbQKWNV0>;
	Thu, 23 Nov 2000 05:21:26 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:29971 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553650AbQKWNVL>;
	Thu, 23 Nov 2000 05:21:11 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 317197CF5; Thu, 23 Nov 2000 13:21:04 +0000 (GMT)
Date:   Thu, 23 Nov 2000 13:21:04 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Cc:     wesolows@foobazco.org
Subject: Another GCC Problemo ?
Message-ID: <20001123132104.A6627@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I have been busy this week, and have not had chance to compile anything
since the weekend.

I am trying to use make-cross with current gcc, binutils and linux (no
patches except one for gcc from oss,,,,/simple/crossdev/.

I am using an older glibc because Keith said current was broken
(001027).

I however get this:

malloc.c:1527: storage size of `arena_key' isn't known
make[2]: ***
[/crossdev-build/mips-linux/glibc-001027-obj/malloc/malloc.o] Error 1


I tried a different glibc (001116) and it still does it..
I then tried an older binutils, and it still does it..


Another GCC Problem?
 

Thanks!


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |        Proofread carefully to see if you any words out.         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Thu Nov 23 07:20:46 2000
Received:  by oss.sgi.com id <S553783AbQKWPUg>;
	Thu, 23 Nov 2000 07:20:36 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:32531 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553655AbQKWPUM>;
	Thu, 23 Nov 2000 07:20:12 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 79FAE7CF5; Thu, 23 Nov 2000 15:20:11 +0000 (GMT)
Date:   Thu, 23 Nov 2000 15:20:11 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Cc:     wesolows@foobazco.org
Subject: Re: Another GCC Problemo ?
Message-ID: <20001123152011.A6764@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

Seems to be a GCC problem...tried an older GCC, and it works..  :(

Any ideas how to fix?
 

Thanks!


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |        Proofread carefully to see if you any words out.         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Thu Nov 23 07:51:16 2000
Received:  by oss.sgi.com id <S553787AbQKWPvG>;
	Thu, 23 Nov 2000 07:51:06 -0800
Received: from [207.81.221.34] ([207.81.221.34]:54370 "EHLO relay")
	by oss.sgi.com with ESMTP id <S553736AbQKWPup>;
	Thu, 23 Nov 2000 07:50:45 -0800
Received: from vcubed.com ([207.81.96.153])
	by relay (8.8.7/8.8.7) with ESMTP id LAA15994
	for <linux-mips@oss.sgi.com>; Thu, 23 Nov 2000 11:12:52 -0500
Message-ID: <3A1D3DA1.E982879B@vcubed.com>
Date:   Thu, 23 Nov 2000 10:54:09 -0500
From:   Dan Aizenstros <dan@vcubed.com>
Organization: V3 Semiconductor
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: Strange messages.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello All,

Recently I upgraded my Linux/MIPS kernel from 2.2.12 to 
2.4.0-test9 and I started getting messages like the following:

Setting flush to zero for awk.

I did not get this message when using a 2.2.12 kernel but I am
getting them with a 2.4.0-test9 kernel.

The 2.4.0-test9 kernel is based on the code from the snapshot
at oss.sgi.com in the following file,
/pub/linux/mips/mips-linux/simple/crossdev/src/linux-001027.tar.gz
with the patches from the same directory applied.

I get the message many times and for different programs during
system startup.

Has anyone seen this before?

Dan Aizenstros
Software Engineer
V3 Semiconductor Corp.

From owner-linux-mips@oss.sgi.com Thu Nov 23 08:26:07 2000
Received:  by oss.sgi.com id <S553801AbQKWQZ4>;
	Thu, 23 Nov 2000 08:25:56 -0800
Received: from aux-209-217-49-36.oklahoma.net ([209.217.49.36]:13064 "EHLO
        proteus.paralogos.com") by oss.sgi.com with ESMTP
	id <S553793AbQKWQZa>; Thu, 23 Nov 2000 08:25:30 -0800
Received: from Ulysses ([195.154.177.178])
	by proteus.paralogos.com (8.9.3/8.9.3) with SMTP id RAA06892;
	Thu, 23 Nov 2000 17:14:46 +0100
Message-ID: <009d01c0556a$74eda6c0$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@paralogos.com>
To:     "Dan Aizenstros" <dan@vcubed.com>, <linux-mips@oss.sgi.com>
References: <3A1D3DA1.E982879B@vcubed.com>
Subject: Re: Strange messages.
Date:   Thu, 23 Nov 2000 17:28: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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This really deserves to be in the  FAQ.  I guess
I ought to put a version of this up an a web site
somewhere and just point people to the URL:
Either Ralf or I end up answering it about
once a month.  

This message occurs when the kernel gets an 
"unimplemented operation" trap from the FPU, 
which means that an FP instruction has been issued
that the hardware cannot handle on its own.  Usually
this is a conversion of an extreme value or an operation 
on a denormalized value. What the OS is supposed 
to do in this case is to deal with the situation, by killing
the process, fixing up the values, or emulating
the instruction in software.

Setting flush-denormal-to-zero mode of the FPU
and replaying the instruction to see if that helps
is a slightly shady (in my opinion) hack that Ralf put in 
as part of a tiny, minimal emulator that handled these 
exceptions in some versions of MIPS Linux.  MIPS later
integrated a full IEEE FPU emulator from Algorithmics
into the 2.2.12 kernel, but it hasn't yet gone into
the 2.3/2.4 repository.

So long as all you got was that message, and
awk didn't subsequently dump core, you're probably
OK.  Just don't do any serious numerical programming
on the system until the full IEEE support goes in!

            Kevin K.

----- Original Message ----- 
From: "Dan Aizenstros" <dan@vcubed.com>
To: <linux-mips@oss.sgi.com>
Sent: Thursday, November 23, 2000 4:54 PM
Subject: Strange messages.


> Hello All,
> 
> Recently I upgraded my Linux/MIPS kernel from 2.2.12 to 
> 2.4.0-test9 and I started getting messages like the following:
> 
> Setting flush to zero for awk.
> 
> I did not get this message when using a 2.2.12 kernel but I am
> getting them with a 2.4.0-test9 kernel.
> 
> The 2.4.0-test9 kernel is based on the code from the snapshot
> at oss.sgi.com in the following file,
> /pub/linux/mips/mips-linux/simple/crossdev/src/linux-001027.tar.gz
> with the patches from the same directory applied.
> 
> I get the message many times and for different programs during
> system startup.
> 
> Has anyone seen this before?
> 
> Dan Aizenstros
> Software Engineer
> V3 Semiconductor Corp.
> 


From owner-linux-mips@oss.sgi.com Thu Nov 23 09:29:06 2000
Received:  by oss.sgi.com id <S553807AbQKWR2q>;
	Thu, 23 Nov 2000 09:28:46 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:34579 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553803AbQKWR2W>;
	Thu, 23 Nov 2000 09:28:22 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 65E157CF5; Thu, 23 Nov 2000 17:28:20 +0000 (GMT)
Date:   Thu, 23 Nov 2000 17:28:20 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     Dan Aizenstros <dan@vcubed.com>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Strange messages.
Message-ID: <20001123172820.A6943@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
References: <3A1D3DA1.E982879B@vcubed.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A1D3DA1.E982879B@vcubed.com>; from dan@vcubed.com on Thu, Nov 23, 2000 at 10:54:09AM -0500
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> Setting flush to zero for awk.

> Has anyone seen this before?


I get this with sshd from OpenSSH....I get lots of them on the
console...not just at boot time. And, it happens with 2.2.14, not just
2.4test9....


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |        Proofread carefully to see if you any words out.         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Thu Nov 23 10:27:26 2000
Received:  by oss.sgi.com id <S553733AbQKWS1R>;
	Thu, 23 Nov 2000 10:27:17 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:1284 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553687AbQKWS05>;
	Thu, 23 Nov 2000 10:26:57 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id CE4E07CF8; Thu, 23 Nov 2000 18:26:56 +0000 (GMT)
Date:   Thu, 23 Nov 2000 18:26:56 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Current Kernel Won't Compile
Message-ID: <20001123182656.A7054@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

I believe Ralf checked 2.4test10 into CVS last night...

I have just tried to compile now, and it won't work  :(

/crossdev-build/src/linux-001123/include/asm/ptrace.h:65:33: warning:
"PTRACE_SETOPTIONS" redefined
/crossdev-build/src/linux-001123/include/asm/ptrace.h:18:1: warning:
this is the location of the previous definition
mips-linux-gcc -D__KERNEL__ -I/crossdev-build/src/linux-001123/include
-Wall -Wstrict-prototypes -O2 -fomit-frame-po
inter -fno-strict-aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r4600
-mips2 -Wa,--trap -pipe    -c -o ptrace.o ptrace.c
In file included from
/crossdev-build/src/linux-001123/include/linux/ptrace.h:24,
                 from
/crossdev-build/src/linux-001123/include/linux/binfmts.h:4,
                 from
/crossdev-build/src/linux-001123/include/linux/sched.h:9,
                 from ptrace.c:12:
/crossdev-build/src/linux-001123/include/asm/ptrace.h:65:33: warning:
"PTRACE_SETOPTIONS" redefined
/crossdev-build/src/linux-001123/include/asm/ptrace.h:18:1: warning:
this is the location of the previous definition
ptrace.c: In function `sys_ptrace':
ptrace.c:287: `ret' undeclared (first use in this function)
ptrace.c:287: (Each undeclared identifier is reported only once
ptrace.c:287: for each function it appears in.)
make[1]: *** [ptrace.o] Error 1
make[1]: Leaving directory
`/crossdev-build/src/linux-001123/arch/mips/kernel'
make: *** [_dir_arch/mips/kernel] Error 2
[ian@slinky:/crossdev-build]$ 



Building with make-cross.sh and:

BINUTILS_VERSION=001123
GCC_VERSION=001019
LIBC_VERSION=001123
LINUX_VERSION=001123

BINUTILS_PATCHES=""
GCC_PATCHES="gcc-001023.diff%%0"
LIBC_PATCHES=""
LINUX_PATCHES=""
 

Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |        Proofread carefully to see if you any words out.         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Thu Nov 23 11:56:47 2000
Received:  by oss.sgi.com id <S553805AbQKWT41>;
	Thu, 23 Nov 2000 11:56:27 -0800
Received: from relay.planetinternet.be ([194.119.232.24]:8452 "EHLO
        relay.planetinternet.be") by oss.sgi.com with ESMTP
	id <S553740AbQKWT4I>; Thu, 23 Nov 2000 11:56:08 -0800
Received: from avalanche.planetinternet.be (avalanche.planetinternet.be [194.119.232.20])
	by relay.planetinternet.be (8.9.3/8.9.3) with ESMTP id UAA01803
	for <linux-mips@oss.sgi.com>; Thu, 23 Nov 2000 20:56:05 +0100
Received: from localhost (dirk@localhost)
	by avalanche.planetinternet.be (8.10.1/8.10.1) with ESMTP id eANJu4a29147
	for <linux-mips@oss.sgi.com>; Thu, 23 Nov 2000 20:56:05 +0100
Date:   Thu, 23 Nov 2000 20:56:04 +0100 (CET)
From:   Dirk Moerenhout <dirk@staf.planetinternet.be>
X-Sender: dirk@avalanche.planetinternet.be
To:     linux-mips@oss.sgi.com
Subject: Problem finding the right docs
Message-ID: <Pine.LNX.4.21.0011232046560.27908-100000@avalanche.planetinternet.be>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

I have an Indy on my desk which has a 1GB disk with an inaccessible IRIX
on it (whomever installed it is not around anymore and we know of no
accounts which we can use to login :-) ). I have a CD-ROM that supposed to
be connectable to it but the cable went missing. Now I don't want want the
poor thing to stay there as it is now.

I've been looking for documentation that can tell me how to install using
netboot but I can't seem to find any (The FAQ gets mentioned a few times
on some places but never with link so it's a mystery to me where it is).

Is it possible to revive the thing booting it over the network without
having a CD-ROM drive? If so, does anybody know where I could find some
docs on it? Doesn't need to be a step by step explanation but anything is
better than nothing.

If it's not possible to do it using netboot, is it when I would get a
usable cable for the CD-ROM or do I need an accessible IRIX on the
thing?

If needed I can setup a cross compiler, download several GB, ... I just
need to know where to start.

If I get the Indy going I'll probably decide to play with Linux on 2
Challenge S's we're going to dump in the next few months.

Sorry if this question is answered in the FAQ but during the time I
checked sites I only saw "Read the FAQ" but never where it is :-)

Dirk Moerenhout ///// System Administrator ///// Planet Internet NV


From owner-linux-mips@oss.sgi.com Thu Nov 23 13:00:27 2000
Received:  by oss.sgi.com id <S553821AbQKWVAR>;
	Thu, 23 Nov 2000 13:00:17 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:28308 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553815AbQKWVAK>;
	Thu, 23 Nov 2000 13:00:10 -0800
Received: from scotty.mgnet.de (pD4B89489.dip.t-dialin.net [212.184.148.137])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id WAA06793
	for <linux-mips@oss.sgi.com>; Thu, 23 Nov 2000 22:00:10 +0100 (MET)
Received: (qmail 2874 invoked from network); 23 Nov 2000 21:00:06 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 23 Nov 2000 21:00:06 -0000
Date:   Thu, 23 Nov 2000 22:00:08 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Dirk Moerenhout <dirk@staf.planetinternet.be>
cc:     linux-mips@oss.sgi.com
Subject: Re: Problem finding the right docs
In-Reply-To: <Pine.LNX.4.21.0011232046560.27908-100000@avalanche.planetinternet.be>
Message-ID: <Pine.LNX.4.21.0011232158350.12694-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, 23 Nov 2000, Dirk Moerenhout wrote:



The HOWTO is at http://oss.sgi.com/mips/mips-howto.html .
Also take a look at my Indigo2 HOWTO - it also covers other systems -
at http://oss.sgi.com/mips/i2-howto.html .

If you then still have questions feel free to ask.

		Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Thu Nov 23 13:22:37 2000
Received:  by oss.sgi.com id <S553819AbQKWVW2>;
	Thu, 23 Nov 2000 13:22:28 -0800
Received: from [203.42.24.46] ([203.42.24.46]:41488 "EHLO
        sydis001.grouppsi.com.au") by oss.sgi.com with ESMTP
	id <S553750AbQKWVWG>; Thu, 23 Nov 2000 13:22:06 -0800
Received: by sydis001.grouppsi.com.au with Internet Mail Service (5.5.2650.21)
	id <XANZ7M7Z>; Fri, 24 Nov 2000 08:25:04 +1100
Message-ID: <B10D6CEFCC90D411B6F20000E84E7AF80E1E@sydmx001.grouppsi.com.au>
From:   Christopher Martin <Christopher.Martin@grouppsi.com.au>
To:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: Linux on an Indy
Date:   Fri, 24 Nov 2000 08:21:53 +1100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C05593.D8353E40"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C05593.D8353E40
Content-Type: text/plain;
	charset="iso-8859-1"

Hello hello hello!

I just got my Indy to bootp /vmlinux for the first time! Let merriment
reign!

I am having some problems getting it to mount root, though, and getting some
kernel panics because of it.

I'm not currently running Linux on any other machines, but I'm using the
Windows 2000 DHCP server to provide the boot info and Cisco's tftp server to
serve up the vmlinux file.

My vmlinux file is located in the root of my tftp server, with the complete,
extracted hardhat-sgi-5.1.tar file, and the same directory
(e:\shares\tftproot) exported by Omni NFS server. So, I have configured my
BOOTP like this

912 Host Name - indy01
017 Root Path - /e/shares/tftproot
066 Boot Server Host Name - 10.254.0.18
067 Bootfilename - /vmlinux
003 Router - 10.254.0.254

10.254.0.18 is a Windows 2000 server running Cisco's tftp server and Omni
NFS server.

I also have my domain name, DNS servers, etc defined, but I'm assuming they
won't interfere. I have also tried with the 017 Root Path - / and no luck
there.

Now, with this configuration I get the normal kernel boot, but just after
the hard disk info, just as it goes to mount root, I get:
<
Looking up port of RFC 100003/2 on 10.254.0.18
Looking up port of RFC 100005/1 on 10.254.0.18
Root-NFS: Server returned error -13 while mounting /tftpboot/indy
>

then it tries to boot off floppy and then it kernel panics. I have also
noticed that the error "Fri Nov 24 08:11:28 2000: Failed ( State Error )" is
displayed at the end of the tftp /vmlinux file transfer.

Anyone got any ideas? I am aware that I should be using a Linux NFS server,
but I haven't got a machine to spare to set it up on. Please help!

Thanks for any help,

Chris Martin

------_=_NextPart_001_01C05593.D8353E40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Linux on an Indy</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hello hello hello!</FONT>
</P>

<P><FONT SIZE=3D2>I just got my Indy to bootp /vmlinux for the first =
time! Let merriment reign!</FONT>
</P>

<P><FONT SIZE=3D2>I am having some problems getting it to mount root, =
though, and getting some kernel panics because of it.</FONT>
</P>

<P><FONT SIZE=3D2>I'm not currently running Linux on any other =
machines, but I'm using the Windows 2000 DHCP server to provide the =
boot info and Cisco's tftp server to serve up the vmlinux =
file.</FONT></P>

<P><FONT SIZE=3D2>My vmlinux file is located in the root of my tftp =
server, with the complete, extracted hardhat-sgi-5.1.tar file, and the =
same directory (e:\shares\tftproot) exported by Omni NFS server. So, I =
have configured my BOOTP like this</FONT></P>

<P><FONT SIZE=3D2>912 Host Name - indy01</FONT>
<BR><FONT SIZE=3D2>017 Root Path - /e/shares/tftproot</FONT>
<BR><FONT SIZE=3D2>066 Boot Server Host Name - 10.254.0.18</FONT>
<BR><FONT SIZE=3D2>067 Bootfilename - /vmlinux</FONT>
<BR><FONT SIZE=3D2>003 Router - 10.254.0.254</FONT>
</P>

<P><FONT SIZE=3D2>10.254.0.18 is a Windows 2000 server running Cisco's =
tftp server and Omni NFS server.</FONT>
</P>

<P><FONT SIZE=3D2>I also have my domain name, DNS servers, etc defined, =
but I'm assuming they won't interfere. I have also tried with the 017 =
Root Path - / and no luck there.</FONT></P>

<P><FONT SIZE=3D2>Now, with this configuration I get the normal kernel =
boot, but just after the hard disk info, just as it goes to mount root, =
I get:</FONT></P>

<P><FONT SIZE=3D2>&lt;</FONT>
<BR><FONT SIZE=3D2>Looking up port of RFC 100003/2 on =
10.254.0.18</FONT>
<BR><FONT SIZE=3D2>Looking up port of RFC 100005/1 on =
10.254.0.18</FONT>
<BR><FONT SIZE=3D2>Root-NFS: Server returned error -13 while mounting =
/tftpboot/indy</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
</P>

<P><FONT SIZE=3D2>then it tries to boot off floppy and then it kernel =
panics. I have also noticed that the error &quot;Fri Nov 24 08:11:28 =
2000: Failed ( State Error )&quot; is displayed at the end of the tftp =
/vmlinux file transfer.</FONT></P>

<P><FONT SIZE=3D2>Anyone got any ideas? I am aware that I should be =
using a Linux NFS server, but I haven't got a machine to spare to set =
it up on. Please help!</FONT></P>

<P><FONT SIZE=3D2>Thanks for any help,</FONT>
</P>

<P><FONT SIZE=3D2>Chris Martin</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C05593.D8353E40--

From owner-linux-mips@oss.sgi.com Thu Nov 23 14:01:38 2000
Received:  by oss.sgi.com id <S553824AbQKWWB2>;
	Thu, 23 Nov 2000 14:01:28 -0800
Received: from [207.81.221.34] ([207.81.221.34]:32371 "EHLO relay")
	by oss.sgi.com with ESMTP id <S553759AbQKWWBL>;
	Thu, 23 Nov 2000 14:01:11 -0800
Received: from vcubed.com ([207.81.96.153])
	by relay (8.8.7/8.8.7) with ESMTP id RAA20861;
	Thu, 23 Nov 2000 17:23:09 -0500
Message-ID: <3A1D946B.CEF85110@vcubed.com>
Date:   Thu, 23 Nov 2000 17:04:27 -0500
From:   Dan Aizenstros <dan@vcubed.com>
Organization: V3 Semiconductor
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To:     Ralf Baechle <ralf@oss.sgi.com>
CC:     linux-mips@oss.sgi.com
Subject: Re: Multiple copies of pci-dma.c file.
References: <3A1BD888.7FB3C6A6@vcubed.com> <20001122165653.A6421@bacchus.dhis.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello Ralf,

Should the dma_cache_inv actually be a dma_cache_wback_inv?

Also, the sni directory contains a dma.c which is they same
as pci-dma.c and should be removed.

Dan Aizenstros
Software Engineer
V3 Semicondutor Corp.

Ralf Baechle wrote:
> 
> On Wed, Nov 22, 2000 at 09:30:32AM -0500, Dan Aizenstros wrote:
> 
> > Is there any reason for having multiple copies of
> > the pci-dma.c file in Linux/MIPS.  The are all
> > doing basically the same thing.  We could have
> > just one copy in the arch/mips/lib directory
> > and have the Makefile build it if CONFIG_PCI
> > is defined.
> 
> Sounds like a plan, done.  Tell me if it breaks something ...
> 
> Some chipsets have a builtin scatter / gather facility, those may need
> special variants of pci-dma.c for better support.
> 
> > Also they appear to have an error in that they
> > convert the pointer that is returned from the
> > __get_free_pages function call into a KSEG1
> > address even if the pointer is NULL.
> 
> Fixed.
> 
>   Ralf

From owner-linux-mips@oss.sgi.com Thu Nov 23 17:36:28 2000
Received:  by oss.sgi.com id <S553786AbQKXBgS>;
	Thu, 23 Nov 2000 17:36:18 -0800
Received: from u-214-21.karlsruhe.ipdial.viaginterkom.de ([62.180.21.214]:25348
        "EHLO u-214-21.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553652AbQKXBgG>; Thu, 23 Nov 2000 17:36:06 -0800
Received: (ralf@lappi) by bacchus.dhis.org id <S868987AbQKXBfp>;
	Fri, 24 Nov 2000 02:35:45 +0100
Date:	Fri, 24 Nov 2000 02:35:45 +0100
From:	Ralf Baechle <ralf@oss.sgi.com>
To:	Dan Aizenstros <dan@vcubed.com>
Cc:	linux-mips@oss.sgi.com
Subject: Re: Multiple copies of pci-dma.c file.
Message-ID: <20001124023545.A9305@bacchus.dhis.org>
References: <3A1BD888.7FB3C6A6@vcubed.com> <20001122165653.A6421@bacchus.dhis.org> <3A1D946B.CEF85110@vcubed.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <3A1D946B.CEF85110@vcubed.com>; from dan@vcubed.com on Thu, Nov 23, 2000 at 05:04:27PM -0500
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 23, 2000 at 05:04:27PM -0500, Dan Aizenstros wrote:

> Should the dma_cache_inv actually be a dma_cache_wback_inv?

Conceptually your right and I've therefore changed the kernel.  It wasn't
a bug though because the actual implementation was in both cases
actually doing a dma_cache_wback_inv.

> Also, the sni directory contains a dma.c which is they same as pci-dma.c
> and should be removed.

``He's dead, Jim''.

  Ralf

From owner-linux-mips@oss.sgi.com Mon Nov 27 12:36:43 2000
Received:  by oss.sgi.com id <S553655AbQK0UgX>;
	Mon, 27 Nov 2000 12:36:23 -0800
Received: from srvntsxconn3.toc.ixl.com ([216.99.0.139]:15365 "HELO
        srvntsxconn3.toc.ixl.com") by oss.sgi.com with SMTP
	id <S553659AbQK0Uf7>; Mon, 27 Nov 2000 12:35:59 -0800
Received: from 216.99.0.139 by srvntsxconn3.toc.ixl.com (InterScan E-Mail VirusWall NT); Mon, 27 Nov 2000 15:35:07 -0500 (Eastern Standard Time)
Received: by srvntsxconn3.toc.ixl.com with Internet Mail Service (5.5.2650.21)
	id <W6VAHA3B>; Mon, 27 Nov 2000 15:35:06 -0500
Message-ID: <0A5319EEAF65D411825E00805FBBD8A1209DB0@exchange.clt.ixl.com>
From:   tmaloney@ixl.com
To:     linux-mips@oss.sgi.com
Subject: off topic timmy
Date:   Mon, 27 Nov 2000 15:35:20 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

any reason this couldn't be used with a Indy R4600/133? please respond
offlist, and thanks.

SGI IRIX 6.4 Installation CD Set (8 CD's)
for Octane, Onyx, Onyx2 and Origin (200/2000) 
Includes: 
	SGI 813-0616-002: IRIX 6.4 for Origin, Onyx2, and Octane 
	SGI 813-0617-003: IRIX 6.4 Applications, 8/97 
	SGI 813-0722-011: IRIX 6.4 Recommended/Required Patches 2/98 
	SGI 813-0735-001: Octane System Disk Patches, 2/98 
	SGI 813-0648-002: Octane Demos 1.1 for IRIX 6.4 
	SGI 813-0543-001: Freeware 2.0 
	SGI 813-0574-001: R5000 Convert Patch 
	SGI 814-0544-006: Hot Mix 17 



Tim Maloney
Senior Developer
iXL, Inc.
1930 Camden Road, Suite 2070
Charlotte, NC 28203
704 943-7193 phone
tmaloney@ixl.com
www.ixl.com


From owner-linux-mips@oss.sgi.com Mon Nov 27 14:03:33 2000
Received:  by oss.sgi.com id <S553675AbQK0WDO>;
	Mon, 27 Nov 2000 14:03:14 -0800
Received: from mx.mips.com ([206.31.31.226]:48347 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553671AbQK0WC4>;
	Mon, 27 Nov 2000 14:02:56 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id OAA03618;
	Mon, 27 Nov 2000 14:02:28 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id OAA16300;
	Mon, 27 Nov 2000 14:02:47 -0800 (PST)
Message-ID: <011e01c058be$420db900$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     <tmaloney@ixl.com>, <linux-mips@oss.sgi.com>
References: <0A5319EEAF65D411825E00805FBBD8A1209DB0@exchange.clt.ixl.com>
Subject: Re: off topic timmy
Date:   Mon, 27 Nov 2000 23:06: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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Actually, there is a potential reason why it won't work.
I don't know about IRIX 6.4, but IRIX 6.3 had distinct
kernel, library, and binary builds for desktop (Indy,
Indigo2, Challenge S, O2) platforms versus the
larger server-class systems like those listed below.
The difference was that the "lite" desktop versions in fact
ran the CPU in 32-bit mode, while the big-system versions 
ran full 64-bit.  The logic was that the overhead of 
64-bit register context on the stack, etc, was too great
to be permitted on desktop platforms.  For people
like myself, who wanted to develop and test CPU
benchmark codes on the desktop before launching
them on the Origin, this was no kindness.

So there is an excellent chance that they "idiot
proofed" the release you have so that you can't load
it on your Indy.

            Kevin K.

----- Original Message -----
From: <tmaloney@ixl.com>
To: <linux-mips@oss.sgi.com>
Sent: Monday, November 27, 2000 9:35 PM
Subject: off topic timmy


> any reason this couldn't be used with a Indy R4600/133? please respond
> offlist, and thanks.
> 
> SGI IRIX 6.4 Installation CD Set (8 CD's)
> for Octane, Onyx, Onyx2 and Origin (200/2000) 
> Includes: 
> SGI 813-0616-002: IRIX 6.4 for Origin, Onyx2, and Octane 
> SGI 813-0617-003: IRIX 6.4 Applications, 8/97 
> SGI 813-0722-011: IRIX 6.4 Recommended/Required Patches 2/98 
> SGI 813-0735-001: Octane System Disk Patches, 2/98 
> SGI 813-0648-002: Octane Demos 1.1 for IRIX 6.4 
> SGI 813-0543-001: Freeware 2.0 
> SGI 813-0574-001: R5000 Convert Patch 
> SGI 814-0544-006: Hot Mix 17 
> 
> 
> 
> Tim Maloney
> Senior Developer
> iXL, Inc.
> 1930 Camden Road, Suite 2070
> Charlotte, NC 28203
> 704 943-7193 phone
> tmaloney@ixl.com
> www.ixl.com
> 


From owner-linux-mips@oss.sgi.com Tue Nov 28 12:38:06 2000
Received:  by oss.sgi.com id <S553711AbQK1Uh5>;
	Tue, 28 Nov 2000 12:37:57 -0800
Received: from u-77-18.karlsruhe.ipdial.viaginterkom.de ([62.180.18.77]:23045
        "EHLO u-77-18.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553668AbQK1Uho>; Tue, 28 Nov 2000 12:37:44 -0800
Received: (ralf@lappi) by bacchus.dhis.org id <S868984AbQK1MGT>;
	Tue, 28 Nov 2000 13:06:19 +0100
Date:	Tue, 28 Nov 2000 13:06:19 +0100
From:	Ralf Baechle <ralf@uni-koblenz.de>
To:	"H . J . Lu" <hjl@valinux.com>
Cc:	Nick Clifton <nickc@redhat.com>, drepper@cygnus.com,
        binutils@sources.redhat.com, linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
Subject: Re: Update readelf to know about the new ELF constants
Message-ID: <20001128130618.A27204@bacchus.dhis.org>
References: <200011271938.LAA19423@elmo.cygnus.com> <20001127122028.A20242@valinux.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001127122028.A20242@valinux.com>; from hjl@valinux.com on Mon, Nov 27, 2000 at 12:20:28PM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Mon, Nov 27, 2000 at 12:20:28PM -0800, H . J . Lu wrote:

>      EM_MIPS_RS3_LE    10		MIPS RS3000 Little-endian

I don't know where you got this constant's name from, it's name is
EM_MIPS_RS4_BE (MIPS R4000 big endian) in all literature and header files
I've seen.  RS3000 series from MIPS was a workstation series of the former
Mips Computer Systems, Inc.  not a processor.

The constant is probably no longer in use - if it ever has been. it's only
use I've ever seen is in tools that read ELF but never in tools that write
ELF or in existing ELF files.

Cc'ed to the Linux/MIPS mailing lists; maybe the oldtimers there can comment.

  Ralf

From owner-linux-mips@oss.sgi.com Tue Nov 28 12:47:16 2000
Received:  by oss.sgi.com id <S553698AbQK1UrG>;
	Tue, 28 Nov 2000 12:47:06 -0800
Received: from runyon.cygnus.com ([205.180.230.5]:12188 "EHLO cygnus.com")
	by oss.sgi.com with ESMTP id <S553660AbQK1Uqz>;
	Tue, 28 Nov 2000 12:46:55 -0800
Received: from otr.mynet (dialin-sv-02.cygnus.com [205.180.231.52])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA26695;
	Tue, 28 Nov 2000 12:46:16 -0800 (PST)
Received: by otr.mynet (Postfix, from userid 500)
	id F0F8A30BD; Tue, 28 Nov 2000 12:46:08 -0800 (PST)
To:     Ralf Baechle <ralf@uni-koblenz.de>
Cc:     "H . J . Lu" <hjl@valinux.com>, Nick Clifton <nickc@redhat.com>,
        binutils@sources.redhat.com, linux-mips@oss.sgi.com,
        linux-mips@fnet.fr
Subject: Re: Update readelf to know about the new ELF constants
References: <200011271938.LAA19423@elmo.cygnus.com>
	<20001127122028.A20242@valinux.com>
	<20001128130618.A27204@bacchus.dhis.org>
Reply-To: drepper@cygnus.com (Ulrich Drepper)
X-fingerprint: BE 3B 21 04 BC 77 AC F0  61 92 E4 CB AC DD B9 5A
From:   Ulrich Drepper <drepper@redhat.com>
Date:   28 Nov 2000 12:46:08 -0800
In-Reply-To: Ralf Baechle's message of "Tue, 28 Nov 2000 13:06:19 +0100"
Message-ID: <m3wvdnsu3z.fsf@otr.mynet.cygnus.com>
Lines:  16
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Ralf Baechle <ralf@uni-koblenz.de> writes:

> >      EM_MIPS_RS3_LE    10		MIPS RS3000 Little-endian
> 
> I don't know where you got this constant's name from, it's name is
> EM_MIPS_RS4_BE (MIPS R4000 big endian) in all literature and header files
> I've seen.  RS3000 series from MIPS was a workstation series of the former
> Mips Computer Systems, Inc.  not a processor.

This is the name in the current ABI specs.  If it's changed then on
request of somebody who registered it.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

From owner-linux-mips@oss.sgi.com Tue Nov 28 12:48:36 2000
Received:  by oss.sgi.com id <S553719AbQK1Us0>;
	Tue, 28 Nov 2000 12:48:26 -0800
Received: from runyon.cygnus.com ([205.180.230.5]:19612 "EHLO cygnus.com")
	by oss.sgi.com with ESMTP id <S553668AbQK1UsX>;
	Tue, 28 Nov 2000 12:48:23 -0800
Received: from elmo.cygnus.com (elmo.cygnus.com [205.180.230.137])
	by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA27049;
	Tue, 28 Nov 2000 12:48:20 -0800 (PST)
Received: (nickc@localhost) by elmo.cygnus.com (8.9.3/8.6.4) id MAA08884; Tue, 28 Nov 2000 12:48:20 -0800
Date:   Tue, 28 Nov 2000 12:48:20 -0800
Message-Id: <200011282048.MAA08884@elmo.cygnus.com>
X-Authentication-Warning: elmo.cygnus.com: nickc set sender to nickc@redhat.com using -f
From:   Nick Clifton <nickc@redhat.com>
To:     ralf@uni-koblenz.de
CC:     hjl@valinux.com, drepper@cygnus.com, binutils@sources.redhat.com,
        linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: Update readelf to know about the new ELF constants
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi Ralf,
 
: >      EM_MIPS_RS3_LE    10		MIPS RS3000 Little-endian
: 
: I don't know where you got this constant's name from, it's name is
: EM_MIPS_RS4_BE (MIPS R4000 big endian) in all literature and header files
: I've seen.  RS3000 series from MIPS was a workstation series of the former
: Mips Computer Systems, Inc.  not a processor.
: 
: The constant is probably no longer in use - if it ever has been. it's only
: use I've ever seen is in tools that read ELF but never in tools that write
: ELF or in existing ELF files.

Just to add a note that in the sources the entry actually looks like
this:

#define EM_MIPS_RS4_BE 10	/* MIPS R4000 big-endian */ /* Depreciated */
#define EM_MIPS_RS3_LE 10	/* MIPS R3000 little-endian (Oct 4 1999 Draft)*/ /* Depreciated */

Cheers
	Nick

From owner-linux-mips@oss.sgi.com Tue Nov 28 16:14:47 2000
Received:  by oss.sgi.com id <S553735AbQK2AOh>;
	Tue, 28 Nov 2000 16:14:37 -0800
Received: from NS.CenSoft.COM ([208.219.23.2]:61199 "EHLO
        ns.centurysoftware.com") by oss.sgi.com with ESMTP
	id <S553716AbQK2AOM>; Tue, 28 Nov 2000 16:14:12 -0800
Received: from censoft.com (IDENT:jordanc@cen94.censoft.com [208.219.23.94])
	by ns.centurysoftware.com (8.9.3/8.9.3) with ESMTP id SAA06943
	for <linux-mips@oss.sgi.com>; Tue, 28 Nov 2000 18:28:31 -0700 (MST)
Message-ID: <3A244A2C.5C648B27@censoft.com>
Date:   Tue, 28 Nov 2000 17:13:32 -0700
From:   Jordan Crouse <jordanc@Censoft.com>
Organization: Century Software
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     linux-mips@oss.sgi.com
Subject: DNS 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Has anyone encountered peculiar happenings with the 2.0.7 glibc and
resolving names via DNS?  It is simply *NOT* going out to the specifiec
nameserver (verified via line sniffer), even though /etc/resolv.conf is
present and correct.  Any lookups with the /etc/hosts file work great,
its just when I try to go out on the network.

Has anyone noticed any strangeness with this????

Jordan

From owner-linux-mips@oss.sgi.com Tue Nov 28 17:55:17 2000
Received:  by oss.sgi.com id <S553661AbQK2BzI>;
	Tue, 28 Nov 2000 17:55:08 -0800
Received: from pobox.sibyte.com ([208.12.96.20]:33284 "HELO pobox.sibyte.com")
	by oss.sgi.com with SMTP id <S553653AbQK2Byo>;
	Tue, 28 Nov 2000 17:54:44 -0800
Received: from baton.sibyte.com (moat.sibyte.com [208.12.96.21])
	by pobox.sibyte.com (Postfix) with SMTP id D469D205FA
	for <linux-mips@oss.sgi.com>; Tue, 28 Nov 2000 17:54:38 -0800 (PST)
Received: from SMTP agent by mail gateway 
 Tue, 28 Nov 2000 17:50:16 -0800
Received: by baton.sibyte.com (Postfix, from userid 1017)
	id 2B9F25703; Tue, 28 Nov 2000 17:54:23 -0800 (PST)
From:   Justin Carlson <carlson@sibyte.com>
Reply-To: carlson@sibyte.com
Organization: Sibyte
To:     linux-mips@oss.sgi.com
Subject: Boot ordering quandry for time_init()
Date:   Tue, 28 Nov 2000 17:38:56 -0800
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <0011281754234M.11653@baton.sibyte.com>
Content-Transfer-Encoding: 8bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


Looking for some advice from some mips boot gurus.

I'm bringing up an SB1/SB1250 port of the mips/ arch
tree.  In particular, I'm in time_init() bringing up the
general purpose timer that's going to be used for 
the 100Hz clock.  The interrupt seems to be the rub. 

I've basically copied the request_irq() code from other
ports, but it uses kmalloc(), which I can't use at this point
in the boot sequence since we haven't yet initialized
the allocator (I believe it's done in mem_init()?  escapes 
me at the moment).  

The 4k way around this is to hook its timer interrupt handling
routing up directly to the interrupt handling stub  in indyIRQ.S.  This
certainly works, but seems somewhat messy to me in that it's a
 special case provided only to avoid ordering constraints. 

I could hack request_irq to use the boot memory allocator
than reallocate properly after kmalloc is available, but this
is even worse in terms of added complexity.

Anyone know a "better" way to do this that I'm missing?

Thanks, 
  Justin

------
Justin Carlson
carlson@sibyte.com

From owner-linux-mips@oss.sgi.com Tue Nov 28 21:41:59 2000
Received:  by oss.sgi.com id <S553661AbQK2Flj>;
	Tue, 28 Nov 2000 21:41:39 -0800
Received: from c461218-a.frmt1.sfba.home.com ([24.1.69.78]:30217 "EHLO
        gateway.junsun.net") by oss.sgi.com with ESMTP id <S553653AbQK2FlM>;
	Tue, 28 Nov 2000 21:41:12 -0800
Received: (from jsun@localhost)
	by gateway.junsun.net (8.9.3/8.9.3) id VAA09889;
	Tue, 28 Nov 2000 21:41:11 -0800
Date:   Tue, 28 Nov 2000 21:41:11 -0800
From:   Jun Sun <jsun@junsun.net>
To:     linux-mips@oss.sgi.com
Subject: cross-compile tools made easy ...
Message-ID: <20001128214111.B9875@gateway.junsun.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre3us
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


I found myself building cross-compile toolchains a lot recently.  So I 
spent sometime and wrote a script to do the whole darn thing in one shot.  

If you want to build your own cross-compile tools, you can save some
effort by just getting the tar balls and then typing "build".

It is not too much different from what is in Ralf's "Linux MIPS HOW-TO" 
cross-compile section.  But the tarball offers some convenience by having 
all the sources and patches put together and all configurations, options 
lumped in one file.

You can find two tar balls at linux.junsun.net:

mips-xtool-1.1.tar.gz
	binutils 2.8.1 + egcs 1.1.2 + glibc 2.0.6
	(Thanks to Keith Wesolows for the glibc fix with egcs 1.1.2)

mips-xtool-0.1.tar.gz
	binutils 2.8.1 + egcs 1.0.3a + glibc 2.0.6


I did some minimal tests with kernel and building a couple of packages,
and would very much like to know if you have any problems (Yes, that is
the purpose. :-0)
 
Enjoy!

Jun 

From owner-linux-mips@oss.sgi.com Tue Nov 28 23:28:20 2000
Received:  by oss.sgi.com id <S553699AbQK2H2A>;
	Tue, 28 Nov 2000 23:28:00 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:10228 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553656AbQK2H12>;
	Tue, 28 Nov 2000 23:27:28 -0800
Received: from scotty.mgnet.de (p3E9B8C22.dip.t-dialin.net [62.155.140.34])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id IAA03315
	for <linux-mips@oss.sgi.com>; Wed, 29 Nov 2000 08:27:28 +0100 (MET)
Received: (qmail 24328 invoked from network); 29 Nov 2000 07:27:24 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 29 Nov 2000 07:27:24 -0000
Date:   Wed, 29 Nov 2000 08:27:25 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Jordan Crouse <jordanc@Censoft.com>
cc:     linux-mips@oss.sgi.com
Subject: Re: DNS 
In-Reply-To: <3A244A2C.5C648B27@censoft.com>
Message-ID: <Pine.LNX.4.21.0011290826210.25241-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Tue, 28 Nov 2000, Jordan Crouse wrote:

> Has anyone encountered peculiar happenings with the 2.0.7 glibc and

Please don't use glibc 2.0.7 . A lot of ppl (including me) have found out,
that it doesn't work.

		HTH, Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Wed Nov 29 04:33:50 2000
Received:  by oss.sgi.com id <S553735AbQK2Mdk>;
	Wed, 29 Nov 2000 04:33:40 -0800
Received: from delta.ds2.pg.gda.pl ([153.19.144.1]:12777 "EHLO
        delta.ds2.pg.gda.pl") by oss.sgi.com with ESMTP id <S553721AbQK2MdS>;
	Wed, 29 Nov 2000 04:33:18 -0800
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id NAA15886;
	Wed, 29 Nov 2000 13:10:58 +0100 (MET)
Date:   Wed, 29 Nov 2000 13:10:58 +0100 (MET)
From:   "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To:     Ulrich Drepper <drepper@cygnus.com>
cc:     Ralf Baechle <ralf@uni-koblenz.de>, "H . J . Lu" <hjl@valinux.com>,
        Nick Clifton <nickc@redhat.com>, binutils@sources.redhat.com,
        linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: Update readelf to know about the new ELF constants
In-Reply-To: <m3wvdnsu3z.fsf@otr.mynet.cygnus.com>
Message-ID: <Pine.GSO.3.96.1001129130308.13815B-100000@delta.ds2.pg.gda.pl>
Organization: Technical University of Gdansk
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On 28 Nov 2000, Ulrich Drepper wrote:

> > >      EM_MIPS_RS3_LE    10		MIPS RS3000 Little-endian
> > 
> > I don't know where you got this constant's name from, it's name is
> > EM_MIPS_RS4_BE (MIPS R4000 big endian) in all literature and header files
> > I've seen.  RS3000 series from MIPS was a workstation series of the former
> > Mips Computer Systems, Inc.  not a processor.
> 
> This is the name in the current ABI specs.  If it's changed then on
> request of somebody who registered it.

 Well, I would only add the name should probably be EM_MIPS_R3_LE (and
ditto the comment).  We might actually use it for mipsel-linux especially
as the ABI explicitly states EM_MIPS is for big endian machines but I'm
not sure it's worth bothering as the endianness is specified
independently.  I believe all software involved should handle it well -- I
recall Linux, glibc, binutils, modutils all handle both tags fine.  It's
just BFD that does not generate EM_MIPS_R3_LE. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


From owner-linux-mips@oss.sgi.com Wed Nov 29 05:34:51 2000
Received:  by oss.sgi.com id <S553724AbQK2Nel>;
	Wed, 29 Nov 2000 05:34:41 -0800
Received: from mail.netunlimited.net ([208.128.132.4]:22534 "EHLO
        mail.netunlimited.net") by oss.sgi.com with ESMTP
	id <S553685AbQK2NeY>; Wed, 29 Nov 2000 05:34:24 -0800
Received: from localhost (jesse@localhost)
	by mail.netunlimited.net (8.9.3/8.9.3) with ESMTP id IAA04527
	for <linux-mips@oss.sgi.com>; Wed, 29 Nov 2000 08:35:37 -0500
Date:   Wed, 29 Nov 2000 08:35:37 -0500 (EST)
From:   Jesse Dyson <jesse@winston-salem.com>
X-Sender: jesse@mail.netunlimited.net
To:     linux-mips@oss.sgi.com
Subject: Kernel Boot Hard Locks Indigo 2
Message-ID: <Pine.LNX.4.10.10011290832330.2804-100000@mail.netunlimited.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi,
I have an Indigo 2 which I am trying to load the debian linux port (or any
port that will work actually).  I have been able to successfully configure
BOOTP,TFTP, and NFS so that the machine will boot with BOOTP (per
http://oss.sgi.com/mips/i2-howto.html).  However, after the kernel has
loaded (I assume into RAM from the image--sorry newbie), the machine hard
locks.  Any help would be greatly appreciated.  Thank you for your time.

Thanks,
Jesse Dyson


From owner-linux-mips@oss.sgi.com Wed Nov 29 05:47:20 2000
Received:  by oss.sgi.com id <S553738AbQK2NrB>;
	Wed, 29 Nov 2000 05:47:01 -0800
Received: from dragon.appliedmicro.ns.ca ([24.222.12.66]:7187 "EHLO
        appliedmicro.ns.ca") by oss.sgi.com with ESMTP id <S553695AbQK2Nqd>;
	Wed, 29 Nov 2000 05:46:33 -0800
Received: by dragon.appliedmicro.ns.ca id <7303>; Wed, 29 Nov 2000 09:41:45 -0400
To:     linux-mips@oss.sgi.com
Cc:     chris@debian.org
Subject: Re: cross-compile tools made easy ...
Message-Id: <00Nov29.094145ast.7303@dragon.appliedmicro.ns.ca>
References: <20001128214111.B9875@gateway.junsun.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20001128214111.B9875@gateway.junsun.net>; from jsun@junsun.net on Wed, Nov 29, 2000 at 01:37:21AM -0400
From:   fifield@amirix.com (Jamie Fifield)
Date:   Wed, 29 Nov 2000 09:41:43 -0400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On that vein.  I've got a trvial patch against the binutils in Debian (woody)
for a cross binutils for big endian mips.

jamie:~$ dpkg -s binutils-mips
Package: binutils-mips
Status: install ok installed
Priority: extra
Section: devel
Installed-Size: 6364
Maintainer: Christopher C. Chimelis <chris@debian.org>
Source: binutils
Version: 2.10.1.0.2-1
Suggests: binutils (= 2.10.1.0.2-1)
Description: Binary utilities that support MIPS (Big Endian) targets.
 The programs in this package are used to manipulate binary and object
 files that may have been created on the MIPS (Big Endian) architecture.
 This package is primarily for MIPS developers and cross-compilers and is
 not needed by normal users or developers.


My version is compiled against glibc 2.1.3, so YMMV against 2.2.

Chris: Any chance I could persuade you to upload a binutils-mips to Woody? :)

Patch is below (and this patch does not build a mips target by default, you
still need to do ./debian/rules TARGET=mips binary-cross).


diff -uNr binutils-2.10.1.0.2/debian/control binutils-2.10.1.0.2-mips/debian/control
--- binutils-2.10.1.0.2/debian/control	Wed Nov 29 09:39:07 2000
+++ binutils-2.10.1.0.2-mips/debian/control	Tue Nov 28 09:21:58 2000
@@ -85,6 +85,17 @@
  This package is primarily for MIPS developers and cross-compilers and is 
  not needed by normal users or developers.
 
+Package: binutils-mips
+Section: devel
+Architecture: any
+Priority: extra
+Suggests: binutils (= ${Source-Version})
+Description: Binary utilities that support MIPS (Big Endian) targets.
+ The programs in this package are used to manipulate binary and object
+ files that may have been created on the MIPS (Big Endian) architecture.  
+ This package is primarily for MIPS developers and cross-compilers and is 
+ not needed by normal users or developers.
+
 Package: binutils-avr
 Section: devel
 Architecture: any
diff -uNr binutils-2.10.1.0.2/debian/rules binutils-2.10.1.0.2-mips/debian/rules
--- binutils-2.10.1.0.2/debian/rules	Wed Nov 29 09:39:07 2000
+++ binutils-2.10.1.0.2-mips/debian/rules	Tue Nov 28 09:23:15 2000
@@ -74,7 +74,7 @@
 # debian/control for each of these. For example, the cross binutils package
 # for powerpc is called binutils-powerpc.
 #
-ALL_TARGETS =     avr powerpc arm m68k mipsel
+ALL_TARGETS =     avr powerpc arm m68k mipsel mips
 
 # Targets NOT to build for. This is the set difference ALL_TARGETS - TARGETS
 #


On Wed, Nov 29, 2000 at 01:37:21AM -0400, Jun Sun wrote:
> 
> I found myself building cross-compile toolchains a lot recently.  So I 
> spent sometime and wrote a script to do the whole darn thing in one shot.  
> 
> If you want to build your own cross-compile tools, you can save some
> effort by just getting the tar balls and then typing "build".
> 
> It is not too much different from what is in Ralf's "Linux MIPS HOW-TO" 
> cross-compile section.  But the tarball offers some convenience by having 
> all the sources and patches put together and all configurations, options 
> lumped in one file.
> 
> You can find two tar balls at linux.junsun.net:
> 
> mips-xtool-1.1.tar.gz
> 	binutils 2.8.1 + egcs 1.1.2 + glibc 2.0.6
> 	(Thanks to Keith Wesolows for the glibc fix with egcs 1.1.2)
> 
> mips-xtool-0.1.tar.gz
> 	binutils 2.8.1 + egcs 1.0.3a + glibc 2.0.6
> 
> 
> I did some minimal tests with kernel and building a couple of packages,
> and would very much like to know if you have any problems (Yes, that is
> the purpose. :-0)
>  
> Enjoy!
> 
> Jun 

-- 
Jamie Fifield

Software Designer		Jamie.Fifield@amirix.com
AMIRIX Systems Inc.		http://www.amirix.com/
Embedded Debian Project		http://www.emdebian.org/
77 Chain Lake Drive		902-450-1700 x247 (Phone)
Halifax, N.S. B3S 1E1		902-450-1704 (FAX)

From owner-linux-mips@oss.sgi.com Wed Nov 29 06:03:51 2000
Received:  by oss.sgi.com id <S553740AbQK2ODa>;
	Wed, 29 Nov 2000 06:03:30 -0800
Received: from adsl-61-8-131.mia.bellsouth.net ([208.61.8.131]:50961 "EHLO
        spawn.hockeyfiend.com") by oss.sgi.com with ESMTP
	id <S553736AbQK2ODF>; Wed, 29 Nov 2000 06:03:05 -0800
Received: from localhost ([127.0.0.1] ident=chris)
	by spawn.hockeyfiend.com with esmtp (Exim 3.16 #1 (Debian))
	id 1417nu-0005zO-00; Wed, 29 Nov 2000 09:01:46 -0500
Date:   Wed, 29 Nov 2000 09:01:40 -0500 (EST)
From:   "Christopher C. Chimelis" <chris@debian.org>
X-Sender: chris@spawn.hockeyfiend.com
To:     Jamie Fifield <fifield@amirix.com>
cc:     linux-mips@oss.sgi.com
Subject: Re: cross-compile tools made easy ...
In-Reply-To: <00Nov29.094316ast.7303@dragon.appliedmicro.ns.ca>
Message-ID: <Pine.LNX.4.21.0011290900450.22938-100000@spawn.hockeyfiend.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


On Wed, 29 Nov 2000, Jamie Fifield wrote:

> On that vein.  I've got a trvial patch against the binutils in Debian (woody)
> for a cross binutils for big endian mips.
> 
> jamie:~$ dpkg -s binutils-mips
> Package: binutils-mips
> Status: install ok installed
> Priority: extra
> Section: devel
> Installed-Size: 6364
> Maintainer: Christopher C. Chimelis <chris@debian.org>
> Source: binutils
> Version: 2.10.1.0.2-1
> Suggests: binutils (= 2.10.1.0.2-1)
> Description: Binary utilities that support MIPS (Big Endian) targets.
>  The programs in this package are used to manipulate binary and object
>  files that may have been created on the MIPS (Big Endian) architecture.
>  This package is primarily for MIPS developers and cross-compilers and is
>  not needed by normal users or developers.
> 
> 
> My version is compiled against glibc 2.1.3, so YMMV against 2.2.
> 
> Chris: Any chance I could persuade you to upload a binutils-mips to Woody? :)

Ok...I'll consider it more when I return (getting on a plane in an
hour).  Sorry for the brevity, but I'm in travel mode already :-P

C


From owner-linux-mips@oss.sgi.com Wed Nov 29 06:30:11 2000
Received:  by oss.sgi.com id <S553755AbQK2OaB>;
	Wed, 29 Nov 2000 06:30:01 -0800
Received: from [166.70.178.116] ([166.70.178.116]:52204 "EHLO home.knm.org")
	by oss.sgi.com with ESMTP id <S553746AbQK2O3f>;
	Wed, 29 Nov 2000 06:29:35 -0800
Received: (from mark@localhost)
	by home.knm.org (8.9.3/8.9.3) id HAA11695;
	Wed, 29 Nov 2000 07:29:22 -0700
Date:   Wed, 29 Nov 2000 07:29:22 -0700
Message-Id: <200011291429.HAA11695@home.knm.org>
X-Authentication-Warning: home.knm.org: mark set sender to mark@home.knm.org using -f
From:   Mark Lehrer <mark@knm.org>
To:     spock@mgnet.de
CC:     jordanc@Censoft.com, linux-mips@oss.sgi.com
In-reply-to: <Pine.LNX.4.21.0011290826210.25241-100000@spock.mgnet.de>
	(message from Klaus Naumann on Wed, 29 Nov 2000 08:27:25 +0100 (CET))
Subject: Re: DNS
References:  <Pine.LNX.4.21.0011290826210.25241-100000@spock.mgnet.de>
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


   > Has anyone encountered peculiar happenings with the 2.0.7 glibc and

   Please don't use glibc 2.0.7 . A lot of ppl (including me) have found out,
   that it doesn't work.


What is the best version to use, and where could I download it?  Is
there a site that is archiving pre-compiled binaries?

Thanks!
Mark

From owner-linux-mips@oss.sgi.com Wed Nov 29 06:54:11 2000
Received:  by oss.sgi.com id <S553743AbQK2Oxv>;
	Wed, 29 Nov 2000 06:53:51 -0800
Received: from NS.CenSoft.COM ([208.219.23.2]:26642 "EHLO
        ns.centurysoftware.com") by oss.sgi.com with ESMTP
	id <S553663AbQK2Oxf>; Wed, 29 Nov 2000 06:53:35 -0800
Received: from censoft.com (IDENT:jordanc@cen94.censoft.com [208.219.23.94])
	by ns.centurysoftware.com (8.9.3/8.9.3) with ESMTP id JAA12249;
	Wed, 29 Nov 2000 09:07:57 -0700 (MST)
Message-ID: <3A251846.663BD300@censoft.com>
Date:   Wed, 29 Nov 2000 07:52:54 -0700
From:   Jordan Crouse <jordanc@Censoft.com>
Organization: Century Software
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To:     Klaus Naumann <spock@mgnet.de>
CC:     linux-mips@oss.sgi.com
Subject: Re: DNS
References: <Pine.LNX.4.21.0011290826210.25241-100000@spock.mgnet.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Actually, thanks to the hard work of Mike Klar and the boys at SuSE, I
have been able to track down a decently working copy of the libc 2.0.7,
which I have compiled for a VR4122.  In fact, until I hit this DNS
problem, it has been working without a hitch, including pthreads and
some other fairly complicated concepts.

Jordan

Klaus Naumann wrote:
> 
> On Tue, 28 Nov 2000, Jordan Crouse wrote:
> 
> > Has anyone encountered peculiar happenings with the 2.0.7 glibc and
> 
> Please don't use glibc 2.0.7 . A lot of ppl (including me) have found out,
> that it doesn't work.
> 
>                 HTH, Klaus
> 
> --
> Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
> Nickname    : Spock             | Org.: Mad Guys Network
> Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
> PGP Key     : www.mgnet.de/keys/key_spock.txt

From owner-linux-mips@oss.sgi.com Wed Nov 29 09:18:02 2000
Received:  by oss.sgi.com id <S553760AbQK2RRm>;
	Wed, 29 Nov 2000 09:17:42 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:1031 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553671AbQK2RRM>;
	Wed, 29 Nov 2000 09:17:12 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 061127CD8; Wed, 29 Nov 2000 17:17:09 +0000 (GMT)
Date:   Wed, 29 Nov 2000 17:17:09 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     Jesse Dyson <jesse@winston-salem.com>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Kernel Boot Hard Locks Indigo 2
Message-ID: <20001129171709.A21825@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.12i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> However, after the kernel has loaded the machine hard locks.


Where did you get the kernel from?

We have a known issue with the CVS versions of GCC....it seems that
when you compile a 2.4 kernel with this, it works on the Indy, but
won't boot on the I2...it hangs when initialising the serial console.

Compiling the same kernel with egcs-1.1.2 works OK on both the Indy and
I2...


You can get known working kernels for the Indy and I2 in:

ftp://download.ichilton.co.uk/pub/ichilton/linux-mips/kernels)
(or  http://download.ichilton.co.uk/linux-mips/kernels/)

For 2.2.14, there are separate kernels for the I2 and Indy (the I2 one
has EISA enabled).

For 2.4-test11, the same kernel works on both.


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |        Proofread carefully to see if you any words out.         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov 29 09:24:03 2000
Received:  by oss.sgi.com id <S553762AbQK2RXn>;
	Wed, 29 Nov 2000 09:23:43 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:2055 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553759AbQK2RXi>;
	Wed, 29 Nov 2000 09:23:38 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id 37DD57CD8; Wed, 29 Nov 2000 17:23:36 +0000 (GMT)
Date:   Wed, 29 Nov 2000 17:23:36 +0000
From:   Ian Chilton <mailinglist@ichilton.co.uk>
To:     linux-mips@oss.sgi.com
Subject: Re: DNS
Message-ID: <20001129172336.B21863@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.12i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> What is the best version to use, and where could I download it?  Is
> there a site that is archiving pre-compiled binaries?


I have found 2.0.6 to be ok, and am currently working on 2.2

I think I got 2.0.6 from the gnu site, and used patches from
oss.sgi.com/pub/linux/mips, but I have them for download.

ftp://download.ichilton.co.uk/pub/ichilton/linux-mips  or
http://download.ichilton.co.uk/linux-mips


You will find them in the toolchains directory under v1 and v2:

v1 = glibc 2.0.6, egcs 1.0.3a, binutils 2.8.1, kernel 2.2.14
v2 = glibc 2.2, gcc 2.97, binutils 2.10.91, kernel 2.4



Also, if all else fails, check the links page...there are loads of
sites with Linux/MIPS stuff on  :)
http://linuxmips.ichilton.co.uk
 

Thanks!


Bye for Now,

Ian

                                \|||/
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |        Proofread carefully to see if you any words out.         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov 29 11:18:07 2000
Received:  by oss.sgi.com id <S553770AbQK2TR5>;
	Wed, 29 Nov 2000 11:17:57 -0800
Received: from woody.ichilton.co.uk ([216.29.174.40]:9991 "HELO
        woody.ichilton.co.uk") by oss.sgi.com with SMTP id <S553761AbQK2TRd>;
	Wed, 29 Nov 2000 11:17:33 -0800
Received: by woody.ichilton.co.uk (Postfix, from userid 0)
	id EB44A7CD8; Wed, 29 Nov 2000 19:17:30 +0000 (GMT)
Date:   Wed, 29 Nov 2000 19:17:30 +0000
From:   Ian Chilton <ian@ichilton.co.uk>
To:     Jesse Dyson <jesse@winston-salem.com>
Cc:     linux-mips@oss.sgi.com
Subject: Re: Kernel Boot Hard Locks Indigo 2
Message-ID: <20001129191730.A22085@woody.ichilton.co.uk>
Reply-To: Ian Chilton <ian@ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.12i
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hello,

> Mr. Chilton,

Ian!


> Thank you so much for your help.

No problem!


>  I believe I need an ecoff version of the
> kernel (not sure exactly what that means--forgive me)

I am not too sure either...all I know is some proms require this
doing...

I don't have any ecoff kernels handy, but hope to upload some soon..


> PROM Monitor SGI Version 5.1 Rev B IP22 Sep 16, 1993 (BE)

Not sure, Ralf will be able to tell you what's the score with that..


Bye for Now,

Ian


                                \|||/ 
                                (o o)
 /---------------------------ooO-(_)-Ooo---------------------------\
 |  Ian Chilton        (IRC Nick - GadgetMan)     ICQ #: 16007717  |
 |-----------------------------------------------------------------|
 |  E-Mail: ian@ichilton.co.uk     Web: http://www.ichilton.co.uk  |
 |-----------------------------------------------------------------|
 |       Who's General Failure & why's he reading my disk?         |
 \-----------------------------------------------------------------/


From owner-linux-mips@oss.sgi.com Wed Nov 29 11:30:07 2000
Received:  by oss.sgi.com id <S553774AbQK2T3s>;
	Wed, 29 Nov 2000 11:29:48 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:29188 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553764AbQK2T3Y>;
	Wed, 29 Nov 2000 11:29:24 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id LAA23506;
	Wed, 29 Nov 2000 11:26:40 -0800
Date:   Wed, 29 Nov 2000 11:26:40 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Ian Chilton <ian@ichilton.co.uk>
Cc:     Jesse Dyson <jesse@winston-salem.com>, linux-mips@oss.sgi.com
Subject: Re: Kernel Boot Hard Locks Indigo 2
Message-ID: <20001129112640.A22235@chem.unr.edu>
References: <20001129191730.A22085@woody.ichilton.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <20001129191730.A22085@woody.ichilton.co.uk>; from ian@ichilton.co.uk on Wed, Nov 29, 2000 at 07:17:30PM +0000
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 29, 2000 at 07:17:30PM +0000, Ian Chilton wrote:

> >  I believe I need an ecoff version of the
> > kernel (not sure exactly what that means--forgive me)
> 
> I am not too sure either...all I know is some proms require this
> doing...

PROMs older than a certain date (which may be sometime in 1995)
require ECOFF kernels because they are incapable of understanding ELF.
The symptom is mentioned in the FAQ.  This seems to happen with most
if not all Indigo2s and a few older Indys.

> > PROM Monitor SGI Version 5.1 Rev B IP22 Sep 16, 1993 (BE)
> 
> Not sure, Ralf will be able to tell you what's the score with that..

You need ECOFF.  My Indigo2 has this date also and does not understand
ELF.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Wed Nov 29 21:47:54 2000
Received:  by oss.sgi.com id <S553781AbQK3Fro>;
	Wed, 29 Nov 2000 21:47:44 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:57889 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553771AbQK3FrT>;
	Wed, 29 Nov 2000 21:47:19 -0800
Received: from sgisgp.singapore.sgi.com (sgisgp.singapore.sgi.com [134.14.84.2]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id VAA08449
	for <linux-mips@oss.sgi.com>; Wed, 29 Nov 2000 21:47:17 -0800 (PST)
	mail_from (calvine@sgi.com)
Received: from sgp-apsa001e--n.singapore.sgi.com by sgisgp.singapore.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI)
	for <linux-mips@oss.sgi.com> id NAA11287; Thu, 30 Nov 2000 13:56:58 +0800
Received: by sgp-apsa001e--n.singapore.sgi.com with Internet Mail Service (5.5.2650.21)
	id <XQ01WLTK>; Thu, 30 Nov 2000 13:50:36 +0800
Message-ID: <43FECA7CDC4CD411A4A3009027999112267CAA@sgp-apsa001e--n.singapore.sgi.com>
From:   Calvine Chew <calvine@sgi.com>
To:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: I'm stuck...
Date:   Thu, 30 Nov 2000 13:50:35 +0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi folks.

I'm trying to get Linux up on an Indy. I'm using an old laptop to act as the
tftp/bootp/nfs server. I've installed
SuSE 6.4 on it and I am not sure if I've configured the server properly. I
try tftp'ing and bootp'ing from the server
side, and both seem to respond to requests, however, when I try from the
Indy client, the Indy just shoots back
a "server not found for vmlinux" when I do "boot -f bootp():vmlinux".

How do I ensure that things on the server side are indeed configured
properly? Are there proper tests I can do?
For example, if I run "bootpd -s -d4" then run "bootptest", bootpd reports
back a large number of things like
sending the linux kernel I exported via NFS, and something about a magic
number, then bootptest quits. tftp
at the server side allows me to download files from the NFS directory.

I already have numerous copies of readmes teaching me how to install Linux
on MIPS, but somehow all of them
vary in many ways, especially the config parts. Is there some install readme
for super-idiots like myself who need
to be told word for word what to do?

If anyone can help, I'll gladly offer more detailed info, like config data
and such. Thanks alot!

--
Calvine Chew, Technical Consultant
Technology & Industry Consulting Group (Asia South), SGI.
***************************************************************
Inter spem curamque, timores inter et iras, omnem crede diem tibi
diluxisse supremum: grata superveniet quae sperabitur hora.
http://www.cyberjunkie.com/arcana
***************************************************************





From owner-linux-mips@oss.sgi.com Wed Nov 29 22:47:54 2000
Received:  by oss.sgi.com id <S553786AbQK3Gro>;
	Wed, 29 Nov 2000 22:47:44 -0800
Received: from mail.netunlimited.net ([208.128.132.4]:53519 "EHLO
        mail.netunlimited.net") by oss.sgi.com with ESMTP
	id <S553780AbQK3GrY>; Wed, 29 Nov 2000 22:47:24 -0800
Received: from localhost (jesse@localhost)
	by mail.netunlimited.net (8.9.3/8.9.3) with ESMTP id BAA02083;
	Thu, 30 Nov 2000 01:48:37 -0500
Date:   Thu, 30 Nov 2000 01:48:36 -0500 (EST)
From:   Jesse Dyson <jesse@winston-salem.com>
X-Sender: jesse@mail.netunlimited.net
To:     linux-mips@oss.sgi.com
cc:     jesse@winston-salem.com
Subject: Indigo2 Kernel Boots!!!
Message-ID: <Pine.LNX.4.10.10011300139280.32603-100000@mail.netunlimited.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi,
I have an Indigo2.  I have tftp/dhcp(bootp)/nfs configured correctly (I
think).  I am using the hardhat-5.1-sgi.tar.gz distribution and the kernel
vmlinux-2.2.14-r4x00-cvs.ecoff.

I am using the monitor commands:
unsetenv netaddr (dur to DHCP bug)
boot bootp():/vmlinux nfsroot=208.128.132.35:/home/jdyson/sgi-linux/mipseb

/vmlinux is a symbolic link to vmlinux-2.2...

I have the distribution in the mipseb folder (RedHat is a subdirectory of
mipseb).  I think this is right.

When I run this the kernel seems to start up (finds hardware, etc).
Connects to the root filesystem...The last message I get is "Warning:
unable to open an initial console"

I have removed the graphics card from the machine (evidently the vx
frame-buffer card is a problem).  I am connected to the serial port to get
access to command monitor, etc.

Anybody have any suggestions on what to do next or what I am doing wrong.
Thank you in advance for your time; and thanks guys for helping me get to
this point.

Thanks,
Jesse Dyson


From owner-linux-mips@oss.sgi.com Wed Nov 29 23:51:54 2000
Received:  by oss.sgi.com id <S553791AbQK3Hvp>;
	Wed, 29 Nov 2000 23:51:45 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:48068 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553787AbQK3Hvc>;
	Wed, 29 Nov 2000 23:51:32 -0800
Received: from scotty.mgnet.de (p3E9B81D9.dip.t-dialin.net [62.155.129.217])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id IAA10718
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 08:51:33 +0100 (MET)
Received: (qmail 28501 invoked from network); 30 Nov 2000 07:51:29 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 30 Nov 2000 07:51:29 -0000
Date:   Thu, 30 Nov 2000 08:51:30 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Calvine Chew <calvine@sgi.com>
cc:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: Re: I'm stuck...
In-Reply-To: <43FECA7CDC4CD411A4A3009027999112267CAA@sgp-apsa001e--n.singapore.sgi.com>
Message-ID: <Pine.LNX.4.21.0011300847440.28990-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, 30 Nov 2000, Calvine Chew wrote:

> Hi folks.

Hi there,

 
> I'm trying to get Linux up on an Indy. I'm using an old laptop to act as the
> tftp/bootp/nfs server. I've installed
> SuSE 6.4 on it and I am not sure if I've configured the server properly. I
  ^^^^-- This is your first mistake ... :)))
  .oO(I hope Andreas doesn't read that)

> try tftp'ing and bootp'ing from the server
> side, and both seem to respond to requests, however, when I try from the
> Indy client, the Indy just shoots back
> a "server not found for vmlinux" when I do "boot -f bootp():vmlinux".
> 
> How do I ensure that things on the server side are indeed configured
> properly? Are there proper tests I can do?
> For example, if I run "bootpd -s -d4" then run "bootptest", bootpd reports
> back a large number of things like
> sending the linux kernel I exported via NFS, and something about a magic
> number, then bootptest quits. tftp
> at the server side allows me to download files from the NFS directory.
> 
> I already have numerous copies of readmes teaching me how to install Linux
> on MIPS, but somehow all of them
> vary in many ways, especially the config parts. Is there some install readme
> for super-idiots like myself who need
> to be told word for word what to do?

I have written a HOWTO for Linux on the Indigo2 - it's now more and more
a HOWTO for installing Linux on any SGI box ;)
You can have a look at http://oss.sgi.com/mips/i2-howto.html
I hope this helps a bit. ALso please don't miss the Pitfalls section - 
maybe you're hitting one of the described.


		HTH, Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Wed Nov 29 23:53:24 2000
Received:  by oss.sgi.com id <S553793AbQK3HxO>;
	Wed, 29 Nov 2000 23:53:14 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:710 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553789AbQK3HxE>;
	Wed, 29 Nov 2000 23:53:04 -0800
Received: from scotty.mgnet.de (p3E9B81D9.dip.t-dialin.net [62.155.129.217])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id IAA12324
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 08:53:06 +0100 (MET)
Received: (qmail 28505 invoked from network); 30 Nov 2000 07:53:02 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 30 Nov 2000 07:53:02 -0000
Date:   Thu, 30 Nov 2000 08:53:03 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Jesse Dyson <jesse@winston-salem.com>
cc:     linux-mips@oss.sgi.com
Subject: Re: Indigo2 Kernel Boots!!!
In-Reply-To: <Pine.LNX.4.10.10011300139280.32603-100000@mail.netunlimited.net>
Message-ID: <Pine.LNX.4.21.0011300851400.28990-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, 30 Nov 2000, Jesse Dyson wrote:

> Hi,
> I have an Indigo2.  I have tftp/dhcp(bootp)/nfs configured correctly (I
> think).  I am using the hardhat-5.1-sgi.tar.gz distribution and the kernel
> vmlinux-2.2.14-r4x00-cvs.ecoff.
> 
> I am using the monitor commands:
> unsetenv netaddr (dur to DHCP bug)
> boot bootp():/vmlinux nfsroot=208.128.132.35:/home/jdyson/sgi-linux/mipseb
> 
> /vmlinux is a symbolic link to vmlinux-2.2...
> 
> I have the distribution in the mipseb folder (RedHat is a subdirectory of
> mipseb).  I think this is right.
> 
> When I run this the kernel seems to start up (finds hardware, etc).
> Connects to the root filesystem...The last message I get is "Warning:
> unable to open an initial console"

If you're booting the kernel with serial console you have to
link /dev/console to /dev/ttyS0 - see also Pitfalls section in the
Linux on Indigo2 HOWTO (http://oss.sgi.com/mips/i2-howto.html)

		CU, Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Thu Nov 30 00:29:45 2000
Received:  by oss.sgi.com id <S553795AbQK3I3Z>;
	Thu, 30 Nov 2000 00:29:25 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:21252 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S553792AbQK3I3D>; Thu, 30 Nov 2000 00:29:03 -0800
Received: from sgisgp.singapore.sgi.com (sgisgp.singapore.sgi.com [134.14.84.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id AAA05675
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 00:37:02 -0800 (PST)
	mail_from (calvine@sgi.com)
Received: from sgp-apsa001e--n.singapore.sgi.com by sgisgp.singapore.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI)
	 id QAA13603; Thu, 30 Nov 2000 16:38:36 +0800
Received: by sgp-apsa001e--n.singapore.sgi.com with Internet Mail Service (5.5.2650.21)
	id <XQ01WLZ9>; Thu, 30 Nov 2000 16:32:14 +0800
Message-ID: <43FECA7CDC4CD411A4A3009027999112267CAB@sgp-apsa001e--n.singapore.sgi.com>
From:   Calvine Chew <calvine@sgi.com>
To:     "'Klaus Naumann'" <spock@mgnet.de>
Cc:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: RE: I'm stuck...
Date:   Thu, 30 Nov 2000 16:32:06 +0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi Klaus...

> -----Original Message-----
> From: Klaus Naumann [mailto:spock@mgnet.de]
> Sent: Thursday, November 30, 2000 3:52 PM
> To: Calvine Chew
> Cc: 'linux-mips@oss.sgi.com'
> Subject: Re: I'm stuck...
> 
> On Thu, 30 Nov 2000, Calvine Chew wrote:
> 
> > Hi folks.
> 
> Hi there,
> 
>  
> > I'm trying to get Linux up on an Indy. I'm using an old 
> laptop to act as the
> > tftp/bootp/nfs server. I've installed
> > SuSE 6.4 on it and I am not sure if I've configured the 
> server properly. I
>   ^^^^-- This is your first mistake ... :)))
>   .oO(I hope Andreas doesn't read that)
>
I would have installed RedHat 6.2 (like a trueblue SGI-man :-) but
the boot kernel hits the PC Card Services hang on installation.
SuSE 6.4 doesn't, hooked up my ethernet/modem and scsi cards beautifully.
 
> > try tftp'ing and bootp'ing from the server
> > side, and both seem to respond to requests, however, when I 
> try from the
> > Indy client, the Indy just shoots back
> > a "server not found for vmlinux" when I do "boot -f 
> bootp():vmlinux".
> > 
> > How do I ensure that things on the server side are indeed configured
> > properly? Are there proper tests I can do?
> > For example, if I run "bootpd -s -d4" then run "bootptest", 
> bootpd reports
> > back a large number of things like
> > sending the linux kernel I exported via NFS, and something 
> about a magic
> > number, then bootptest quits. tftp
> > at the server side allows me to download files from the NFS 
> directory.
> > 
> > I already have numerous copies of readmes teaching me how 
> to install Linux
> > on MIPS, but somehow all of them
> > vary in many ways, especially the config parts. Is there 
> some install readme
> > for super-idiots like myself who need
> > to be told word for word what to do?
> 
> I have written a HOWTO for Linux on the Indigo2 - it's now 
> more and more
> a HOWTO for installing Linux on any SGI box ;)
> You can have a look at http://oss.sgi.com/mips/i2-howto.html
> I hope this helps a bit. ALso please don't miss the Pitfalls 
> section - 
> maybe you're hitting one of the described.
> 
When I try bootp from the Indy, my Linux bootp server doesn't
even respond. tcpdump doesn't report anything. The only things
I can confirm are working are that I can use tftp to grab files
off the exported nfsroot and I can use a program called bootptest
to send bootp requests to the bootp server. However, both are done
from the server end.

In fact if I were to configure bootptab to accept requests from the
server itself, bootptest reports this (apologies for the verbosity!!):

% bootptest
bootptest: version 2.4.3
Sending to 192.168.0.1 (request) htype:0 hlen:0 xld:706 C:192.168.0.1
vend-rfc1395
Revcd from 192.168.0.1 (reply) htype:0 hlen:0 xld:706 C:192.168.0.1
Y:192.168.0.1 S:192.168.0.1 sname:"calvine" file: "/linux/mipseb/vmlinux"
vend-rfc1395 SM:255.255.255.0 TZ:7200 ROOT:"/linux/mipseb"
%

bootpd itself (I'm running it on standalone mode) reports this:

%bootpd -s -d4
bootp: info(6): bootptab mtime: Wed Jan 11 17:054:20 1995   (excuse the
clock :-)
bootp: info(6): reading "/etc/bootptab"
bootp: info(6): read 1 entries (1 hosts) from "/etc/bootptab"
bootp: info(6): recvd pkt from IP addr 192.168.0.1
bootp: info(6): bootptab mtime: Wed Jan 11 17:054:20 1995
bootp: info(6): request from IP addr 192.168.0.1
bootp: info(6): found 192.168.0.1 (calvine.suse.sgi.com)
bootp: info(6): bootfile="/linux/mipseb/vmlinux"
bootp: info(6): vendor magic field is 99.130.83.99
bootp: info(6): sending reply (with RFC1048 options)

and my bootptab looks like this:

**** bootptab begin ****
calvine.suse.sgi.com:hd=/linux/mipseb:rp=/linux/mipseb:ht=ethernet:ha:blahbl
ah:ip=192.168.0.1:bf=vmlinux:sm=255.255.255.0:to=7200:
**** bootptab end ******

Everything seems to be in ship shape (is it?)... I'm thinking if it's a
hardware
issue. For example, this Indy of mine had a bad Dallas chip, so I swapped a
working chip from another dead Indy and placed it into the one I'm using.
Could also be a crosscable issue (it's Linux to Indy connection now), since
there just isn't any traffic going on.

Damn, this is getting really annoying. We really should be porting Irix to
IA,
instead of Linux to MIPS.

I realise that my issues are becoming more Linux than MIPS/Linux,
but honestly I can't be sure. I don't exactly have alot of resources to
do trial&error testing. I have a few years' Linux experience but never
bootp/remote booting. This mailing list was my last respite!


--
Calvine Chew, Technical Consultant
Technology & Industry Consulting Group (Asia South), SGI.
***************************************************************
Inter spem curamque, timores inter et iras, omnem crede diem tibi
diluxisse supremum: grata superveniet quae sperabitur hora.
http://www.cyberjunkie.com/arcana
***************************************************************

From owner-linux-mips@oss.sgi.com Thu Nov 30 01:01:15 2000
Received:  by oss.sgi.com id <S553807AbQK3JBF>;
	Thu, 30 Nov 2000 01:01:05 -0800
Received: from Cantor.suse.de ([194.112.123.193]:24076 "HELO Cantor.suse.de")
	by oss.sgi.com with SMTP id <S553802AbQK3JAu>;
	Thu, 30 Nov 2000 01:00:50 -0800
Received: from Hermes.suse.de (Hermes.suse.de [194.112.123.136])
	by Cantor.suse.de (Postfix) with ESMTP
	id 749671E09E; Thu, 30 Nov 2000 10:00:48 +0100 (MET)
Received: from Wotan.suse.de (Wotan.suse.de [10.10.0.1])
	by Hermes.suse.de (Postfix) with ESMTP
	id 43B153E462; Thu, 30 Nov 2000 10:00:48 +0100 (MET)
Received: from gee.suse.de (Gee.suse.de [10.10.1.56])
	by Wotan.suse.de (Postfix) with ESMTP
	id 0729E1C8259; Thu, 30 Nov 2000 10:00:48 +0100 (CET)
Received: (from aj@localhost)
	by gee.suse.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) id eAU90lN22076;
	Thu, 30 Nov 2000 10:00:47 +0100
X-Authentication-Warning: gee.suse.de: aj set sender to aj@suse.de using -f
Mail-Copies-To: never
To:     Klaus Naumann <spock@mgnet.de>
Cc:     Calvine Chew <calvine@sgi.com>,
        "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: Re: I'm stuck...
References: <Pine.LNX.4.21.0011300847440.28990-100000@spock.mgnet.de>
From:   Andreas Jaeger <aj@suse.de>
Date:   30 Nov 2000 10:00:47 +0100
In-Reply-To: <Pine.LNX.4.21.0011300847440.28990-100000@spock.mgnet.de>
Message-ID: <hopujd96m8.fsf@gee.suse.de>
Lines:  23
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

>>>>> Klaus Naumann writes:

Klaus> On Thu, 30 Nov 2000, Calvine Chew wrote:
>> Hi folks.

Klaus> Hi there,

 
>> I'm trying to get Linux up on an Indy. I'm using an old laptop to act as the
>> tftp/bootp/nfs server. I've installed
>> SuSE 6.4 on it and I am not sure if I've configured the server properly. I
Klaus>   ^^^^-- This is your first mistake ... :)))
Why is this a mistake?  I managed to get those to work on my 6.4
without problems - but please let's not start a distribution war.
Klaus>   .oO(I hope Andreas doesn't read that)
I did ;-)

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

From owner-linux-mips@oss.sgi.com Thu Nov 30 06:40:47 2000
Received:  by oss.sgi.com id <S553863AbQK3Okh>;
	Thu, 30 Nov 2000 06:40:37 -0800
Received: from mail.netunlimited.net ([208.128.132.4]:33039 "EHLO
        mail.netunlimited.net") by oss.sgi.com with ESMTP
	id <S553848AbQK3OkT>; Thu, 30 Nov 2000 06:40:19 -0800
Received: from localhost (jesse@localhost)
	by mail.netunlimited.net (8.9.3/8.9.3) with ESMTP id JAA07661;
	Thu, 30 Nov 2000 09:41:26 -0500
Date:   Thu, 30 Nov 2000 09:41:26 -0500 (EST)
From:   Jesse Dyson <jesse@winston-salem.com>
X-Sender: jesse@mail.netunlimited.net
To:     Klaus Naumann <spock@mgnet.de>
cc:     linux-mips@oss.sgi.com
Subject: Re: Indigo2 Kernel Boots!!!
In-Reply-To: <Pine.LNX.4.21.0011300851400.28990-100000@spock.mgnet.de>
Message-ID: <Pine.LNX.4.10.10011300938100.6504-100000@mail.netunlimited.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi,
I'm not exactly sure what this means to "link" /dev/console.  Based on the
FAQ (http://foobazco.org/~weslows/Install-HOWTO.html), I shouldn't have to
do the inittab stuff since I am in ser port 1.  I noticed I do not have an
/etc/inittab file in my root fs, but there is a inittabold.  Is there
something with these files I have to fix or do I do an 'ln -s' or
something on the /dev/console and point it to /dev/ttyS0?

Sorry for my ignorance.

Thanks for your help.

Thanks,
Jesse Dyson 

On Thu, 30 Nov 2000, Klaus Naumann wrote:

> On Thu, 30 Nov 2000, Jesse Dyson wrote:
> 
> > Hi,
> > I have an Indigo2.  I have tftp/dhcp(bootp)/nfs configured correctly (I
> > think).  I am using the hardhat-5.1-sgi.tar.gz distribution and the kernel
> > vmlinux-2.2.14-r4x00-cvs.ecoff.
> > 
> > I am using the monitor commands:
> > unsetenv netaddr (dur to DHCP bug)
> > boot bootp():/vmlinux nfsroot=208.128.132.35:/home/jdyson/sgi-linux/mipseb
> > 
> > /vmlinux is a symbolic link to vmlinux-2.2...
> > 
> > I have the distribution in the mipseb folder (RedHat is a subdirectory of
> > mipseb).  I think this is right.
> > 
> > When I run this the kernel seems to start up (finds hardware, etc).
> > Connects to the root filesystem...The last message I get is "Warning:
> > unable to open an initial console"
> 
> If you're booting the kernel with serial console you have to
> link /dev/console to /dev/ttyS0 - see also Pitfalls section in the
> Linux on Indigo2 HOWTO (http://oss.sgi.com/mips/i2-howto.html)
> 
> 		CU, Klaus
> 
> -- 
> Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
> Nickname    : Spock             | Org.: Mad Guys Network
> Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
> PGP Key     : www.mgnet.de/keys/key_spock.txt
> 


From owner-linux-mips@oss.sgi.com Thu Nov 30 06:43:08 2000
Received:  by oss.sgi.com id <S553851AbQK3Omr>;
	Thu, 30 Nov 2000 06:42:47 -0800
Received: from exchange.sla.purdue.edu ([128.210.57.242]:40974 "EHLO
        sla-exchange.sla.purdue.edu") by oss.sgi.com with ESMTP
	id <S553683AbQK3Omo>; Thu, 30 Nov 2000 06:42:44 -0800
Received: by exchange.sla.purdue.edu with Internet Mail Service (5.5.2650.21)
	id <VWDKGQ7Q>; Thu, 30 Nov 2000 09:46:29 -0500
Message-ID: <82D2384F0660D411891100902771937F16F977@exchange.sla.purdue.edu>
From:   "Marcom, Greg" <marcom@purdue.edu>
To:     linux-mips@oss.sgi.com
Subject: Remove from list
Date:   Thu, 30 Nov 2000 09:46:19 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C05ADC.524775B6"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C05ADC.524775B6
Content-Type: text/plain;
	charset="iso-8859-1"

Does anyone know how I can get my name off this list?

------_=_NextPart_001_01C05ADC.524775B6
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.3019.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=525584114-30112000>Does anyone know how 
I can get my name off this list?</SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C05ADC.524775B6--

From owner-linux-mips@oss.sgi.com Thu Nov 30 07:58:57 2000
Received:  by oss.sgi.com id <S553877AbQK3P6h>;
	Thu, 30 Nov 2000 07:58:37 -0800
Received: from rotor.chem.unr.edu ([134.197.32.176]:31755 "EHLO
        rotor.chem.unr.edu") by oss.sgi.com with ESMTP id <S553874AbQK3P6e>;
	Thu, 30 Nov 2000 07:58:34 -0800
Received: (from wesolows@localhost)
	by rotor.chem.unr.edu (8.9.3/8.9.3) id HAA02685;
	Thu, 30 Nov 2000 07:56:42 -0800
Date:   Thu, 30 Nov 2000 07:56:42 -0800
From:   Keith M Wesolowski <wesolows@chem.unr.edu>
To:     Jesse Dyson <jesse@winston-salem.com>
Cc:     Klaus Naumann <spock@mgnet.de>, linux-mips@oss.sgi.com
Subject: Re: Indigo2 Kernel Boots!!!
Message-ID: <20001130075641.A2325@chem.unr.edu>
References: <Pine.LNX.4.21.0011300851400.28990-100000@spock.mgnet.de> <Pine.LNX.4.10.10011300938100.6504-100000@mail.netunlimited.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <Pine.LNX.4.10.10011300938100.6504-100000@mail.netunlimited.net>; from jesse@winston-salem.com on Thu, Nov 30, 2000 at 09:41:26AM -0500
X-Complaints-To: postmaster@chem.unr.edu
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 30, 2000 at 09:41:26AM -0500, Jesse Dyson wrote:

> > > think).  I am using the hardhat-5.1-sgi.tar.gz distribution and the kernel
...
> I'm not exactly sure what this means to "link" /dev/console.  Based on the
> FAQ (http://foobazco.org/~weslows/Install-HOWTO.html), I shouldn't have to
> do the inittab stuff since I am in ser port 1.  I noticed I do not have an

The FAQ on my site has nothing whatever to do with the Hard Hat
distribution.  I have no idea how relevant it is if you're using that.

-- 
Keith M Wesolowski			wesolows@chem.unr.edu
University of Nevada			http://www.chem.unr.edu
Chemistry Department Systems and Network Administrator

From owner-linux-mips@oss.sgi.com Thu Nov 30 08:07:58 2000
Received:  by oss.sgi.com id <S553879AbQK3QHh>;
	Thu, 30 Nov 2000 08:07:37 -0800
Received: from mx.mips.com ([206.31.31.226]:38019 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553876AbQK3QH0>;
	Thu, 30 Nov 2000 08:07:26 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id IAA04037;
	Thu, 30 Nov 2000 08:06:58 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id IAA29697;
	Thu, 30 Nov 2000 08:07:17 -0800 (PST)
Message-ID: <00f601c05ae8$19014500$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Jesse Dyson" <jesse@winston-salem.com>,
        "Klaus Naumann" <spock@mgnet.de>
Cc:     <linux-mips@oss.sgi.com>
References: <Pine.LNX.4.10.10011300938100.6504-100000@mail.netunlimited.net>
Subject: Re: Indigo2 Kernel Boots!!!
Date:   Thu, 30 Nov 2000 17:10:32 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> I'm not exactly sure what this means to "link" /dev/console.  Based on the
> FAQ (http://foobazco.org/~weslows/Install-HOWTO.html), I shouldn't have to
> do the inittab stuff since I am in ser port 1.  I noticed I do not have an
> /etc/inittab file in my root fs, but there is a inittabold.  Is there
> something with these files I have to fix or do I do an 'ln -s' or
> something on the /dev/console and point it to /dev/ttyS0?

When the init process fires up, it opens /dev/console as the
console output device.  A default SGI workstation installation
file system will have /dev/console bound to the major/minor device
node of the graphics display console.  If you want to run with a serial
console, you must therefore change this to bind /dev/console
to the serial port.  You can do this by doing an explicit mknod,
or by linking to the appropriate serial port device node,
which is usually /dev/ttyS0.

            Kevin K.


From owner-linux-mips@oss.sgi.com Thu Nov 30 10:45:20 2000
Received:  by oss.sgi.com id <S553894AbQK3SpA>;
	Thu, 30 Nov 2000 10:45:00 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:56190 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553888AbQK3Som>;
	Thu, 30 Nov 2000 10:44:42 -0800
Received: from thor ([207.246.91.243]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via SMTP id KAA24164
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 10:44:36 -0800 (PST)
	mail_from (jsk@tetracon-eng.net)
Received: from localhost (localhost [127.0.0.1]) by thor (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id NAA10351; Thu, 30 Nov 2000 13:41:25 -0500
Date:   Thu, 30 Nov 2000 13:41:25 -0500
From:   "J. Scott Kasten" <jsk@tetracon-eng.net>
To:     Calvine Chew <calvine@sgi.com>
cc:     "'Klaus Naumann'" <spock@mgnet.de>,
        "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: RE: I'm stuck...
In-Reply-To: <43FECA7CDC4CD411A4A3009027999112267CAB@sgp-apsa001e--n.singapore.sgi.com>
Message-ID: <Pine.SGI.4.10.10011301337040.10324-100000@thor.tetracon-eng.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


I'm using the ISC DHCP server under RH.  I've configured it to offer bootp
to the specific hardware address of the SGI box.  here's an excerpt:


subnet 192.168.254.0 netmask 255.255.255.0 {
        server-name "minerva";
        next-server 192.168.254.1;
        option domain-name-servers 192.168.254.1;
        option routers 192.168.254.1;
        option root-path "/mnt/archives/SimpleLinux-0.1_Indy";

        host SGI {
                hardware ethernet 08:00:69:09:13:9A;
                fixed-address 192.168.254.240;
                filename "vmlinux";
        }
 }

The 192.168.254.1 host is also the tftp and nfs server.  If I recall
correctly, the tftp and nfs server must be the same host.

Good luck.


> > > I'm trying to get Linux up on an Indy. I'm using an old 
> > laptop to act as the
> > > tftp/bootp/nfs server. I've installed
> > > SuSE 6.4 on it and I am not sure if I've configured the 
> > server properly. I
> >   ^^^^-- This is your first mistake ... :)))
> >   .oO(I hope Andreas doesn't read that)
> >
> I would have installed RedHat 6.2 (like a trueblue SGI-man :-) but
> the boot kernel hits the PC Card Services hang on installation.
> SuSE 6.4 doesn't, hooked up my ethernet/modem and scsi cards beautifully.
>  
> > > try tftp'ing and bootp'ing from the server
> > > side, and both seem to respond to requests, however, when I 
> > try from the
> > > Indy client, the Indy just shoots back
> > > a "server not found for vmlinux" when I do "boot -f 
> > bootp():vmlinux".
> > > 


From owner-linux-mips@oss.sgi.com Thu Nov 30 13:30:41 2000
Received:  by oss.sgi.com id <S553900AbQK3Vab>;
	Thu, 30 Nov 2000 13:30:31 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:63201 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553816AbQK3VaH>;
	Thu, 30 Nov 2000 13:30:07 -0800
Received: from scotty.mgnet.de (pC19F6F69.dip.t-dialin.net [193.159.111.105])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id WAA05262
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 22:30:06 +0100 (MET)
Received: (qmail 30794 invoked from network); 30 Nov 2000 21:29:59 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 30 Nov 2000 21:29:59 -0000
Date:   Thu, 30 Nov 2000 22:30:01 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Calvine Chew <calvine@sgi.com>
cc:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: RE: I'm stuck...
In-Reply-To: <43FECA7CDC4CD411A4A3009027999112267CAB@sgp-apsa001e--n.singapore.sgi.com>
Message-ID: <Pine.LNX.4.21.0011302226250.30299-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, 30 Nov 2000, Calvine Chew wrote:

> Hi Klaus...
> 
> I would have installed RedHat 6.2 (like a trueblue SGI-man :-) but
> the boot kernel hits the PC Card Services hang on installation.
> SuSE 6.4 doesn't, hooked up my ethernet/modem and scsi cards beautifully.

It's ok - I was just kiddin' because it's known that I'm not a big fan
of the SuSE distribution for several reasons - but I'm far away from
wanting to start a distro war here. So to make it clear I really was
joking.

[snipped verbose message]

Calvine, what I'm asking myself is, if the box actually has connection
to the net. Becuase if you don't get a single packet out on bootp time
then something really is broken. So please try to check in any way if
the box has netconn - does it have an AUI ? Some SGI systems seem
to use that as first ethernet adapter and have problems with it ...

			HTH, Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Thu Nov 30 13:33:01 2000
Received:  by oss.sgi.com id <S553903AbQK3Vcv>;
	Thu, 30 Nov 2000 13:32:51 -0800
Received: from natmail2.webmailer.de ([192.67.198.65]:58339 "EHLO
        post.webmailer.de") by oss.sgi.com with ESMTP id <S553899AbQK3Vcp>;
	Thu, 30 Nov 2000 13:32:45 -0800
Received: from scotty.mgnet.de (pC19F6F69.dip.t-dialin.net [193.159.111.105])
	by post.webmailer.de (8.9.3/8.8.7) with SMTP id WAA07934
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 22:32:46 +0100 (MET)
Received: (qmail 30816 invoked from network); 30 Nov 2000 21:32:41 -0000
Received: from spock.mgnet.de (192.168.1.4)
  by scotty.mgnet.de with SMTP; 30 Nov 2000 21:32:41 -0000
Date:   Thu, 30 Nov 2000 22:32:42 +0100 (CET)
From:   Klaus Naumann <spock@mgnet.de>
To:     Andreas Jaeger <aj@suse.de>
cc:     Calvine Chew <calvine@sgi.com>,
        "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: Re: I'm stuck...
In-Reply-To: <hopujd96m8.fsf@gee.suse.de>
Message-ID: <Pine.LNX.4.21.0011302230080.30299-100000@spock.mgnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On 30 Nov 2000, Andreas Jaeger wrote:

> >> SuSE 6.4 on it and I am not sure if I've configured the server properly. I
> Klaus>   ^^^^-- This is your first mistake ... :)))
> Why is this a mistake?  I managed to get those to work on my 6.4
> without problems - but please let's not start a distribution war.

Not at all - I'm just not a big fan of SuSE. This has several reasons.
E.g. that this distro is not a distro which fits my needs (
means: I don't need a "startinstall-clickaround-andlookcool" distro).
So this doesn't mean I think SuSE is in general bad - I'm just not
a fan of it myself.

> Klaus>   .oO(I hope Andreas doesn't read that)
> I did ;-)

Oh my - I'm in trouble =]

		CU, Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt


From owner-linux-mips@oss.sgi.com Thu Nov 30 16:00:32 2000
Received:  by oss.sgi.com id <S553922AbQLAAAW>;
	Thu, 30 Nov 2000 16:00:22 -0800
Received: from u-59-20.karlsruhe.ipdial.viaginterkom.de ([62.180.20.59]:45320
        "EHLO u-59-20.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553918AbQLAAAC>; Thu, 30 Nov 2000 16:00:02 -0800
Received: (ralf@lappi) by bacchus.dhis.org id <S869735AbQK3X7m>;
	Fri, 1 Dec 2000 00:59:42 +0100
Date:	Fri, 1 Dec 2000 00:59:42 +0100
From:	Ralf Baechle <ralf@oss.sgi.com>
To:	"Kevin D. Kissell" <kevink@mips.com>
Cc:	Jesse Dyson <jesse@winston-salem.com>,
        Klaus Naumann <spock@mgnet.de>, linux-mips@oss.sgi.com
Subject: Re: Indigo2 Kernel Boots!!!
Message-ID: <20001201005942.A6172@bacchus.dhis.org>
References: <Pine.LNX.4.10.10011300938100.6504-100000@mail.netunlimited.net> <00f601c05ae8$19014500$0deca8c0@Ulysses>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <00f601c05ae8$19014500$0deca8c0@Ulysses>; from kevink@mips.com on Thu, Nov 30, 2000 at 05:10:32PM +0100
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Thu, Nov 30, 2000 at 05:10:32PM +0100, Kevin D. Kissell wrote:

> When the init process fires up, it opens /dev/console as the
> console output device.  A default SGI workstation installation
> file system will have /dev/console bound to the major/minor device
> node of the graphics display console.  If you want to run with a serial
> console, you must therefore change this to bind /dev/console
> to the serial port.  You can do this by doing an explicit mknod,
> or by linking to the appropriate serial port device node,
> which is usually /dev/ttyS0.

Which both are wrong.  /dev/console should be a char device major 5, minor 1.
There is no need to change this ever except for very old kernels.  With 2.2
or 2.4 whenever people change /dev/console's major/minor it's usually painting
over some bug.

  Ralf

From owner-linux-mips@oss.sgi.com Thu Nov 30 16:03:22 2000
Received:  by oss.sgi.com id <S553923AbQLAADB>;
	Thu, 30 Nov 2000 16:03:01 -0800
Received: from u-59-20.karlsruhe.ipdial.viaginterkom.de ([62.180.20.59]:45320
        "EHLO u-59-20.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553918AbQLAACx>; Thu, 30 Nov 2000 16:02:53 -0800
Received: (ralf@lappi) by bacchus.dhis.org id <S869735AbQLAACe>;
	Fri, 1 Dec 2000 01:02:34 +0100
Date:	Fri, 1 Dec 2000 01:02:34 +0100
From:	Ralf Baechle <ralf@oss.sgi.com>
To:	Keith M Wesolowski <wesolows@chem.unr.edu>
Cc:	Ian Chilton <ian@ichilton.co.uk>,
        Jesse Dyson <jesse@winston-salem.com>, linux-mips@oss.sgi.com
Subject: Re: Kernel Boot Hard Locks Indigo 2
Message-ID: <20001201010234.B6172@bacchus.dhis.org>
References: <20001129191730.A22085@woody.ichilton.co.uk> <20001129112640.A22235@chem.unr.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
In-Reply-To: <20001129112640.A22235@chem.unr.edu>; from wesolows@chem.unr.edu on Wed, Nov 29, 2000 at 11:26:40AM -0800
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

On Wed, Nov 29, 2000 at 11:26:40AM -0800, Keith M Wesolowski wrote:

> PROMs older than a certain date (which may be sometime in 1995)
> require ECOFF kernels because they are incapable of understanding ELF.
> The symptom is mentioned in the FAQ.  This seems to happen with most
> if not all Indigo2s and a few older Indys.
> 
> > > PROM Monitor SGI Version 5.1 Rev B IP22 Sep 16, 1993 (BE)
> > 
> > Not sure, Ralf will be able to tell you what's the score with that..
> 
> You need ECOFF.  My Indigo2 has this date also and does not understand
> ELF.

Rule of thumb, R5k IP22 can handle ELF, pre-R5k firmware may or may not.

  Ralf

From owner-linux-mips@oss.sgi.com Thu Nov 30 17:18:13 2000
Received:  by oss.sgi.com id <S553931AbQLABRx>;
	Thu, 30 Nov 2000 17:17:53 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:60421 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S553928AbQLABRX>; Thu, 30 Nov 2000 17:17:23 -0800
Received: from sgisgp.singapore.sgi.com (sgisgp.singapore.sgi.com [134.14.84.2]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via SMTP id RAA07643
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 17:25:24 -0800 (PST)
	mail_from (calvine@sgi.com)
Received: from sgp-apsa001e--n.singapore.sgi.com by sgisgp.singapore.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI)
	 id JAA22496; Fri, 1 Dec 2000 09:26:44 +0800
Received: by sgp-apsa001e--n.singapore.sgi.com with Internet Mail Service (5.5.2650.21)
	id <XQ01WM2A>; Fri, 1 Dec 2000 09:20:23 +0800
Message-ID: <43FECA7CDC4CD411A4A3009027999112267CAD@sgp-apsa001e--n.singapore.sgi.com>
From:   Calvine Chew <calvine@sgi.com>
To:     "'Klaus Naumann'" <spock@mgnet.de>
Cc:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>,
        "'J. Scott Kasten'" <jsk@tetracon-eng.net>
Subject: RE: I'm stuck...
Date:   Fri, 1 Dec 2000 09:20:15 +0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

> -----Original Message-----
> From: Klaus Naumann [mailto:spock@mgnet.de]
> Sent: Friday, December 01, 2000 5:30 AM
> To: Calvine Chew
> Cc: 'linux-mips@oss.sgi.com'
> Subject: RE: I'm stuck...
> 
> 
> [snipped verbose message]
> 
> Calvine, what I'm asking myself is, if the box actually has connection
> to the net. Becuase if you don't get a single packet out on bootp time
> then something really is broken. So please try to check in any way if
> the box has netconn - does it have an AUI ? Some SGI systems seem
> to use that as first ethernet adapter and have problems with it ...
> 
Well, the good news is I've finally gotten my Indy to see my boot server.
When testing outgoing packets by configuring both server and client to the
SGI network, I discovered that my 2nd PCMCIA port, for some reason doesn't
configure any PCMCIA cards properly (same thing happened to my SCSI card,
but
I thought it was an isolated incident). Switching to the 1st port made 
everything work.

Unfortunately tftp isn't working. I have it configured using in.tftpd 
wrapped to tcpd, but when the Indy tries to get the bootfile, it says
"TFTP error: File not found (code 1)". The boopd does respond with the
seemingly correct messages but I am not sure if in.tftpd is working
or not. I have bootpd running on standalone (non-inetd) mode because
in.bootpd didn't work too. However I don't have tftpd. *groan*

Have to look into that later...

PS, Scott, I'm not using DHCP, but bootpd. Do I still need to configure
dhcp too? I assume that subnet entry excerpt is from dhcpd.conf?



--
Calvine Chew, Technical Consultant
Technology & Industry Consulting Group (Asia South), SGI.
***************************************************************
Inter spem curamque, timores inter et iras, omnem crede diem tibi
diluxisse supremum: grata superveniet quae sperabitur hora.
http://www.cyberjunkie.com/arcana
***************************************************************


From owner-linux-mips@oss.sgi.com Thu Nov 30 17:33:13 2000
Received:  by oss.sgi.com id <S553935AbQLABdD>;
	Thu, 30 Nov 2000 17:33:03 -0800
Received: from pneumatic-tube.sgi.com ([204.94.214.22]:54793 "EHLO
        pneumatic-tube.sgi.com") by oss.sgi.com with ESMTP
	id <S553932AbQLABcj>; Thu, 30 Nov 2000 17:32:39 -0800
Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id RAA04256
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 17:40:42 -0800 (PST)
	mail_from (calvine@sgi.com)
Received: from sgisgp.singapore.sgi.com (sgisgp.singapore.sgi.com [134.14.84.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via SMTP id RAA06696 for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 17:32:05 -0800 (PST)
Received: from sgp-apsa001e--n.singapore.sgi.com by sgisgp.singapore.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI)
	 id JAA22741; Fri, 1 Dec 2000 09:40:24 +0800
Received: by sgp-apsa001e--n.singapore.sgi.com with Internet Mail Service (5.5.2650.21)
	id <XQ01WM2V>; Fri, 1 Dec 2000 09:34:03 +0800
Message-ID: <43FECA7CDC4CD411A4A3009027999112267CAE@sgp-apsa001e--n.singapore.sgi.com>
From:   Calvine Chew <calvine@sgi.com>
To:     "'Klaus Naumann'" <spock@mgnet.de>,
        "'J. Scott Kasten'" <jsk@tetracon-eng.net>
Cc:     "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: RE: I'm stuck...
Date:   Fri, 1 Dec 2000 09:33:59 +0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi Klaus and Scott.

Got tftp to work... damn! Linux in.tftpd didn't like the "-s" flag in
inetd.conf. Once that was gone, the HardHat install fired up!

Thanks all!!

--
Calvine Chew, Technical Consultant
Technology & Industry Consulting Group (Asia South), SGI.
***************************************************************
Inter spem curamque, timores inter et iras, omnem crede diem tibi
diluxisse supremum: grata superveniet quae sperabitur hora.
http://www.cyberjunkie.com/arcana
***************************************************************





> -----Original Message-----
> From: Klaus Naumann [mailto:spock@mgnet.de]
> Sent: Friday, December 01, 2000 5:30 AM
> To: Calvine Chew
> Cc: 'linux-mips@oss.sgi.com'
> Subject: RE: I'm stuck...
> 
> 
> On Thu, 30 Nov 2000, Calvine Chew wrote:
> 
> > Hi Klaus...
> > 
> > I would have installed RedHat 6.2 (like a trueblue SGI-man :-) but
> > the boot kernel hits the PC Card Services hang on installation.
> > SuSE 6.4 doesn't, hooked up my ethernet/modem and scsi 
> cards beautifully.
> 
> It's ok - I was just kiddin' because it's known that I'm not a big fan
> of the SuSE distribution for several reasons - but I'm far away from
> wanting to start a distro war here. So to make it clear I really was
> joking.
> 
> [snipped verbose message]
> 
> Calvine, what I'm asking myself is, if the box actually has connection
> to the net. Becuase if you don't get a single packet out on bootp time
> then something really is broken. So please try to check in any way if
> the box has netconn - does it have an AUI ? Some SGI systems seem
> to use that as first ethernet adapter and have problems with it ...
> 
> 			HTH, Klaus
> 
> -- 
> Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
> Nickname    : Spock             | Org.: Mad Guys Network
> Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
> PGP Key     : www.mgnet.de/keys/key_spock.txt
> 

From owner-linux-mips@oss.sgi.com Thu Nov 30 18:07:23 2000
Received:  by oss.sgi.com id <S553939AbQLACHN>;
	Thu, 30 Nov 2000 18:07:13 -0800
Received: from u-3-18.karlsruhe.ipdial.viaginterkom.de ([62.180.18.3]:25097
        "EHLO u-3-18.karlsruhe.ipdial.viaginterkom.de") by oss.sgi.com
	with ESMTP id <S553936AbQLACHE>; Thu, 30 Nov 2000 18:07:04 -0800
Received: (ralf@lappi) by bacchus.dhis.org id <S869735AbQLACGT>;
	Fri, 1 Dec 2000 03:06:19 +0100
Date:	Fri, 1 Dec 2000 03:06:19 +0100
From:	Ralf Baechle <ralf@oss.sgi.com>
To:	linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: binutils upgrade
Message-ID: <20001201030619.A7444@bacchus.dhis.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0.1i
X-Accept-Language: de,en,fr
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Binutils were buggy handling a cases involving empty object files.  I've
uploaded fixed binutils 2.8.1 cross-linker packages to oss.sgi.com;  I'll
upload fixed binutils 2.9.5 binaries (mips64 only) later.  The worarounds
for this bug have been removed from the CVS archive that is updating is
required for building a current 2.4 kernel.

  Ralf

From owner-linux-mips@oss.sgi.com Thu Nov 30 22:54:57 2000
Received:  by oss.sgi.com id <S553945AbQLAGyh>;
	Thu, 30 Nov 2000 22:54:37 -0800
Received: from deliverator.sgi.com ([204.94.214.10]:44831 "EHLO
        deliverator.sgi.com") by oss.sgi.com with ESMTP id <S553941AbQLAGyG>;
	Thu, 30 Nov 2000 22:54:06 -0800
Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id WAA18959
	for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 22:54:05 -0800 (PST)
	mail_from (calvine@sgi.com)
Received: from sgisgp.singapore.sgi.com (sgisgp.singapore.sgi.com [134.14.84.2]) by nodin.corp.sgi.com (980427.SGI.8.8.8/980728.SGI.AUTOCF) via SMTP id WAA22245 for <linux-mips@oss.sgi.com>; Thu, 30 Nov 2000 22:52:16 -0800 (PST)
Received: from sgp-apsa001e--n.singapore.sgi.com by sgisgp.singapore.sgi.com via ESMTP (950413.SGI.8.6.12/930416.SGI)
	for <linux-mips@oss.sgi.com> id PAA26927; Fri, 1 Dec 2000 15:00:40 +0800
Received: by sgp-apsa001e--n.singapore.sgi.com with Internet Mail Service (5.5.2650.21)
	id <XQ01WMTD>; Fri, 1 Dec 2000 14:54:20 +0800
Message-ID: <43FECA7CDC4CD411A4A3009027999112267CB3@sgp-apsa001e--n.singapore.sgi.com>
From:   Calvine Chew <calvine@sgi.com>
To:     "'linux-mips'" <linux-mips@oss.sgi.com>
Subject: Xwindows/XFree86 in HardHat?
Date:   Fri, 1 Dec 2000 14:54:19 +0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing

Hi folks!

Does HardHat include some form of Xwindows? There are some xwindows
files in the distribution, but I can't fire up xwindows (some files seem to
be
missing). I did notice that HardHat included only one XF86 server
(XF68_FBDev)
but if I used that, startx reports a X11TransSocketUNIXConnect errno 146.
Do I need to install the latest XFree86 distribution (4.0.1), or is there
some
other things I can fiddle with in the config files?

TIA!!

--
Calvine Chew, Technical Consultant
Technology & Industry Consulting Group (Asia South), SGI.
***************************************************************
Inter spem curamque, timores inter et iras, omnem crede diem tibi
diluxisse supremum: grata superveniet quae sperabitur hora.
http://www.cyberjunkie.com/arcana
***************************************************************





From owner-linux-mips@oss.sgi.com Thu Nov 30 23:20:17 2000
Received:  by oss.sgi.com id <S553704AbQLAHUH>;
	Thu, 30 Nov 2000 23:20:07 -0800
Received: from mx.mips.com ([206.31.31.226]:29329 "EHLO mx.mips.com")
	by oss.sgi.com with ESMTP id <S553756AbQLAHTt>;
	Thu, 30 Nov 2000 23:19:49 -0800
Received: from newman.mips.com (ns-dmz [206.31.31.225])
	by mx.mips.com (8.9.3/8.9.0) with ESMTP id XAA12900;
	Thu, 30 Nov 2000 23:19:17 -0800 (PST)
Received: from Ulysses (ulysses [192.168.236.13])
	by newman.mips.com (8.9.3/8.9.0) with SMTP id XAA26101;
	Thu, 30 Nov 2000 23:19:32 -0800 (PST)
Message-ID: <001901c05b67$8c88ab60$0deca8c0@Ulysses>
From:   "Kevin D. Kissell" <kevink@mips.com>
To:     "Ralf Baechle" <ralf@oss.sgi.com>
Cc:     "Jesse Dyson" <jesse@winston-salem.com>,
        "Klaus Naumann" <spock@mgnet.de>, <linux-mips@oss.sgi.com>
References: <Pine.LNX.4.10.10011300938100.6504-100000@mail.netunlimited.net> <00f601c05ae8$19014500$0deca8c0@Ulysses> <20001201005942.A6172@bacchus.dhis.org>
Subject: Re: Indigo2 Kernel Boots!!!
Date:   Fri, 1 Dec 2000 08:22:51 +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 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: owner-linux-mips@oss.sgi.com
Precedence: bulk
Return-Path: <owner-linux-mips@oss.sgi.com>
X-Orcpt: rfc822;linux-mips-outgoing


> > When the init process fires up, it opens /dev/console as the
> > console output device.  A default SGI workstation installation
> > file system will have /dev/console bound to the major/minor device
> > node of the graphics display console.  If you want to run with a serial
> > console, you must therefore change this to bind /dev/console
> > to the serial port.  You can do this by doing an explicit mknod,
> > or by linking to the appropriate serial port device node,
> > which is usually /dev/ttyS0.
>
> Which both are wrong.  /dev/console should be a char device major 5, minor
1.
> There is no need to change this ever except for very old kernels.  With
2.2
> or 2.4 whenever people change /dev/console's major/minor it's usually
painting
> over some bug.

Having been through the exercise a dozen or more times with
the SGI 2.2 kernel distributions for the Indy, I would be fascinated
to know what bug I was painting over, and where the correct
procedure was documented.

            Kevin K.



