1748060 Members
5402 Online
108758 Solutions
New Discussion юеВ

Re: System hang

 
olive_wide
Frequent Advisor

System hang

ES45,Raedon 7500 Display Card.
When I boot with Openvms7.3-2 Install CD to make system-disk backup:
P>>>boot dqa0 -flags 0,0
Starting...
But when running the following:

Please choose one of the following:
1)Upgrade,intall or reconfig Openvms alpha version v7.3-2
2)Display products and patches that this procedure can install
3)
...
7)Execute DCL commands and procedures
8)Shut down this system
Enter CHOICE or? for help:(1/2/3/4/5/6/7/8/?)_

Here,we will input the number,but the system hung,can only power off or reset to restart the server.Sometimes,it is good,but somethimes,the system hung while it is waiting for input something.
What's the reason?Is it the display card?I know this raedon 7500 card is not well supporting the alpha Server.

24 REPLIES 24
Antoniov.
Honored Contributor

Re: System hang

Hi,
what kind of hung?
I guess you are using graphical console; can you use serial VT terminal instead?

Antonio Vigliotti
Antonio Maria Vigliotti
Uwe Zessin
Honored Contributor

Re: System hang

I have seen similar hangs (boot VMS with a graphics card, but don't run it with Motif) on older systems at customer sites, but nobody cared for a solution. Sometimes it worked when I immediately responded to the input request. Does it go better when you use the serial port?

P>>>boot dqa0 -flags 0,0

The binary CD-ROM should have all valid roots from 0 to FF, so you don't need to specify the flags argument unless the console setting is strange.
.
olive_wide
Frequent Advisor

Re: System hang

I want to get the solution because I met the same problem in the following instance:
I made a program XX.com and run it in systartup_vms.com,the program like this:
You can make choice:
1.system startup with tcpip startup
2.system startup without tcpip startup
3....
You choice is 1/2/3)_
When I run this program in systartup_vms, sometimes,the system start well, but sometimes the system hang while waiting for the input. I think it is the same reason with the binary CD startup hang.
I didn't try the serial port.It is useless even the serial port connect is good.
Jan van den Ende
Honored Contributor

Re: System hang

Olive,

Just _HOW_ do you specify that choice?

The only valid options I am aware of are
1A. Boot into sysboot ( >>> B -fl = ,1
SYSBOOT> SET USER1 (or 2, 3, or 4)
SYSBOOT> C
and then in SYSTARTUP_VMS:
$ CHOICE = f$getsyi("USERn")
and act upon CHOICE

1B.
SYSBOOT> SET STARTUP

or

2. in SYSTARTUP_VMS:
$ OPEN/READ inp OPAo:
$ READ inp CHOICE /timeout=...

Be REAL carefull in fiddling with STARTUP (option 1B). I would not advise it, but had to add it for completeness.

By far the easiest option is 2 (READ from OPA0:).

If you want to boot from CD, into the standalone menu, then
>>> SET CONSOLE SERIAL
will help, but remember to reset it to GRAPHICAL before booting into your graphical console again.
Another solution is to just attach a serial console, and leave the setting to SERIAL.

hth,

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
olive_wide
Frequent Advisor

Re: System hang

jpe,
In fact,I use the following as you suggest:
$ OPEN/READ inp OPAo:
$ READ inp CHOICE /timeout=...
I can extract a part of my program:
$OPEN /READ/WRITE CHN_OPA0 OPA0:
$READ CHN_OPA0 ANS$TEMP /PROMPT="YOUR CHOICE[1/2/3/4 DEFAULT 4]: "
$ANS$TEMP = F$EDIT(ANS$TEMP, "TRIM,UNCOMMENT,UPCASE")
$IF ANS$TEMP .EQS. "" THEN ANS$TEMP = "4"
$IF ANS$TEMP .EQS. "1" THEN GOSUB ..
$IF ANS$TEMP .EQS. "2" THEN GOSUB ..
$IF ANS$TEMP .EQS. "3" THEN GOSUB ..
$IF ANS$TEMP .EQS. "4" THEN EXIT
It is this program that cause the system hang.
Do you know others ways to avoid the hang?
Jan van den Ende
Honored Contributor

Re: System hang

Olive,

I would give this piece of cade an "emergency exit"
Add a /TIME_OUT=n/ERROR=label
n is the number of seconds to wait for an actual reply (max 255)
"label" = the label to proceed to on timeout.
In "label:" you can write a specific text to sys$output to identify your code stream, and then exit.

Let's find out what happens.

Proost.

Have one on me.

jpe

Don't rust yours pelled jacker to fine doll missed aches.
Jan van den Ende
Honored Contributor

Re: System hang

Oops.

I only re-read the whole thread after answering :-(

My guess now is that you have an issue with your console (or its connection), because you can not answer to the cd boot menu neither.
I DO hope you have some way to still make the above change, which I now guess will always take the timeout.

Do you have any possibility to connect a serial console (a VT, or a Terminal Emulator)?

Proost.

Have one on me.

jpe

Don't rust yours pelled jacker to fine doll missed aches.
Wim Van den Wyngaert
Honored Contributor

Re: System hang

I have the same behaviour when I boot minimal on e.g. an AS500 and have worked for a few minutes. Never found why ...

Wim
Wim
Antoniov.
Honored Contributor

Re: System hang

Olive,
in your example you open twice OPA0:, first time with
$ OPEN/READ inp OPAo:
second time with
$OPEN /READ/WRITE CHN_OPA0 OPA0:
I hope you close inp device before open CHN_OPAO

Antonio Vigliotti
Antonio Maria Vigliotti