roop | 19 Mar 2013 11:11

IP32 debugging kernel intr handler (crime/mace)

Hi,

I'm digging into 47640 on sgimips (SGI O2 IP32) on netbsd-current
(6.99.17).

http://gnats.NetBSD.org/cgi-bin/query-pr-single.pl?number=47640

Background
-----------------
I'm basically starting out on kernel tinkering.

As explained in the gnats this SGI IP32 will hard lock at random point.
Otherwise it operates very nice and quickly. That was 6.0.1, same deal
on current. 
Also 47639, a random keyboard flash co-incides with a interrupt, may be
related.

What I want to do, but don't know if i can:
- get a debugger triggered at the right point, which means finding the
  right spot
- adding more debug around some other bits of kernel code, but not so to
  saturate the console
- breaking the kernel (linux magic sysreq style) and just getting it to
  dump it's stack at a keypress

The hunch was a glitch in the interrupt handling, so I've added
aprint_debug() liberally throughout dev/crime.c and mace/mace.c, as seen
in
https://gist.github.com/rooprob/5191131

(Continue reading)

roop | 5 Mar 2013 12:17

sgi O2 VICE and Nintendo64


I had a memory burp: O2 VICE and Nintendo64 ; someone asking about N64 kernel; 
Brain righted itself n64 (32/64bit ABI) not N64 (Nintendo), or n32 or o32 subset.

Anyway, I randomly googled, refreshing my world view that the O2 is scattered
amongst the different projects;
- The hardware acceleration in VICE (derivative found in Nintendo64) was in
  Linux 2.5.x (http://www.linux-mips.org/~glaurung/), 
- Macallans excellent O2 2D acceleration work (didn't use VICE IIRC) X11 work
  in NetBSD (http://my.opera.com/Macallan/blog/2009/04/01/xorg-on-o2) 
  (Was this only XFree, or was carried over to Xorg?)
- OpenBSD's support for the O2 system generally seems more featureful and
  stable.
- Finally, back to IRIX, the guys at Nekochan have updated Firefox to 3
  (http://forums.nekochan.net/viewtopic.php?f=15&t=16727403) for IRIX and report
  faster, more stable behaviour than ff2.x (haven't tried it). 

But what's happening over in Nintendo world, and we find some nice research
into RSP from 2012/2013,

http://forum.pj64-emu.com/showthread.php?t=3398
https://github.com/cxd4/rcp/tree/master/rsp

Is O2 VICE and the Nintendo64 near enough this research useful?

Just posting if this is interesting.

rob

(Continue reading)

Kevin Day | 3 Mar 2013 00:47

PR 36158 (>256MB in O2)

Is anyone working on PR #36158 (NetBSD/sgimips does not properly detect the total amount of physical
memory in an IP32 (O2) machine)?

I'm working with a library who wants to reuse a bunch of O2 machines as locked down kiosk web browsing
systems, but I wasn't aware of this limitation until we got reasonably down this path. Looking at the diff
for OpenBSD to add support it doesn't seem trivial, but I'm not sure if all of that is needed here. Any
progress on this since the last PR update?

-- Kevin

folkert | 13 Feb 2013 10:48
Gravatar

Re: documentation

> > I'm looking for any documentation on SGI hardware. E.g. Indy, Indigo,
> > etc.
> 
> The only official hardware docs I know of were for the Indy (Indigo2 is largely identical). The Linux-Mips
guys have them on their wiki:
> http://www.linux-mips.org/wiki/IP22

This is great! I did not expect so much documentation to be available!

> Brent Casavan at SGI was able to release portions of docs for the HPC1.5 (attached). As far as I know, that's
the extent of docs for IP22 and older. I've never looked at the newer machines, but others (especially the
OpenBSD guys) probably know more.
> The Indigo hardware is very similar to the Indy/Indigo2. The graphics and audio aside, the biggest
difference is that it uses the HPC1.5 DMA engine for ethernet/scsi/etc, which has slightly different
registers from the HPC3. The R3000-based Indigo (IP12) has a few other slight differences, but is mostly
the same as IP12 save for the processor and different PROM.

Yeah I decided this morning to go for an Indy emulation as there's more
documentation available for it.

Thanks!

Regards,

Folkert.

folkert | 12 Feb 2013 21:37
Gravatar

SGI IP20 & 0xffffffffbfa00030

Hi,

What on earth is located at address 0xffffffffbfa00030 on IP20 systems?
While tracing through the prom of such a system, I found it starts to
poke at that memory location. Can't find any docs on it.

regards

Folkert van Heusden

--

-- 
MultiTail ist eine flexible Applikation um Logfiles und Kommando
Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen,
Ansichten etc. http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

folkert | 12 Feb 2013 21:28
Gravatar

documentation

Hi,

I'm looking for any documentation on SGI hardware. E.g. Indy, Indigo,
etc.
This for an emulator I'm writing.

regards,

Folkert van Heusden

--

-- 
Curious about the inner workings of your car? Then check O2OO: it'll
tell you all that there is to know about your car's engine!
http://www.vanheusden.com/O2OO/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

Freddy Newman | 24 Jan 2013 19:13
Picon
Favicon

watches and high spirits you.

j t ckj pt hm
jfqkHI,
liwetealoffernqqyouulocotwonderfuliojxjrwatcheszvfev-PORTALmrxfs u vwxiq mubkeuq ccwjcitx sxmvpq
uctetydw xbnol jvvvns vwxlqygr oivar
mshlpmv zhrpj phobylku j uvc
Jerome Ibanes | 8 Oct 2012 01:14
Picon

MIPS64 support?

It's my understanding that MIPS64 support was
added with the imminent release of NetBSD 6.0.

What are the implications of this for the sgimips
port? Would it ease the support for IP27, IP30
and IP35 machines?

Cheers,
J.

Pierre-Philipp Braun | 29 Jun 2012 14:07
Gravatar

bootp could not connect to server (no source for :.)

Hi,

I've got two questions about an O² I recovered.  First, I've got 
troubles using the serial console.  I can see the text but it doesn't 
respond to inputs.  I need to press '5' to access the command monitor 
and nothing happens.  Maybe that's related to my terminal though, I'll 
have to run another tests.

Also in graphics mode, with a ps/2 keyboard plugged in, when I try to 
bootp (there's a netbsd install server on the network, with dhcpd.conf: 
allow bootp; and filename "netbsd"; in it and tftp serving 
/tftpboot/netbsd which is unzipped 
NetBSD-5.0.2/sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz), I get this 
error,
	No server for :.
	[sgi troubleshooting messages...]
	[...] bootp [...] could not connect to server

Any help, feedback or experience on those two issues would be appreciated.

Many thanks,
Pierre-Philipp

Richard Yao | 22 Jun 2012 09:00
Favicon

IP25 Support Question

My department has a SGI Rackmount Power Onyx that was sold to us by SGI
as a Power Challenge. It has IP25 boards. Can it run NetBSD?

I am not subscribed to the list. Please CC me on replies.

George Harvey | 17 Mar 2012 00:51

6.0_BETA upgrade fails on Indy / Challenge S

Hi,

I've been attempting to give 6.0_BETA a try but without any success. I
have an external 4.3GB SCSI disk which currently boots 5.1 and which
I'm trying to upgrade to 6.0_BETA. I've tried three different
machines, all netbooting the install kernel, two failed extracting the
base set and the third got past base and failed extracting comp. The
machines are:

R4600/133 Indy with 96MB RAM, failed with malloc errors while
extracting base.tgz, I guess 96MB is no longer enough to run an
install.

R5000/180 Challenge S with 192MB RAM, failed extracting base.tgz with
strange errors like "Cannot rename ./usr/share/locale/uk_UA.KOI8-U/
to ./usr/share/locale /uk_UA.KOI8-U/LC_MESSAGES/SYS_LC_MESSAGES
(Not a directory)" and "Cannot set permissions on (null) (Bad address)".

R5000/150 Indy with 256MB RAM, succeeded in extracting base but failed
to extract comp.tgz with "Command ended on signal".

I might try an install next, instead of an upgrade, just to see if that
makes any difference.

George


Gmane