prtconv -V || banner #running OBP version sunsolve.sun.com: search for "$MODEL flash prom update" for patch ID for prom ($MODEL is "uname -i"), then search for the latest patch version of the patch ID. stop/halt L1-a Stop-a stop-a - abort post stop-d - forces diag pwr on stop-f - force i/o to ttya, only stop/a works from local keyboard stop-n - reset nvram ok> go #return to OS ok> sync #cause a savecore/dump to be performed #if you can't boot from a cdrom - device error ok> limit-ecache-size ok> install-console ok> eject-floppy ok> probe-all ok> probe-scsi ok> probe-scsi-all ok> probe-fcal-all ok> probe-pci /pci@xxxxxs /pci@xxxx ok> probe-pci-slot /pci@xxxxx ok> printenv pcia-probe-list ok> printenv pcib-probe-list ok> pcia-probe-list ok> pcib-probe-list ok> pci0-probe-list ok> test ok> test-all ok> test /memory # set what "selftest-#megs" is set to ok> show-post-results ok> show-attr ok> show-devs ok> show-disks ok> show-errors ok> show-heir ok> show-net ok> show-pci-devs ok> show-pci-devs-all ok> show-pci-config ok> show-pci-configs /pci@xxxx ok> show-pci-configs-all ok> show-ports ok> show-sbus ok> show-tapes ok> nvalias ok> devalias ok> reset ok> reset-all ok> sifting PATTERN ok> banner ok> words ok> .asr #configs ok> .version #OBP ok> .speed #speeds of buses ok> .traps ok> .nvram #current flags for open boot ok> .boot-id #current boot device id ok> .toplogy #current FC topology ok> .idprom ok> .enet-addr ok> .reboot-cmd = boot disk /flash-update-250-latest ok> .post-status = 18437736870358094097 ok> .post-address = 18446744073441848840 ok> .post-flag = 0 ok> .rsc-status = 0 ok> .obp-flags = 0 ok> .obp-state = 6 ok> .obp-status = 0 ok> boot [device] [filename] [-s] ok> help ok> ls ok> cd [sbus] ok> devalias ok> printenv ok> setenv ok> set-default VALUE ok> set-defaults #all to factorey default ok> obdiag ok> => obdiag obtest : test, test-all, except, help, what, setenv, printenv, exit works on: Ultra 5,10,30,60,80,E250,E450 ok> watch-clock ok> watch-net ok> watch-net-all ok> nvedit ok> nvstore check to make sure use-nvramrc? is true ok> dev device-path ok> cd / OR cd /device-path ok> .properites|.attributes ok> cd /associations/slotxx ok> .properites # gives slot/devicename associations ok> sho-devs ok> cd /io-unit@f,e200000/sbi@0,0/QLGC,isp@1,10000 ok> .attributes ok> dev /sbus@1f,0/QLGC,isp@1,10000 ok> .properites change IDPROM ok> 8 0 20 7e 50 46 7e5046 mkpl (^D ^R) ok> banner 8:0:20:7e:50:46 80735046 ok> printenv | setenv auto-boot? boot-command boot-device boot-file diag-device diag-file diag-switch? sbus-probe-list ok> printenv mfg-options = server ok> printenv #power-cycles = 13 ok> printenv system-board-serial# = 5014681044490 ok> printenv system-board-date = 37718d0c ok> printenv security-#badlogins = 0 watchdog: ok> .registers ok> .locals ok> .window ok> .fregisters ok> .pstate ok> .ver ok> .ccr ok> .trap-registers ok> .xir-state-all ok> ctrace ok> wd-dump boot -a #ask/prompt boot -s #singleuser boot -rs #reconfigure/singleuser boot -v #verbose boot boot cdrom -s /platform/platform-name/kernel/unix boot kernel/unix #32 bit kernel boot kernel/sparcv9/unix #64 bit kernel boot [cdrom,disk] boot -r #reconfigure kernel: uses /etc/system # or on a running system, if you forgot to boot -r # then 'touch /reconfigure', then reboot. # or ---- # /etc/init.d/cacheos # calls drvconfig and devlinks # _INIT_RECONFIG=set /etc/init.d/drvconfig # _INIT_RECONFIG=set /etc/init.d/devlinks # devlinks does: cd /; tapes; disks; ports; audlinks # use devfsadm instead of drvconfig in 2.7 and > # devfsadm does: drvconfig, disks, tapes, ... # devfsadm -vCr .; devfsadm -r . -p path_to_inst # or # devfsadm -Cr .; devfsadm -r . -p path_to_inst # /sys is gone since kernel is now dynamic /kernel and /usr/kernel replace /sys (affected by moddir in /etc/system file) /kernel/drv - essential drivers /usr/kernel/drv - other drivers ls -lasR /devices/* | more #to list all possible devices on sys < Solaris 2 cd /usr/kvm/sys/scsi/targets chmod +w st_conf.c add lines cd /sys/`arch -k`/conf config GENERIC cd ../GENERIC make cp /vmunix /vmunix.old cp vmunix / rm /etc/path_to_inst; then -> boot -rap # recreate path_to_inst drvconfig -p #make new /etc/path_to_inst drvconfig -p filename #make new path_to_inst in file devlinks #makedev std devices booting ufsbootblk on disk /ufsboot /kernel/unix /kernel/drv init ufsboot (same as boot) inetboot (ether boot) hsfsboot (cdrom boot) [u]mountall [-l] -l #if yes in /etc/vfstab -r remote -F nfs config is replaced by: modunload, modload, add_drv, remdrv modinfo lists currently loaded mods /usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk \ /dev/rdsk/c1t0d0s0