Autor Thema: Reset all on OBP Solaris 8  (Gelesen 6807 mal)

maddog

  • Gast
Reset all on OBP Solaris 8
« am: 23. August 2004, 15:06:18 »
Hallo,

was hat der Befehl "reset all" auf dem OK Prompt zu bedeuten?

sonnenblen.de - Das unabhängige Sun User Forum

Reset all on OBP Solaris 8
« am: 23. August 2004, 15:06:18 »

Offline Jonny

  • Global Moderator
  • Sobl Guru
  • *****
  • Beiträge: 1063
Re:  Reset all on OBP Solaris 8
« Antwort #1 am: 23. August 2004, 15:37:24 »
Hi,

das ist das selbe wie Strom aus und wieder an, halt nur HW schonender.
Auch Tastatur abziehen und wieder stecken hat den selben Effekt.
Drum ist es nützlich, dass auch viele Server einen Tastatur Anschluß haben.

Gruß
Hans-Peter
« Letzte Änderung: 23. August 2004, 15:37:57 von Jonny »
solaris is like a wigwam :
no windows, no gates and a apache inside !

mvsparky

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #2 am: 23. August 2004, 17:19:33 »
@jonny

bisdu dir bei der tastatur sicher? wenn ich die tastatur abziehe, lande ich auf dem ok-prompt. wenn ich sie wieder anstecke, passiert nix bis ich "go" eingebe.

gruß
yves

Offline Jonny

  • Global Moderator
  • Sobl Guru
  • *****
  • Beiträge: 1063
Re:  Reset all on OBP Solaris 8
« Antwort #3 am: 23. August 2004, 17:59:05 »
Jetzt wo du es sagst.....
Die Tastatur abziehen und neu stecken zieht die Kiste auf alle Fälle in den OK Prompt.
Sogar dann, wenn Stop-A an der Tastatur nicht wirkt.
Damit steht dann der Weg für einen Reset ohne Netzschalter offen.

Gruß
Hans-Peter
solaris is like a wigwam :
no windows, no gates and a apache inside !

maddog

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #4 am: 24. August 2004, 13:00:56 »
Thx, der Nebeneffekt ist aber das die Kiste nicht mehr bootet  :(

Bei einem probe-scsi-all zeigt er mir disk und cd-rom an aber erversucht immer wieder vom netz zu botten, obwohl boot-device disk ist.

Außerdem sag er mir can´t open disk, can´t open boot device, nicht mal von cd-rom kann ich booten.

Offline Sparky

  • Sobl Guru
  • *****
  • Beiträge: 3260
  • HyperSPARC ! Das fetzt......
    • HyperSTATION
Re:  Reset all on OBP Solaris 8
« Antwort #5 am: 24. August 2004, 13:10:43 »
...dann stimmt da was nicht !
Was hast du verändert ?
Welche ID hat die Festplatte ?
Per default sollte es die ID3 sein.
Ist das nicht gegeben, dann findet er die Platte zum booten nicht.

« Letzte Änderung: 24. August 2004, 13:12:18 von Sparky »
www.hyperstation.de
alles zu HyperSPARC, SBus-Karten und AG-10E Howto

maddog

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #6 am: 24. August 2004, 13:20:50 »
Verändert hab ich nicht viel den boot-device auf disk (vorher disk, net) und den auto-boot? auf false und wieder zurück.

Die Kiste führt jetzt immer einen Test durch, NVRAM, Ecache usw.
Danach kommt immer "Timeout waiting for ARP/RARP packet"


Was ich nicht so richtig versteh sind diese Angaben:

Probing /pci@4/pci@5 Device 2  scsi disk tape

ok boot disk1
Boot device: /pci@1f,0/scsi@1,0/disk@1,0  File and args:


???

mvsparky

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #7 am: 24. August 2004, 13:24:06 »
poste bitte die ausgabe von 'devalias' und 'printenv boot-device' am ok-prompt!

gruß
yves

maddog

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #8 am: 24. August 2004, 13:27:19 »
ok printenv boot-device
boot-device =         disk

ok devalias
keyboard!                /pci@1f,0/pci@4/isa@2/serial@0,2e8:forcemode
mouse                    /pci@1f,0/pci@4/isa@2/serial@0,3f8
keyboard                 /pci@1f,0/pci@4/isa@2/serial@0,2e8
dload                    /pci@1f,0/pci@4/network@0,1:,
net                      /pci@1f,0/pci@4/network@0,1
vme                      /pci@1f,0/vme@3
pcib                     /pci@1f,0/pci@4
pcia                     /pci@1f,0/
ebus                     /pci@1f,0/pci@4/ebus@0
flash-prog               /pci@1f,0/pci@4/ebus@0/flashprom@10,0:p
flash                    /pci@1f,0/pci@4/ebus@0/flashprom@10,0
systemprom               /pci@1f,0/pci@4/ebus@0/flashprom@10,0
i2c                      /pci@1f,0/pci@4/ebus@0/i2c@14,6001ff
net4                     /pci@1f,0/pci@4/ethernet@1
net2                     /pci@1f,0/ethernet@2
cdrom-3                  /pci@1f,0/pci@4/ide@8/cdrom@2,0:f
disk-3                   /pci@1f,0/pci@4/ide@8/disk@0,0:a
disk33                   /pci@1f,0/pci@4/ide@8/disk@3,0:a
disk32                   /pci@1f,0/pci@4/ide@8/disk@2,0:a
disk31                   /pci@1f,0/pci@4/ide@8/disk@1,0:a
disk30                   /pci@1f,0/pci@4/ide@8/disk@0,0:a
ide                      /pci@1f,0/pci@4/ide@8
disk-2                   /pci@1f,0/scsi@1,1/disk@0,0
cdrom-2                  /pci@1f,0/scsi@1,1/disk@6,0:f
tape-2                   /pci@1f,0/scsi@1,1/tape@4,0
tape21                   /pci@1f,0/scsi@1,1/tape@5,0
tape20                   /pci@1f,0/scsi@1,1/tape@4,0
disk2f                   /pci@1f,0/scsi@1,1/disk@f,0
disk2e                   /pci@1f,0/scsi@1,1/disk@e,0
disk2d                   /pci@1f,0/scsi@1,1/disk@d,0
disk2c                   /pci@1f,0/scsi@1,1/disk@c,0
disk2b                   /pci@1f,0/scsi@1,1/disk@b,0
disk2a                   /pci@1f,0/scsi@1,1/disk@a,0
disk29                   /pci@1f,0/scsi@1,1/disk@9,0
disk28                   /pci@1f,0/scsi@1,1/disk@8,0
disk27                   /pci@1f,0/scsi@1,1/disk@7,0
disk26                   /pci@1f,0/scsi@1,1/disk@6,0
disk25                   /pci@1f,0/scsi@1,1/disk@5,0
disk24                   /pci@1f,0/scsi@1,1/disk@4,0
disk23                   /pci@1f,0/scsi@1,1/disk@3,0
disk22                   /pci@1f,0/scsi@1,1/disk@2,0
disk21                   /pci@1f,0/scsi@1,1/disk@1,0
disk20                   /pci@1f,0/scsi@1,1/disk@0,0
scsi-2                   /pci@1f,0/scsi@1,1
disk                     /pci@1f,0/scsi@1,0/disk@0,0
cdrom                    /pci@1f,0/scsi@1,0/disk@6,0:f
tape                     /pci@1f,0/scsi@1,0/tape@4,0
tape1                    /pci@1f,0/scsi@1,0/tape@5,0
tape0                    /pci@1f,0/scsi@1,0/tape@4,0
diskf                    /pci@1f,0/scsi@1,0/disk@f,0
diske                    /pci@1f,0/scsi@1,0/disk@e,0
diskd                    /pci@1f,0/scsi@1,0/disk@d,0
diskc                    /pci@1f,0/scsi@1,0/disk@c,0
diskb                    /pci@1f,0/scsi@1,0/disk@b,0
diska                    /pci@1f,0/scsi@1,0/disk@a,0
disk9                    /pci@1f,0/scsi@1,0/disk@9,0
disk8                    /pci@1f,0/scsi@1,0/disk@8,0
disk7                    /pci@1f,0/scsi@1,0/disk@7,0
disk6                    /pci@1f,0/scsi@1,0/disk@6,0
disk5                    /pci@1f,0/scsi@1,0/disk@5,0
disk4                    /pci@1f,0/scsi@1,0/disk@4,0
disk3                    /pci@1f,0/scsi@1,0/disk@3,0
disk2                    /pci@1f,0/scsi@1,0/disk@2,0
disk1                    /pci@1f,0/scsi@1,0/disk@1,0
disk0                    /pci@1f,0/scsi@1,0/disk@0,0
scsi                     /pci@1f,0/scsi@1
lpt                      /pci@1f,0/pci@4/isa@2/dma@0,0/parallel@0,378
floppy                   /pci@1f,0/pci@4/isa@2/dma@0,0/floppy@0,3f0
ttyd                     /pci@1f,0/pci@4/ebus@0/su@14,300400:d
ttyc                     /pci@1f,0/pci@4/ebus@0/su@14,300300:c
ttyb                     /pci@1f,0/pci@4/ebus@0/su@14,300200:b
ttya                     /pci@1f,0/pci@4/ebus@0/su@14,300100:a


Offline Jonny

  • Global Moderator
  • Sobl Guru
  • *****
  • Beiträge: 1063
Re:  Reset all on OBP Solaris 8
« Antwort #9 am: 24. August 2004, 13:44:42 »
Schau dir mal printenv an und poste den Output bitte auch noch.
Vermutlich steht der diag-switch? auf true, dann kommt fürs Booten nicht das boot-device,
sondern das diag-device zum Zuge, wo jede Wette net drinsteht.
Das Einschalten dauert so lange, weil POST einen erweiterten Test druchführt.
Das dauert lange oder sehr lange  ;D  je nach dem was in diag-level drinsteht.
Den Output davon sieht man nur an einer seriellen Console.

Gruß
Hans-Peter
solaris is like a wigwam :
no windows, no gates and a apache inside !

sonnenblen.de - Das unabhängige Sun User Forum

Re:  Reset all on OBP Solaris 8
« Antwort #9 am: 24. August 2004, 13:44:42 »

maddog

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #10 am: 24. August 2004, 13:49:16 »
Richtig!

ok printenv
Variable Name         Value                          Default Value

shutdown-temp         85                             85
warning-temp          55                             80
env-monitor           disabled                       disabled
vme-bus-timer         7                              7
vme-arb-mode          rrs                            rrs
vme-rel-mode          rwd                            rwd
vme-req-level         3                              3
vme-fair-req?         true                           true
diag-targets          none                           none
diag-passes           1                              1
diag-continue?        0                              0
diag-verbosity        0                              0
keyboard-click?       false                          false
keymap
scsi-initiator-id     7                              7
watchdog-timeout      1800                           1800
watchdog-enable?      false                          false
#power-cycles         38                             No default
system-board-serial#                                 No default
system-board-date                                    No default
ttyd-rts-dtr-off      false                          false
ttyd-ignore-cd        true                           true
ttyc-rts-dtr-off      false                          false
ttyc-ignore-cd        true                           true
ttyb-rts-dtr-off      false                          false
ttyb-ignore-cd        true                           true
ttya-rts-dtr-off      false                          false
ttya-ignore-cd        true                           true
ttyd-mode             9600,8,n,1,-                   9600,8,n,1,-
ttyc-mode             9600,8,n,1,-                   9600,8,n,1,-
ttyb-mode             9600,8,n,1,-                   9600,8,n,1,-
ttya-mode             9600,8,n,1,-                   9600,8,n,1,-
mouse                 Sun                            Sun
keyboard              Sun                            Sun
eth1-interface        auto                           auto
skip-mode-sense?      false                          false
ppmc-wait?            false                          false
ttyb-rs422-en?        false                          false
pcic-probe-list       0,1,2                          0,1,2
pcib-probe-list       0,1,2,3,4,5,6,8                0,1,2,3,4,5,6,8
pcia-probe-list       1,2,3                          1,2,3
gizmo-probe-list      4                              4
mfg-mode              off                            off
diag-level            max                            max
fcode-debug?          false                          false
output-device         screen                         screen
input-device          keyboard                       keyboard
load-base             16384                          16384
auto-boot-retry?      false                          false
boot-command          boot                           boot
auto-boot?            true                           true
watchdog-reboot?      false                          false
diag-file
diag-device           net                            net
boot-file
boot-device           disk                           disk net
local-mac-address?    true                           true
net-timeout           0                              0
ansi-terminal?        true                           true
screen-#columns       80                             80
screen-#rows          34                             34
silent-mode?          false                          false
use-nvramrc?          false                          false
nvramrc
security-mode         none                           No default
security-password                                    No default
security-#badlogins   0                              No default
oem-logo                                             No default
oem-logo?             false                          false
oem-banner                                           No default
oem-banner?           false                          false
hardware-revision                                    No default
last-hardware-update                                 No default
diag-switch?          true                           false

Was ist mit den versiedenen angaben:
devalias = disk                     /pci@1f,0/scsi@1,0/disk@0,0

probe-scsi-all = /pci@1f,0/pci@4/pci@5/scsi@2


???

Offline Sparky

  • Sobl Guru
  • *****
  • Beiträge: 3260
  • HyperSPARC ! Das fetzt......
    • HyperSTATION
Re:  Reset all on OBP Solaris 8
« Antwort #11 am: 24. August 2004, 15:19:21 »
set-defaults
www.hyperstation.de
alles zu HyperSPARC, SBus-Karten und AG-10E Howto

maddog

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #12 am: 24. August 2004, 16:06:51 »
ok set-defaults
Setting NVRAM parameters to default values.
ok printenv diag-switch?
diag-switch? =        false
ok boot
Drive not ready
Can't read disk label.
Can't open disk label package
Boot device: net  File and args:
Timeout waiting for ARP/RARP packet



ok boot disk
Boot device: /pci@1f,0/scsi@1,0/disk@0,0  File and args:
Drive not ready
Can't read disk label.
Can't open disk label package

Can't open boot device


Und nu?

claus

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #13 am: 24. August 2004, 16:09:43 »
Zitat

Thx, der Nebeneffekt ist aber das die Kiste nicht mehr bootet  :(

Bei einem probe-scsi-all zeigt er mir disk und cd-rom an aber erversucht immer wieder vom netz zu botten, obwohl boot-device disk ist.

Außerdem sag er mir can´t open disk, can´t open boot device, nicht mal von cd-rom kann ich booten.


(aus http://docs.sun.com/db/doc/806-0756-10/6ja3cjgvh?l=de&a=view)

Achten Sie darauf, daß das OBP auf das richtige Boot-Gerät verweist.

  1.

     An der Eingabeaufforderung ok stellen Sie mit dem Befehl setenv das richtige Gerät als Alias für das Standard-Boot-Gerät ein.

ok setenv boot-device    Boot_Gerät_Alias

     Hierbei muß Boot_Gerät_Alias dem richtigen Alias für das Standard-Boot-Gerät entsprechen.
  2.

     Wenn diag-switch? auf true gesetzt ist, stellen Sie mit dem OBP-Befehl setenv für die Variable diag-device das richtige Gerät ein.

ok setenv diag-device Boot_Gerät_Alias

     Hinweis -

     Wenn diag-switch? auf true gesetzt ist, verwendet das OBP diag-device und diag-file als Standard-Boot-Parameter. Wenn diag-switch? auf false gesetzt ist, verwendet das OBP boot-device und boot-file als Standard-Boot-Parameter.

Vielleicht hilft das ja weiter.

EDIT: Woops, zu langsam ... für den Rest der Welt.

Claus
« Letzte Änderung: 24. August 2004, 16:10:58 von claus »

maddog

  • Gast
Re:  Reset all on OBP Solaris 8
« Antwort #14 am: 24. August 2004, 17:45:26 »
Ok nur nochmal zur Sicherheit:

diese angabe devalias = disk                     /pci@1f,0/scsi@1,0/disk@0,0

muß in diese geändert werden: probe-scsi-all = /pci@1f,0/pci@4/pci@5/scsi@2

???