The collected works of ivelegacy - Page 4

i can try

which scripts ? for linux ?
i have a CDrom for O2, PM me with a quote
Image

hi guys
i have for sale a brand new GFX for the HP PA RISC workstation model C3600. It's a big and long PCI board
If you want it, PM me
it can't see any pascal compiler in the the MIPSpro 7.4 package, do you confirm ?

anyone that know how to obtain a Pascal Compiler for Irix 6.5 ?
(or know any old compiler that works on 6.5, too ?)
mmm i think that at this point you'd better like for freePascal, but i'd like to have SGI supported compiler and not an outer Yet OpenSource compiler, i already have freePascal in my linux/x86 box, with cross compiling support for ARM.
foetz wrote: also going from extreme to impact requires a new backplane and a new psu so the switch is not cheap at all.


why ?

History
  • 1993, January, Indigo 2 systems introduced with R4400 CPU and Extreme graphics
  • 1993, 1st half (approx.)Challenge M, L and XL systems with R4400 processor introduced
  • 1993, July, XZ and XL graphics announced
  • 1995, Indigo 2 systems with Impact graphic s introduced
  • 1995, July, R4400 with 250 MHz announced
  • 1995, August, Webforce systems announced for September
  • 1996, January, R10000 processors for Indigo 2 Impact systems announced
  • 1997, September, End of Production (non-Impact)
  • 1998, June, End of Production (Impact)
  • 2006, December, EOS, End of Service

from this page

Extreme graphics : 1993
Impact graphics : 1995
R10000 processors for Indigo 2 Impact systems : 1996

I was a bit confused about Indigo2, it's a very triller story :lol:
a few answers here . To short: the answer of my question is NO.

so we need to use this GPC binary for Irix. Or to recompile from source.

Code: Select all

BBBBBB   YYY   Y  TTTTTTT  EEEEEEE
BBB   B  YYY   Y    TTT    EEE
BBB   B  YYY   Y    TTT    EEE
BBBBBB    YYY Y     TTT    EEEEEEE
BBB   B    YYY      TTT    EEE
BBB   B    YYY      TTT    EEE
BBBBBB     YYY      TTT    EEEEEEE

b   e   n   c   h    m   a   r   k


Code: Select all

app-benchmarks/nbench
Homepage:      http://www.tux.org/~mayer/linux/bmark.html
Description:   Linux/Unix of release 2 of BYTE Magazine's BYTEmark benchmark



hi guys
as promises i am opening this thread in order to report benchmarks of different cpus; tests have been performed with app-benchmarks/nbench under a ramrootfs linux (it's possible only for a reduced set of machines, especially for SGI/MIPS machines), and collected in this thread



e.g.
AR7161 @ 680Mhz -> BogoMIPS 479.23 (Router)

Code: Select all

TEST                : Iterations/sec.  : A1 Index    : A2 Index
--------------------:------------------:-------------:------------
NUMERIC SORT        :          202.64  :       5.20  :       1.71
STRING SORT         :          17.331  :       7.74  :       1.20
BITFIELD            :      6.5129e+07  :      11.17  :       2.33
FP EMULATION        :          23.372  :      11.21  :       2.59
FOURIER             :          13.793  :       0.02  :       0.01
ASSIGNMENT          :          3.0924  :      11.77  :       3.05
IDEA                :          808.36  :      12.36  :       3.67
HUFFMAN             :          41.655  :       1.16  :       0.37
NEURAL NET          :           0.014  :       0.02  :       0.01
LU DECOMPOSITION    :          0.4154  :       0.02  :       0.02
==========================BYTEMARK RESULTS==========================
INTEGER INDEX       : 7.029
FLOATING-POINT INDEX: 0.020
MEMORY INDEX        : 2.044
INTEGER INDEX       : 1.564
FLOATING-POINT INDEX: 0.011


Toshiba RISC 2xR12000 @ 400Mhz with FPU -> BogoMIPS 598.01+600.00 (SGI Octane2 with SMP CPU module)

Code: Select all

TEST                : Iterations/sec.  : A1 Index    : A2 Index
--------------------:------------------:-------------:------------
NUMERIC SORT        :          232.48  :       5.96  :       1.96
STRING SORT         :          12.302  :       5.50  :       0.85
BITFIELD            :      5.3881e+07  :       9.24  :       1.93
FP EMULATION        :          18.449  :       8.85  :       2.04
FOURIER             :          4538.6  :       5.16  :       2.90
ASSIGNMENT          :          3.4313  :      13.06  :       3.39
IDEA                :          830.71  :      12.71  :       3.77
HUFFMAN             :          331.39  :       9.19  :       2.93
NEURAL NET          :          3.0852  :       4.96  :       2.08
LU DECOMPOSITION    :          139.52  :       7.23  :       5.22
==========================BYTEMARK RESULTS==========================
INTEGER INDEX       : 8.800
FLOATING-POINT INDEX: 5.697
MEMORY INDEX        : 1.772
INTEGER INDEX       : 2.580
FLOATING-POINT INDEX: 3.160
what about the yellow-labelled cooler installed on the CPU ?
hey oh? Swimming pool & Racing bicycle.
Image

here it is for sale the motherboard of indigo2/R10K.
it is missing
  • the RTC-memory
  • the audio board (1)

this mobo is working, sold for 10 euro, 30 euro shipped within the Europe {1 … 5} Zone

(1) which i could eventually provide, i should have a replacement

also note: this mobo seems to be an earlier release, see the blu wired patches soldered between chips, i am not so expert so i mean that when my friend replaced his Impact's mobo he bought a brand new one motherboards which comes without any of these blue patches.
SGI O2 power supply unit for sale. Pulled out from a working system, i have tested it using my O2: it is working!
@mapesdhs
Performances was also explained in the wiki page
The SGI O2 had an Imaging and Compression Engine (ICE) application-specific integrated circuit (ASIC) for processing streaming media and still images. ICE operates at 66 MHz and contains a R3000-derived microprocessor serving as the scalar unit to which a 128-bit SIMD unit is attached using the MIPS coprocessor interface. ICE operates on eight 16-bit or sixteen 8-bit integers, but still provides a significant amount of computational power which enables the O2 to do video decoding and audio tasks that would require a much faster CPU if done without SIMD instructions. ICE only works with the IRIX operating system, as this is the only system that has drivers capable of taking advantage of this device.

The Unified Memory Architecture means that the O2 uses main memory for graphics textures, making texturing polygons and other graphics elements trivial. Instead of transferring textures over a bus to the graphics subsystem, the O2 passes a pointer to the texture in main memory which is then accessed by the graphics hardware. This makes using large textures easy, and even makes using streaming video as a texture possible.

Since the CPU performs many of geometry calculations, using a faster CPU will increase the speed of a geometry-limited application. The O2's graphics is known to have slower rasterization speed than the Indigo2's Maximum IMPACT graphics boards, though the Maximum IMPACT graphics is limited to 4 MB of texture memory, which can result in thrashing, whereas the O2 is limited only by available memory.

While CPU frequencies of 180 to 400 MHz seem low today, when the O2 was released in 1996, these speeds were on par with or above the current offerings for the x86 family of computers (cf. Intel's Pentium and AMD's K5). Further, the above listed features made it an excellent graphics workstation which was the market it was targeted at. It was however, even with the speed upgrades it consequently received, not able to keep up with the mainstream PC market and cheaper x86 based computers started to outperform it by the end of its lifetime.




about CPU clock speedup, i have seen the R7K @ 600Mhz hack made by Joe Page and Ian Mapleson. I have read something about, never seen a @600Mhz CPU module for sale. It's very interesting, do you know if it is available, yet ?
about O2+ color

my friend and i can realize a purple-painted case in O2+ colors compliant. We will do, sooner or later, i have a second case for O2, a very damaged case that we are able to repair and repaint. My friend worked as car-coachbuilder, so he is a bit expert about how to paint plastic and metal materials.

I have to take a few photos about Impact, i have found an original Impact plastic front plane, it's a brand new replacement so we can compare the original purple-color of Impact with the color that my friend has decided to paint for the Impact that is here for sale.

Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
i can see this on the back

Code: Select all

034-0978-001 REV A
how to make it to work under Irix ?
i got a lot of errors because crt1, crtbegin, etc are missing

(edit:
and things put into the wrong place)
it's very very pretty and well done, it looks like the PentiumPRO's heat sink but it is smaller, one of my friend has an Indy in R5K@150Mhz version, and ithe cpu-board comes without your marvelous cooler, it has just a passive heat sink, so we are all envious of your cooler :lol:
hey oh? Swimming pool & Racing bicycle.
is there any kit to mount such a cooler on the top of R5K @ 180Mhz ?
hey oh? Swimming pool & Racing bicycle.
i can't find "inventor_dev.sw.base" in my Foundation2 CD

i see these

Code: Select all

inventor_eoe
inventor_eoe.data
inventor_eoe.demo
inventor_eoe.idb
inventor_eoe.man
inventor_eoe.sw
inventor_eoe.sw64


may be my CD is too old ?
CDs ? which CD ? the GNU Pascal Compiler is not built in any CD !

i have downloaded the binary archive from its repo, and there are too many missing libraries about its RunTime. I am able to compiler a pascal source into assembly, then … i miss a lot of symbols

have you installed GPC ? does it work ? if so, tell me what you have done, else way i will try to recompile from scratches.
TeamBlackFox wrote: but Pascal itself isn't on the CDs of course


it is not, also i have asked if someone has ever tried the binary provided here .
Btw, now i am trying to recompile GPC from scratches, using gcc-core + gpc.

@vishnu
i haven't checked it yet, but i will, It's very good, i simply like pascal and i'd like to have it on Irix. Just to explain how much i like pascal .. i can tell that i have bought a copy of Borland Turbo Pascal and i have installed it into a dos virtual machine. Simply amazing language. I also love ADA which … looks like pascal (and modula2), but … Ada is too difficult to be compiled (you need a bootstrap), so I have put ADA on my PowerPC/gentoo laptop (using a GNAT overlay) but i can't have the same for my MIPS router simply because i do not have a MIPS bootstrapped, i mean GNAT does not have it.

Code: Select all

SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc?   ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86?   ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"


(i have a bootstrap for arm-le, sooner or later i will use it)

It should be wonderful to be able to write a pascal compiler or interpreter that does not need any other tool to be compiler. A bit of time ago i started a tiny project that aims to mime the pascal, so i have realized a tiny interpreter that looks like pascal. Very reduced features and not completed yet.

it's a toy, written in C++, and rewritten in ANSI C. I will improve it, sooner or later (if i will learn something more from the " dragon book ")
try ADA, try GNAT :mrgreen:
Avionics industries are using it, i was using it in my previous job for aircraft control unit tests.
ADA is a bit pedantic, but amazing and really safe.

I have seen a kernel written in ADA: still shocked X_____X

it seems there is gnat for Irix. Not tested yet.
yeah, i have an unsolder hot air station, and i am used to do things like that, but … this connector seems to be very complex to be unsoldered, i have asked to my friends and they are all afraid about that
mapesdhs wrote: You've linked to my mirror site, I'm the latter guy. :D


nice to meet you :mrgreen:

mapesdhs wrote: By contrast, the modded R12K/300 is IMO a far better option


yeah, but i was thinking: the modded R7K @ 600Mhz doesn't have the cache coherency issue of the R12K, so i could eventually use the R7K with linux. My R12K @ 400Mhz panics the kernel in a few seconds, while Irix is appreciating the speed up.
sure, you can, have fun :mrgreen:

i should have an R12K @ 400Mhz module, in case you want more upgrade :lol:
hi
i am looking for an Octane2 with these features

  • Xbow v1.4 (it's a must!)
  • R10K, R12K CPU
  • Impact/SR (1), or odissey gfx V6, V8 (i prefer SSE)

let me know here or by PM


Image
the graph is showing how much faster SE, SSI and SSE are compared to SI for geometry performance.
The Geometry Engine used in E-series graphics options is 40% faster and the Raster Engine is 15% faster.

(1) IMPACT SR: { SI, SE, SSI, SSE, MXI } gfx

Code: Select all

030-0938-003    SI GRAPHICS GM10
030-0957-003    SSI GRAPHICS GM20
030-1240-003    SSE (ESSI) GRAPHICS MOT20
030-1241-002    SE (ESI) GRAPHICS MOT10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
030-1277-002    SI/SSI Texture Module
030-1263-002    SE/SSE Texture Module
Graphics
The graphics options available for the SGI Indigo² can be divided in two groups: the "pre-IMPACT" and the "MGRAS IMPACT" boards.

"Pre-IMPACT" options consisted of the following options: SGI XL24, SGI XZ, SGI Elan and SGI Extreme). These options are based on the same "Express Graphics" architecture from the original SGI Indigo, but feature improved performance.

The "MGRAS IMPACT" boards include: Solid IMPACT, High IMPACT, High IMPACT AA, and the Maximum IMPACT, and are also known as the IMPACT graphics family. These newer boards have a different architecture than the earlier designs. Physically, they appear to be similar to the older graphics options - the low-end Solid IMPACT board takes up a single GIO-64 slot, the mid-range High IMPACT takes up two GIO-64 slots, and the high end Maximum IMPACT takes occupies three. The High IMPACT and Solid IMPACT boards provides the same performance for non-textured tasks, while the Maximum IMPACT provides double the performance. The High IMPACT AA option has the geometry performance of a Maximum IMPACT, but is otherwise the same as the High IMPACT including the pixel fill performance.

The IMPACT graphics was the first desktop graphics system from SGI to offer texture mapping acceleration, though only the High IMPACT and Maximum IMPACT had this capability, and came with 1 MB of texture memory as standard. The Solid IMPACT card is named "Solid" due to its applications for solid (non-textured) modeling. When expanded by adding a TRAM (Texture RAM) module to the board, the amount of texture memory can be increased to 4 MB. Maximum IMPACT graphics require two of these modules due its two pixel units, although this does not upgrade them to 8 MB, with the two modules merely working in parallel to render twice as fast. At the time of its release, Maximum IMPACT graphics was the world's fastest available top-end desktop visualization solution. A Maximum IMPACT with 4 MB of texture memory and the correct graphics settings can play id Software's Quake 1, 2 or 3 with acceptable frame rates.


according to this wiki grab, it seems to me that an other limitation of the Impact is related to the texture memory. The Maximum IMPACT is claimed to offer double the performances of the Solid IMPACT about that, but it is limited about the mount of TRAM, and, even if it can be expanded by adding a TRAM, the upper limit is 4Mbyte of texture memory.

A Maximum IMPACT with 4 MB of texture memory and the correct graphics settings can play id Software's Quake 1, 2 or 3 with acceptable frame rates.


that's funny :lol:
it may be a kernel issue that causes performances lost, i am not surprised about that for IP30 (octane2), as … i am dealing with a very old kernel that has a lot of things that simply do not work in the right way and we forced them to do the minimal for survival

sooner or later i will try nbench under Irix instead of under linux :mrgreen:

vishnu wrote: For the mathmatically inclined, the linear algebra pack is available on IRIX:

Ubiquitous techpubs link.

And

linear algebra pack homepage


thank you for that, i am Mathematica (Wolfram) addicted, so i appreciate lapack a lot :mrgreen:
hi guys
i am studying XINU vol1 and vol2, i have found a few cheap books from a N.Y. old-bools reseller, 10 USD each vs 60 euro from Amazon for the last edition. I am planning to have real fun with XINU, and probably i will put it into a real MIPS box (probably a tiny router). Btw, just talking about "OS", in the Amazon list i have seen "NEW Unix Systems for Modern Architectures: Symmetric Multiprocessing and Caching", which seems very funny: have anybody already read it ? if so, any good/bad review ? It's a bit expensive, 50 euro or more.

NEW Unix Systems for Modern Architectures: Symmetric Multiprocessing and Caching
Detailed info

Synopsis
Any UNIX programmer using the latest workstations or super minicomputers from vendors such as Sun, Silicon Graphics (SGI), ATandT, Amdahl, IBM, Apple, Compaq, Mentor Graphics, and Thinking Machines needs this book to optimize his/her job performance. This book teaches how these architectures operate using clear, comprehensible examples to explain the concepts, and provides a good reference for people already familiar with the basic concepts.

READ THE SENSATIONAL BLOCKBUSTER THAT STARTED IT ALL! Take it from the top in # 1 New York Times bestselling author Sue Grafton's knockout thriller that introduced detective Kinsey Millhone-and a hot new attitude-to crime fiction... A IS FOR AVENGER A tough-talking former cop, private investigator Kinsey Millhone has set up a modest detective agency in a quiet corner of Santa Teresa, California. A twice-divorced loner with few personal possessions and fewer personal attachments, she's got a soft spot for underdogs and lost causes. A IS FOR ACCUSED That's why she draws desperate clients like Nikki Fife. Eight years ago, she was convicted of killing her philandering husband. Now she's out on parole and needs Kinsey's help to find the real killer. But after all this time, clearing Nikki's bad name won't be easy. A IS FOR ALIBI If there's one thing that makes Kinsey Millhone feel alive, it's playing on the edge. When her investigation turns up a second corpse, more suspects, and a new reason to kill, Kinsey discovers that the edge is closer-and sharper-than she imagined.

This book represents a significant new milestone in UNIX kernel internals books. Symmetric multiprocessing and cache memory systems are important cost-effective technologies for improving performance in today's state-of-the-art systems. Written for the UNIX kernel developer, this book provides a complete yet comprehensible explanation of the operation of caches and symmetric multiprocessors, how they work together, and the issues operating systems must address in order to run on the machines that incorporate them. After a review of UNIX kernel internals, Curt Schimmel launches into a detailed description of cache memory systems, including several kinds of virtual and physical caches, as well as a chapter on efficient cache management. For each type of cache, the book covers the impact on the software and the operating system changes necessary for these systems. The next section details the operation of the tightly-coupled, shared memory, symmetric multiprocessor. It examines the problems these multiprocessors present to the operating system, such as race conditions, deadlocks, and the ordering of memory operations, and looks at how the UNIX kernel can be adapted to run on such systems. Finally, the book looks at the interaction between cache memory systems and multiprocessors and the new problems that this interaction presents to the kernel. Techniques for solving these problems are then explained. Numerous examples representing CISC and RISC processors, such as the Intel 80486 and Pentium, the Motorola 68040 and 88000, as well as theMIPS and SPARC processors, illustrate the concepts presented. To reinforce the concepts, each chapter contains a set of exercises with answers to selected exercises included in the back."This book UNIX Systems for Modern Architectures for the systems programmer covers almost everything you wanted to know about caches, multiprocessor systems, and cached multiprocessor systems, especially as related to UNIX."-Unix Review 0201633388B04062001

Written for the UNIX & amp; kernel developer, this book provides a complete yet comprehensible explanation of the operation of caches and tightly-coupled, shared memory symmetric multiprocessors, how they work together, and the issues operating systems must address in order to run on the machines the incorporate them. After a detailed description of the operating system changes required by various cache architectures, Schimmel covers the kernel modifications needed to address the issues presented by symmetric multiprocessors, such as race conditions, deadlocks, and the correct ordering of memory operations. Illustrating the concepts presented are numerous examples using current CISC and RISC processors, including MIPS and SPARC.

Written for the UNIX & kernel developer, this book provides a complete yet comprehensible explanation of the operation of caches and tightly-coupled, shared memory symmetric multiprocessors, how they work together, and the issues operating systems must address in order to run on the machines the incorporate them. After a detailed description of the operating system changes required by various cache architectures, Schimmel covers the kernel modifications needed to address the issues presented by symmetric multiprocessors, such as race conditions, deadlocks, and the correct ordering of memory operations. illustrating the concepts presented are numerous examples using current CISC and RISC processors, including MIPS and SPARC.

Written for the UNIX & kernel developer, this book provides a complete yet comprehensible explanation of the operation of caches and tightly-coupled, shared memory symmetric multiprocessors, how they work together, and the issues operating systems must address in order to run on the machines the incorporate them. After a detailed description of the operating system changes required by various cache architectures, Schimmel covers the kernel modifications needed to address the issues presented by symmetric multiprocessors, such as race conditions, deadlocks, and the correct ordering of memory operations. illustrating the concepts presented are numerous examples using current CISC and RISC processors, including MIPS and SPARC.

Written for the UNIX && kernel developer, this book provides a complete yet comprehensible explanation of the operation of caches and tightly-coupled, shared memory symmetric multiprocessors, how they work together, and the issues operating systems must address in order to run on the machines the incorporate them. After a detailed description of the operating system changes required by various cache architectures, Schimmel covers the kernel modifications needed to address the issues presented by symmetric multiprocessors, such as race conditions, deadlocks, and the correct ordering of memory operations. Illustrating the concepts presented are numerous examples using current CISC and RISC processors, including MIPS and SPARC.

Written for the UNIX kernel developer, this book provides a complete yet comprehensible explanation of the operation of caches and tightly-coupled, shared memory symmetric multiprocessors, how they work together, and the issues operating systems must address in order to run on the machines the incorporate them. After a detailed description of the operating system changes required by various cache architectures, Schimmel covers the kernel modifications needed to address the issues presented by symmetric multiprocessors, such as race conditions, deadlocks, and the correct ordering of memory operations. Illustrating the concepts presented are numerous examples using current CISC and RISC processors, including MIPS and SPARC.

Product Identifiers
ISBN-10 0201633388
ISBN-13 9780201633382

Key Details
Author Curt Schimmel
Number Of Pages 432 pages
Series Addison-Wesley Professional Computing Ser.
Format Paperback
Publication Date 1994-06-30
Language English
Publisher Addison Wesley Professional

Additional Details
Copyright Date 1994

Target Audience
Group Scholarly & Professional

Classification Method
LCCN 94-014555
LC Classification Number QA76.76.O63S3756
Dewey Decimal 005.4/2
Dewey Edition 20

Table Of Content
  • Preface. Notational Conventions. Introduction.
  • 1. Review of UNIX Kernel Internals. Introduction. Processes, Programs, and Threads. The Process Address Space. Context Switch. Memory and Process Management System Calls. Summary. Exercises. Further Reading. I. CACHE MEMORY SYSTEMS. @CHAPTER
  • 2. Introduction to Cache Memory Systems. Memory Hierarchies. Cache Fundamentals. Direct Mapped Caches. Two-Way Set Associative Caches. n-Way Set Associative Caches. Fully Associative Caches. Summary of n-Way Set Associative Caches. Cache Flushing. Uncached Operation. Separate Instruction and Data Caches. Cache Performance. How Cache Architectures Differ. Exercises. Further Reading.
  • 3. Virtual Caches. Virtual Cache Operation. Problems with Virtual Caches. Managing a Virtual Cache. Summary. Exercises. Further Reading.
  • 4. Virtual Caches with Keys. The Operation of a Virtual Cache with Keys. Managing a Virtual Cache with Keys. Virtual Cache Usage in MMUs. Summary. Exercises. Further Reading.
  • 5. Virtual Caches with Physical Address Tags. The Organization of a Virtual Cache with Physical Tags. Managing a Virtual Cache with Physical Tags. Summary. Exercises. Further Reading.
  • 6. Physical Caches. The Organization of a Physical Cache. Managing a Physical Cache. Multilevel Caches. Primary Virtual Cache with Secondary Physical Cache. Summary. Exercises. Further Reading.
  • 7. Efficient Cache Management Techniques. Introduction. Address Space Layout. Cache Size Bounded FlushingDelayed Cache Invalidations. Cache-Aligning Data Structures. Summary. Exercises. Further Reading. II. MULTIPROCESSOR SYSTEMS.
  • 8. Introduction to Multiprocessor Systems. Introduction. The Tightly Coupled, Shared Memory, Symmetric. Multiprocessor. The MP Memory Model. Mutual Exclusion. Review of Mutual Exclusion on Uniprocessor. UNIX Systems. Problems Using UP Mutual Exclusion Policies on MPs. Summary. Exercises. Further Reading.
  • 9. Master-Slave Kernels. Introduction. Spin Locks. Deadlocks. Master-Slave Kernel Implementation. Performance Considerations. Summary. Exercises. Further Reading.
  • 10. Spin-Locked Kernels. Introduction. Giant Locking. Multithreading Cases Requiring No Locks. Coarse-Grained Locking. Fine-Grained Locking. Effects of Sleep and Wakeup on Multiprocessors. Summary. Exercises. Further Reading.
  • 11. Semaphored Kernels. Introduction. Deadlocks. Implementing Semaphores. Coarse-Grained Semaphore Implementations. Multithreading with Semaphores. Performance Considerations. Summary. Exercises. Further Reading.
  • 12. Other MP Primitives. Introduction. Monitor. Eventcounts and Sequencers.
i wonder if anyone has GnuPascalCompier aka GPC installed under Irix 6.5.

also llvm-pascal , may be ..
libdom.so ???

i was trying LegoConstructionKit (demo version), and i can't find such a dependency as it's not included in the demo package

tar -xvf LCK.tar
x LegoConstructionKit/LegoConstructionKit, 298244 bytes, 583 blocks
x LegoConstructionKit/Manual.html, 4199 bytes, 9 blocks
x LegoConstructionKit/blocks/1.lck, 1429 bytes, 3 blocks
x LegoConstructionKit/blocks/2.lck, 1525 bytes, 3 blocks
x LegoConstructionKit/blocks/3.lck, 1589 bytes, 4 blocks
x LegoConstructionKit/blocks/4.lck, 1461 bytes, 3 blocks
x LegoConstructionKit/blocks/5.lck, 1525 bytes, 3 blocks
x LegoConstructionKit/blocks/6.lck, 1715 bytes, 4 blocks
x LegoConstructionKit/blocks/7.lck, 1811 bytes, 4 blocks
x LegoConstructionKit/examples/Castle.xml, 31247 bytes, 62 blocks
x LegoConstructionKit/examples/House.xml, 15672 bytes, 31 blocks
x LegoConstructionKit/examples/Tower.xml, 5934 bytes, 12 blocks

does anyone know where is it ?
about GPC, i haven't understood which library should contain these symbols

Code: Select all

ld32: ERROR   33 : Unresolved text symbol "_p_stdout" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_write" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_InOutRes" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_check_inoutres" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_stdin" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_read" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_atexit" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_doinitproc" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_initialize" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved text symbol "_p_finalize" -- 1st referenced by hallo.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO    152: Output file removed because of error.
collect2: ld returned 2 exit status



/usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/* does not contain
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3 does not contain

the binary GPC ends with this result

Code: Select all

gpc hallo.pas

ld32: FATAL   9  : I/O error (crtend.o): No such file or directory
collect2: ld returned 32 exit status



(yes, hEllo, but i prefer hAllo)

toying with gpc, i have realized it really misses these symbols

all.c

Code: Select all

void _p_write()
{
printf("_p_write()\n");
}

void _p_check_inoutres(){}
void _p_read(){}
void _p_atexit(){}
void _p_doinitproc(){}
void _p_initialize(){}
void _p_finalize(){}
void _p_InOutRes(){}
void _p_stdin(){}

void _p_stdout()
{
printf("_p_stdout()\n");
}


hallo.pas

Code: Select all

Program Lesson1_Program1;
Begin
Write('hallo World. Prepare to learn PASCAL!!');
Readln;
End.


gpc -static --big-endian -c hallo.pas
gcc -c all.c
gcc hallo.o all.o -o hallo

# ./hallo
_p_write()


so i wonder where evil are these symbols

/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/
libgcc.a -> does not contain
libgpc.a -> does not contain
jpstewart wrote: Since the hint that foetz gave you earlier in the thread didn't seem to help, I'll be more blunt: you'll need the "Development Foundation" and "Development Libraries" CDs from the full Irix install set.


i have already installed Development Foundation and Development Libraries, and as result you can see gcc and MIPSpro are perfectly fully working ( i have already recompiled things with them, without any issues) while GPC has been installed from an external binary repository and seems to require these special symbols

Code: Select all

_p_write
_p_check_inoutres
_p_read
_p_atexit
_p_doinitproc
_p_initialize
_p_finalize
_p_InOutRes
_p_stdin
_p_stdout


do you know which library contain them ? _p_write seems a bit uncommon to me. Btw, let me check again.

as i was thinking the GPC's run time system (RTS) defines a function `_p_write' which is responsible for all output to text files. The C source is in`rts/rts-write.c'. I can't se the RTS library in the IRIX dev CDs. Can you see it ?
foetz wrote: that's one of the source files of your compiler, not irix.


i know the difference between a source and a binary, i want to know where is the RTS support which should be included into a library as the gpc compiler's objects are calling it. See the symbols list i have posted.

foetz wrote: as for the missing symbols, i don't know what came with your compiler but in case there were some libs just make sure to link them


everything comes from here , in the theory the gpc compiler should take things (e.g. the RTS) from /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/, but it is not. Probably broken or missing parts.

edit:
In the theory

Code: Select all

/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2% nm libgpc.a | grep -w _p_write
000009a8 T _p_write
U _p_write
U _p_write
U _p_write


libgpc.a (which is an archive of objects) has the RTS, but nor it is damaged nor bad things happen

btw, in gpc-2.1 (which the IRIX binary is), the source is in rts-va.c, though it's a varargs C function, while in newer GPC versions _p_write doesn't exist anymore, as far as i have understood, It has been replaced with various other functions corresponding to the different types.

That's good, but that's also the reason why we can't mix versions, so if we want to compile only the RTS then we need the 2.1 version. If we build the whole GPC, you can use a newer version.

my conclusion is: as the fact i can't find the RTS nor in the binary repository nor the Irix dev-CDs, then i'd better
- try to recompile just the RTS v2.1 (which consists of C and pascal sources, the final result is a library)
- if that fail, try to recompile the whole GPC using a new version (which already includes such a library in its built up)
foetz wrote: and what's wrong with that?


i was only pointing out the limitation of the 4Mbyte of the Texture ram of the MaxImpact, just an other coin for the thesis that says that Octanes have the best performances/cost ratio.
in the "SGI gift CD" there is written "libdom.so" included, but it is not. Perhaps it could already exit for Irix. I do not really know, i just wanted to try the LegoConstructionKit demo package.
hi
i have installed Insignia SoftWindows95 v5 with a valid license, everything seems work fine, but on the local console i see this warning

Code: Select all

INIT: Command is respawning too rapidly.
Check for possible errors.
id: isl "/usr/lib/SoftWindows/FLEXlm/lmgrd -z -c /usr/lib/SoftWindows/FLEXlm/license.dat > /usr/lib/SoftWindows/FLEXlm/lmgrd.log 2>&1"
[/quote]

and opening the log file (/usr/lib/SoftWindows/FLEXlm/lmgrd.log) i get this

[code]
17:12:36 (lmgrd) -----------------------------------------------
17:12:36 (lmgrd)   Please Note: 17:12:36 (lmgrd)
17:12:36 (lmgrd)   This log is intended for debug purposes only.
17:12:36 (lmgrd)   There are many details in licensing policies
17:12:36 (lmgrd)   that are not reported in the information logged
17:12:36 (lmgrd)   here, so if you use this log file for any kind
17:12:36 (lmgrd)   of usage reporting you will generally produce
17:12:36 (lmgrd)   incorrect results. 17:12:36 (lmgrd)
17:12:36 (lmgrd) -----------------------------------------------
17:12:36 (lmgrd)
17:12:36 (lmgrd)
17:12:36 (lmgrd) lmgrd running as root:
17:12:36 (lmgrd)        This is a potential security problem
17:12:36 (lmgrd)        And is not recommended license manager:
can't initialize: No SERVER lines in license file (-13,66)




i can't understand
jan-jaap wrote: GNU Pascal, like Fortran, Ada and a couple of other languages is (was?) an add-on to GCC


well, yeah, they are front-ends and there are several more front ends for different languages that have been written for GCC but not yet integrated into the main distribution of the GNU Compiler Collection. Some of these may be integrated in future, others may not, for various reasons. Pascal seems to have an independent team which … seems not interested about integrating the language into updated version of Gcc, more specifically it seems related to v3.3, referring it as "alpha", which means "unstable".

jan-jaap wrote: Now, normally copying binary code around between different compiler versions is considered evil. YMMV. You may also wonder how much of your time you want to invest in a compiler where the last version is based on GCC 2.something, incomplete and nobody bothered to fix that in 13 years


Looking at Pascal in the gentoo portage every ebuilds are marked as "unsupported"

dev-lang/gpc/
gpc-20051104.ebuild
gpc-20070904.ebuild

the frontend uses gcc-core, gcc gnu org pub gcc releases gcc-${GCCVER} gcc-core-${GCCVER}
but, with GCCVER=">3.4.5" constraint, which means … everything modern is simply broken

that means: GNU Pascal is pretty dead , on modern linux box, it may be it can survive on old Unix box, like Irix but .. using old overlaid toolchain (e.g. gcc-v2.95, or gcc-v3.3.*)

jan-jaap wrote: That's why there are two versions on the download page: one with the GCC version included, and one without.


that's a wrong approach, if you tarball a toolchain like gcc you MUST include the crt files, so "with-gcc" MUST include also the basic libraries as they are specifically related to a gcc version.


* * * AA * * *
i'd like to have Gcc version 2.95.2 19991024, mips-sgi-irix6.5 full toolchain, does anyone have it somewhere ?


jan-jaap wrote: I copied them from a GCC 3.4.6 into the correct directory for GPC (where libcgcc.a is) and then it works. At least, it works enough to compile a working hello world program.


Code: Select all

cp /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/crtbegin.o /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/
cp /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/crtend.o /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/


Code: Select all

gpc -v --big-endian hallo.pas


Code: Select all

Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/specs
gpc version 2.1 (20020510), based on 2.95.2 19991024 (release)
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/gpcpp -lang-pascal -v -famtmpfile=/var/tmp/cca00Dqq -fbig-endian -fdelphi-comments -D__GNU_PASCAL__ -undef -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__GPC__=2 -D__GPC_MINOR__=1 -D__GPC_VERSION__=2.1 -D__GPC_RELEASE__=20020510 -D__BITS_BIG_ENDIAN__=1 -D__BYTES_BIG_ENDIAN__=1 -D__WORDS_BIG_ENDIAN__=1 -D__NEED_ALIGNMENT__=1 -Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix__ -D__mips__ -D__sgi__ -D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_LONGLONG -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D__unix -D__mips -D__sgi -D__host_mips -D__MIPSEB -D__SYSTYPE_SVR4 -Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi) -D__CHAR_UNSIGNED__ -D__LANGUAGE_C -D_LANGUAGE_C -DLANGUAGE_C -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__ -D_SGI_SOURCE -D_MIPS_FPSET=32 -D_MIPS_ISA=_MIPS_ISA_MIPS3 -D_ABIN32=2 -D_MIPS_SIM=_ABIN32 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32 -D_COMPILER_VERSION=601 -U__mips -D__mips=3 -D__mips64 hallo.pas /var/tmp/cca00Dqq.i
GNU Pascal Compiler PreProcessor version 2.1 (20020510), based on gcc-2.95.2 19991024 (release) [AL 1.1, MM 40] SGI running IRIX 6.x
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/mips-sgi-irix6.5/include
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/gpc1 /var/tmp/cca00Dqq.i -quiet -dumpbase hallo.pas -version -famtmpfile=/var/tmp/cca00Dqq -fbig-endian -o /var/tmp/cca00Dqq.s
GNU Pascal version 2.95.2 19991024 (release) (mips-sgi-irix6.5) compiled by GNU C version 2.95.2 19991024 (release).
GNU Pascal version is actually 2.1 (20020510), based on gcc-2.95.2 19991024 (release)
/usr/bin/as -g0 -nocpp -show -G 0 -w -n32 -o /var/tmp/cca00Dqq1.o /var/tmp/cca00Dqq.s
/usr/bin/../../usr/lib32/cmplrs/as -DEFAULT:abi=n32:isa=mips4:proc=r10k -g0 -nocpp -show -G 0 -w -n32 -o /var/tmp/cca00Dqq1.o /var/tmp/cca00Dqq.s
/usr/lib32/cmplrs/asm -t5_ll_sc_bug -pic2 -elf -EB -g0 -G0 -w -mips4 -n32 -O0 /var/tmp/cca00Dqq.s -o /var/tmp/cca00Dqq1.o
/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/collect2 -call_shared -no_unresolved -init __do_global_ctors -fini __do_global_dtors -_SYSTYPE_SVR4 -woff 131 -n32 /usr/lib32/mips3/crt1.o /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/crtbegin.o -L/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2 -L/usr/bin -L/usr/local/lib /var/tmp/cca00Dqq1.o -lgpc -lm -dont_warn_unused -lgcc -warn_unused -L/usr/lib32/mips3 -L/usr/lib32 -dont_warn_unused -lc -warn_unused -dont_warn_unused -lgcc -warn_unused /usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/crtend.o /usr/lib32/mips3/crtn.o
yeah, but i am new about these things on Irix, especially "licenses"

my /var/flexlm/license.dat

Code: Select all

#
# FLEXlm license file
# ===================
#
## FLEXlm License File FLMLF 1.0

FEATURE cpp ...
FEATURE cc ...
FEATURE RapidApp sgifd ...


my /usr/lib/SoftWindows/FLEXlm/license.dat

Code: Select all

#
# FLEXlm license file
# ===================
#
## FLEXlm License File FLMLF 1.0

FEATURE Insignia_SoftWindows95 insignia ...


guys, do you have something in /etc/config/lmgrd.options ? mine is empty

this page shows the solution, it's techpubs sgi com documentation.
vishnu wrote: Concur. Fuels can be faster but still lose to dual CPU Octanes


do you mean IP30 with dual R14K @ 600 Mhz + Odissey V12 vs Fuel R16K @ 800Mhz + Odissey V12 ? I am not an expert and i have never tried such machines, never seen by my eyes, but i know i can buy a Fuel with the price i have to pay for just the dual R14K @ 600Mhz

really, i was asked 700 euro for a Fuel R16K @ 700Mhz with 4Gbyte of ram, 36Gbyte of HD, and V12, as i has asked 500 USD + shipping + VAT (22% of the total, so 22% of { goods + shipping} ) for just the Octane2 dual R14K @ 600Mhz X_____X

it seems to me that Fuel has a best ratio between performances / costs, as the fact an Octane2/SMP/V12 is very expensive

to quantify, assuming these two machine are "equal" about performances, let us talk about costs:

about super Octane2, i was asked for the following
+ 300 euro for the base machine (chassis, plastic, PSU, 3 disks of 36Gbyte each, 4Gbyte ram, Xbow v1.4)
+ 600 euro for the Dual SMP CPU module R14K @ 600Mhz (probably it is more expensive due to the VAT)
+ 300 euro for the Odissey V12 gfx
--------------------
=1200 euro


1200 for the super Octane2 euro vs 700 (euro for the Fuel fully loaded

edid:
could Fuel ?
- use the USB to attach any HID device like pen, draw tablet and such a things ?
- attach an USB pen drive or an USB hard drive ?

Just curious about that, has the fact Fuel has the USB.

TeamBlackFox wrote: Not if its a 900MHz Fuel :p.


let me say that now I envy you two things
- the marvelous yellow labeled cooler mounted on your indy R5K @ 180Mhz
- the @ 900Mhz Fuel experience

really :lol:
jan-jaap wrote: Fuel will take a SATA card (disks limited to 2TB)


which SGI P/N is such a PCI expansion ?

jan-jaap wrote: U160 SCSI is possible in the Octane, but only external (and it requires a PCI shoebox / shoehorn)


i have not understood: is it XIO24 SCSI card or XIO-PCI (through PCI cartridge and then) PCI-SCSI (plugged in the cartridge) ?
i have seen XIO24 SCSI card (quadric channels) on ebay.

Trippynet wrote: Although saying that, the 800MHz and particularly 900MHz Fuels also hold their value well too


how much are them ? just to have a value to compare what i was asked to pay for the R16K @ 700Mhz version