- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Bugcheck 0000038D (INCON_SCHED) during boot on emu...
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
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
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
03-15-2007 01:10 AM
03-15-2007 01:10 AM
Please notice: The following question concerns a software emulated ES40 I'm working on, not a real system!
When I boot OpenVMS 7.3-1 or 8.3 (I have no other flavors currently available), I get quite a bit into the boot process, when I get an INCON_SCHED bugcheck:
**** OpenVMS (TM) Alpha Operating System V7.3-1 - BUGCHECK ****
**** Accessing system disk via original boot path
** Bugcheck code = 0000038D: INCON_SCHED, Inconsistent scheduling state
** Crash CPU: 00 Primary CPU: 00
** Active/Available CPU Masks: 00000001/00000001
** Current Process = NULL
** Current PSB ID = 00000001
I've attached a complete capture of screen output from the moment I enter "boot dqa0 - flags 0,30000 to the point where I'm dropped back to the SRM prompt.
Could anyone tell me what kind of error could cause this bugcheck? The problem is obviously due to an incorrect emulation of some part of the system, but I'd like to pinpoint exactly what part.
I've looked into the possibility of obtaining the OpenVMS source listings, but that seems unobtainable for mere mortal hobbyists (you need to have a support contract, a paid license (rather than a hobbyist one), and I have none of these (couldn't afford it either). If anyone reading this does have access to the sources, I'd be very grateful if they might find a way to find out where the error comes from.
Thanks a lot in advance!
Camiel.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 01:54 AM
03-15-2007 01:54 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Fwiw,
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:29 AM
03-15-2007 02:29 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
I'm going to try if I can get it to write that crash dump. I'll see if I can use LD to create an image file that can contain the dump, and if I can get the dump file off that image; Can you give me any clues how to analyze that dump file (I'm unfamiliar with that)? Would it have to be done on a system running the same OpenVMS version, or could I analyze a 7.3-1 dumpfile on a system running 8.3 as well?
Thanks for the suggestion!
Camiel Vanderhoeven
iamcamiel@gmail.com
http://www.sf.net/projects/es40
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:41 AM
03-15-2007 03:41 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Thanks,
Camiel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:55 AM
03-15-2007 03:55 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:03 AM
03-15-2007 04:03 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
you can analyse if dump is created succesful
by below command
$>anal/crash_dump sys$system:sysdump.dmp
after this you will get sda> prompt for anylyse
Atul Sardana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:14 AM
03-15-2007 04:14 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
I don't think that that's it... The queue implementation is using the actual SRM palcode, and it doesn't look as though this code uses any exotic opcodes that aren't used all over SRM- and APB-code...
Camiel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:16 AM
03-15-2007 04:16 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
It appears as though nothing gets written to the disk, unless there already is a sysdump file present?
Once I get the file, I'll try your suggestion!
Thanks,
Camiel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:24 AM
03-15-2007 04:24 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:31 AM
03-15-2007 04:31 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Do you have an instruction-level test harness in place? Something that can be run on a real Alpha, and that can then be verified with results from the emulator?
The OpenVMS operating system itself isn't necessarily the most expedient way to test the instruction set and related behaviors, nor does OpenVMS use anywhere near the entire instruction set. It's exceedingly difficult to debug hardware this way, too.
I won't get into how much "fun" it can be to debug with real hardware with real hardware bugs latent.
You might seek information from the Trailing Edge folks or somebody else working on an emulator, if there's not already an Alpha instruction test suite available somewhere. (I'd tend to assume HP won't release its Alpha or VAX instruction test suites.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:11 AM
03-15-2007 05:11 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Thanks!
The disks I'm working with aren't real disks, but image files, so I need to use LD to access them from a "real" VMS system. I'm getting the hang of LD as we speak. I'll create the dumpfile using LD from a real VMS system, and then run the emulator again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:18 AM
03-15-2007 05:18 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
My emulator doesn't implement the Alpha instruction set fully yet (most floating point operations are not implemented; integer operations with overflow checking aren't implemented), but it will warn me as soon as an unrecognized Opcode is used. When that happens, I add the instruction that is missing. I'm really grateful for the RISC-nature of the Alpha processor, as the instructions tend to be simple, without a lot of by-effects.
I've been looking for - but haven't found - an instruction set verification tool for the Alpha processor. Whenever I doubt what my emulator is doing, I'll write a simple C-program using asm to check the behaviour of a real Alpha processor (I have an AS 4100 that was thrown out as junk at work)
Camiel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 07:30 AM
03-15-2007 07:30 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Obviously, since I can't boot OpenVMS from the disk image yet, I can't run autogen on it. I could run autogen on the real OpenVMS system, and specify "DUMPFILE_DEVICE = LDA1". That, however, updates the pointer on my real system disk, which is not what I want...
Anyone got a clue how to go about this?
Thanks,
Camiel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 08:30 AM
03-15-2007 08:30 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
If in your situation, I'd write a test suite if I could not find one available. Get the base instruction set working before trying to boot OpenVMS itself.
You're certainly far enough along that you can use the console to load the program as if it were APB, or you can probably instantiate it directly through the emulator.
Debugging these cases and these crashes is particularly difficult when the "hardware" is not entirely trustworthy.
OpenVMS itself also isn't a good test suite -- not just because it's difficult to debug these sorts of failures (as you're finding), but because OpenVMS itself doesn't necessarily use anywhere near all of the instruction set.
There are open-access OpenVMS systems available on the 'net, and you can log in and run user-mode tests on these systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 08:38 AM
03-15-2007 08:38 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 08:47 AM
03-15-2007 08:47 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 10:37 AM
03-15-2007 10:37 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
Do this: make sure there's a sysdump.dmp created on the container file in [sys0.sysmgr].
Then boot conversational (-fl 0,1) and set these system parameters:
SYSBOOT> SET WLKSYSDSK 0
SYSBOOT> SET DUMPSTYLE 9
Then continue, and if the system crashes it should write a valid dump. I just tried this with a container file of a V7.3-1 installation cd with an Alpha emulator (not this ES40 obviously!).
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 10:43 PM
03-15-2007 10:43 PM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
I read Your reply a little bit too late (I can be a bit impatient), so I got the same result via a longer way...
I booted a real AS4100 from the CD-ROM, installed VMS 7.3-1 on a 2GB RZ28 I had lying around, booted 7.3-1 from the RZ28, ran SYSGEN to create the SYSDUMP.DMP file, and set the DUMPSTYLE parameter to 2. Then I booted Linux on the AS4100, and did a dd if=/dec/sdc of=disk0.img to create an image (I used Linux' dd rather than VMS' backup/image because I wanted the image to be a bit-exact replica of the known good disk), transferred the image to a different machine, booted VMS 8.3 on the AS4100, tranferred the image back to the AS4100, and ran the emulator. It generated a dump last night, but due to other duties (work...) I haven't checked it out yet.
If I had only read your message earlier, I could have saved myself a lot of time!
Thanks for the tip! I'll keep it for future reference!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 10:50 PM
03-15-2007 10:50 PM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
However I think a BACKUP/IMAGE would have been fine.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 12:44 AM
03-16-2007 12:44 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
No need for Linux and dd.
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 04:55 AM
03-17-2007 04:55 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
It took me a while, but I finally managed to write a sysdump that analyze could read.
For those interested, I've put the system dump files in a file called sysdump.zip, that can be downloaded from the following page:
http://sourceforge.net/project/showfiles.php?group_id=187340
I very much appreciate any help you could give me!
Thanks,
Camiel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 07:18 AM
03-17-2007 07:18 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2007 12:32 AM
03-18-2007 12:32 AM
SolutionIn my previous life I would have swapped the hardware :-).
Next time you don't need to post sys$errlog.dmp as it does not contain what you might think.
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2007 01:58 AM
03-18-2007 01:58 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
#define DO_CTTZ \
temp_64 = 0;\
temp_64_2 = V_2;\
for (i=0;i<64;i++)\
if ((temp_64>>i)&1)\ <<<<<<<<<<<
break;\
else \
temp_64++;\
r[REG_3] = temp_64;
Jur.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2007 09:04 AM
03-18-2007 09:04 AM
Re: Bugcheck 0000038D (INCON_SCHED) during boot on emulated ES40
For those interested, I put the fixed source-code (version 0.11, includes some more changes) up for download at http://sourceforge.net/project/showfiles.php?group_id=187340