From paul@suite.sw.oz.au  Wed Mar  6 11:56:11 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id LAA08438 for <linux-mips@guadalquivir.fnet.fr>; Wed, 6 Mar 1996 11:56:04 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA09742; Wed, 6 Mar 1996 11:55:35 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id KAA27236; Wed, 6 Mar 1996 10:55:48 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for <linux-mips@fnet.fr>)
Received: by suite.sw.oz.au
	id AA11024; Wed, 6 Mar 1996 20:55:40 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603061055.AA11024@suite.sw.oz.au>
Subject: Some questions re %HI
To: linux-mips@fnet.fr (Linux MIPS mailing list)
Date: Wed, 6 Mar 1996 21:55:40 +1100 (EST)
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 1343
Lines: 32

Hi Folks,

I've finally had a chance to start looking at 1.3.62... and I've found
that the assembler complains when I compile r3000.S in arch/mips/kernel:

	r3000.S:103: Error: lui expression not in range 0..65535

This is due to the line:

	lui	k1,%HI(TLBMAP)

...now this is exactly the same code as for the R4000... so I'm assuming
it's too big an offset for an r3k.  It's late at night, and I'm not up
to rummmaging for the solution to this.  Ralf?  (I had cheated previously
by doing a hack, now I want to fix it permanently.)

Ciao,
Paul

P.S. Anyone live near enough to Brussels, Geneve, or Neutraubling?  Or,
     is anyone else attending the European High Performance Computing
     and Networking conference?  I'll be in Brussels in mid-April for the
     conference, and then on to the other cities (maybe more), and
     wouldn't mind meeting up with some of our European contingent...
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From linux@mailhost.uni-koblenz.de  Wed Mar  6 13:07:59 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id NAA09559 for <linux-mips@guadalquivir.fnet.fr>; Wed, 6 Mar 1996 13:07:58 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA10912; Wed, 6 Mar 1996 13:07:12 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id NAA16081 for <linux-mips@fnet.fr>; Wed, 6 Mar 1996 13:04:08 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603061204.NAA16081@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA05061; Wed, 6 Mar 96 13:06:24 +0100
Subject: Re: Some questions re %HI
To: linux-mips@fnet.fr
Date: Wed, 6 Mar 1996 13:06:23 +0100 (MET)
In-Reply-To: <199603061055.AA11024@suite.sw.oz.au> from "Paul Antoine" at Mar 6, 96 09:55:40 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 1529
Lines: 36

Hi Folks,

> I've finally had a chance to start looking at 1.3.62... and I've found
> that the assembler complains when I compile r3000.S in arch/mips/kernel:
> 
> 	r3000.S:103: Error: lui expression not in range 0..65535
> 
> This is due to the line:
> 
> 	lui	k1,%HI(TLBMAP)
> 
> ...now this is exactly the same code as for the R4000... so I'm assuming
> it's too big an offset for an r3k.  It's late at night, and I'm not up
> to rummmaging for the solution to this.  Ralf?  (I had cheated previously
> by doing a hack, now I want to fix it permanently.)

The lui instruction works exactly the same on all MIPS CPUs.  Probably a
problem with your assembler?  I've fixed this bug for my versions of
the GNU binutils 2.5.2 and 2.6; in vanilla Cygnus/FSF binutils %HI, %hi
and %lo are completly broken.

If you're using one of my assembler version this seems to be another bug.
In that case it would be great if you could reduce your code into a
minimum example that demostrates the bug.

> P.S. Anyone live near enough to Brussels, Geneve, or Neutraubling?  Or,
>      is anyone else attending the European High Performance Computing
>      and Networking conference?  I'll be in Brussels in mid-April for the
>      conference, and then on to the other cities (maybe more), and
>      wouldn't mind meeting up with some of our European contingent...

Paul, these locations are 200km to 700km or so aways from me and I think
for a meeting at Brussels would be ok.  (Or will you come to the Linux
congress in Berlin ?-)

   Ralf

From gwesp@cosy.sbg.ac.at  Wed Mar  6 18:17:39 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id SAA13567 for <linux-mips@guadalquivir.fnet.fr>; Wed, 6 Mar 1996 18:17:36 +0100 (MET)
Received: from frosch.cosy.sbg.ac.at by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA26586; Wed, 6 Mar 1996 18:17:05 +0100 (MET)
Received: by frosch.cosy.sbg.ac.at id AA01300
  (5.65c8/IDA-1.4.4 for linux-mips@fnet.fr); Wed, 6 Mar 1996 17:01:51 +0100
From: Gerhard Wesp <gwesp@cosy.sbg.ac.at>
Message-Id: <199603061601.AA01300@frosch.cosy.sbg.ac.at>
Subject: DECstation 5000/33
To: linux-mips@fnet.fr
Date: Wed, 6 Mar 1996 17:01:50 +0100 (MET)
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 531
Lines: 16

 Hi!

Seems that I can get my hands on such a box to try Linux out.
Just read "linux-mips-faq.txt", it mentions only 
"DECStation 5000/2x, 5000/100, 3100, and others.". So do you know if
my box is supported?

 I don't know which network adaptor the box has, but it might well be that
it is _not_ a NE2000 (the only supp. one, according to the faq). Is there
any chance of booting without networking? I think the box has SCSI drives,
which are also not supported (?)

 Which mailing list should I subscribe to?

Greetings!
-Gerhard

From paul@suite.sw.oz.au  Wed Mar  6 23:13:17 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id XAA17456 for <linux-mips@guadalquivir.fnet.fr>; Wed, 6 Mar 1996 23:13:16 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA01349; Wed, 6 Mar 1996 23:12:45 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id WAA12242; Wed, 6 Mar 1996 22:12:38 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for <linux-mips@fnet.fr>)
Received: by suite.sw.oz.au
	id AA27352; Thu, 7 Mar 1996 08:12:35 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603062212.AA27352@suite.sw.oz.au>
Subject: Re: DECstation 5000/33
To: linux-mips@fnet.fr
Date: Thu, 7 Mar 1996 09:12:35 +1100 (EST)
Cc: linux-mips@fnet.fr (Linux MIPS mailing list)
In-Reply-To: <199603061601.AA01300@frosch.cosy.sbg.ac.at> from "Gerhard Wesp" at Mar 6, 96 05:01:50 pm
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 2529
Lines: 59

Hi Gerhard,

> Seems that I can get my hands on such a box to try Linux out.
> Just read "linux-mips-faq.txt", it mentions only 
> "DECStation 5000/2x, 5000/100, 3100, and others.". So do you know if
> my box is supported?

I didn't know there was a 5000/33... does it have the name Personal
DECStation on the front?  I assume it's just a 5000/25 made to run at
33Mhz if it is a Personal DECStation, in which case all of my comments
on the 5000/2x series would be identical.  In any case, we have found
that all of the 5000 series tested so far work fine (including the big
server versions).

Do you currently run Ultrix on this machine?  If you do, could you
tell me what the initial startup messages say when you begin booting
Ultrix (they usually describe the type of CPU, its speed etc.)

>  I don't know which network adaptor the box has, but it might well be that
> it is _not_ a NE2000 (the only supp. one, according to the faq).

The NE2000 is only supported by PC-like R4000 machines like the
Deskstation etc.  The DECStations do not have ISA buses... they have a
thing called turbo-channel instead.

The DECStations all use built-in ethernet chips on the motherboard,
which are similar to those used in the Western Digital adapters on
PC's (though of course they work better in the DECStation).  This
means we need special device drivers for the DECStation's ethernet,
but that they will be easy to write because they use the same chips.

The device drivers for ethernet for the DECStation are not complete as
yet, but DEC's BOOT PROM monitor does allow booting via the network
which is how we're testing the kernels (because even the floppy driver
is not working yet.)

> Is there any chance of booting without networking? I think the box
> has SCSI drives, which are also not supported (?)

None as yet, because SCSI isn't supported yet either!  ...which is why
we're using net booting from the boot prom.

>  Which mailing list should I subscribe to?

The general linux-mips mailing list is fine.

> Greetings!

And you!  Do you have any kernel-hacking experience?

Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From arnold@foxtail.dstc.edu.au  Thu Mar  7 01:40:16 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id BAA19438 for <linux-mips@guadalquivir.fnet.fr>; Thu, 7 Mar 1996 01:40:11 +0100 (MET)
Received: from gatekeeper.waldorf-gmbh.de by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA03248; Thu, 7 Mar 1996 01:39:36 +0100 (MET)
Received: from trapdoor.dstc.edu.au (root@trapdoor.dstc.edu.au [130.102.176.12]) by gatekeeper.waldorf-gmbh.de (8.6.12/8.6.9) with ESMTP id BAA06188 for <linux@waldorf-gmbh.de>; Thu, 7 Mar 1996 01:43:20 +0100
Received: from foxtail.dstc.edu.au (foxtail.dstc.edu.au [130.102.176.14]) by trapdoor.dstc.edu.au (8.6.9/8.6.12) with ESMTP id KAA07298 for <linux@waldorf-gmbh.de>; Thu, 7 Mar 1996 10:39:33 +1000
Received: from mailhost.dstc.edu.au (arnold@localhost) by foxtail.dstc.edu.au (8.6.10/8.6.10) with ESMTP id KAA23399 for <linux@waldorf-gmbh.de>; Thu, 7 Mar 1996 10:39:32 +1000
Message-Id: <199603070039.KAA23399@foxtail.dstc.edu.au>
To: linux@waldorf-gmbh.de
Subject: DECstation 3100 looking for new OS
X-Face: 2#;/avfeVL:b<P_Hzo|Gh1g9@H7e%_rdaX;Gf?ruM}&vuCP0^~I6|m9qc0<9}IBW7Z'+ZTe
     -B}cNUeV6e[6Cm-6\V9P"U`b4kM;7,OLOmf6UGlVn@0[=aURf=wN^&&6OmiS5r4@N(37z~QW6
Date: Thu, 07 Mar 1996 10:39:31 +1000
From: David Arnold <arnold@dstc.edu.au>
Content-Length: 745
Lines: 18

after reading the MIPS HOWTO, i thought i'd let you know (as
requested) that i own a 3100 and while it is currently running
Ultrix4.4 i'd be quite interested in working on a Linux port.

what's the status of the port now?
how's the video and SCSI drivers?

i am interested in helping out with the development.  what's to be
done?


-- David Arnold   ,=================================================
================='                              +617 3654310 (voice)
CRC for Distributed Systems Technology          +617 3654311   (fax)
University of Queensland                  arnold@dstc.edu.au (email)
Australia                          <http://www.dstc.edu.au/>   (web)

  C++ compilers rarely optimize for the joy of programming - lwall

From paul@suite.sw.oz.au  Thu Mar  7 06:53:36 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id GAA24911 for <linux-mips@guadalquivir.fnet.fr>; Thu, 7 Mar 1996 06:53:35 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA06961; Thu, 7 Mar 1996 06:53:03 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id FAA22037; Thu, 7 Mar 1996 05:53:15 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for <linux-mips@fnet.fr>)
Received: by suite.sw.oz.au
	id AA05468; Thu, 7 Mar 1996 15:53:13 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603070553.AA05468@suite.sw.oz.au>
Subject: Re: DECstation 3100 looking for new OS
To: linux-mips@fnet.fr
Date: Thu, 7 Mar 1996 16:53:12 +1100 (EST)
In-Reply-To: <199603070039.KAA23399@foxtail.dstc.edu.au> from "David Arnold" at Mar 7, 96 10:39:31 am
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 2116
Lines: 51

Hi David,

> after reading the MIPS HOWTO, i thought i'd let you know (as
> requested) that i own a 3100 and while it is currently running
> Ultrix4.4 i'd be quite interested in working on a Linux port.
> 
> what's the status of the port now?

I have done most of the work so far, and have now released the code as
part of the general Linux-Mips 1.3.62 kernel available on ftp.fnet.fr
and other mirrors.

> how's the video and SCSI drivers?

The kernel currently uses the boot prom callback routines for screen
output, but converting some of the code from one of the R4000 machines
will probably work as the next step.  The kernel boots to the point of
calibrating the delay loop on the 5000 series, and stops there as
we've not done any of the interrupt stuff for clock ticks (or anything
else for that matter).

The code supports the R3000, but I was quite careful to make sure the
R2000 was supported too.  3100 support probably needs more work in the
area of screen and keyboard drivers before we can tell how far the
kernel is getting on them.

SCSI, ethernet and floppy are the next things to cover once keyboard
and screen are being handled natively (i.e. rather than through the
boot prom).

> i am interested in helping out with the development.  what's to be
> done?

Lots!  I'm still writing release notes for the current source (which I
will do once I get it to compile!), and then a TODO list.  The source
does have lots of FIXME comments, which is where you could start I
suppose.  You could also grab the 2100/3100 hardware documentation off
the DEC site and start reading...

Oh yeah - you could subscribe to the linux-mips mailing list...

Regards,
Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From afritz@starlink.com  Fri Mar  8 10:44:31 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id KAA18085 for <linux-mips@guadalquivir.fnet.fr>; Fri, 8 Mar 1996 10:44:29 +0100 (MET)
Received: from orion.starlink.com by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA09837; Fri, 8 Mar 1996 10:44:01 +0100 (MET)
Received: from afritz.phx.primenet.com (pm2-13.starlink.com [206.26.42.183]) by orion.starlink.com (8.6.9/8.6.9) with SMTP id WAA09780 for <linux-mips@fnet.fr>; Thu, 7 Mar 1996 22:31:05 -0700
Message-Id: <199603080531.WAA09780@orion.starlink.com>
X-Sender: afritz@starlink.com
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 07 Mar 1996 22:15:42 -0700
To: linux-mips@fnet.fr
From: Adam Fritzler <afritz@starlink.com>
Subject: DECstation Linux/MIPS
Content-Length: 824
Lines: 21

Dear Linux/MIPS Developers:

        I have an old DECstation 5000/20 (a.k.a. Personal DECstation) laying
here and would like to run Linux on it...is the DECstation Linux/MIPS
running/working yet (at a usable level)?  I was also wandering if Linux/MIPS
would still work if I was to purchase the R4000 upgrade daughterboard (from
DEC) for it?
                        
                                Thanx,
                                Adam Fritzler
                                afritz@starlink.com

PS: I would also be willing to do what ever I could to help your effort,
although I know very little about C/C++ programming and probably couldn't be
much help.


--------------------------------------
-            Adam Fritzler           -
-         afritz@starlink.com        -
--------------------------------------

From miff@spam.frisbee.net.au  Sat Mar  9 03:01:21 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id DAA03265 for <linux-mips@guadalquivir.fnet.fr>; Sat, 9 Mar 1996 03:01:15 +0100 (MET)
Received: from lovely.spam.frisbee.net.au (spam.apana.org.au) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA27728; Sat, 9 Mar 1996 03:00:38 +0100 (MET)
Received: from lovely.spam.frisbee.net.au (localhost [127.0.0.1]) by lovely.spam.frisbee.net.au (8.6.12/8.6.12) with SMTP id MAA01622 for <linux-mips@fnet.fr>; Sat, 9 Mar 1996 12:49:14 +1030
Sender: miff@spam.frisbee.net.au
Message-Id: <3140EA9F.15FB7483@spam.frisbee.net.au>
Date: Sat, 09 Mar 1996 12:49:11 +1030
From: michael smith <miff@spam.frisbee.net.au>
X-Mailer: Mozilla 2.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)
Mime-Version: 1.0
To: linux-mips@fnet.fr
Subject: More obscure MIPS hardware...
X-Url: http://lena.fnet.fr/
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Length: 602
Lines: 18

Howdy Linux-MIPS people!

A quick question for those of you familiar with the MIPS product line;
I have a couple of M2/000 systems here (VME, 25MHz R3000's) gathering
dust as (currently) table supports.

Having a real OS (nobody has even been able to offer me a copy of 
RISCos!) would be a great benefit for them.

I have a copy of the "M/2000 RISComputer Technical Reference", which
is a reasonably low-level overview of the system, however it makes no
reference to whether the system is ARC-compliant or not.

A quick response to "is it worth it" would be illuminating.

Thanks for your time.

Mike

From paul@suite.sw.oz.au  Sat Mar  9 06:48:22 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id GAA06274 for <linux-mips@guadalquivir.fnet.fr>; Sat, 9 Mar 1996 06:48:21 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA00687; Sat, 9 Mar 1996 06:47:50 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id FAA14956; Sat, 9 Mar 1996 05:47:57 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for <linux-mips@fnet.fr>)
Received: by suite.sw.oz.au
	id AA26637; Sat, 9 Mar 1996 15:47:55 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603090547.AA26637@suite.sw.oz.au>
Subject: More DECStation progress!
To: linux-mips@fnet.fr (Linux MIPS mailing list)
Date: Sat, 9 Mar 1996 16:47:55 +1100 (EST)
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 1527
Lines: 40

Hi folks!

I've been working on getting the 1.3.62 source tree to compile for the
DECStations, and am currently coping with Stoned's new argument passing 
goo.  I have also done a few significant things this weekend:

	Published an initial DECStation Port home page on:

	    http://www.softway.com.au/people/paul/dec/

	Published the bootp/tftp doco in HTML on:

	    http://www.softway.com.au/people/paul/dec/dec_tftpboot.html

	Hacked a hardware reset switch for my 5000/2x machine, and
	documented the hack on:

	    http://www.softway.com.au/people/paul/dec/5000_reset_switch.html

	Learnt a lot of HTML as a result of the above :-)

Would all those interested please check out this doco, and forward any
comments to me.  Ralf: you may want to link your Linux/MIPS pages to
these, and check any links I have that go back to yours.

Note: I have tried to include a list of all those people interested 
and/or contributing to the DECStation ports, so check to see if your 
name is there and whether I have correctly mentioned your interests 
and/or contributions.

Regards,
Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From tor@spacetec.no  Sat Mar  9 18:50:43 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id SAA15585 for <linux-mips@guadalquivir.fnet.fr>; Sat, 9 Mar 1996 18:50:41 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA07265; Sat, 9 Mar 1996 18:50:10 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id SAA15220 for linux-mips@fnet.fr; Sat, 9 Mar 1996 18:49:22 +0100
Message-Id: <199603091749.SAA15220@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Sat, 9 Mar 1996 18:49:21 +0100
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: M700-10
Content-Length: 3323
Lines: 63

Hi,

I've kept a bare-bone Olivetti M700-10 around for a while, collecting dust,
but finally I bought some RAM, borrowed a floppy drive etc. and tried to 
boot MILO on it.  I followed the instructions in the Linux/MIPS HOWTO, and 
MILO identified it just fine as far as I could see.  As the M700-10 is listed 
in the Linux/MIPS FAQ as supported this shouldn't be too surprising I guess, 
but it was encouraging anyway :-)

I understand there is a mailing list at fnet.fr?  Is linux-mips@fnet.fr
the mailing list itself?  In the following I'm assuming that it is, I hope
this is ok.. (I've been on the vger list for a long time, but there is no 
activity there.) 

What I would like to do with my Olivetti is to eventually use it as a
home workstation, hopefully with an ISDN connection or something to where
I work.  Until I can do that I'll keep it at work where I can do cross-
compiling and possibly use the network for NFS etc.

 From the FAQ I understand that the on-board SCSI and Ethernet adapters
are not yet supported.  I have an old SCSI disk which I once used in my
Linux PC (ext2 file system on it), and the Olivetti diagnostic program found 
it and ran a successful test on it.  But if the adapter doesn't work yet I'll
have to wait with that one I guess.

What I do have that may work is an ISA NE2000 based Ethernet adapter, 
twisted pair, no jumpers (software configured).  Could this one be used?  
The FAQ indicates that it can, but without jumpers I'm not sure (I have no 
experience with NE2000 boards).
I have experimented with a Sparc IPC running SparcLinux and mounting 
everything over NFS, so something similar is what I had in mind for the 
NE2000 board with the M700-10.

I'm also thinking about setting up a cross-development environment on an
SGI Challenge running Irix 5.3 (got some disk space there).  Are there any 
problems with cross-compiling for little-endian on a big-endian system?  
I guess it is no problem these days, but I remember a time when it used 
to be..
I'll just go ahead I guess, and then I will know soon enough :-)
(I've picked up diffs for binutils and gcc, and some more stuff, from the 
ftp directory.)

As the M700-10 is an EISA machine there are a few things I'm uncertain
about.  According to the manual every board has to be configured in, even
ISA boards.  The manual indicates that there should be a configuration 
program (SD.EXE) on one of the system diskettes.  What I have for this 
machine is one diagnostic diskette and three user diskettes.  The third
one is unreadable and the two others have no such program.  Anyone around
with some knowledge about M700-10?

I'm not sure yet what I could help with in the Linux/MIPS development.
Probably not much as far as the kernel is concerned, except for testing.
Maybe something in userland.
I'm a fairly experienced programmer, and a long-time Linux user (I've used
Linux since early 0.95, and a Linux PC has been my office workstation for 
several years now).  My job is software development, and we have a mixed 
enviroment of Suns, SGIs and HPs at work.  My Linux PC is one of the 
absolutely most stable systems here.. not bad for a "hackers OS" :-)
Hopefully I could do something for Linux/MIPS -- I'll first try to get it
up and running here, some way or another.

Regards,
Tor Arntsen (tor@spacetec.no)

From paul@suite.sw.oz.au  Sun Mar 10 01:16:20 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id BAA20904 for <linux-mips@guadalquivir.fnet.fr>; Sun, 10 Mar 1996 01:16:19 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA10979; Sun, 10 Mar 1996 01:15:46 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id AAA02643; Sun, 10 Mar 1996 00:15:49 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for )
Received: by suite.sw.oz.au
	id AA01327; Sun, 10 Mar 1996 10:15:38 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for triemer@wesleyan.edu)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603100015.AA01327@suite.sw.oz.au>
Subject: Compiling 1.3.62 for DECStations...
To: linux-mips@fnet.fr (Linux MIPS mailing list)
Date: Sun, 10 Mar 1996 11:15:37 +1100 (EST)
Cc: triemer@wesleyan.edu
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 1167
Lines: 33

Thomas Riemer wrote to me in email:

> Have you by any chance built 1.3.62 for the decstation?  I have, to 
> no avail.   I made a few mods, but even so... when I load up the
> kernel it just quietly exits.

<sigh>  This would seem to be due to the 2.6.2 binutils you're
probably using.  I have been using some 2.5.1 binutils I compiled
here specifically for dec-ultrix cross-compiling which work well.
Last night I tried to use Ralf's 2.6.2 binutils and discovered exactly
the problem you mention.

I will fiddle some more with it to try to see what's going on. In
the meantime I could upload my binutils to Softway's ftp site if
you like.

Places to look for the problem if you want to try to figure it out with
me:

	What is the start address stored in the resultant vmlinux - it
	should be the address of dec_entry.

	Try linking decstation.o at the begining instead of head.o just
	to see if this helps (would indicate the problem above).

	Try to find other bizarre reasons for the 2.6.2 binutils not
	doing what we expect :-)

Regards,
Paul

"It is the lack of acceptance of diversity which threatens to
 destroy society, NOT the free expression of it." - Me.

From Stoned.Elipot@univ-evry.fr  Sun Mar 10 10:36:28 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id KAA29557 for <linux-mips@guadalquivir.fnet.fr>; Sun, 10 Mar 1996 10:36:26 +0100 (MET)
Received: from amiante.univ-evry.fr by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA17837; Sun, 10 Mar 1996 10:35:56 +0100 (MET)
Received: from bandsept.univ-evry.fr (bandsept.univ-evry.fr [192.93.214.19]) by amiante.univ-evry.fr with ESMTP (8.6.12/94.01.10); id JAA20606; Sun, 10 Mar 1996 09:48:49 +0100
Received: from localhost.univ-evry.fr (localhost.univ-evry.fr [127.0.0.1]) by bandsept.univ-evry.fr with SMTP (8.6.12/94.01.26); id KAA10983; Sun, 10 Mar 1996 10:34:41 +0100
Message-Id: <199603100934.KAA10983@bandsept.univ-evry.fr>
To: linux-mips@fnet.fr
Cc: tor@spacetec.no
Subject: Re: M700-10 
In-Reply-To: Your message of "Sat, 09 Mar 1996 18:49:21 +0100."
             <199603091749.SAA15220@pallas.spacetec.no> 
X-It: bandsept (wrong OS, but right CPU)
X-Mailer: MH 6.8.3, MH-E 5.0.2
Date: Sun, 10 Mar 1996 10:34:35 +0100
From: Stoned Elipot <Stoned.Elipot@univ-evry.fr>
Content-Length: 3075
Lines: 70

Hi Tor,
>>>>> "Tor" == Tor Arntsen <tor@spacetec.no> writes:
Tor> Hi, I've kept a bare-bone Olivetti M700-10 around for a while,
Tor> collecting dust, but finally I bought some RAM, borrowed a floppy
Tor> drive etc. and tried to boot MILO on it.  I followed the

It seems that it's the usual place where we can find target for
Linux/MIPS, my Oily was in a trash box! :)

[SNIP]
Tor> Linux/MIPS FAQ as supported this shouldn't be too surprising I
Tor> guess, but it was encouraging anyway :-)

Yeah, it's always nice to see something new on such a box !

Tor> I understand there is a mailing list at fnet.fr?  Is
Tor> linux-mips@fnet.fr the mailing list itself?  In the following I'm
Tor> assuming that it is, I hope this is ok.. (I've been on the vger
Tor> list for a long time, but there is no activity there.)

linux-mips@fnet.fr is the developper mailing list, I understand from
your mail that you're willing to help. So I had tor@spacetec.no' on
it, is it ok ? ;)

[SNIP]
Tor> I have experimented with a Sparc IPC running SparcLinux and
Tor> mounting everything over NFS, so something similar is what I had
Tor> in mind for the NE2000 board with the M700-10.

Luc and I had tried to use a DEC DEPCA ethernet adapter in my Oily
with no success, I guess there is some problem with the DMA proto
driver written once by Andy. For SCSI Ralf you tell us once that
someone was on it, is it still true ?

[SNIP]
Tor> space there).  Are there any problems with cross-compiling for
Tor> little-endian on a big-endian system?  I guess it is no problem
Tor> these days, but I remember a time when it used to be..  I'll just
Tor> go ahead I guess, and then I will know soon enough :-) (I've
Tor> picked up diffs for binutils and gcc, and some more stuff, from
Tor> the ftp directory.)

Please go ahead, it should be okay.

Tor> As the M700-10 is an EISA machine there are a few things I'm
Tor> uncertain about.  According to the manual every board has to be
Tor> configured in, even ISA boards.  The manual indicates that there
Tor> should be a configuration program (SD.EXE) on one of the system
Tor> diskettes.  What I have for this machine is one diagnostic
Tor> diskette and three user diskettes.  The third one is unreadable
Tor> and the two others have no such program.  Anyone around with some
Tor> knowledge about M700-10?

I can provide you the all 4 disk - if  I remember well SD.EXE on the
fourth one, a 2.88Mo floppy. And regarding configuration for ISA cards
in a EISA bus, well sure it's better but you don't have to: the config
software in such cases is there if you're unable to set the correct
IRQs, IO adresses in order to avoid conflicts with only your skill and
experience :) 

Tor> I'm not sure yet what I could help with in the Linux/MIPS
Tor> development.  Probably not much as far as the kernel is
[SNIP]
Tor> do something for Linux/MIPS -- I'll first try to get it up and
Tor> running here, some way or another.

There lots of thing to do even for Oily, Luc and I are setting up
things regarding such considerations. More on this tomorrow...

Cheers, Stoned.

From tor@spacetec.no  Mon Mar 11 00:19:13 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id AAA10348 for <linux-mips@guadalquivir.fnet.fr>; Mon, 11 Mar 1996 00:19:12 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA24824; Mon, 11 Mar 1996 00:18:40 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id AAA17030 for linux-mips@fnet.fr; Mon, 11 Mar 1996 00:18:05 +0100
Message-Id: <199603102318.AAA17030@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Mon, 11 Mar 1996 00:18:04 +0100
In-Reply-To: Stoned Elipot <Stoned.Elipot@univ-evry.fr>
       "Re: M700-10" (Mar 10, 10:35)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: Re: M700-10
Content-Length: 2034
Lines: 50

On Mar 10, 10:35, Stoned Elipot wrote:
[...]
>linux-mips@fnet.fr is the developper mailing list, I understand from
>your mail that you're willing to help. So I had tor@spacetec.no' on
>it, is it ok ? ;)

Yes, thanks!

[...]
>I can provide you the all 4 disk - if  I remember well SD.EXE on the
>fourth one, a 2.88Mo floppy. And regarding configuration for ISA cards
>in a EISA bus, well sure it's better but you don't have to: the config
>software in such cases is there if you're unable to set the correct
>IRQs, IO adresses in order to avoid conflicts with only your skill and
>experience :) 

Ok, that explains why I couldn't read it.. I've got only 1.44 MB drives here.
This floppy says 'ED' instead of 'HD' as the others.  I'll just try to 
borrow a 2.88MB drive in case I need that utility.  

Now the first problem..

I have set up my cross-development environment on an SGI Challenge.
I'm using gcc 2.7.2, binutils 2.6, all set up for mipsel-linuxelf, 
corresponding patches applied.
I have also grabbed and installed the mipsel-linuxelf version of libc-951212,
and linux-1.3.62.tar.gz (all from ftp.fnet.fr).
This went mostly without problems, although IRIX has some annoying limits
w.r.t. the size of commands arg list etc.  Had to modify the .hdepend target 
in the main Makefile because of this.

The problem I ran into during the kernel build is that gas chokes with the 
following message:

magnum4000.S: Assembler messages:
magnum4000.S:30: Error: Can not represent relocation in this object file format

The line in question is
                /*
                 * Get pending interrupts
                 */
                mfc0    t0,CP0_CAUSE            # get pending interrupts
                mfc0    t1,CP0_STATUS           # get enabled interrupts
                and     t0,t1                   # isolate allowed ones
                andi    t0,0xff00               # isolate pending bits
--->            beqz    t0,spurious_interrupt
                sll     t0,16                   # delay slot

Regards,
Tor

From linux@mailhost.uni-koblenz.de  Mon Mar 11 15:51:46 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id PAA23916 for <linux-mips@guadalquivir.fnet.fr>; Mon, 11 Mar 1996 15:51:45 +0100 (MET)
Received: from chenas.inria.fr by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA09586; Mon, 11 Mar 1996 15:51:14 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by chenas.inria.fr (5.65c8d/92.02.29)
	via EUnet-France id AA01805; Mon, 11 Mar 1996 15:51:05 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id PAA17061 for <linux-mips@fnet.fr>; Mon, 11 Mar 1996 15:38:48 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603111438.PAA17061@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA02888; Mon, 11 Mar 96 15:42:02 +0100
Subject: Re: M700-10
To: linux-mips@fnet.fr
Date: Mon, 11 Mar 1996 15:42:02 +0100 (MET)
In-Reply-To: <199603102318.AAA17030@pallas.spacetec.no> from "Tor Arntsen" at Mar 11, 96 00:18:04 am
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 1966
Lines: 46

Hi,

> Ok, that explains why I couldn't read it.. I've got only 1.44 MB drives here.
> This floppy says 'ED' instead of 'HD' as the others.  I'll just try to 
> borrow a 2.88MB drive in case I need that utility.  

If everything fails I could send you an image of the 2.88mb disk.

> Now the first problem..
> 
> I have set up my cross-development environment on an SGI Challenge.
> I'm using gcc 2.7.2, binutils 2.6, all set up for mipsel-linuxelf, 
> corresponding patches applied.
> I have also grabbed and installed the mipsel-linuxelf version of libc-951212,
> and linux-1.3.62.tar.gz (all from ftp.fnet.fr).
> This went mostly without problems, although IRIX has some annoying limits
> w.r.t. the size of commands arg list etc.  Had to modify the .hdepend target 
> in the main Makefile because of this.
> 
> The problem I ran into during the kernel build is that gas chokes with the 
> following message:
> 
> magnum4000.S: Assembler messages:
> magnum4000.S:30: Error: Can not represent relocation in this object file format
> 
> The line in question is
>                 /*
>                  * Get pending interrupts
>                  */
>                 mfc0    t0,CP0_CAUSE            # get pending interrupts
>                 mfc0    t1,CP0_STATUS           # get enabled interrupts
>                 and     t0,t1                   # isolate allowed ones
>                 andi    t0,0xff00               # isolate pending bits
> --->            beqz    t0,spurious_interrupt
>                 sll     t0,16                   # delay slot

This is a branch to an external target address.  Unfortunately this can
not be represented in ELF.

The switch of Linux/MIPS to ELF isn't complete yet.  You still need the
a.out compiler to compile the kernel; *all* user code is ELF.  Though
I promise this alredy for some time:  I'll fix the ELF problems with the
kernel as soon as I can and will then eleminate the a.out support in
compiler/linker.

  Ralf

From tor@spacetec.no  Mon Mar 11 16:11:49 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id QAA24356 for <linux-mips@guadalquivir.fnet.fr>; Mon, 11 Mar 1996 16:11:49 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA10048; Mon, 11 Mar 1996 16:11:17 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id QAA17635 for linux-mips@fnet.fr; Mon, 11 Mar 1996 16:10:51 +0100
Message-Id: <199603111510.QAA17635@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Mon, 11 Mar 1996 16:10:51 +0100
In-Reply-To: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
       "Re: M700-10" (Mar 11, 15:51)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: Re: M700-10
Content-Length: 719
Lines: 19

On Mar 11, 15:51, Systemkennung Linux wrote:
>If everything fails I could send you an image of the 2.88mb disk.

Thanks a lot, I'll ask for it if/when I'll need it if I can't find a drive..

>> --->            beqz    t0,spurious_interrupt

>This is a branch to an external target address.  Unfortunately this can
>not be represented in ELF.
>
>The switch of Linux/MIPS to ELF isn't complete yet.  You still need the
>a.out compiler to compile the kernel; *all* user code is ELF.  Though
>I promise this alredy for some time:  I'll fix the ELF problems with the
>kernel as soon as I can and will then eleminate the a.out support in
>compiler/linker.

Ok, I'll build myself some SGI/Linux aout tools and try again.

Tor

From paul@suite.sw.oz.au  Tue Mar 12 08:25:53 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id IAA08637 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 08:25:52 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA23784; Tue, 12 Mar 1996 08:25:18 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id GAA08428; Tue, 12 Mar 1996 06:25:41 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for <linux-mips@fnet.fr>)
Received: by suite.sw.oz.au
	id AA01115; Tue, 12 Mar 1996 17:25:33 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603120725.AA01115@suite.sw.oz.au>
Subject: DEC compilation (was Re: M700-10)
To: linux-mips@fnet.fr
Date: Tue, 12 Mar 1996 18:25:32 +1100 (EST)
In-Reply-To: <199603111438.PAA17061@informatik.uni-koblenz.de> from "Systemkennung Linux" at Mar 11, 96 03:42:02 pm
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 1178
Lines: 30

Ralf, in response to questions about the Olivetti says:

> The switch of Linux/MIPS to ELF isn't complete yet.  You still need the
> a.out compiler to compile the kernel; *all* user code is ELF.  Though
> I promise this alredy for some time:  I'll fix the ELF problems with the
> kernel as soon as I can and will then eleminate the a.out support in
> compiler/linker.

Ummm... I noticed that one significant difference when compiling
the DEC kernel with 2.6.2 is that all intermediate binaries (.o's) 
generated by as are in ELF format according to file... that and 
the resultant vmlinux when linked is:

	mipsel executable not stripped

rather than the:

	mipsel executable - version 2.11

I'll keep checking a few things...

Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From paul@suite.sw.oz.au  Tue Mar 12 08:43:33 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id IAA08863 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 08:43:32 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA23943; Tue, 12 Mar 1996 08:42:57 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id GAA08731; Tue, 12 Mar 1996 06:43:11 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for <linux-mips@fnet.fr>)
Received: by suite.sw.oz.au
	id AA01362; Tue, 12 Mar 1996 17:42:57 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603120742.AA01362@suite.sw.oz.au>
Subject: More DEC Compilation info...
To: linux-mips@fnet.fr (Linux MIPS mailing list)
Date: Tue, 12 Mar 1996 18:42:57 +1100 (EST)
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 919
Lines: 20

Hi folks,

I have a bit more info re compiling the DEC kernel... if you tell
cc to produce little-endian using -EL, and as to output the
intermediate files in ecoff with -oformat ecoff-littlemips (you need to
uncomment the ASFLAGS line in arch/mips/Makefile and add this), AND
you tell ld to accept input in ecoff with -b ecoff-littlemips, THEN
the resultant kernel is usable when built with 2.6.2 binutils!

So, all we need do is alter the Makefiles a bit... <whew!>

Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From kah@terma.dk  Tue Mar 12 09:22:18 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id JAA09471 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 09:22:18 +0100 (MET)
Received: from ns.dknet.dk by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA24474; Tue, 12 Mar 1996 09:21:45 +0100 (MET)
Received: from terma (uucp@localhost) by ns.dknet.dk (8.6.12/8.6.12) with UUCP id JAA14166 for linux-mips@fnet.fr; Tue, 12 Mar 1996 09:22:10 +0100
Message-Id: <199603120822.JAA14166@ns.dknet.dk>
Received: from lulu (lulu.terma.dk) by lise.terma.dk; Tue, 12 Mar 1996 08:55:07 +0100    
From: Kai Harrekilde-Petersen <kah@terma.dk>
Received: by lulu; Tue, 12 Mar 1996 09:01:31 +0100    
Subject: Unsubscribe
To: linux-mips@fnet.fr (Linux/MIPS mailing list)
Date: Tue, 12 Mar 96 9:01:31 MET
Mailer: Elm [revision: 70.85]
Content-Length: 530
Lines: 17

I really hate to send a mial like this to the list, but I've unable to
reach Luc, apparently.

Can I *please* get unsubscribed? Thanks.

It's not that the Linux/MIPS project is uninteresting, but I'm
changing jobs and so I wont have the HW to work with.

My new email will be khp@dolphinics.no, and it'll be valid from 1st of
April.

Regards and good luck to all,

Kai
--
Kai Harrekilde-Petersen  <kah@terma.dk>  Linux: The choice of a GNU generation
Terma Elektronik, Surveillance Systems Division    #include <std/disclaimer.h>

From linux@mailhost.uni-koblenz.de  Tue Mar 12 09:56:11 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id JAA09838 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 09:56:10 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA25067; Tue, 12 Mar 1996 09:55:32 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id JAA13154 for <linux-mips@fnet.fr>; Tue, 12 Mar 1996 09:51:51 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603120851.JAA13154@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA05981; Tue, 12 Mar 96 09:54:59 +0100
Subject: Re: More DEC Compilation info...
To: linux-mips@fnet.fr
Date: Tue, 12 Mar 1996 09:54:59 +0100 (MET)
In-Reply-To: <199603120742.AA01362@suite.sw.oz.au> from "Paul Antoine" at Mar 12, 96 06:42:57 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 646
Lines: 16

Hi folks,

> I have a bit more info re compiling the DEC kernel... if you tell
> cc to produce little-endian using -EL, and as to output the
> intermediate files in ecoff with -oformat ecoff-littlemips (you need to
> uncomment the ASFLAGS line in arch/mips/Makefile and add this), AND
> you tell ld to accept input in ecoff with -b ecoff-littlemips, THEN
> the resultant kernel is usable when built with 2.6.2 binutils!
> 
> So, all we need do is alter the Makefiles a bit... <whew!>

It's still one of those nice binutils bugs that I've been chasing again
and again and again.  Looks like BFD was written to be close to
undebugeable :-(

  Ralf

From kah@terma.dk  Tue Mar 12 10:59:14 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id KAA10678 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 10:59:13 +0100 (MET)
Received: from ns.dknet.dk by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA26150; Tue, 12 Mar 1996 10:58:41 +0100 (MET)
Received: from terma (uucp@localhost) by ns.dknet.dk (8.6.12/8.6.12) with UUCP id KAA25186; Tue, 12 Mar 1996 10:52:24 +0100
Message-Id: <199603120952.KAA25186@ns.dknet.dk>
Received: from lulu (lulu.terma.dk) by lise.terma.dk; Tue, 12 Mar 1996 10:31:10 +0100    
From: Kai Harrekilde-Petersen <kah@terma.dk>
Received: by lulu; Tue, 12 Mar 1996 10:37:33 +0100    
Subject: Re: More DEC Compilation info...
To: linux-mips@fnet.fr
Date: Tue, 12 Mar 96 10:37:33 MET
Cc: linux-mips@fnet.fr (Linux/MIPS mailing list), sde@algor.co.uk
In-Reply-To: <199603120851.JAA13154@informatik.uni-koblenz.de>; from "Systemkennung Linux" at Mar 12, 96 9:54 am
Mailer: Elm [revision: 70.85]
Content-Length: 764
Lines: 22

Hi,

Just putting my $0.02 in before I go.

> It's still one of those nice binutils bugs that I've been chasing again
> and again and again.  Looks like BFD was written to be close to
> undebugeable :-(

How about talking to Algorithmics (sde@algor.co.uk).  They have a
functioning MIPS toolchain, called SDE-MIPS, based on GNU.  I saw Alan
Cox mention on linux.dev.kernel what he (they?) use Algorithmics'
toolchain, because they work, and FSF's doesn't.  Algortihmics have
feed their changes back to FSF, but we all know how they work :-(

If you contact them, give a hello from me :-)

Regards,

Kai
--
Kai Harrekilde-Petersen  <kah@terma.dk>  Linux: The choice of a GNU generation
Terma Elektronik, Surveillance Systems Division    #include <std/disclaimer.h>

From kadlec.peter@rtoms2a1.gymrc.mts.dec.com  Tue Mar 12 16:38:38 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id QAA15665 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 16:38:36 +0100 (MET)
Received: from ns1.digital.fr by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA02247; Tue, 12 Mar 1996 16:38:04 +0100 (MET)
Received: from vbormc.vbo.dec.com (vbormc.vbo.dec.com [16.36.208.94]) by ns1.digital.fr (8.7/8.7) with ESMTP id QAA29229 for <linux-mips@fnet.fr>; Tue, 12 Mar 1996 16:38:47 +0100
Received: (from root@localhost) by vbormc.vbo.dec.com (8.7.3/8.7) with UMC id PAA07140 for linux-mips@fnet.fr; Tue, 12 Mar 1996 15:30:05 +0100
Received: from umc by vbormc.vbo.dec.com via MR/VALMTS with conversational-MRIF;
	Tue, 12 Mar 96 15:30:04 +0100
Posted: Tue, 12 Mar 96 14:35:01 +0100
Date: Tue, 12 Mar 96 14:27:39 +0100
Sender: kadlec.peter@rtoms2a1.gymrc.mts.dec.com
From: "Peter Kadlec @RTO" <kadlec.peter@rtoms2a1.gymrc.mts.dec.com>
Message-Id: <65534121306991/3250290@GYMRC>
App-Message-Id: <E107ZWFBM9P8D>
Precedence: Special-Delivery
To: linux-mips@fnet.fr.internet.mts.dec.com
Subject: Linux for DecStation 5000/25
Msg-Class: ALL-IN-1 IOS Server for OpenVMS V3.1 BL121  (US) ENGLISH 17-JUN-1994
Sensitivity: Personal
Content-Length: 239
Lines: 10

Hi,

I have been reading up on the state of your project... and I have a 
specific question: how far does your port support a DECStation 5000/25 ?
and when do you think you'll have a working kernel?


I appreciate your help,

Peter Kadlec

From Hatt_Bernard/HEMEL_ENGINEERING_SERVERS@uniplex.co.uk  Tue Mar 12 15:05:28 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id PAA14430 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 15:05:26 +0100 (MET)
From: Hatt_Bernard/HEMEL_ENGINEERING_SERVERS@uniplex.co.uk
Received: from gatekeeper.waldorf-gmbh.de by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA00706; Tue, 12 Mar 1996 15:04:47 +0100 (MET)
Received: from skippy.uniplex-net (root@skippy.uniplex.co.uk [194.70.248.1]) by gatekeeper.waldorf-gmbh.de (8.6.12/8.6.9) with ESMTP id PAA30215 for <linux@waldorf-gmbh.de>; Tue, 12 Mar 1996 15:02:51 +0100
Received: from bigblue.uniplex-net (root@bigblue.uniplex-net [89.8.1.30]) by skippy.uniplex-net (8.7.3/8.6.12) with SMTP id NAA14570 for <linux@waldorf-gmbh.de>; Tue, 12 Mar 1996 13:51:46 GMT
Received: from  by bigblue.uniplex-net (AIX 3.2/UCB 5.64/4.03)
          id AA174421; Tue, 12 Mar 1996 13:57:46 GMT
X-Openmail-Hops: 1
Date: Tue, 12 Mar 96 13:57:37 +0000
Message-Id: <H00002de01eb5612@MHS>
Subject: Linux/MIPS
Mime-Version: 1.0
To: linux@waldorf-gmbh.de
Content-Type: text/plain; charset=US-ASCII; name="cmcd91aa"
Content-Transfer-Encoding: 7bit
Content-Length: 219
Lines: 8

In an old faq file (dated sept '94) there is mention of a port of Linux
to the MIPS R4000, if this still exists, what's the current status and
where can I find the lastest FAQ ?

Thanks,

Bernard Hatt
bmh@uniplex.co.uk

From tor@spacetec.no  Tue Mar 12 20:19:37 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id UAA18660 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 20:19:36 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA05893; Tue, 12 Mar 1996 20:18:59 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id UAA21338 for linux-mips@fnet.fr; Tue, 12 Mar 1996 20:18:45 +0100
Message-Id: <199603121918.UAA21338@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Tue, 12 Mar 1996 20:18:44 +0100
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: M700-10 problems..
Content-Length: 3236
Lines: 68

Hi all,

I ran into some problems when booting vmlinux (1.3.62) on my M700-10.
On an SGI I have built and installed gcc 2.7.2 and binutils 2.6 (with patches)
as mipsel-linuxaout, for kernel cross-compilation.  I put milo and the compiled
vmlinux on a floppy.  I start milo from ARC with 'a:milo', and up to and
including the 'press enter to start Linux' everything looks good.

What happens during the linux boot seems to be that all I/O probing fails..
I have two different ethernet adapters.  One is a non-jumpered NE2000, and
the other is a 3c503/16 jumpered to PIO.  This is the one I would like to use,
as the NE2000 is twisted pair and my TP converter doesn't work.  I have tried 
to compile the kernel with driver for one, for the other, and for both, with 
and without boards installed. The autoprobing fails in all cases.
At this stage I also got an 'illegal kernel paging request' (or something
like that, after the change below it disappeared and I don't have a syslog :-)

What I then tried was to hardcode the I/O address for the 3c503 at the
start of el2_probe(), apparently it then found it. (Can parameters be passed
through milo?  I tried a few things, based on what I saw in the sources, but
it didn't make any difference that I could see.)  The kernel paging error is 
gone.

(I also threw in a bunch of printk's here and there, trying to find out where 
 the problem was.)

What now fails is the autoirq_setup(), it is called four times and then
it gives up.
Then root-nfs gives up and asks me to put in a root floppy and press ENTER.
I've prepared one, but the keyboard doesn't work!

Here is the booting sequence, typed in by hand (with possible mistakes because
my monitor is *real* bad in 1280x1024):

Console: colour MIPS-G364 160x64, 1 virtual console (max 63)
Calibrating delay loop.. ok - 49.87 BogoMIPS
VDMA: R4030 DMA pagetables initalized.
Memory: 31472k/32768k available (620k kernel code, 668k data)
Swansea [snip] NET3.033 for Linux 1.3.58
NET3: [snip]..
Swansea [snip] TCP/IP..
IP Protocols: ICMP, UDP, TCP
Checking for 'wait' instruction... unavailable.
Linux version 1.3.62 (tor@lrdpf) (gcc version 2.7.2) [snip]
initialize_kbd: reset kbd failed, not POR.
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
[here I used to get the kernel paging request problem]
[now it finds the 3c503 because of my hardcoded I/O address:]
3c503.c:v1.10 9/23/93 [snip]
eth0: 3c503 at i/o base 0x330, node 02 60 8c 7b 70 ac, using internal xcvr.
eth0: 3c503-PIO, 16kB RAM, using programmed I/O (REJUMPER for SHARED MEMORY)
[The above is correct, including the ethernet address.  So it did read it..]
[now the autoirq_setup fails]
NFS: Unable to open at least one network device [I enabled some debug output]
Root-NFS: Unable to contact NFS server for root fs, using /dev/fd0 instead
NFS: Insert root floppy and press ENTER

And here I'm stuck, apparently because the initialize_kbd failed above.
In addition there is this "floppy0: no floppy controllers found".

My keyboard is a perfectly ok PS/2 compatible one, I'm using a similar one
on my Linux PC, and it works fine with milo.

Suggestions are welcome.. is my gcc sick (it looks good but..), or have I
managed to overlook something silly?

Tor

From linux@mailhost.uni-koblenz.de  Tue Mar 12 21:14:15 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id VAA19434 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 21:14:14 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA06667; Tue, 12 Mar 1996 21:12:57 +0100 (MET)
Received: from ozzy (ozzy.uni-koblenz.de [141.26.5.8]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with ESMTP id VAA14495 for <linux-mips@fnet.fr>; Tue, 12 Mar 1996 21:09:18 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603122009.VAA14495@informatik.uni-koblenz.de>
Received: by ozzy (SMI-8.6/KO-2.0)
	id VAA02130; Tue, 12 Mar 1996 21:12:12 +0100
Subject: Re: M700-10 problems..
To: linux-mips@fnet.fr
Date: Tue, 12 Mar 1996 21:12:12 +0100 (MET)
In-Reply-To: <199603121918.UAA21338@pallas.spacetec.no> from "Tor Arntsen" at Mar 12, 96 08:18:44 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 4160
Lines: 87

Hi again,

> I ran into some problems when booting vmlinux (1.3.62) on my M700-10.
> On an SGI I have built and installed gcc 2.7.2 and binutils 2.6 (with patches)
> as mipsel-linuxaout, for kernel cross-compilation.  I put milo and the compiled
> vmlinux on a floppy.  I start milo from ARC with 'a:milo', and up to and
> including the 'press enter to start Linux' everything looks good.
> 
> What happens during the linux boot seems to be that all I/O probing fails..
> I have two different ethernet adapters.  One is a non-jumpered NE2000, and
> the other is a 3c503/16 jumpered to PIO.  This is the one I would like to use,
> as the NE2000 is twisted pair and my TP converter doesn't work.  I have tried 
> to compile the kernel with driver for one, for the other, and for both, with 
> and without boards installed. The autoprobing fails in all cases.
> At this stage I also got an 'illegal kernel paging request' (or something
> like that, after the change below it disappeared and I don't have a syslog :-)

 - The autoprobing fails because I don't enable the (E)ISA interrupts on
   Magnum4000/Olivetti M700-10 just because this stuff is untested.  To
   enable the interrupts look into init_IRQ() in arch/mips/kernel/irq.c
   near the top the function.  I think there is still a bug specific
   to Magnum4000/Olivetti M700-10; Acer seems to work rocksolid.
 - illegal kernel paging request:  this wasn't supposed to happen ...

> What I then tried was to hardcode the I/O address for the 3c503 at the
> start of el2_probe(), apparently it then found it. (Can parameters be passed
> through milo?  I tried a few things, based on what I saw in the sources, but
> it didn't make any difference that I could see.)  The kernel paging error is 
> gone.
> 
> (I also threw in a bunch of printk's here and there, trying to find out where 
>  the problem was.)
> 
> What now fails is the autoirq_setup(), it is called four times and then
> it gives up.
> Then root-nfs gives up and asks me to put in a root floppy and press ENTER.
> I've prepared one, but the keyboard doesn't work!

The keyboard problem is known and fixed in my developement source tree.
Look into drivers/char/keyboard.c and increase the value of

#define TIMEOUT_CONST   500000

to 1000000 or so.  This is just a timing problem with the keyboard driver;
the MIPS box is too fast ...

> Here is the booting sequence, typed in by hand (with possible mistakes because
> my monitor is *real* bad in 1280x1024):
> 
> Console: colour MIPS-G364 160x64, 1 virtual console (max 63)
> Calibrating delay loop.. ok - 49.87 BogoMIPS
> VDMA: R4030 DMA pagetables initalized.
> Memory: 31472k/32768k available (620k kernel code, 668k data)
> Swansea [snip] NET3.033 for Linux 1.3.58
> NET3: [snip]..
> Swansea [snip] TCP/IP..
> IP Protocols: ICMP, UDP, TCP
> Checking for 'wait' instruction... unavailable.
> Linux version 1.3.62 (tor@lrdpf) (gcc version 2.7.2) [snip]
> initialize_kbd: reset kbd failed, not POR.
> Floppy drive(s): fd0 is 1.44M
> floppy0: no floppy controllers found
> [here I used to get the kernel paging request problem]
> [now it finds the 3c503 because of my hardcoded I/O address:]
> 3c503.c:v1.10 9/23/93 [snip]
> eth0: 3c503 at i/o base 0x330, node 02 60 8c 7b 70 ac, using internal xcvr.
> eth0: 3c503-PIO, 16kB RAM, using programmed I/O (REJUMPER for SHARED MEMORY)
> [The above is correct, including the ethernet address.  So it did read it..]
> [now the autoirq_setup fails]
> NFS: Unable to open at least one network device [I enabled some debug output]
> Root-NFS: Unable to contact NFS server for root fs, using /dev/fd0 instead
> NFS: Insert root floppy and press ENTER
> 
> And here I'm stuck, apparently because the initialize_kbd failed above.
> In addition there is this "floppy0: no floppy controllers found".

*Hmmpf*  This one seems to be another Magnum/Olivetti specific problem.

> My keyboard is a perfectly ok PS/2 compatible one, I'm using a similar one
> on my Linux PC, and it works fine with milo.
> 
> Suggestions are welcome.. is my gcc sick (it looks good but..), or have I
> managed to overlook something silly?

No, so far it really looks ok,

  Ralf

From paul@suite.sw.oz.au  Tue Mar 12 23:26:18 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id XAA21188 for <linux-mips@guadalquivir.fnet.fr>; Tue, 12 Mar 1996 23:26:17 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA13556; Tue, 12 Mar 1996 23:25:40 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id VAA25533; Tue, 12 Mar 1996 21:26:12 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for )
Received: by suite.sw.oz.au
	id AA07294; Wed, 13 Mar 1996 08:25:27 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for kadlec.peter@rtoms2a1.gymrc.mts.dec.com)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603122225.AA07294@suite.sw.oz.au>
Subject: Re: Linux for DecStation 5000/25
To: linux-mips@fnet.fr
Date: Wed, 13 Mar 1996 09:25:26 +1100 (EST)
Cc: kadlec.peter@rtoms2a1.gymrc.mts.dec.com
In-Reply-To: <65534121306991/3250290@GYMRC> from "Peter Kadlec @RTO" at Mar 12, 96 02:27:39 pm
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 1559
Lines: 38

Hi Peter,

> I have been reading up on the state of your project... and I have a 
> specific question: how far does your port support a DECStation
> 5000/25 ?

Well, the FAQ mentions support for 5000/2x where x can be 0 or 5...
and as the 25 is just a faster version of the 20, it will be
completely supported.

> and when do you think you'll have a working kernel?

Ummm... good question.  Now that the source has been released, I'm
hoping that several people will begin to contribute which should speed
things up.  You're no doubt aware that it's a part-time endeavour, so
it's rather dependent upon how much of the contributor's personal time
we get.

> I appreciate your help,

Well, as you're at DEC, perhaps you could help us?  In particular, the
MACH sources mention a document that describes the 5000/20 and 5000/25
hardware in quite some detail.  This document is not available on
DEC's public web server - are you able to access this?  It would make
life a *whole* lot simpler, and the port a whole lot faster, if we
could get DEC to release it (as they presumeably did to the MACH
team).

Regards,
Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From paul@suite.sw.oz.au  Wed Mar 13 07:11:40 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id HAA28857 for <linux-mips@guadalquivir.fnet.fr>; Wed, 13 Mar 1996 07:11:38 +0100 (MET)
Received: from staff.cs.su.OZ.AU by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA19769; Wed, 13 Mar 1996 07:10:57 +0100 (MET)
Received: from suite.sw.oz.au by swallow.sw.oz.au with SMTP
	id FAA06742; Wed, 13 Mar 1996 05:11:43 GMT (8.6.10/Unixware)
	(from paul@suite.sw.oz.au for )
Received: by suite.sw.oz.au
	id AA15190; Wed, 13 Mar 1996 16:11:02 +1000 (5.65c/1.34)
	(from paul@suite.sw.oz.au for linux-mips@fnet.fr)
From: paul@suite.sw.oz.au (Paul Antoine)
Message-Id: <199603130611.AA15190@suite.sw.oz.au>
Subject: Re: DECstation Linux/MIPS
To: afritz@starlink.com (Adam Fritzler)
Date: Wed, 13 Mar 1996 17:11:02 +1100 (EST)
Cc: linux-mips@fnet.fr (Linux MIPS mailing list)
In-Reply-To: <199603130546.WAA18921@orion.starlink.com> from "Adam Fritzler" at Mar 12, 96 10:31:17 pm
Organization: Softway Pty Ltd
X-Face: 
	U)Kb/c%d9`JI>Y>s'evmMaR`z*WE$<,["^2)I8o?jkx/d^=dMa$GD(s6[p|npE}r0?)qQ7H
	*3S2vbK66POj?=%pCn?Bp}D/3A{`-.v0=%L9emS+|Pc91$EP0-;i\ON*p;Mwp$tt3wO~g1Z
	W.mIz'n~$U&uIM9ix=\1=~""=W?t$3b)>`foC8+3g$m2l;^D$?i}WI(Uxc@THJ9OBbk3g6
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
Content-Type: text
Content-Length: 2528
Lines: 65


Adam wrote:

> >> I was also wandering if Linux/MIPS would still work if I was to
> >> purchase the R4000 upgrade daughterboard (from DEC) for it?
> >
> >I am responsible for most of the code at the moment, and have been
> >aware of the availability of such daughterboards for a while so I've
> >*tried* to make sure this will work.
> >
> >As I don't have one, and have never met anyone who's bought one, or
> >even knows how much one might cost, I can't tell you for sure if it
> >will work!
> 
>         I checked on the prices from DEC a while back--they run about $3995 (!).

Doesn't sound worth it to me...

>         I would think it should work because all the motherboard hardware
> would be the same, except for the processor-specific code (which you
> obviously already have for the R4000).  Are the R4000s backward -compat.
> with R3000 code?

Up to a point.  I have tried to retain the option of compiling the MMU
code for the R4000 when the kernel is otherwise configured for the
DECStations... so this should not be a problem.  In fact, it may allow
us to write 64-bit applications for such DECStations (yetch!)

> >Hmmm... the lack of programming skills probably leaves you with beta
> >testing responsibilities :-)
> 
>         Sounds like fun! :)

Always a barrel of laughs :-)

> I would also like to say that I did get one of the DECstation kernels and I
> had it booting off my i486 Linux 1.3.68 machine within 30minutes with your
> instructions. (I'd never had any experience with tftp/bootp :)

Thank you for the compliment!

> BTW, do these kernels compile only under the cross-dev tools or do they
> compile under ULTRIX too?

Currently under cross-dev tools... though those same tools (gcc etc.)
compiled for Ultrix ought to work as well.

> Also, on your DECstation page you mentioned needing the URLs for the BSD
> DECstation ports--I had these laying around:
> 
>         NetBSD/pmax     http://www.netbsd.org/Ports/pmax/index.html

Thanks, this one seems very interesting, so I've added it.  The other
one was hopeless, as you suggested.

Regards,
Paul
_______________________________________________________________________________
Paul M. Antoine, 				        Net: paul@sw.oz.au
Softway Pty Ltd						WWW: www.softway.com.au
PO Box 305, Strawberry Hills, NSW 2012, Australia       Tel: +61 2 698 2322
Level 2, 79 Myrtle St, Chippendale, NSW 2008, Australia Fax: +61 2 699 9174

"It is the lack of acceptance of diversity which threatens to 
 destroy society, NOT the free expression of it." - Me.

From Stoned.Elipot@univ-evry.fr  Wed Mar 13 10:23:03 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id KAA01446 for <linux-mips@guadalquivir.fnet.fr>; Wed, 13 Mar 1996 10:23:02 +0100 (MET)
Received: from amiante.univ-evry.fr by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA22360; Wed, 13 Mar 1996 10:22:30 +0100 (MET)
Received: from bandsept.univ-evry.fr (bandsept.univ-evry.fr [192.93.214.19]) by amiante.univ-evry.fr with ESMTP (8.6.12/94.01.10); id JAA01012; Wed, 13 Mar 1996 09:35:33 +0100
Received: from localhost.univ-evry.fr (localhost.univ-evry.fr [127.0.0.1]) by bandsept.univ-evry.fr with SMTP (8.6.12/94.01.26); id KAA03250; Wed, 13 Mar 1996 10:21:23 +0100
Message-Id: <199603130921.KAA03250@bandsept.univ-evry.fr>
To: linux-mips@fnet.fr
Subject: Re: M700-10 problems.. 
In-Reply-To: Your message of "Tue, 12 Mar 1996 20:18:44 +0100."
             <199603121918.UAA21338@pallas.spacetec.no> 
X-It: bandsept (wrong OS, but right CPU)
X-Mailer: MH 6.8.3, MH-E 5.0.2
Date: Wed, 13 Mar 1996 10:21:14 +0100
From: Stoned Elipot <Stoned.Elipot@univ-evry.fr>
Content-Length: 545
Lines: 14

>>>>> "Tor" == Tor Arntsen <tor@spacetec.no> writes:
[SNIP]
Tor> Here is the booting sequence, typed in by hand (with possible
Tor> mistakes because my monitor is *real* bad in 1280x1024):

I'll put Olivetti floppies somewhere under
ftp://ftp.fnet.fr/linux-mips/private tonigh, SD.EXE will allow you to
switch the video resolution.

I should release milo 0.27 in few days, I'll throw in the handling for
kernel command line, and well video mode setting for the Magnum/Oily
video board was planned but still in a proto-state...

Cheers, Stoned. 

From beurton@nil.fnet.fr  Wed Mar 13 13:04:36 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id NAA04191 for <linux-mips@guadalquivir.fnet.fr>; Wed, 13 Mar 1996 13:04:35 +0100 (MET)
Received: from nil.fnet.fr by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA25309; Wed, 13 Mar 1996 13:04:02 +0100 (MET)
Received: from nil.fnet.fr (localhost.fnet.fr [127.0.0.1]) by nil.fnet.fr (8.7.5/8.7.3) with ESMTP id MAA22359 for <linux-mips@fnet.fr>; Wed, 13 Mar 1996 12:59:20 GMT
Message-Id: <199603131259.MAA22359@nil.fnet.fr>
To: linux-mips@fnet.fr
Subject: Re: M700-10 problems.. 
In-Reply-To: Your message of "Wed, 13 Mar 1996 10:21:14 WET."
             <199603130921.KAA03250@bandsept.univ-evry.fr> 
X-Mailer: MH 6.8.3
Date: Wed, 13 Mar 1996 12:59:19 +0000
From: Luc Beurton <beurton@fnet.fr>
Content-Length: 269
Lines: 8

> I'll put Olivetti floppies somewhere under
> ftp://ftp.fnet.fr/linux-mips/private tonigh, SD.EXE will allow you to
> switch the video resolution.
Well, you can find on 
ftp://ftp.fnet.fr/linux-mips/private/Incoming/m700
the 4 disks about M700-10 installation .

Luc.

From linux@mailhost.uni-koblenz.de  Wed Mar 13 18:30:57 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id SAA08538 for <linux-mips@guadalquivir.fnet.fr>; Wed, 13 Mar 1996 18:30:52 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA01164; Wed, 13 Mar 1996 18:27:36 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id SAA19404 for <linux-mips@fnet.fr>; Wed, 13 Mar 1996 18:23:42 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603131723.SAA19404@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA15492; Wed, 13 Mar 96 18:26:40 +0100
Subject: CeBIT
To: linux-mips@fnet.fr
Date: Wed, 13 Mar 1996 18:26:40 +0100 (MET)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 120
Lines: 6

Hi all,

I'll be at the CeBIT the next three days.  Anybody also there?  Would
be great if we could meet there!

  Ralf

From imp@rover.village.org  Mon Mar 18 18:44:27 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id SAA22005 for <linux-mips@guadalquivir.fnet.fr>; Mon, 18 Mar 1996 18:44:13 +0100 (MET)
Received: from rover.village.org by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA06070; Mon, 18 Mar 1996 18:44:03 +0100 (MET)
Received: from localhost (localhost [127.0.0.1]) by rover.village.org (8.6.11/8.6.6) with SMTP id KAA27450 for <linux-mips@fnet.fr>; Mon, 18 Mar 1996 10:43:53 -0700
Message-Id: <199603181743.KAA27450@rover.village.org>
To: linux-mips@fnet.fr
Subject: Re: M700-10 problems.. 
In-Reply-To: Your message of Tue, 12 Mar 1996 21:12:12 +0100
Date: Mon, 18 Mar 1996 10:43:52 -0700
From: Warner Losh <imp@village.org>
Content-Length: 901
Lines: 23

: The keyboard problem is known and fixed in my developement source tree.
: Look into drivers/char/keyboard.c and increase the value of
: 
: #define TIMEOUT_CONST   500000
: 
: to 1000000 or so.  This is just a timing problem with the keyboard driver;
: the MIPS box is too fast ...

Also, on some machines the keyboard boots in the wrong mode, but you
get unknown key scans when that happens, so this likely isn't the
problem.  There has got to be a better way for the keyboard driver to
cope...

: > And here I'm stuck, apparently because the initialize_kbd failed above.
: > In addition there is this "floppy0: no floppy controllers found".
: 
: *Hmmpf*  This one seems to be another Magnum/Olivetti specific problem.

I saw that one before I got all the interrupt crap resolved on the
Deskstation.  If the floppy controller's interrupts aren't enabled,
then that would cause this problem.

Warner

From linux@mailhost.uni-koblenz.de  Mon Mar 18 21:55:42 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id VAA24734 for <linux-mips@guadalquivir.fnet.fr>; Mon, 18 Mar 1996 21:55:40 +0100 (MET)
Received: from informatik.uni-koblenz.de ([141.26.4.1]) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA15217; Mon, 18 Mar 1996 21:55:28 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id VAA01011 for <linux-mips@fnet.fr>; Mon, 18 Mar 1996 21:51:37 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603182051.VAA01011@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA16642; Mon, 18 Mar 96 21:53:57 +0100
Subject: Re: M700-10 problems..
To: linux-mips@fnet.fr
Date: Mon, 18 Mar 1996 21:53:56 +0100 (MET)
In-Reply-To: <199603181743.KAA27450@rover.village.org> from "Warner Losh" at Mar 18, 96 10:43:52 am
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 472
Lines: 14

Hi,

> : > And here I'm stuck, apparently because the initialize_kbd failed above.
> : > In addition there is this "floppy0: no floppy controllers found".
> : 
> : *Hmmpf*  This one seems to be another Magnum/Olivetti specific problem.
> 
> I saw that one before I got all the interrupt crap resolved on the
> Deskstation.  If the floppy controller's interrupts aren't enabled,
> then that would cause this problem.

Floppy interrupts are supposed to be enabled.

   Ralf

From tor@spacetec.no  Mon Mar 18 22:08:33 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id WAA25248 for <linux-mips@guadalquivir.fnet.fr>; Mon, 18 Mar 1996 22:08:30 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA18033; Mon, 18 Mar 1996 22:08:19 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id WAA11552 for linux-mips@fnet.fr; Mon, 18 Mar 1996 22:06:48 +0100
Message-Id: <199603182106.WAA11552@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Mon, 18 Mar 1996 22:06:48 +0100
In-Reply-To: Warner Losh <imp@village.org>
       "Re: M700-10 problems.." (Mar 18, 18:45)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: Re: M700-10 problems..
Content-Length: 1654
Lines: 43

>: The keyboard problem is known and fixed in my developement source tree.
>: Look into drivers/char/keyboard.c and increase the value of
>: 
>: #define TIMEOUT_CONST   500000
>: 
>: to 1000000 or so.  This is just a timing problem with the keyboard driver;
>: the MIPS box is too fast ...

Yes, this cured the problem for me.  Thanks!

On Mar 18, 18:45, Warner Losh wrote:
>Also, on some machines the keyboard boots in the wrong mode, but you
>get unknown key scans when that happens, so this likely isn't the
>problem.  There has got to be a better way for the keyboard driver to
>cope...

This looks ok here, I get the US keyboard of course but I'll cross that
river when I get far enough..

>: > And here I'm stuck, apparently because the initialize_kbd failed above.
>: > In addition there is this "floppy0: no floppy controllers found".
>: 
>: *Hmmpf*  This one seems to be another Magnum/Olivetti specific problem.
>
>I saw that one before I got all the interrupt crap resolved on the
>Deskstation.  If the floppy controller's interrupts aren't enabled,
>then that would cause this problem.

This problem is gone too, however I had to pause work for several days
so I'm not really sure which change I did that affected this :-)  
I'll backtrack and check.

I have stopped my tests with the 3c503 for the moment, trying to use a root
floppy instead.  I get a strange error:

VFS: Mounted root (ext2 filesystem) readonly.
EXT2-fs error (device 02:00): ext2_find_entry: bad entry in directory #12:
 rec_len is smaller than minimal - offset=40, inode=0, rec_len=0, name_len=0

The floppy looks fine on Linux/x86.
I'll see if I can find out more.

Tor

From imp@rover.village.org  Tue Mar 19 11:42:54 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id LAA01115 for <linux-mips@guadalquivir.fnet.fr>; Tue, 19 Mar 1996 11:42:46 +0100 (MET)
Received: from rover.village.org by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA13718; Tue, 19 Mar 1996 00:17:15 +0100 (MET)
Received: from localhost (localhost [127.0.0.1]) by rover.village.org (8.6.11/8.6.6) with SMTP id QAA28416 for <linux-mips@fnet.fr>; Mon, 18 Mar 1996 16:17:16 -0700
Message-Id: <199603182317.QAA28416@rover.village.org>
To: linux-mips@fnet.fr
Subject: Re: M700-10 problems.. 
In-Reply-To: Your message of Mon, 18 Mar 1996 22:06:48 +0100
Date: Mon, 18 Mar 1996 16:17:16 -0700
From: Warner Losh <imp@village.org>
Content-Length: 1080
Lines: 21

: VFS: Mounted root (ext2 filesystem) readonly.
: EXT2-fs error (device 02:00): ext2_find_entry: bad entry in directory #12:
:  rec_len is smaller than minimal - offset=40, inode=0, rec_len=0, name_len=0

Same problem here (except mine was due to the fs code thinking the
directory spanned multiple blocks).  I've discovered so far that
either the same data is transferred twice, or that the second trafer
doesn't happen, even though the kernel thinks that it happened.  I've
not had the time to go in and figure out the exact reasons for this.
I do know that the kernel will checksum the blocks to the same thing
(well, I added that code).  Are you using a 720k floppy, or a 1.4M
job?  I'm using a 1.4M that I created from scratch on my FreeBSD
system, but that mounts and seems to work correctly from the Linux
1.1.59 system that I have laying around on another partition of my
disk.

I hope to be able to shake loose some time this evening, well, later
this week to look into this problem on my machine.  Last week I was
out in the Bay area attending classes for work.

Warner

From tor@spacetec.no  Tue Mar 19 12:25:44 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id MAA01981 for <linux-mips@guadalquivir.fnet.fr>; Tue, 19 Mar 1996 12:25:43 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA07257; Tue, 19 Mar 1996 12:25:34 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id MAA17133 for linux-mips@fnet.fr; Tue, 19 Mar 1996 12:24:10 +0100
Message-Id: <199603191124.MAA17133@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Tue, 19 Mar 1996 12:24:10 +0100
In-Reply-To: Warner Losh <imp@village.org>
       "Re: M700-10 problems.." (Mar 19, 11:43)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: Re: M700-10 problems..
Content-Length: 1811
Lines: 31

On Mar 19, 11:43, Warner Losh wrote:
>: VFS: Mounted root (ext2 filesystem) readonly.
>: EXT2-fs error (device 02:00): ext2_find_entry: bad entry in directory #12:
>:  rec_len is smaller than minimal - offset=40, inode=0, rec_len=0, name_len=0
>
>Same problem here (except mine was due to the fs code thinking the
>directory spanned multiple blocks).  I've discovered so far that
>either the same data is transferred twice, or that the second trafer
>doesn't happen, even though the kernel thinks that it happened.  I've
>not had the time to go in and figure out the exact reasons for this.
>I do know that the kernel will checksum the blocks to the same thing
>(well, I added that code).  Are you using a 720k floppy, or a 1.4M
>job?  I'm using a 1.4M that I created from scratch on my FreeBSD
>system, but that mounts and seems to work correctly from the Linux
>1.1.59 system that I have laying around on another partition of my
>disk.

I'm using a 1.44MB floppy disk drive, and I tried both a self-made
(on Linux/x86) ext2fs 1.44MB file system, and the rhello-720k.image 
(just cat'ed to a formatted 1.44MB floppy).  Same problem on both.  From
what I can find out using debugfs it looks like the 'directory #' (which is
different for my two floppies) in both cases points to the /dev directory on 
the floppy file systems -- given that I interpret the debugfs 'ls' output 
correctly of course..  I'm not sure what Linux tries to read first from a 
root mounted file system, for all I know the /dev directory will always be 
the first one?   If it really finds the /dev directory then the problem seems 
to be limited to reading the entries in the directory, not total corruption.
But this is pure speculation, I should look more into this.  I have limited 
time available at the moment, unfortunately.

Tor

From aleph1@dfw.net  Wed Mar 20 19:57:21 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id TAA00359 for <linux-mips@guadalquivir.fnet.fr>; Wed, 20 Mar 1996 19:57:19 +0100 (MET)
Received: from dfw.dfw.net by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA18950; Wed, 20 Mar 1996 19:57:10 +0100 (MET)
Received: by dfw.dfw.net (4.1/SMI-4.1)
	id AA17165; Wed, 20 Mar 96 12:54:54 CST
Date: Wed, 20 Mar 1996 12:54:54 -0600 (CST)
From: Aleph One <aleph1@dfw.net>
To: linux-kernel@vger.rutgers.edu
Cc: linux-mips@fnet.fr
Subject: Anyone want an RC3240?
Message-Id: <Pine.SUN.3.91.960320124959.15306A-100000@dfw.dfw.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Length: 564
Lines: 13

Hello kernel hackers,

	I have here a MIPS RISComputer RC3240. Its not doing anything and 
as a matter of fact you need to boot it from the serial port and it no 
longer has a hard drive. But it is in working conditions running RISC/OS.
Now I think I might convince the boos to donate it since we are not using 
it at all. So if anyone want to help port linux to the MIPS and is 
willing to pay for shipping charges let me know.

Aleph One / aleph1@dfw.net
http://underground.org/
KeyID 1024/948FD6B5 
Fingerprint EE C9 E8 AA CB AF 09 61  8C 39 EA 47 A8 6A B8 01 

From rick@carillon.com  Fri Mar 22 00:16:54 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id AAA24433 for <linux-mips@guadalquivir.fnet.fr>; Fri, 22 Mar 1996 00:16:52 +0100 (MET)
Received: from serv2 (serv2.carillon.com) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA14194; Fri, 22 Mar 1996 00:16:39 +0100 (MET)
Received: from serv2 by serv2 (SMI-8.6/SMI-SVR4)
	id PAA21149; Thu, 21 Mar 1996 15:18:49 -0800
Sender: rick@carillon.com
Message-Id: <3151E3D9.1055@carillon.com>
Date: Thu, 21 Mar 1996 15:18:49 -0800
From: Rick Rutledge <rick@carillon.com>
Organization: Carillon
X-Mailer: Mozilla 2.01 (X11; I; SunOS 5.5 sun4m)
Mime-Version: 1.0
To: linux-mips@fnet.fr
Subject: SGI 
X-Url: http://lena.fnet.fr/#second
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Length: 257
Lines: 7

I noticed that there are no SGI systems listed in the hardware.  
Does this mean that SGI is not ARC compliant?  Is there any plan 
to port to SGI.  I have a personal IRIS 4D/35 that is not supported 
any more.  Any info is apreciated.  Thanks.


				Rick.

From sallen01@roc.acr.gmeds.com  Fri Mar 22 21:46:55 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id VAA13163 for <linux-mips@guadalquivir.fnet.fr>; Fri, 22 Mar 1996 21:46:54 +0100 (MET)
Received: from ns1.eds.com by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA03858; Fri, 22 Mar 1996 21:46:31 +0100 (MET)
Received: by ns1.eds.com (hello)
	id PAA23788; Fri, 22 Mar 1996 15:46:36 -0500
Received: by nnsa.eds.com (hello)
	id PAA30636; Fri, 22 Mar 1996 15:46:06 -0500
Received: (from uucp@localhost) by arrws008.roc.acr.gmeds.com (8.7.5/8.7.3) id PAA29897 for <linux-mips@fnet.fr>; Fri, 22 Mar 1996 15:46:05 -0500 (EST)
Received: from arrws007.roc.acr.gmeds.com(192.57.159.33) by arrws008.roc.acr.gmeds.com via smap (V1.3)
	id sma029895; Fri Mar 22 15:45:49 1996
Received: from arrws013.roc.acr.gmeds.com (arrws013.roc.acr.gmeds.com [192.57.159.13]) by arrws007.roc.acr.gmeds.com (8.7.5/8.7.3) with ESMTP id PAA05978 for <linux-mips@fnet.fr>; Fri, 22 Mar 1996 15:41:59 -0500 (EST)
Received: from arrws013 (localhost [127.0.0.1]) by arrws013.roc.acr.gmeds.com (8.7.5/8.7.3) with SMTP id PAA19226; Fri, 22 Mar 1996 15:45:45 -0500 (EST)
Sender: sallen01@roc.acr.gmeds.com
Message-Id: <31531178.5C9F@roc.acr.gmeds.com>
Date: Fri, 22 Mar 1996 15:45:44 -0500
From: Stu Allen <sallen01@roc.acr.gmeds.com>
Organization: EDS / NY RSC
X-Mailer: Mozilla 2.01 (X11; I; HP-UX B.10.01 9000/720)
Mime-Version: 1.0
To: linux-mips@fnet.fr
Cc: sallen01@arrws013.roc.acr.gmeds.com
Subject: Linux/MIPS mailing list
X-Url: http://lena.fnet.fr/
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Length: 432
Lines: 10

Greetings!!  I was wondering if I could be added to the Linux/MIPS
mailing list.  I will hopefully soon have a DECsystem 5100 to play with,
and would really like to assist with the
effort to get Linux running on the MIPS platform.

Thanks!!
-- 
Stu Allen                       Phone: (716) 359-6366 (8-239)
Workstation / Network Support   Internet: sallen01@roc.acr.gmeds.com
EDS / ERC                       Diamond: SMTP(SALLEN01)

From vgupta@research.nj.nec.com  Sat Mar 23 00:09:15 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id AAA15319 for <linux-mips@guadalquivir.fnet.fr>; Sat, 23 Mar 1996 00:09:15 +0100 (MET)
Received: from zingo (zingo.nj.nec.com) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA05668; Sat, 23 Mar 1996 00:09:03 +0100 (MET)
Received: by zingo (940816.SGI.8.6.9/YDL1.4-910307.16)
	id SAA17603(zingo); Fri, 22 Mar 1996 18:09:00 -0500
Received: from iris61  by iris61 (940816.SGI.8.6.9/cliff's joyful mailer #2)
	id SAA10794(iris61); Fri, 22 Mar 1996 18:08:54 -0500
Sender: vgupta@research.nj.nec.com
Message-Id: <31533304.41C6@research.nj.nec.com>
Date: Fri, 22 Mar 1996 18:08:52 -0500
From: Vipul Gupta <vgupta@research.nj.nec.com>
Organization: NEC Research Institute, Princeton, NJ 08540
X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP20)
Mime-Version: 1.0
To: linux-mips@fnet.fr
Cc: vgupta@research.nj.nec.com
Subject: Need latest info on MIPS Linux
X-Url: http://lena.fnet.fr/#top
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Length: 491
Lines: 14

Hello,

  I visited your web page at http://lena.fnet.fr/ and was pleasantly
  surprised to note the progress of Linux/MIPs.

  As part of a research effort here at NEC Research Institute, 
  Princeton, NJ, we would like to set up a MIPs machine running
  Linux. I would appreciate it if you could mail me a (partial) 
  list of vendors (and their products) whose machines are 
  known to run Linux/MIPs successfully. 

  Thank you for your time,

  Vipul Gupta (vgupta@research.nj.nec.com)

From tor@spacetec.no  Sat Mar 23 21:14:34 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id VAA03577 for <linux-mips@guadalquivir.fnet.fr>; Sat, 23 Mar 1996 21:14:33 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA17983; Sat, 23 Mar 1996 21:14:21 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id VAA26099 for linux-mips@fnet.fr; Sat, 23 Mar 1996 21:13:44 +0100
Message-Id: <199603232013.VAA26099@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Sat, 23 Mar 1996 21:13:44 +0100
In-Reply-To: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
       "Re: M700-10 problems.." (Mar 12, 21:13)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: M700-10/3c503.c
Content-Length: 723
Lines: 19

On Mar 12, 21:13, Systemkennung Linux wrote:
> - illegal kernel paging request:  this wasn't supposed to happen ...

The exact message is
"Unable to handle kernel paging request at virtual adress 000ddffe"
                                                          ^^^^^^^^
This actually happens in 3c503.c (el2_probe) where it does the following:
    for (addr = addrs; *addr; addr++) {
	int i;
	unsigned int base_bits = readb(*addr);
..                               ^^^^^
addrs[] is declared as { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0};
                         ^^^^^^^
Is maybe the 'readb' too PC/x86 oriented?

For now I'll experiment a little with just doing the simpler walk-through-
netcard_portlist[] instead.

Tor

From tor@spacetec.no  Sun Mar 24 12:42:50 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id MAA17336 for <linux-mips@guadalquivir.fnet.fr>; Sun, 24 Mar 1996 12:42:49 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA27990; Sun, 24 Mar 1996 12:42:36 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id MAA26359 for linux-mips@fnet.fr; Sun, 24 Mar 1996 12:42:07 +0100
Message-Id: <199603241142.MAA26359@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Sun, 24 Mar 1996 12:42:07 +0100
In-Reply-To: tor@spacetec.no (Tor Arntsen)
       "M700-10/3c503.c" (Mar 23, 21:15)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: Re: M700-10/3c503.c
Content-Length: 569
Lines: 14

On Mar 23, 21:15, I wrote:
>Is maybe the 'readb' too PC/x86 oriented?

Never mind, I guess it's not really the 'readb', it's the address, as
the shared memory support is non-existing I believe..
The 3c503.c code tries to detect the shared memory before it touches the
ports, as a way to avoid "unnecessary" port probing.  Failing that, it
continues with port probing the way ne.c does it.  
I've jumpered the board to PIO and #if 0'ed the shared memory detection code,
and then it finds it just fine.

I've still not got it to actually *work*, but I keep trying..

Tor

From linux@mailhost.uni-koblenz.de  Sun Mar 24 23:13:03 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id XAA25720 for <linux-mips@guadalquivir.fnet.fr>; Sun, 24 Mar 1996 23:13:02 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA04132; Sun, 24 Mar 1996 23:12:37 +0100 (MET)
Received: from ozzy (ozzy.uni-koblenz.de [141.26.5.8]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with ESMTP id XAA01108 for <linux-mips@fnet.fr>; Sun, 24 Mar 1996 23:07:52 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603242207.XAA01108@informatik.uni-koblenz.de>
Received: by ozzy (SMI-8.6/KO-2.0)
	id XAA08577; Sun, 24 Mar 1996 23:11:19 +0100
Subject: Re: M700-10/3c503.c
To: linux-mips@fnet.fr
Date: Sun, 24 Mar 1996 23:11:19 +0100 (MET)
In-Reply-To: <199603232013.VAA26099@pallas.spacetec.no> from "Tor Arntsen" at Mar 23, 96 09:13:44 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 2255
Lines: 57

Hi,

> On Mar 12, 21:13, Systemkennung Linux wrote:
> > - illegal kernel paging request:  this wasn't supposed to happen ...
> 
> The exact message is
> "Unable to handle kernel paging request at virtual adress 000ddffe"
>                                                           ^^^^^^^^
> This actually happens in 3c503.c (el2_probe) where it does the following:
>     for (addr = addrs; *addr; addr++) {
> 	int i;
> 	unsigned int base_bits = readb(*addr);
> ..                               ^^^^^
> addrs[] is declared as { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0};
>                          ^^^^^^^
> Is maybe the 'readb' too PC/x86 oriented?

Mea culpa.  You're right.  The code assumes that MIPS boxes have the same
memory layout as Intel machines (code from include/asm-mips/io.h):

> /*
>  * IO bus memory addresses are also 1:1 with the physical address
>  * FIXME: This assumption is wrong for the Deskstation Tyne
>  */
> #define virt_to_bus virt_to_phys
> #define bus_to_virt phys_to_virt
> 
> /*
>  * readX/writeX() are used to access memory mapped devices. On some
>  * architectures the memory mapped IO stuff needs to be accessed
>  * differently. On the x86 architecture, we just read/write the
>  * memory location directly.
>  */
> #define readb(addr) (*(volatile unsigned char *) (addr))
> #define readw(addr) (*(volatile unsigned short *) (addr))
> #define readl(addr) (*(volatile unsigned int *) (addr))
> 
> #define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b))
> #define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b))
> #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b))
> 
> #define memset_io(a,b,c)        memset((void *)(a),(b),(c))
> #define memcpy_fromio(a,b,c)    memcpy((a),(void *)(b),(c))
> #define memcpy_toio(a,b,c)      memcpy((void *)(a),(b),(c))
> 
> /*
>  * Again, MIPS does not require mem IO specific function.
>  */
> 
> #define eth_io_copy_and_sum(a,b,c,d)    eth_copy_and_sum((a),(void *)(b),(c),(d)

Acctually the address space where (E)ISA cards get mapped to is offseted
by 0xa0000000 for Deskstation Tyne and rPC44 and by 0xe2000000 for M700-10,
Magnum and Acer.  So just adding this offset to the (E)ISA address in all
these macros should fix the thing.

  Ralf

From linux@mailhost.uni-koblenz.de  Mon Mar 25 01:31:50 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id BAA27709 for <linux-mips@guadalquivir.fnet.fr>; Mon, 25 Mar 1996 01:31:48 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA05661; Mon, 25 Mar 1996 01:31:28 +0100 (MET)
Received: from ozzy (ozzy.uni-koblenz.de [141.26.5.8]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with ESMTP id BAA16365 for <linux-mips@fnet.fr>; Mon, 25 Mar 1996 01:26:48 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603250026.BAA16365@informatik.uni-koblenz.de>
Received: by ozzy (SMI-8.6/KO-2.0)
	id BAA08633; Mon, 25 Mar 1996 01:30:16 +0100
Subject: Re: M700-10/3c503.c
To: linux-mips@fnet.fr
Date: Mon, 25 Mar 1996 01:30:15 +0100 (MET)
In-Reply-To: <199603241142.MAA26359@pallas.spacetec.no> from "Tor Arntsen" at Mar 24, 96 12:42:07 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 4006
Lines: 108

Hi,

> >Is maybe the 'readb' too PC/x86 oriented?
> 
> Never mind, I guess it's not really the 'readb', it's the address, as
> the shared memory support is non-existing I believe..
> The 3c503.c code tries to detect the shared memory before it touches the
> ports, as a way to avoid "unnecessary" port probing.  Failing that, it
> continues with port probing the way ne.c does it.  
> I've jumpered the board to PIO and #if 0'ed the shared memory detection code,
> and then it finds it just fine.
> 
> I've still not got it to actually *work*, but I keep trying..

Try the diff appended below; the code is untested as I don't have a shared
memory card at hand.

   Ralf

--- /home/ralf/release/v1.3/linux-1.3.62/include/asm-mips/io.h	Wed Jan 10 02:48:55 1996
+++ include/asm-mips/io.h	Sun Mar 24 23:45:49 1996
@@ -68,27 +68,33 @@
 #define bus_to_virt phys_to_virt
 
 /*
+ * isa_slot_offset is the address where E(ISA) busaddress 0 is is mapped
+ * for the processor.
+ */
+extern unsigned long isa_slot_offset;
+
+/*
  * readX/writeX() are used to access memory mapped devices. On some
  * architectures the memory mapped IO stuff needs to be accessed
  * differently. On the x86 architecture, we just read/write the
  * memory location directly.
  */
-#define readb(addr) (*(volatile unsigned char *) (addr))
-#define readw(addr) (*(volatile unsigned short *) (addr))
-#define readl(addr) (*(volatile unsigned int *) (addr))
+#define readb(addr) (*(volatile unsigned char *) ((isa_slot_offset + (unsigned long)addr))
+#define readw(addr) (*(volatile unsigned short *) ((isa_slot_offset + (unsigned long)addr))
+#define readl(addr) (*(volatile unsigned int *) ((isa_slot_offset + (unsigned long)addr))
 
-#define writeb(b,addr) ((*(volatile unsigned char *) (addr)) = (b))
-#define writew(b,addr) ((*(volatile unsigned short *) (addr)) = (b))
-#define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b))
+#define writeb(b,addr) ((*(volatile unsigned char *) ((isa_slot_offset + (unsigned long)addr)) = (b))
+#define writew(b,addr) ((*(volatile unsigned short *) ((isa_slot_offset + (unsigned long)addr)) = (b))
+#define writel(b,addr) ((*(volatile unsigned int *) ((isa_slot_offset + (unsigned long)addr)) = (b))
 
-#define memset_io(a,b,c)	memset((void *)(a),(b),(c))
-#define memcpy_fromio(a,b,c)	memcpy((a),(void *)(b),(c))
-#define memcpy_toio(a,b,c)	memcpy((void *)(a),(b),(c))
+#define memset_io(a,b,c)	memset((void *)(isa_slot_offset + (unsigned long)a),(b),(c))
+#define memcpy_fromio(a,b,c)	memcpy((a),(void *)(isa_slot_offset + (unsigned long)b),(c))
+#define memcpy_toio(a,b,c)	memcpy((void *)(isa_slot_offset + (unsigned long)a),(b),(c))
 
 /*
  * Again, MIPS does not require mem IO specific function.
+ * (Not shure about this one ...)
  */
-
 #define eth_io_copy_and_sum(a,b,c,d)	eth_copy_and_sum((a),(void *)(b),(c),(d))
 
 /*
--- /home/ralf/release/v1.3/linux-1.3.62/arch/mips/kernel/setup.c	Sun Feb 11 05:05:29 1996
+++ arch/mips/kernel/setup.c	Sun Mar 24 23:50:15 1996
@@ -22,6 +22,7 @@
 
 #include <asm/asm.h>
 #include <asm/bootinfo.h>
+#include <asm/io.h>
 #include <asm/vector.h>
 #include <asm/segment.h>
 #include <asm/stackframe.h>
@@ -375,27 +376,32 @@
 #ifdef CONFIG_ACER_PICA_61
 	case MACH_ACER_PICA_61:
 		feature = &acer_pica_61_feature;
+		isa_slot_offset = 0xe3000000;
 		break;
 #endif
 #ifdef CONFIG_DECSTATION
 	case MACH_DECSTATION:
 		feature = &decstation_feature;
+		/* No need to set isa_slot_offset */
 		break;
 #endif
 #ifdef CONFIG_DESKSTATION_RPC44
 	case MACH_DESKSTATION_RPC44:
 		mips_memory_upper = KSEG0 + (32 << 20); /* xxx fixme imp */
 		feature = &deskstation_rpc44_feature;
+		isa_slot_offset = 0xa0000000;
 		break;
 #endif
 #ifdef CONFIG_DESKSTATION_TYNE
 	case MACH_DESKSTATION_TYNE:
 		feature = &deskstation_tyne_feature;
+		isa_slot_offset = 0xa0000000;
 		break;
 #endif
 #ifdef CONFIG_MIPS_MAGNUM_4000
 	case MACH_MIPS_MAGNUM_4000:
 		feature = &mips_magnum_4000_feature;
+		isa_slot_offset = 0xe3000000;
 		break;
 #endif
 	default:

From tor@spacetec.no  Mon Mar 25 23:25:51 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id XAA16765 for <linux-mips@guadalquivir.fnet.fr>; Mon, 25 Mar 1996 23:25:45 +0100 (MET)
Received: from pallas.spacetec.no by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA25265; Mon, 25 Mar 1996 23:25:30 +0100 (MET)
Received: (from tor@localhost) by pallas.spacetec.no (8.7.1/8.7.1) id XAA31021 for linux-mips@fnet.fr; Mon, 25 Mar 1996 23:25:15 +0100
Message-Id: <199603252225.XAA31021@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Mon, 25 Mar 1996 23:25:14 +0100
In-Reply-To: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
       "Re: M700-10/3c503.c" (Mar 25,  1:32)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: linux-mips@fnet.fr
Subject: Re: M700-10/3c503.c
Content-Length: 1025
Lines: 25

On Mar 25,  1:32, Systemkennung Linux wrote:
>Try the diff appended below; the code is untested as I don't have a shared
>memory card at hand.
[patch deleted]

I did some trivial (and hopefully correct) fixes to the patch to make it 
compile (additional right-parentheses at end of readx/writex in io.h, 
isa_slot_offset declared in kernel/setup.c), however it crashes with

Got dbe at 800a6bfc.
$0 : 00000000 800b0000 e30ddffe 000ddffe 800b483c 00000008 e0200000 8000000f
                       ^^^^^^^^ looks like isa_slot_offset plus the first
shared mem. probe address in 3c503.c
$8 : ffffffff 00000000 00000007 00000000 800d44cb 00000020 800e7e70 0001ffd7
$16: 00000000 81feae38 800d358c 800d3c60 00000001 807e9804 807e9004 00000000
$24: 00000015 8060bf6d                   00000080 81feae28 8000b56c 800a6be8
(could be errors though, hand typed.. fortunately I'm a touch typist :-)
epc : 800a6bfc
Status: 10006803
Cause : 0000801c

el2_probe starts at 800a6b20, which agrees with the printk's I threw in.

Regards,
Tor

From linux@mailhost.uni-koblenz.de  Tue Mar 26 02:32:10 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id CAA20816 for <linux-mips@guadalquivir.fnet.fr>; Tue, 26 Mar 1996 02:32:08 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA27868; Tue, 26 Mar 1996 02:31:51 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id CAA03846 for <linux-mips@fnet.fr>; Tue, 26 Mar 1996 02:31:50 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603260131.CAA03846@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA09677; Tue, 26 Mar 96 02:30:50 +0100
Subject: Re: M700-10/3c503.c
To: linux-mips@fnet.fr
Date: Tue, 26 Mar 1996 02:30:49 +0100 (MET)
In-Reply-To: <199603252225.XAA31021@pallas.spacetec.no> from "Tor Arntsen" at Mar 25, 96 11:25:14 pm
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 1080
Lines: 28

Hi,

> On Mar 25,  1:32, Systemkennung Linux wrote:
> >Try the diff appended below; the code is untested as I don't have a shared
> >memory card at hand.
> [patch deleted]
> 
> I did some trivial (and hopefully correct) fixes to the patch to make it 
> compile (additional right-parentheses at end of readx/writex in io.h, 
> isa_slot_offset declared in kernel/setup.c), however it crashes with
> 
> Got dbe at 800a6bfc.
> $0 : 00000000 800b0000 e30ddffe 000ddffe 800b483c 00000008 e0200000 8000000f
>                        ^^^^^^^^ looks like isa_slot_offset plus the first
> shared mem. probe address in 3c503.c
> $8 : ffffffff 00000000 00000007 00000000 800d44cb 00000020 800e7e70 0001ffd7
> $16: 00000000 81feae38 800d358c 800d3c60 00000001 807e9804 807e9004 00000000
> $24: 00000015 8060bf6d                   00000080 81feae28 8000b56c 800a6be8
> (could be errors though, hand typed.. fortunately I'm a touch typist :-)
> epc : 800a6bfc
> Status: 10006803
> Cause : 0000801c
> 
> el2_probe starts at 800a6b20, which agrees with the printk's I threw in.

Jehova :-)

  Ralf

From linux@mailhost.uni-koblenz.de  Wed Mar 27 09:40:32 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id JAA17000 for <linux-mips@guadalquivir.fnet.fr>; Wed, 27 Mar 1996 09:40:31 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA24061; Wed, 27 Mar 1996 09:35:41 +0100 (MET)
Received: from flake.uni-koblenz.de (linux@flake.uni-koblenz.de [141.26.4.37]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with SMTP id JAA00353 for <linux-mips@fnet.fr>; Wed, 27 Mar 1996 09:34:22 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603270834.JAA00353@informatik.uni-koblenz.de>
Received: by flake.uni-koblenz.de (4.1/KO-2.0)
	id AA14213; Wed, 27 Mar 96 09:33:18 +0100
Subject: IDE CDROM
To: linux-mips@fnet.fr
Date: Wed, 27 Mar 1996 09:33:18 +0100 (MET)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 1808
Lines: 42

Hi all,

enclosed below are the diffs that fix some alignments bugs in the
IDE CD driver.  Works now for me like a charme.

happy IDE-ing (yikes ...),

   Ralf

diff -urN /home/ralf/release/v1.3/linux-1.3.62/drivers/block/ide-cd.c linux-1.3.62/drivers/block/ide-cd.c
--- /home/ralf/release/v1.3/linux-1.3.62/drivers/block/ide-cd.c	Mon Feb 12 04:23:29 1996
+++ linux-1.3.62/drivers/block/ide-cd.c	Wed Mar 27 08:25:04 1996
@@ -1160,7 +1160,10 @@
   pc.c[0] = READ_10;
   pc.c[7] = (nframes >> 8);
   pc.c[8] = (nframes & 0xff);
-  *(int *)(&pc.c[2]) = htonl (frame);
+  pc.c[2] = (frame >> 24);	/* Convert to big endian */
+  pc.c[3] = (frame >> 16);
+  pc.c[4] = (frame >> 8);
+  pc.c[5] = frame;
 
   /* Send the command to the drive and return. */
   (void) cdrom_transfer_packet_command (drive, pc.c, sizeof (pc.c),
diff -urN /home/ralf/release/v1.3/linux-1.3.62/drivers/block/ide.h linux-1.3.62/drivers/block/ide.h
--- /home/ralf/release/v1.3/linux-1.3.62/drivers/block/ide.h	Sun Feb 11 08:44:53 1996
+++ linux-1.3.62/drivers/block/ide.h	Wed Mar 27 07:49:39 1996
@@ -318,8 +318,12 @@
 	byte 		usage;		/* current "open()" count for drive */
 	byte 		head;		/* "real" number of heads */
 	byte		sect;		/* "real" sectors per track */
-	byte		bios_head;	/* BIOS/fdisk/LILO number of heads */
-	byte		bios_sect;	/* BIOS/fdisk/LILO sectors per track */
+	/*
+	 * HACK: enforce alignment for sake of IDE CDROM driver on
+	 * architectures with strict alignment rules.
+	 */
+	byte		bios_head __attribute__ ((aligned (8)));	/* BIOS/fdisk/LILO number of heads */
+	byte		bios_sect __attribute__ ((aligned (8)));	/* BIOS/fdisk/LILO sectors per track */
 	unsigned short	bios_cyl;	/* BIOS/fdisk/LILO number of cyls */
 	unsigned short	cyl;		/* "real" number of cyls */
 	void		  *hwif;	/* actually (ide_hwif_t *) */

From linux@mailhost.uni-koblenz.de  Wed Mar 27 21:53:52 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id VAA27309 for <linux-mips@guadalquivir.fnet.fr>; Wed, 27 Mar 1996 21:53:51 +0100 (MET)
Received: from informatik.uni-koblenz.de (mailhost.uni-koblenz.de) by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA07204; Wed, 27 Mar 1996 21:53:29 +0100 (MET)
Received: from ozzy (ozzy.uni-koblenz.de [141.26.5.8]) by informatik.uni-koblenz.de (8.6.9/8.6.9) with ESMTP id VAA06912 for <linux-mips@fnet.fr>; Wed, 27 Mar 1996 21:53:44 +0100
From: Systemkennung Linux <linux@mailhost.uni-koblenz.de>
Message-Id: <199603272053.VAA06912@informatik.uni-koblenz.de>
Received: by ozzy (SMI-8.6/KO-2.0)
	id VAA12239; Wed, 27 Mar 1996 21:52:15 +0100
Subject: nfsd
To: linux-mips@fnet.fr
Date: Wed, 27 Mar 1996 21:52:15 +0100 (MET)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Length: 2280
Lines: 69

Hi all,

below are the patches that fix some portability problems with the
nfs-server-2.2beta13 from Olaf Kirch.  I can now mount the IDE CDROM of
my MIPS box on my Linux/i386 box :-)

If someone of you tries to recompile nfsd - there are some more problems
with nfsd caused by namespace pollution.  For now I declare GNU libc guilty
and have therefore removed the related patches from the appended patchfile.

   Ralf

diff -urN nfs-server-2.2beta13.orig/auth_init.c nfs-server-2.2beta13/auth_init.c
--- nfs-server-2.2beta13.orig/auth_init.c	Thu Feb 15 01:32:29 1996
+++ nfs-server-2.2beta13/auth_init.c	Tue Mar 26 03:40:20 1996
@@ -41,7 +41,7 @@
 int		have_setfsuid = 0;
 
 static _PRO(int  filt_getc,    (FILE *)					);
-static _PRO(int  getline,      (char **, FILE *)			);
+static _PRO(int  mygetline,      (char **, FILE *)			);
 static _PRO(char *parse_opts,  (char *, char, nfs_mount *, char *)	);
 static _PRO(void parse_squash, (nfs_mount *mp, int uidflag, char **cpp)	);
 static _PRO(int  parse_num,    (char **cpp)				);
@@ -73,7 +73,7 @@
 	return (c);
 }
 
-static int getline(lbuf, f)
+static int mygetline(lbuf, f)
 char **lbuf;
 FILE *f;
 {
@@ -318,7 +318,7 @@
 			fname, strerror(errno));
 		exit(1);
 	}
-	while (getline(&cp, ef)) {
+	while (mygetline(&cp, ef)) {
 		char *saved_line = cp;	/* For free()ing it later. */
 		char *mount_point, *host_name, cc;
 		nfs_client *clnt;
diff -urN nfs-server-2.2beta13.orig/ugid_map.c nfs-server-2.2beta13/ugid_map.c
--- nfs-server-2.2beta13.orig/ugid_map.c	Thu Feb  1 11:54:24 1996
+++ nfs-server-2.2beta13/ugid_map.c	Wed Mar 27 18:30:42 1996
@@ -16,6 +16,7 @@
  */
 
 #include <sys/socket.h>
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <pwd.h>
@@ -25,11 +26,11 @@
 #include "ugid.h"
 
 #define UID_BITS	(sizeof(uid_t) * CHAR_BIT)
-#define UID_MAX		(1L << UID_BITS)
-#define UID_LIM1	(UID_MAX/2)
+#define UID_MAX		(1ULL << UID_BITS)
+#define UID_LIM1	(1UL << (UID_BITS - 1))
 #define GID_BITS	(sizeof(gid_t) * CHAR_BIT)
-#define GID_MAX		(1L << GID_BITS)
-#define GID_LIM1	(GID_MAX/2)
+#define GID_MAX		(1ULL << GID_BITS)
+#define GID_LIM1	(1UL << (GID_BITS - 1))
 
 /* This structure holds a uid/gid map. 
  * We do a little hack here so that we're able to hold ids at the lower 

From eugen@research.nj.nec.com  Fri Mar 29 00:37:01 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id AAA22784 for <linux-mips@guadalquivir.fnet.fr>; Fri, 29 Mar 1996 00:36:59 +0100 (MET)
Received: from zingo.nj.nec.com by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA03592; Fri, 29 Mar 1996 00:36:40 +0100 (MET)
Received: from iris49 (iris49 [138.15.150.129]) by zingo.nj.nec.com (8.7.4/8.7.3) with SMTP id SAA15414 for <linux-mips@fnet.fr>; Thu, 28 Mar 1996 18:36:49 -0500 (EST)
Received: by iris49 (940816.SGI.8.6.9/cliff's joyful mailer #2)
	id SAA25881(iris49); Thu, 28 Mar 1996 18:37:01 -0500
Date: Thu, 28 Mar 1996 18:37:01 -0500
From: eugen@research.nj.nec.com (Eugen Schenfeld)
Message-Id: <199603282337.SAA25881@iris49>
To: linux-mips@fnet.fr
Subject: cheap MIPS box
Content-Length: 350
Lines: 17

Hi,

I am considering to make a cheap MIPS based box to run Linux/MIPS.
Any help will be appreciated.
Thanks,
Dr. Eugen Schenfeld
NEC Research Institute

        Eugen Schenfeld 

        NEC Research Institute
        4 Independence Way
        Princeton, NJ 08540

phone:  609 951 2742
  fax:  609 951 2482
email:  eugen@research.nj.nec.com (Inet)

From digitech!digitech.co.nz!arnim@atlantis.actrix.gen.nz  Fri Mar 29 04:41:32 1996
Received: from ns.fnet.fr (ns.fnet.fr [192.134.192.2]) by guadalquivir.fnet.fr (8.7.4/8.7.3) with SMTP id EAA29106 for <linux-mips@guadalquivir.fnet.fr>; Fri, 29 Mar 1996 04:41:31 +0100 (MET)
Received: from atlantis.actrix.gen.nz by ns.fnet.fr (5.65c8d/AFUU-4.2.3)
	via EUnet-France id AA06615; Fri, 29 Mar 1996 04:41:08 +0100 (MET)
Received: (from uucp@localhost) by atlantis.actrix.gen.nz (8.6.11/8.6.9) id PAA19890 for linux-mips@fnet.fr; Fri, 29 Mar 1996 15:41:19 +1200
>Received: by digitech.co.nz (UUPC/extended 1.12r);
           Fri, 29 Mar 1996 14:53:44 +1200
Message-Id: <315b50b8.digitech@digitech.co.nz>
Date: Fri, 29 Mar 1996 14:53:42 +1200
From: "Arnim Littek" <arnim@digitech.co.nz>
Organization: Digi-Tech Ltd, Wellington, New Zealand
Reply-To: "Arnim Littek" <arnim@actrix.gen.nz>
To: linux-mips@fnet.fr
Subject: Re: cheap MIPS box
Content-Type: text
Content-Length: 1779
Lines: 44

On Fri, 29 Mar 1996 00:38:52 +0100 (MET), linux-mips@fnet.fr wrote:
> I am considering to make a cheap MIPS based box to run Linux/MIPS.
> Any help will be appreciated.

I too am looking at this as a project.  I don't have a company
standing behind me per se, but I have done a simple R3000 embedded
design, am co-designing on another and I am looking at making a small
R4000-based controller for embedded applications, for which I think
Linux/MIPS would be a good start.  Of course that will then have
application in several places I can think of...

One avenue I have tried, but not succeeded particularly well at thus
far, is getting detailed info on the NEC 4300 and 4100 parts.  The 
data for any Japanese semiconductor houses is hard to get in this 
country...

However, I would be quite happy to cooperate with you on this.  I am
not sure what your motives are - it would be good if this were a demo
board for the NEC MIPS processor family.  If your design is
partitionable, perhaps I can contribute somewhere.  The volumes of
units shipped from NZ preclude use of ASIC in all but a few
applications, but I have been a heavy user of programmable logic and
FPGAs, which does make some things simpler...

For what its worth...

Arnim.

Arnim Littek,                                  arnim@digitech.co.nz
R&D                                     
Digi-Tech Communications Ltd                  tel. (64)(4) 389-8909
Box 20-002,                                   fax          389-9901 
Wellington South,
New Zealand
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.i

mQBNAi/XjMgAAAECAMdqjPZECXAl1h7s2UMhP8SAjW16N20Ndf4EUch/beaAfAiJ
Gc8S+y1MSYFPD6oN6UCQVGMZUHFHNf6FAdZq2bUABRG0JkFybmltIEguIExpdHRl
ayA8YXJuaW1AZGlnaXRlY2guY28ubno+
=Kekq
-----END PGP PUBLIC KEY BLOCK-----

-- 

