Newsgroups: de.alt.folklore.computer In SS1, SS1+ und ELC sollen die _immer_ funktionieren. Ich halte auch gern noch vor dem Versenden den Oszillator an, damit die Batterie hÄlt. Na ja, wenigstens habe ich ein wenig Forth bei diesen Experimenten gelernt: ok 2000000 obio 0 map-page ok 800 7f8 do i . i c? . cr loop ok === source: http://www.netsys.com/cgi-bin/display_article.cgi?927 banner Displays the power on banner. The banner includes information such as CPU speed, Openboot firmware revision, system memory, ethernet address and the hostid. Example: ok banner SPARCengine(tm)Ultra(tm) AXi (UltraSPARC-IIi 300MHz), No Keyboard OpenBoot 3.10.7 SME, 1024 MB memory installed, Serial #10658677. Ethernet address 8:0:20:a2:a3:75, Host ID: 80a2a375. ok devalias alias path Defines a new device alias, where alias is the new alias name and path is the physical path of the device. If devalias is used without arguments, it displays all system device aliases (will run up to 120 MHz). Example: ok devalias cpu /SUNW,UltraSPARC-IIi@0,0 pcib /pci@1f,0/pci@1,1 pcia /pci@1f,0/pci@1 ebus /pci@1f,0/pci@1,1/ebus@1 systemprom /pci@1f,0/pci@1,1/ebus@1/flashprom@10,0 i2c /pci@1f,0/pci@1,1/ebus@1/SUNW,rasctrl net /pci@1f,0/pci@1,1/network@1,1 floppy /pci@1f,0/pci@1,1/ebus@1/fdthree diskx6 /pci@1f,0/pci@1/scsi@1,1/disk@6,0 diskx5 /pci@1f,0/pci@1/scsi@1,1/disk@5,0 diskx4 /pci@1f,0/pci@1/scsi@1,1/disk@4,0 diskx3 /pci@1f,0/pci@1/scsi@1,1/disk@3,0 diskx2 /pci@1f,0/pci@1/scsi@1,1/disk@2,0 diskx1 /pci@1f,0/pci@1/scsi@1,1/disk@1,0 diskx0 /pci@1f,0/pci@1/scsi@1,1/disk@0,0 scsix /pci@1f,0/pci@1/scsi@1,1 disk /pci@1f,0/pci@1/scsi@1/disk@0,0 cdrom /pci@1f,0/pci@1/scsi@1/disk@6,0:f tape /pci@1f,0/pci@1/scsi@1/tape@4,0 tape1 /pci@1f,0/pci@1/scsi@1/tape@5,0 tape0 /pci@1f,0/pci@1/scsi@1/tape@4,0 disk6 /pci@1f,0/pci@1/scsi@1/disk@6,0 disk5 /pci@1f,0/pci@1/scsi@1/disk@5,0 disk4 /pci@1f,0/pci@1/scsi@1/disk@4,0 disk3 /pci@1f,0/pci@1/scsi@1/disk@3,0 disk2 /pci@1f,0/pci@1/scsi@1/disk@2,0 disk1 /pci@1f,0/pci@1/scsi@1/disk@1,0 disk0 /pci@1f,0/pci@1/scsi@1/disk@0,0 scsi /pci@1f,0/pci@1/scsi@1 ttyb /pci@1f,0/pci@1,1/ebus@1/se:b ttya /pci@1f,0/pci@1,1/ebus@1/se:a keyboard! /pci@1f,0/pci@1,1/ebus@1/su_pnp@14,3803f8:forcemode keyboard /pci@1f,0/pci@1,1/ebus@1/su_pnp@14,3803f8 mouse /pci@1f,0/pci@1,1/ebus@1/su_pnp@14,3602f8 ok .enet-addr Displays the ethernet address. (yes, enet-addr) Example: ok .enet-addr 8:0:20:a2:a3:75 ok led-off/led-on Turns the system led off or on. Example: ok led-on ok led-off ok nvalias name path Creates a new alias for a device, where name is the name of the alias and path is the physical path of the device. Note - Run the reset-all or the nvstore command to save the new alias in non-volatile memory (NVRAM). Example: ok nvalias foo /pci@1f,0/pci@1/scsi@1,1/disk@3,0 ok nvunaliasname path Deletes a user-created alias (see nvalias), where name is the name of the alias and path is the physical path of the device. Note - Run the reset-all or nvstore command to save changes in NVRAM. ok nvunalias foo ok nvstore Copies the contents of the temporary buffer to NVRAM and discards the contents of the temporary buffer. ok nvstore ok power-off Powers the system off. ok power-off (powered down) printenv Displays all parameters, settings, and values. ok printenv Variable Name Value Default Value tpe-link-test? true true scsi-initiator-id 7 7 keyboard-click? false false keymap ttyb-rts-dtr-off false false ttyb-ignore-cd true true ttya-rts-dtr-off false false ttya-ignore-cd true true ttyb-mode 9600,8,n,1,- 9600,8,n,1,- ttya-mode 9600,8,n,1,- 9600,8,n,1,- pcia-probe-list 1,2,3,4 1,2,3,4 pcib-probe-list 1,2,3,4 1,2,3,4 mfg-mode off off diag-level max max #power-cycles 44 system-board-serial# system-board-date 36d53a60 last-poweroff-cause 0 0 env-monitor disabled* disabled* fcode-debug? false false output-device screen screen input-device keyboard keyboard load-base 16384 16384 boot-command boot boot auto-boot? true true watchdog-reboot? true false diag-file diag-device net net boot-file boot-device disk3:a disk net disk net local-mac-address? false false ansi-terminal? true true screen-#columns 80 80 screen-#rows 34 34 silent-mode? false false use-nvramrc? true false nvramrc security-mode none security-password security-#badlogins 0 oem-logo oem-logo? false false oem-banner oem-banner? false false hardware-revision last-hardware-update diag-switch? false false ok probe-ide Identifies attached IDE devices(cdrom,hard disks) probe-fcal-all Identifies Fiber Channel Arbitrated Loop (FCAL) devices on a system. {0} ok probe-fcal-all /sbus@b,0/SUNW,socal@0,0/sf@1,0 {0} ok probe-sbus Identifies devices attached to all SBUS slots. Note - This command works only on systems with SBUS slots. We tried this on an Ultra 2 with Openboot Firmware 3.7 and it didn't do anything, despite having 4 sbus cards installed. probe-scsi Identifies devices attached to the onboard SCSI bus. On some versions of the openboot firmware, you can use "-f" as the first argument to issue a reset and then execute the command. Note - This command works only on systems with SCSI devices. i.e. ok probe-scsi Resetting ... screen not found. Can't open input device. Keyboard not present. Using ttya for input and output. SPARCengine(tm)Ultra(tm) AXi (UltraSPARC-IIi 300MHz), No Keyboard OpenBoot 3.10.7 SME, 1024 MB memory installed, Serial #10658677. Ethernet address 8:0:20:a2:a3:75, Host ID: 80a2a375. Executing last command: probe-scsi Primary UltraSCSI bus: Target 3 Unit 0 Disk SEAGATE ST318203LW 0001 Target 6 Unit 0 Removable Read Only device TOSHIBA CD-ROM XM-6401TA1009 probe-scsi-all Identifies devices attached to all SCSI busses (if any scsi controllers are installed) {0} ok probe-scsi-all /sbus@b,0/SUNW,fas@3,8800000 Target a Unit 0 Disk IBM DDYST1835SUN18G S94N00401J9969 (C) Copyright IBM Corp. 1999. All rights reserved. Target b Unit 0 Disk IBM DDYST1835SUN18G S94N00401J5296 (C) Copyright IBM Corp. 1999. All rights reserved. /sbus@3,0/QLGC,isp@0,10000 Target 0 Unit 2 Disk Unit 3 Disk Unit 4 Disk Unit 5 Disk {0} ok set-default parameter Resets the value of parameter to the default setting. ok set-default tpe-link-test? ok set-defaults Resets the value of all parameters to the default settings. Note - You can also press the Stop and N keys simultaneously during system power-up to reset the values to their defaults. ok set-defaults Setting NVRAM parameters to default values. ok setenv parameter value Sets parameter to specified value. Note - Run the reset-all command to save changes in NVRAM. ok setenv boot-device disk3:a disk net boot-device = disk3:a disk net ok show-devs Displays all the devices recognized by the system. ok show-devs /SUNW,UltraSPARC-IIi@0,0 /pci@1f,0 /virtual-memory /memory@0,0 /aliases /options /openprom /chosen /packages /pci@1f,0/pci@1 /pci@1f,0/pci@1,1 /pci@1f,0/pci@1/scsi@1,1 /pci@1f,0/pci@1/scsi@1 /pci@1f,0/pci@1/scsi@1,1/tape /pci@1f,0/pci@1/scsi@1,1/disk /pci@1f,0/pci@1/scsi@1/tape /pci@1f,0/pci@1/scsi@1/disk /pci@1f,0/pci@1,1/network@1,1 /pci@1f,0/pci@1,1/ebus@1 /pci@1f,0/pci@1,1/ebus@1/beeper@14,722000 /pci@1f,0/pci@1,1/ebus@1/flashprom@10,0 /pci@1f,0/pci@1,1/ebus@1/eeprom@14,0 /pci@1f,0/pci@1,1/ebus@1/fdthree@14,3203f0 /pci@1f,0/pci@1,1/ebus@1/ecpp@14,340278 /pci@1f,0/pci@1,1/ebus@1/su_pnp@14,3602f8 /pci@1f,0/pci@1,1/ebus@1/su_pnp@14,3803f8 /pci@1f,0/pci@1,1/ebus@1/se@14,400000 /pci@1f,0/pci@1,1/ebus@1/SUNW,pll@14,504000 /pci@1f,0/pci@1,1/ebus@1/power@14,724000 /pci@1f,0/pci@1,1/ebus@1/auxio@14,726000 /openprom/client-services /packages/sun-keyboard /packages/SUNW,builtin-drivers /packages/cdfs /packages/ufs-file-system /packages/disk-label /packages/obp-tftp /packages/deblocker /packages/terminal-emulator ok show-disks Displays the physical device path for disk controllers. ok show-disks a) /pci@1f,0/pci@1/scsi@1,1/disk b) /pci@1f,0/pci@1/scsi@1/disk c) /pci@1f,0/pci@1,1/ebus@1/fdthree@14,3203f0 q) NO SELECTION Enter Selection, q to quit: q ok show-displays Displays the physical device path for frame buffers. If none installed, displays nothing. Otherwise ok show-displays ok show-nets Displays the physical device path for network interfaces. ok show-nets a) /pci@1f,0/pci@1,1/network@1,1 q) NO SELECTION Enter Selection, q to quit: q ok show-post-results If run immediately after Power On Self Test (POST) is completed, this command displays the findings of POST in a readable format. ok show-post-results Power On Selftest not run on last reset ok show-sbus Displays devices attached to all SBUS slots. Similar to probe-sbus. show-tapes Displays the physical device path for tape controllers. ok show-tapes a) /pci@1f,0/pci@1/scsi@1,1/tape b) /pci@1f,0/pci@1/scsi@1/tape q) NO SELECTION Enter Selection, q to quit: q ok sifting string Searches for OBP commands or methods that contain string. i.e. ok sifting power In vocabulary known-int-properties (f00686b0) power-consumption In vocabulary forth (f005d818) power-off (f0047be4) power-auxio-pa ok .speed Displays CPU and bus speeds. (yes, speed) Example: ok .speed CPU Speed : 300.00MHz UPA Speed : 100.00MHz Primary PCI : 66Mhz PCI Bus A : 33MHz PCI Bus B : 33MHz ok test device-specifier Executes the selftest method for device-specifier. For example, the test net command tests the network connection. test-all Tests all devices that have a built-in test method. .version Displays OBP and POST version information. (yes, version) watch-clock Tests system clock functionality. watch-net Monitors the network connection for the primary interface. watch-net-all Monitors all the network connections. words Displays all OBP commands and methods. Ultra (sun4u) Note: On these systems, set the auto-boot? variable to false, or the probe-scsi, probe-scsi-all, and probe-fcal-all commands will cause the system to hang. To set this variable, type setenv auto-boot? false at the ok prompt, then type reset-all (remember to change the value back to true when testing is completed, or the system won't automatically boot).