- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- "Kernel stack not valid" during system startup's S...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2006 11:01 PM
тАО10-23-2006 11:01 PM
"Kernel stack not valid" during system startup's SYSMAN IO AUTO
The error occurs pretty early in system startup when right near the beginning of VMS$DEVICE_CONFIG.COM, the SYSMAN command IO AUTO is executed.
I increased KSTACKPAGES as high as 20 with no effect and then started digging into the startup process.
After a lot of experimenting I finally pinned this down. I worked around it as follows.
In SYCONFIG.COM
----------------
$ MCR SYSMAN IO SET EXCLUDE=GFA0
In SYLOGICALS.COM
-----------------
$ MCR SYSMAN IO SET EXCLUDE=""
$ MCR SYSMAN IO AUTO/SELECT=GFA0
A probably unrelated problem, though it also involves GFA0:, is that the graphics display can't be changed from 1024 x 1024 with 60 Hz refresh no matter what I try to set in DECW$PRIVATE_SERVER_SETUP.COM.
This system was formerly problem free running VMS V7.3-2 for another application. Before installing V7.3-1 a DELETE/ERASE was done on DQA0:, so there's no chance of some bit the V7.3-2 environment still being there.
The floor is now open for discussion :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 12:09 AM
тАО10-24-2006 12:09 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 12:19 AM
тАО10-24-2006 12:19 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 12:32 AM
тАО10-24-2006 12:32 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
VMS731_GRAPHICS-V0400
Maybe it cures (some of) the problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 01:16 AM
тАО10-24-2006 01:16 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
Joseph,
Graphics V4.0 is listed as one of the installed ECOs. Perhaps you overlooked it somehow.
All,
I forgot to mention that the graphics card is a PBXGF-AB (PCI Oxygen VX1.) It does not have a switch of any kind. The resolution and refresh rates are supposed to be settable by software.
I took a look at DECW$DEVICE_CONFIG_GF.COM. The default resolution for this thing is 1024x768 and the default refresh is 70 Hz.
xdpyinfo shows the resolution as 1280x1024, which is what I specified in DECW$PRIVATE_SERVER_SETUP.COM.
I have the same model monitor (L1925) on my desk working at 1280x1024 with 75 Hz refresh, so I know the monitor supports this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 01:19 AM
тАО10-24-2006 01:19 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 03:06 AM
тАО10-24-2006 03:06 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 03:12 AM
тАО10-24-2006 03:12 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2006 08:23 PM
тАО10-24-2006 08:23 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
fwiw
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2006 06:48 PM
тАО10-25-2006 06:48 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
to find out more about the reason for the KRNLSTAKNV crash, could you post the full CLUE file (see CLUE$COLLECT:CLUE$node_ddmmyy_hhmm.LIS) ?
Whereas it may not be possible to actually solve this type of problem by looking at the data in a CLUE file, it may give additional hints.
Note that you need to set AUTO_ACTION RESTART to obtain a crash and not just a kernel stack not valid HALT.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2006 10:13 PM
тАО10-25-2006 10:13 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
The crash happens right at the top of SYS$STARTUP:VMS$DEVICE_STARTUP.COM, where there's an invocation of SYSMAN that does this:
IO AUTOCONFIGURE FTA0...
IO AUTOCONFIGURE MPA0...
IO AUTOCONFIGURE ALL
The third IO AUTOCONFIGURE is where the crash occurs.
CLUE doesn't get started until later in this command procedure.
I'll see if I can [temporarily] edit the appropriate startup .COM files so that I get something from CLUE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2006 10:37 PM
тАО10-25-2006 10:37 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
once you've rebooted your system with the workaround in place, you could run CLUE$STARTUP.COM manually to look at the most recent dumpfile:
$ SET PROC/NAME=STARTUP
$ @SYS$STARTUP:CLUE$STARTUP
$ SET PROC=NAME=
Otherwise, you could issue the following command manually:
$ ANAL/CRASH SYS$SYSTEM:
SDA> CLUE HISTORY
if it complains about 'already analyzed', use
SDA> CLUE HISTORY/OVER
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2006 11:59 PM
тАО10-25-2006 11:59 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
ANA/CRASH SYS$SYSTEM: gives me:
%SDA-E-NOTALPHADUMP
I'm not too surprised at that.
When it halted I wrote down the contents of the registers, pc, psl, sp, etc. but I doubt that it's worth listing them here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 12:14 AM
тАО10-26-2006 12:14 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
when AUTO_ACTION is set to RESTART, the system should write a crashdump and reboot, if any unexpected CPU HALT occurs (like for a kernel stack not valid). Did this happen ? Did you see those bugcheck messages on the console ?
Without a dump, further analysis may not be possible.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 03:04 AM
тАО10-26-2006 03:04 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
Although AUTO_ACTION is set to REBOOT, the system doesn't write a crash dump. There's no VMS bugcheck output at all. I just abruptly get:
Halted CPU 0
halt code = 2
kernel stack not valid halt
So we may not be able to go much further with this.
I did a register dump myself and tediously by hand copied the register contents to paper. But I doubt it would be worth anything to post them.
Any ideas on my other problem?
> A probably unrelated problem, though it also involves GFA0:, is that the
> graphics display can't be changed from 1024 x 1024 with 60 Hz refresh
> no matter what I try to set in DECW$PRIVATE_SERVER_SETUP.COM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 03:13 AM
тАО10-26-2006 03:13 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
Although AUTO_ACTION is set to REBOOT...
Do you really meant to write REBOOT ? It should be RESTART - and in that case, VMS should write a dump and reboot afterwards.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 03:23 AM
тАО10-26-2006 03:23 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
Yes, I did mean RESTART instead of REBOOT.
But there is definitely no sign of a dump getting written. And ANA/CRASH SYS$SYSTEM: tells me:
%SDA-E-NOTALPHADUMP
Is this perhaps possible for kernel stack not valid to be uncatchable or impossible to handle as a normal bugcheck, in some circumstance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 04:23 AM
тАО10-26-2006 04:23 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
What is the value of the system parameter DUMPSTYLE?
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 04:29 AM
тАО10-26-2006 04:29 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 05:59 AM
тАО10-26-2006 05:59 AM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
I have seen enough KRNLSTAKNV crashdumps to believe, that this mechanism generally works. Once the CPU halts unexpectedly, the SRM console firmware is responsible for restarting OpenVMS (if AUTO_ACTION = RESTART) at the restart entry point (if memory is still valid) and OpenVMS then decides that it's being restarted and writes a 'restart' crashdump (e.g. KRNLSTAKV, MCHECKPAL, HALT etc.).
You should at least get the bugcheck output written on the console terminal (blue screen). Any errors writing the dump should also be output to the console terminal.
Could you record the console output after switching to a serial console ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 10:10 PM
тАО10-26-2006 10:10 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
[at graphics console]
>>> set console serial
>>> set auto_action restart
>>> init
[a few moments later, at serial console]
>>> boot
And, guess what--are you sure you're ready for this?
IT DIDN'T CRASH.
That's right. No "kernel stack not valid" message, no nothin' :-)
I booted it up this way again a couple of times and saw the same.
So I set the console back to graphics (leaving AUTO_ACTION at RESTART), and the "kernel stack not valid" (with no crash dump) came right back.
???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 10:13 PM
тАО10-26-2006 10:13 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
:-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 10:33 PM
тАО10-26-2006 10:33 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
looks like you've found another workaround ;-)
So when booting with the graphics console and AUTO_ACTION = RESTART, you're saying that you get a 'kernel stack not valid' console message (with PC and PSL) and the system just drops to the console prompt >>>
If that's true, I would consider this a bug in the firmware. But as the graphics controller is also involved here (in the display of these messages), things may be more complicated.
I'll try to write a little MACRO program to produce a clean KRNLSTAKNV crash and you may want to give it a try...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 10:55 PM
тАО10-26-2006 10:55 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
> and PSL) and the system just drops to the console prompt >>>
Yep.
> If that's true, I would consider this a bug in the firmware.
I'm thinking along the same lines.
I've thought about backing the firmware down to, say, V6.4 or 6.5. Maybe I'll have a chance to do so today.
(I wish I could also reinstall VMS V7.3-2 to check my memory on whether that version crashed or not. I'm not sure I ever booted it with firmware V7.2.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 11:01 PM
тАО10-26-2006 11:01 PM
Re: "Kernel stack not valid" during system startup's SYSMAN IO AUTO
please find attached a little Macro-32 program to force a clean KRNLSTAKNV crash and the console output from running this program. Your DS10L should behave in the same way.
NOTE: this program will crash your system immediately.
Volker.