The collected works of pip

pentium wrote:
If you are looking for pure-power in a Mac , go for an Intel


Those two words should NEVER be in the same sentence.


I agree completely: If you are looking for pure-power in a Mac , go for a 68k :P
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Dr. Dave wrote: So, I tried the AUA-3020 on a Fuel, no dice - but it apparently works on an O2. So of course that got me to thinking...

I had a QLA2212 here (which also does not work on a Fuel), the reason being that the AUA3020 and the QLA2212 (basically 2 QLA2200's-on-a-card) both use PCI bridge chips to map two devices into a single PCI slot, and apparently PCI bridge chips do not play well with XIO-based systems .


XIO machines may very well have problems, but it seems like SGI has gone to quite a bit of trouble to write a PCI-PCI bridge driver for XIO/Bridge PCI busses. A relevant note from /var/sysgen/mtune/kernel:

Code: Select all

*
* As of 6.5.19, general support for PCI-PCI bridges was added with the
* pciio_ppb driver.  This can expose the well known RRB thrashing issue that
* Bridge and its derivatives (Xbridge and PIC-in-PCI-mode) exhibit.
*
* By default, pciio_ppb will disallow any PPB hierarchy hung off of a Bridge
* slot which contains more than one function advertising DMA master ability,
* generating a console message.
*
* When set to non-zero, pciio_multimaster_override will override this
* behavior and allow an arbitrary PPB hierarchy to be built up on Bridge.
*
pciio_multimaster_override      0       0               1

Looking through the 6.5.19 release notes , I couldn't find any specific hardware fixes in 6.5.19 that would have warranted this driver. The only big change was adding support for the O3900, which maybe has some PCI-PCI bridged hardware.

There wasn't much mention of pciio_ppb on Google, but one hit was extremely interesting: an LKML post from SGI with a bunch of Linux IA64 src to be put into 2.6. The reply is scathing:
Guy you drive me nuts with your silly hack it up on irix and
glue it into linux strategy!

And indeed, the code is straight out of Irix, and grafted onto Linux in a less-than-pretty way. For example, this massive 1MB patch contains the entire source for the pciio_ppb driver. The code still uses IRIX's vertex_hdl_t type, which maps perfectly onto IRIX's hwgraph, but I have no idea they made it map onto Linux. For posterity, I'll post the pciio_ppb header here:
+ * Fairly generic PCI-PCI Bridge (PPB) driver module.
+ *
+ * This driver implements provider-independent PPB support for Irix.
+ *
+ * Goals
+ * =====
+ * Transparantly provide pciio services to PCI devices downstream of a PPB
+ * hierarchy.
+ *
+ * Implement as a provider-independent module.
+ *
+ * Design
+ * ======
+ *
+ *
+ * For the most part, devices behind a PPB are used in the same way as devices
+ * directly connected to a host bus. Drivers are written using the guidelines
+ * set forth in the device drivers programming guide. The most notable
+ * exception is that some providers might not allow config space pio maps to
+ * devices residing on secondary busses because of shared address space when
+ * accessing these devices.
+ *
+ * Other restrictions might come into play if devices behind a PPB request
+ * resources or mappings which are not compatable with each other when you
+ * consider that all subordinate devices originate at a common host slot. An
+ * example might be interrupt routing using DEVICE_ADMIN statements.
+ *
+ * All subordinate bus numbers in the system come from a shared pool, at start
+ * at 16. Bus numbers < 16 are left to the providers. A future modification to
+ * this code might move bus number allocation to be a per-provider function.
+ *
+ * While this code should be provider-independent, no attempt was made to
+ * retrofit this to O2. The O2 already had PPB support, and it did not seem
+ * worth the risk to break customer code that might relay on how O2 works.
+ *
+ * No attempt was made to restrict the configuration for the well-known
+ * bridge/xbridge issue of RRB thrashing when there are multiple PCI masters
+ * doing reads from a single bridge. The reasoning is that there is no easy way
+ * to tell if downstream PCI masters intend to do host DMA or not. It is
+ * perfectly ok to allow multiple masters doing device-to-device traffic.
+ *
+ * Provider implementations must make the following accomodations for this
+ * driver to work correctly:
+ *
+ * When accessing config space (pciio_config_get()/pciio_config_set())
+ * the provider should examine the pciio_info_t of the passed vhdl
+ * to determine if TYPE1 addressing should be used. This can be checked
+ * by pciio_info_type1_get() returning non-zero. This means that
+ * the bus/slot/function to be used are encoded in the address
+ * to be read/written, and the macros PCI_TYPE1_BUS,
+ * PCI_TYPE1_SLOT, and PCI_TYPE1_FUNC should be used to extract
+ * the correct values.
+ *
+ * In addition, if the provider stores non-zero bus numbers for the host
+ * PCI bus in a device's pciio_info_t->c_bus (as bridge/xbridge do), the
+ * provider code must determine if the register to be read resides on the
+ * host bus (actually PCI bus 0), or a subordinate bus (PCI bus != 0).
+ * pcibr accomplishes this by checking the pciio_info c_vertex against
+ * c_hostvertex. If they are the same, the device is on the host bus, and
+ * this is PCI bus 0. If not, the device is on a subordinate bus, and the
+ * bus number can be taken from c_bus.
+ *
+ * Providers must decide if it is appropriate for pio maps to be
+ * constructed for config space of devices on subordinate busses. For
+ * bridge/xbridge, this should not be allowed because all devices on
+ * subordinate busses share the same address space (the bus/slot to use is
+ * programmed in a bridge/xbridge register).
+ *
+ */

It doesn't appear that this code ever made it into the Linux kernel tree.
That FTP site has many other patches--not sure how interesting they are from an Irix POV.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I'll just reply to the thread title and say: no. I can't get it working. I booted Gentoo's netinstall image on my Octane, partitioned disk, did a regular install (pretty used to Gentoo installs by now), built kernel, and installed bootloader. I just can't get the bootloader working though--it says booting system, but nothing happens. It is the same result whether I'm trying to netboot my kernel, boot from volume header, or from an ext2 partition. I even tried two kernel versions: the current stable mips, 2.6.22 I think, and the current ~mips 2.6.24.
It is really weird, because the netboot image works so well. I've even accidentally booted into my installation using the netboot kernel, and it works well.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I can't speak to the Indigo2, but my Octane MXE runs 1680x1050 great. It does take a lot of vfc tweaking though, and an understanding of what the values are doing.

_________________
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
TriOx has used the 205BW on an Octane at 1680x1050. You could ask him for the vfs file, then compile it yourself.

Also, schleusel has posted a 1680x1050 .vfs for the 205BW here

My vfs for the Dell 2005FPW is here .

glxinfo:
Code:
display: :0.0
server glx vendor string: SGI
server glx version string: 1.3 Irix 6.5
server glx extensions (GLX_):
EXT_import_context, EXT_visual_info, EXT_visual_rating,
SGI_make_current_read, SGI_swap_control, SGI_video_sync, SGIX_fbconfig,
SGIX_pbuffer, SGIX_swap_group.
client glx version 1.3
client glx extensions (GLX_):
EXT_import_context, EXT_visual_info, EXT_visual_rating,
SGI_make_current_read, SGI_swap_control, SGI_video_sync, SGIX_fbconfig,
SGIX_pbuffer, SGIX_swap_group.
OpenGL vendor string: SGI
OpenGL renderer string: IMPACT/2/2/4
OpenGL version string: 1.1 Irix 6.5
OpenGL extensions (GL_):
EXT_abgr, EXT_blend_color, EXT_blend_logic_op, EXT_blend_minmax,
EXT_blend_subtract, EXT_convolution, EXT_copy_texture, EXT_histogram,
EXT_packed_pixels, EXT_polygon_offset, EXT_subtexture, EXT_texture,
EXT_texture3D, EXT_texture_object, EXT_vertex_array, SGI_color_matrix,
SGI_color_table, SGI_texture_color_table, SGIS_texture_filter4,
SGIS_detail_texture, SGIS_texture_border_clamp, SGIS_texture_select,
SGIS_texture_lod, SGIX_list_priority, SGIX_pixel_texture,
SGIX_texture_multi_buffer.
glu version: 1.3 Irix 6.5
glu extensions (GLU_):
EXT_abgr, EXT_nurbs_tessellator, EXT_object_space_tess, EXT_packed_pixels,
EXT_texture, SGI_filter4_parameters.

visual  x  bf lv rg d st  r  g  b a  ax dp st accum buffs  ms
id dep cl sp sz l  ci b ro sz sz sz sz bf th cl  r  g  b  a ns b
-----------------------------------------------------------------
0x20  8 pc  .  8  . c  .  .  .  .  .  .  . 24  8  .  .  .  .  . .
0x21  8 pc  .  8  . c  .  .  .  .  .  .  .  .  .  .  .  .  .  . .
0x23  8 pc  y  8  1 c  .  .  .  .  .  .  .  .  .  .  .  .  .  . .
0x24  8 pc  .  8  1 c  .  .  .  .  .  .  .  .  .  .  .  .  .  . .
0x25 12 pc  . 12  . b  .  . 12  .  .  .  . 24  8  .  .  .  .  . .
0x26 12 pc  . 12  . b  .  . 12  .  .  .  .  .  .  .  .  .  .  . .
0x27 12 pc  . 12  . b  y  . 12  .  .  .  . 24  8  .  .  .  .  . .
0x28 12 pc  . 12  . b  y  . 12  .  .  .  .  .  .  .  .  .  .  . .
0x29 12 pc  . 12  . c  y  y  .  .  .  .  . 24  8  .  .  .  .  . .
0x2a 12 pc  . 12  . c  y  y  .  .  .  .  .  .  .  .  .  .  .  . .
0x2b 12 tc  . 16  . r  y  .  4  4  4  4  . 24  8 16 16 16 16  . .
0x2c 12 tc  . 16  . r  y  .  4  4  4  4  .  .  . 16 16 16 16  . .
0x2d 12 tc  . 16  . r  y  y  4  4  4  4  . 24  8 16 16 16 16  . .
0x2e 12 tc  . 16  . r  y  y  4  4  4  4  .  .  . 16 16 16 16  . .
0x2f 15 tc  . 16  . r  y  .  5  5  5  1  . 24  8 16 16 16 16  . .
0x30 15 tc  . 16  . r  y  .  5  5  5  1  .  .  . 16 16 16 16  . .
0x31 15 tc  . 16  . r  y  y  5  5  5  1  . 24  8 16 16 16 16  . .
0x32 15 tc  . 16  . r  y  y  5  5  5  1  .  .  . 16 16 16 16  . .
0x33 24 tc  . 32  . r  y  .  8  8  8  8  . 24  8 16 16 16 16  . .
0x34 24 tc  . 32  . r  y  .  8  8  8  8  .  .  . 16 16 16 16  . .
0x35 24 tc  . 32  . r  .  .  8  8  8  8  . 24  8 16 16 16 16  . .
0x36 24 tc  . 32  . r  .  .  8  8  8  8  .  .  . 16 16 16 16  . .
0x37 24 tc  . 36  . r  y  . 12 12 12  .  . 24  8 16 16 16 16  . .
0x38 24 tc  . 36  . r  y  . 12 12 12  .  .  .  . 16 16 16 16  . .
0x39 24 tc  . 36  . r  .  . 12 12 12  .  . 24  8 16 16 16 16  . .
0x3a 24 tc  . 36  . r  .  . 12 12 12  .  .  .  . 16 16 16 16  . .
-----------------------------------------------------------------
visual  x  bf lv rg d st  r  g  b a  ax dp st accum buffs  ms
id dep cl sp sz l  ci b ro sz sz sz sz bf th cl  r  g  b  a ns b
-----------------------------------------------------------------

_________________
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Any resolution above 1920x1200 requires dual-link DVI. The linked list of supported resolutions doesn't list anything above 1920x1200, so I don't think the V12 has dual-link DVI.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
kramlq wrote: For SunOS/Solaris, there were some versions of SimICS that could emulate a SPARCstation. It might be only for SPARC hosts though.


Simics is now a commercial product, and supports a whole raft of targets. SPARC is probably the best represented, with emulated SunFire 3800-6800 (US3/4) with multiple processors, and also the Blade 1500. I also seem to remember an emulated target for the T1/Niagra, but don't see the docs around now. Also supported is an EV5 AlphaPC, ARM5, Itanium, various PPC flavors, MIPS Malta, and x86. Although the x86 will run Windows, and the Suns will run Solaris, the other targets only support Linux, and are mostly useful for embedded development. There are some cool features that I haven't seen in any other simulators--in particular, a simulated Voodoo3 that even does accelerated 3D (using OpenGL on the host machine). However, it is meant to be cycle-accurate, so speed is not a priority.
Anyway, it costs mucho $$, but licenses are free for students . I have a license, but haven't played with Simics as much as I would like.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I can't speak to any problems you might have with a CRT, but LCDs can be very particular about the timing parameters on their VGA input. When I was making a vfc for my 20" Dell, my first try had some weird banding problems where IIRC every third row was sort of interpolated from the neighboring rows. It took some trial-and-error tweaking on the vfc timing parameters before I got it fixed.

The root of the problem is that IRIX uses its own hard-coded timing parameters for each resolution, instead of reading the monitor's EDID and sending out what the monitor likes to receive (which is what other OSes do). It probably doesn't have anything to do with the physical connection (sync pins, etc.). To fix the problem, you probably need to find out the monitor's timing parameters from the EDID, and make a vfc with them. Reading the EDID isn't real easy, but can be done from Windows or Linux. Making a vfc is similarly not easy.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Wow, I'd like to see some code that makes use of this (and then smack the person who wrote it).

And to answer the question, MIPSpro doesn't support much beyond what the language standards specify. Even gray areas aren't likely to be supported. For example, a problem I've run into: MIPSpro doesn't support variadic macros in C++, though they are included in ANSI C90 and MIPSpro supports them there.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Too bad we didn't know about this earlier, there's more than a few of us in SoCal who probably could have (or maybe still can?) figure something out.

There's a lot of good stuff in here. The PDF lists 7 x "SGI ATLIS 350", 6 x "SGI ORIGIN 350", a Tezro (spelled correctly!) and "SGI OMEDIA PRO", and some unspecified "SILICON GRAPHICS CPU'S" and a SILICON GRAPHICS SERVER. The non-SGI stuff looks nice too, lots of Herman Miller chairs, recent Macs, and all kinds of nice displays.

If you could change the post title to indicate that its tomorrow and in LA, maybe we could find some other interested folks.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Is Private Browsing turned on? In older versions of Safari IIRC, Private Browsing wouldn't store any cookies, so anything that relied solely on cookies didn't work.

_________________
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
japes wrote: I installed 10.6 on my old mini (1.66 Core Duo) and MacPro. They both seem fine, except, the Mini studders while playing video in the hulu Player. This is big deal for us since the Mini is connected to our TV and without cable, we use hulu to watch a couple television programs. So far we have been able to watch video from the network websites (cbs.com, fox.com). Certainly a US problem with those sites, but could be indicative of performance or video issues that could affect others. I don't have the hulu player on my MacPro.


For your Hulu problem, have you tried the latest Flash 10.1 beta? It seems to have lower CPU requirements.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
A keyboard with windows keys should work fine, I've used one with my octane before. Do you also have a PS/2 mouse plugged in, and are they in the right ports?
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I know there isn't much love for Flash, but they will also be dropping G3 support after 10.1:
Quote:
Note: The Adobe Flash Player 10.1 release, expected in the first half of 2010, will be the last version to support Macintosh PowerPC-based G3 computers. Adobe will be discontinuing support of PowerPC-based G3 computers and will no longer provide security updates after the Flash Player 10.1 release. This unavailability is due to performance enhancements that cannot be supported on the older PowerPC architecture.

FYI, the last G3 (iBook) was discontinued in October 2003.

_________________
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
zmttoxics wrote:
I get the impression they are trying to build an empire out of cow shit - and fast.


The market loves it, for reasons I can't figure out (but am getting a nice profit from)

Image

_________________
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Just in case anyone didn't see this on the sun-rescue list today:
there's a whole bunch of brand-new in-box 2-way IntelliStation 285s on eBay UK right now for GBP 150!

Amazing price, I wish I could get one in the US for that much
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
NCommander wrote: Another headache is that the garbage collector wants access to a threads stack and stacksize. On most platforms, this is handled by a non-POSIX pthread extension that can grab a running threads attributes, and report the base/stacksize. I couldn't find an equivelent function on IRIX that worked*, so I modified NSPR to include such information in the PRThread structure, and then added a function that I could pull it on the fly; my implementation is not 100% correct as it doesn't account properly for the NSPR thread wrapper function and stack size its using, but its "good enough" for the time being; fixing it is pretty trivial, I just haven't done it yet.

*- IRIX's getcontext() suggests it works in threads, but only returned the stack of the base thread as far as I could tell. The same function is used on AIX in jsnativestack.cpp; I suspect it is broken on that platform as well


If you're still looking for a way to get the stack size of the current thread, I've made a new thread with some code: Get current thread stack base

Also, you should take a look at the TenFourFox project if you haven't heard of it before. He's going to great lengths to keep the PowerPC JIT (which I think is based on the older JIT/JS architecture?) working with the latest Firefox for PPC Macs.
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I'll take one too! My MXE could use a buddy :D

_________________
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I wonder how much faster it would run if compiled with MIPSpro :P
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Can I also request that mdl reverse-engineers the IRIX binary and turns it into a live wallpaper for my desired platform? :P
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
Great read, thanks for posting it!

I'd love to know what goals Apple had in mind when developing/supporting MkLinux. A server OS more stable/compatible than classic Mac OS/Copland? Or just another random thing to spend money on without a clearly defined purpose?
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL:
I remember playing some of these demos on an Onyx1, I believe an RE2. This company did work with Paradigm so it may have been an internal demo CD, I remember it was burned and had a buttonfly interface allowing you to play from the CD or install.
It had Certain Impact, Egghead Shred, the Apex F14 sim (where you take off from NAS North Island in San Diego), and I think there was another sim that put you on a ship in San Francisco.

Does this ring a bell for anyone else?
:Octane: R12K/300x2, MXE
:1600SW: :ChallengeL: