Re: intel_vs_better

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Sun, 20 Sep 1998 09:06:03 -0300


In message <199809200451.AAA04467@raptor.cqi.com>, RHS Linux User writes:
+-----
| The Sun response to Mudge's recent Phrack artictle about "Boy Howdy! Root the
| Sun Workstation you're sitting in front of!" showed up in yahoo for Openboot
| also. The interesting thing I vaguely recall from that article is that Sun's
| OpenBoot ( , which apparently came before Open Firmware) gives one the
| ability to write most of the kernel variables in a running ( or halted, I don
| 't
| recall) Solaris. Not quite dd if=file > /proc, but you could write
| the equivalent in Forth in minutes.
+--->8

Suspended, if you will. [STOP]-A suspends the currently running "program"
(i.e. Solaris) and gives you an OBP prompt, at which point you can display
and modify memory, etc., then "go" to resume execution. Think of it as a
kernel debugger.

| Am I in the ballpark? Would such a thing HAVE to be in ROM?
+--->8

It doesn't have to be --- one could in theory bootstrap an Open Firmware
BIOS-replacement on a PC and then load an OS written to that spec. But it's
far more useful (and safer: you can't overwrite it by accident) when OF is
in ROM.

The biggest problem with the above "theory" is that the BIOS all too often
glosses over the bugs in the hardware.

| Are the ISA dodads in the following snip whole drivers?
+--->8

No, they are APIs. The driver itself is going to be specific to the actual
hardware; the point of OF is that at the OF level you don't need to know the
guts of the hardware, just that it supports the API for some device.

| I think one thing I don't get is, is there a Forth IN an O.F. compliant kerne
| l?
+--->8

No, you call out to the OF in the BIOS (which, unlike PC BIOSes, is designed
to be reentrant). OF is in essence a "BIOS" service (but without the
CP/M-oid restrictions PC BIOSes have).

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/