Skip to contentSkip to conversation

David Miller is on the list

DISCUSSION David S. Miller 6 participants 10 messages Apr 23, 1996 – Apr 24, 1996 1 message not in the archive MIPS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

From: [email protected] (Ariel Faigon)
Date: Mon, 22 Apr 1996 18:16:30 -0700 (PDT)

Great, now you can tell the list what do you need :-)

Oh boy.

Seriously, we've been thinking about how we could make you most productive and not waste your time when you arrive here.

Here's a recent posting of mine, so you get the idea just in case Simon or Bob or Larry didn't tell you about all this yet...

Feel free to bombard us with requests/questions. There are about 20 people on the linux list at SGI (you can query [email protected] for the details)

Already did that an hour ago ;)

(note: I looked back over this mail after composing it and I want to
warn people who are not familiar with me yet that I am very sarcastic and am full of ridicule even when discussing important topics. Please don't take it that I lack tact or am not being serious, because that simply isn't the case.)

Here is what I need:

The following utilities I need for development.
1) CVS/RCS, latest on prep.ai.mit.edu is fine
2) Emacs-19.31 (rms should release within 2 weeks)
3) All GNU smidgen-type utilies as the default binaries (this include fileutils/sh-utils/sharutils/diffutils/ findutils/...)
Actually, Let me just stop short and say, if there is a source tarball for it on prep.ai.mit.edu:/pub/gnu I would like the latest installed on the machine I develop on.
4) xfishtank (don't laugh)
5) fvwm
6) teco (Must support full teco command set as described in original DEC manuals! TECO is _the_ renaissance editor!)

The following would be nice, but if it will give people bladder problems to do these then don't go out of your way:
1) MIPS 4[40]00 manual is some online format (not postscript, something I can cut and paste out of an emacs buffer etc. so maybe info or pure ascii text would be fine, I could care less about the formatting, I just want the words there)
2) Docs on the ethernet/scsi interfaces and I/O bus architecture for the first machine I will be getting this to work on, again text/info format would be nice. Of course I will probably just stuff in the ready drivers you might be getting to me into Linux but I want to write my own from scratch in the near future after that.
3) I know as much as a bum on the street about SGI machines and the various lines, a nice "roadmap to sgi workstations and servers, plus the hardware gook thats inside" type thing would be very useful to me.

I will feel more comfortable if:
1) I became very familiar with who the heavy low level MIPS assembly level hackers are who I will be dealing with while I am there. Please tell me who they are, introduce, make us say hello to each other, you get the idea.

2) I know the policy on loud music in the office I'll be in ;-)

I've thought it over and to me the best plan for things this summer to me is:
a) R4400 32-bit "proof of concept, yeah we can pull it off" port happens first, side effect is that I become intimate enough with the chip that I can do things more efficiently.
b) From here we look into the 64-bit stuff and whether that is is even desirable on 64-bit. (this would be my first 64-bit port outside of my initial UltraSparc hacks)
c) Also think about the work needed to turn that code into r3000 friendly code. Should not be too much as I've done the "write it on recent architecture design then backport it to older design which had some limitations" already and this didn't end up being so bad.

Expect more as I think it up... this should keep you guys busy for now.

(Any dead-head tape traders at SGI engineering? Just wondering, may
want to start talking to them now ;-)

Later,
David S. Miller
[email protected]

#2 lore raw
Quoted 7 lines

(note: I looked back over this mail after composing it and I want to
warn people who are not familiar with me yet that I am very sarcastic and am full of ridicule even when discussing important topics. Please don't take it that I lack tact or am not being serious, because that simply isn't the case.)

Feel free to express yourself, my english (colloquial and otherwsie) is bad anyway, and I guess the others don't care :-)

Quoted 5 lines

Here is what I need:

The following utilities I need for development.
1) CVS/RCS, latest on prep.ai.mit.edu is fine

RCS comes default with IRIX today. But I know it is not the latest. OK, and I'll add cvs.

Quoted 8 lines

2) Emacs-19.31 (rms should release within 2 weeks)
3) All GNU smidgen-type utilies as the default binaries (this include fileutils/sh-utils/sharutils/diffutils/ findutils/...)
Actually, Let me just stop short and say, if there is a source tarball for it on prep.ai.mit.edu:/pub/gnu I would like the latest installed on the machine I develop on.

Many of these are in our freeware project. Ready to install with the click of a mouse. (Yes, one of the cool things about SGI is a joe-user software installer infinitely better than RPM/glint.)

(yon) 84 /var/tmp> which find
/usr/freeware/bin/find
(yon) 85 /var/tmp> which tar
/usr/freeware/bin/tar
(yon) 86 /var/tmp> which grep
/usr/freeware/bin/grep
(yon) 87 /var/tmp> which chmod
/usr/freeware/bin/chmod

I'll add the missing ones. That's easy.

BTW, we called it '/usr/freeware' rather than '/usr/gnu' because many packages are from other sources and because some of our customers asked us to stay away from their /usr/local.

Quoted 2 lines

4) xfishtank (don't laugh)

Bingo. Larry runs this too. You weird people. Is this a conspiracy? :-)

Quoted 5 lines

5) fvwm

6) teco (Must support full teco command set as described in original DEC manuals! TECO is _the_ renaissance editor!)

I'll try to build these too.

Quoted 8 lines

The following would be nice, but if it will give people bladder problems to do these then don't go out of your way:
1) MIPS 4[40]00 manual is some online format (not postscript, something I can cut and paste out of an emacs buffer etc. so maybe info or pure ascii text would be fine, I could care less about the formatting, I just want the words there)

For MIPS ABI stuff: try the following web site,

	http://www.mipsabi.org/

Especially:
http://www.mipsabi.org/Tech/Technical.html

Tell us what's missing there.

As for the MIPS programmer's Assembly manual. There is an excellent one internally on the Web... I'll try to get you a copy soon.

Quoted 12 lines

2) Docs on the ethernet/scsi interfaces and I/O bus architecture for the first machine I will be getting this to work on, again text/info format would be nice. Of course I will probably just stuff in the ready drivers you might be getting to me into Linux but I want to write my own from scratch in the near future after that.
3) I know as much as a bum on the street about SGI machines and the various lines, a nice "roadmap to sgi workstations and servers, plus the hardware gook thats inside" type thing would be very useful to me.

I'll leave these to some other folks on the list.

Quoted 6 lines

I will feel more comfortable if:
1) I became very familiar with who the heavy low level MIPS assembly level hackers are who I will be dealing with while I am there. Please tell me who they are, introduce, make us say hello to each other, you get the idea.

I believe the most knowledgable low-level gurus on the list are Bill Earl and Jim Barton, I'm sure there are more, I just don't know everyone on the list personally ...

Quoted 3 lines
	2) I know the policy on loud music in the office I'll be in
	   ;-)

I'm trying to get you an office right by mine :-)

Quoted 5 lines

I've thought it over and to me the best plan for things this summer to me is:
a) R4400 32-bit "proof of concept, yeah we can pull it off" port happens first, side effect is that I become intimate enough with the chip that I can do things more efficiently.

Quoted 9 lines

b) From here we look into the 64-bit stuff and whether that is is even desirable on 64-bit. (this would be my first 64-bit port outside of my initial UltraSparc hacks)
c) Also think about the work needed to turn that code into r3000 friendly code. Should not be too much as I've done the "write it on recent architecture design then backport it to older design which had some limitations" already and this didn't end up being so bad.

Cool.

Quoted 6 lines

Expect more as I think it up... this should keep you guys busy for now.

(Any dead-head tape traders at SGI engineering? Just wondering, may want to start talking to them now ;-)

You'll find lots of them here ;-)

Signature · 1 line
Peace, Ariel
#3 lore raw

From: [email protected] (Ariel Faigon)
Date: Mon, 22 Apr 1996 19:16:30 -0700 (PDT)

Quoted 7 lines

(note: I looked back over this mail after composing it and I want to
warn people who are not familiar with me yet that I am very sarcastic and am full of ridicule even when discussing important topics. Please don't take it that I lack tact or am not being serious, because that simply isn't the case.)

Feel free to express yourself, my english (colloquial and otherwsie) is bad anyway, and I guess the others don't care :-)

Cool, I feel much more comfortable now ;)

Quoted 2 lines

4) xfishtank (don't laugh)

Bingo. Larry runs this too. You weird people. Is this a conspiracy? :-)

Nope, not a conspiracy. Grab a copy of:

caip.rutgers.edu:/pub/davem/penguin.gif

Then run 'xfishtank -p penguin.gif' after hacking endlessly on down and dirty kernel code for 20 hours straight with no sleep and direct intraveinus coffee keeping you going, and tell me that isn't the damn most funniest thing you've ever seen in your life. (note said description is the state I am in right now, whee... oh yeah, and the penguin picture was found in Linus's home directory on linux.cs.helsinki.fi one late night I was hacking on there :)

For MIPS ABI stuff: try the following web site,

	   http://www.mipsabi.org/

Especially:
http://www.mipsabi.org/Tech/Technical.html

Tell us what's missing there.

As for the MIPS programmer's Assembly manual. There is an excellent one internally on the Web... I'll try to get you a copy soon.

Noted, I'll check some of that out. Thanks.

Quoted 3 lines

(Any dead-head tape traders at SGI engineering? Just wondering, may want to start talking to them now ;-)

You'll find lots of them here ;-)

Oh, yummy, heaven on earth.

Later,
David S. Miller
[email protected]

#4 lore raw
In reply to Ariel Faigon

Ariel Faigon quoted, a little while back,
#> 5) fvwm
ariel, if you can't i'll swing it (i run bowman here...(bowman's a 'better' fvwm (looks like NeXTStep...the GoodStuff is like NeXT's dock)

j.

Signature · 4 lines
jon madison, silicon graphics, inc. 
us: <URL: http://www.sgi.com/>
mailto:[email protected]        
me: <URL: http://klingon.iupucs.iupui.edu/~jmadison/>
#5 lore raw
In reply to Ariel Faigon

The purpose for basing the port on R3000 is *not* to support obsolete workstations and servers; our time and effort need to be directed to the future, not the past. If the guys in OZ want to port it, fine.

Basing on an R3000 is important because of it's exploding use as an embedded processor; it's showing up in your laser printers, phone switches, robots, airplanes, satellite receivers, and so on. One thing Larry and I are interested in is seeing if Linux is really suitable as an embedded OS to support these (and more) applications.

What you typically find is an r3k core surrounded by various application- specific peripherals, e.g, MPEG decoders, sound chips, DMA controllers, serial controllers. The OS is usually in ROM, and the device manufacturer adds special drivers to the mix. Real-time constraints come into play; in particular, it would be interesting to consider what additions to Linux make it work well for real-time applications. Posix 1003.4 is pretty heavy-weight, but perhaps we can have a light-weight implementation.

In the workstation/server world, the R4000 is the processor to aim at. It is significantly different than the r3k in TLB layout, but little else in 32-bit mode, so the same code should basically work both places. I believe different binaries should be built for the r4k and r3k - certain pieces of MIPS II ISA can accelerate performance, and the compilers take advantage of that.

Given that the workstation/server world is moving to 64 bit, I believe we need a 64-bit version of Linux as well. The design of the MIPS III ISA is actually pretty clean for keeping the same source between 32-bit and 64-bit kernels, as long as you are careful about your types.

The r4k is also interesting because it is at the heart of the Nintendo Ultra-64 game, and the R4300i processor it uses is starting to show up in various Japanese computer products. The volumes of this device are projected in the 10s of millions of units, so it is significant. Linux in your Ultra-64 box? Hmmmm. Might actually be interesting ...

So, we need to be able to build three versions from the same source. I think the R10K can be ignored for now, and it *only* runs in 64-bit kernel mode. 64-bit user mode can also be ignored for now - there are few applications for 64-bit programs except in the high-end scientific markets. The R8K is obsolete.

-- jmb

#6 lore raw
In reply to David S. Miller
Quoted 2 lines · David S. Miller

From: [email protected] (Ariel Faigon)
Date: Mon, 22 Apr 1996 18:16:30 -0700 (PDT)

...

Quoted 5 lines

1) MIPS 4[40]00 manual is some online format (not postscript, something I can cut and paste out of an emacs buffer etc. so maybe info or pure ascii text would be fine, I could care less about the formatting, I just want the words there)

The manuals are online, generally at www,mips.com. For example,

http://www.mips.com/r4400/UMan/R4400_UM_cv.html

is the latest R4400 manual.

Our newer processors for low-end systems are the R4600 and now the
R5000. Most Indy systems now ship with R5000 processors, and the Indy should be the target for the initial port, since it is in current production and widely available.

The R4600 and R5000 are generally similar, except that the R4600
has 16 KB primary caches and is MIPS III, whereas the R5000 has 32 KB primary caches and is MIPS IV. Both are fairly similar to the R4000PC and R4400PC, in the sense that they do not have a secondary cache which enforces primary cache virtual index coherency. (Many Indy R4600 and R5000 systems do have secondary caches, but they do not supply virtual coherency exceptions.) The R4600 and R5000 are good targets for an initial port, because they have the fewest errata, and hence require the fewest kernel workarounds. The R4000 workarounds, in particular, are pretty messy.

The R4600 and R5000 data sheets may be found via

http://www.idt.com/risc/Welcome.html

(under the 64-bit RISC microprocessors category). The manuals are not online on public servers, but I can track down copies. There is some more R4600 and R5000 information under

	http://www.qedinc.com/

There is a comparison of the R4400 and the R4600 at

	http://www.mips.com/r4400/Des_Com/Des_Com_cv.html

The MIPS IV architecture document is

	http://www.mips.com/arch/MIPS4_cv.html

This is of relatively minor importance for a basic port, but can be used to good effect to improve graphics and application performance. There are a few minor kernel support issues.

Once the basic port is done, extending it to the other common processors,
such as the R3000, R4000, R4400, and R10000, will be fairly simple. The R6000 (not common and obsolete for some years now) and the R8000 would be somewhat more work to support, since they differ more from the other processors in the kernel interface.

Quoted 7 lines

2) Docs on the ethernet/scsi interfaces and I/O bus architecture for the first machine I will be getting this to work on, again text/info format would be nice. Of course I will probably just stuff in the ready drivers you might be getting to me into Linux but I want to write my own from scratch in the near future after that.

I have the documents for the memory controller for Indy, and I think
I can locate most of the others. They are only on paper, however, but I can get copies.

Quoted 4 lines

3) I know as much as a bum on the street about SGI machines and the various lines, a nice "roadmap to sgi workstations and servers, plus the hardware gook thats inside" type thing would be very useful to me.

There are tables of the systems under

http://ssales.corp.sgi.com/products/html/periodic_table.html

Unfortunately, these are inside the firewall.

Quoted 5 lines

I will feel more comfortable if:
1) I became very familiar with who the heavy low level MIPS assembly level hackers are who I will be dealing with while I am there. Please tell me who they are, introduce, make us say hello to each other, you get the idea.

I am probably the best initial contact for Indy issues, and I can
introduce you to people familiar with the various drivers and so on.

...

Quoted 5 lines

I've thought it over and to me the best plan for things this summer to me is:
a) R4400 32-bit "proof of concept, yeah we can pull it off" port happens first, side effect is that I become intimate enough with the chip that I can do things more efficiently.

As I mentioned above, the R4600 and R5000 processors are a simpler
initial target, and the Indy R4600 is the most common configuration.

Quoted 3 lines

b) From here we look into the 64-bit stuff and whether that is is even desirable on 64-bit. (this would be my first 64-bit port outside of my initial UltraSparc hacks)

This is mainly interesting on the larger systems. 64-bit kernels
do take more space and time (due to extra cache misses, if nothing else), and most applications don't need more than 32-bit addresses. The 32-bit kernel should, however, support using 64-bit arithmetic (MIPS III and IV) even in 32-bit programs, since there are substantial performance gains available for certain applications. The kernel itself can use 64-bit arithmetic to good effect as well. (This is how IRIX works.)

Quoted 5 lines

c) Also think about the work needed to turn that code into r3000 friendly code. Should not be too much as I've done the "write it on recent architecture design then backport it to older design which had some limitations" already and this didn't end up being so bad.

The R3000 is not drastically different from the R4600. The main
differences are somewhat different TLB and cache control routines, and, of course, the MIPS I instruction set.

#7 lore raw

Date: Tue, 23 Apr 1996 09:35:24 -0700
From: [email protected] (William J. Earl)

There are tables of the systems under

http://ssales.corp.sgi.com/products/html/periodic_table.html

Unfortunately, these are inside the firewall.

This having been noted, is my account at sgi going to be setup soon so that perhaps I could telnet in using the firewall and look at the docs mentioned from an internal machine?

Later,
David S. Miller
[email protected]

#8 lore raw

Periodic Tables outside firewall

Quoted 10 lines

Date: Tue, 23 Apr 1996 09:35:24 -0700
From: [email protected] (William J. Earl)

There are tables of the systems under

http://ssales.corp.sgi.com/products/html/periodic_table.html

Unfortunately, these are inside the firewall.

http://www.sgi.com/Technology/index.html

Is outside the firewall and has similar content (click on "Periodic Tables")

I also found some MIPS Assembly guides under Silicon Surf (they actually are pointers to www.mips.com) for example:

	http://www.mips.com/r4400/UMan/R4000.book_5.html

Includes the R4K instruction set and much more.
(I believe Bill mentioned this)

I tried to mirror what's in our technical library, but it turns out it is all generated from SGML by DynaWeb using gci scripts so its too hairy to deal with. Anyway, the above is just as good.

Signature · 1 line
Peace, Ariel
#9 lore raw
In reply to David S. Miller
Quoted 1 line · David S. Miller

5) fvwm

I've got 2.0.42 compiled and running ... But if dave wants to live in the dark ages of fvwm 1.x thats fine with me.

Quoted 2 lines

6) teco (Must support full teco command set as described in original DEC manuals! TECO is _the_ renaissance editor!)

I've got it compiled, but beats the hell out of me if it works :-) Ill make you a deal, if I see you edit a file with it I bring you my honest to god DEC PDP-11 teco manual.

Signature · 2 lines
				      /Bob...			 [email protected]
				http://reality.sgi.com/mende/
#10 lore raw

From: "Bob Mende Pie" <[email protected]>
Date: Tue, 23 Apr 1996 09:56:42 -0700

Quoted 1 line · David S. Miller

5) fvwm

I've got 2.0.42 compiled and running ... But if dave wants to live in the dark ages of fvwm 1.x thats fine with me.

Someone else is building 1.24l for me right now methinks... better check this out before bucking heads ;)

Quoted 2 lines

6) teco (Must support full teco command set as described in original DEC manuals! TECO is _the_ renaissance editor!)

I've got it compiled, but beats the hell out of me if it works :-) Ill make you a deal, if I see you edit a file with it I bring you my honest to god DEC PDP-11 teco manual.

     [1 J^P$L$$
     J <.-Z; .,(S,$ -D .)FX1 @F^B $K :L I $ G1 L>$$

Later,
David S. Miller
[email protected]