Hi,
Installed VM:
1 x CPU
8Mb RAM
704MB disk
Software:
MS DOS 6.2
Microsoft QuickC 2.50a (5.25-360k) (From WinWorld.com)
Problem:
When I run c:\qc25\tutorial\learn.com (Zipped up and attached) I get a Guru Meditation. (Log file attached)
I checked the install on a 86Box setup (486DX2 66, 32Mb RAM...) and there were no problems with just a standard Autoexec.bat and Config.sys. Didn't do anything special with EMS or XMS.
I'm not sure what to try next or how to read the log and interpret the crash.
EDIT: Just tried it on my P3, BX2000, DOS 6.2, Win 3.11. Works as expected.
Any pointers on how to debug this crash?
Any suggestions?
Kind regards,
Craig
QuickC tutorial DOS 6.2 Guru Meditation
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: QuickC tutorial DOS 6.2 Guru Meditation
There is no "guru meditation" recorded in the provided log. Please ensure that the VM is fully closed down before you grab a log. Also the log should be zipped before attaching it here.
I note that the VM is configured for Windows 3.x, not for DOS. If you are actually running a GUI then you need to increase the graphics RAM allocated to the guest. It would be worthwhile doing that anyway.
Final note: you say that you didn't do anything special with XMS/EMS, but you also allocated 8MB RAM to the guest OS. However AFAIR DOS is incapable of using more than 1MB unless you configure XMS/EMS.
I note that the VM is configured for Windows 3.x, not for DOS. If you are actually running a GUI then you need to increase the graphics RAM allocated to the guest. It would be worthwhile doing that anyway.
Final note: you say that you didn't do anything special with XMS/EMS, but you also allocated 8MB RAM to the guest OS. However AFAIR DOS is incapable of using more than 1MB unless you configure XMS/EMS.
-
- Posts: 4
- Joined: 21. Nov 2009, 00:00
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: DOS, Windows
- Location: Brisbane, Australia
Re: QuickC tutorial DOS 6.2 Guru Meditation
Hmm more than the already 12Mb of video ram? I am pretty sure none of my Trident cards in 1990 had more than 512kb.
Is the "Video Memory" setting used in another way? Other than for the video card?
What are the configuration differences between Settings -> General -> Version: DOS or Windows 3.1?
Attached is the log that contains the "Guru Meditation". It seems whole app needed to be shut down, not just the guest.
8Mb of ram is allocated as I am doing some testing with DOS extenders and experiments with the LIM interface.
Is the "Video Memory" setting used in another way? Other than for the video card?
What are the configuration differences between Settings -> General -> Version: DOS or Windows 3.1?
Attached is the log that contains the "Guru Meditation". It seems whole app needed to be shut down, not just the guest.
8Mb of ram is allocated as I am doing some testing with DOS extenders and experiments with the LIM interface.
- Attachments
-
- log.zip
- (50.14 KiB) Downloaded 6 times
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: QuickC tutorial DOS 6.2 Guru Meditation
Is your monitor also typical of the era? Judging from the display sizes and colour depths selected, I would think not.CraigAB wrote:Hmm more than the already 12Mb of video ram? I am pretty sure none of my Trident cards in 1990 had more than 512kb.
My own memory of the period is that you were lucky to get 800x600, in 16 colors (bpp=4).log wrote: 00:00:01.588818 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 1 work area is actually resized to: 1440x0 x 1365x768
...
00:00:01.818902 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007fe7cc2f0000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
My own Windows 3.1 VM assigns 32MB to graphics RAM, 64MB to RAM.
And you did not answer my question: is this a DOS VM per the topic title, or is it a Windows 3.1 VM? I don't need to get into a discussion about the template differences, the point is that the topic title says one thing, the provided log says something else. The main difference will be that the graphics settings matter more to a Windows VM.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: QuickC tutorial DOS 6.2 Guru Meditation
As to the "guru meditation" error, that was:
Triple fault means that it faulted inside the fault handler, which is unfortunate since it means we can't know what the original fault was. I note however that it comes immediately after a display size change.00:00:24.811844 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=00007fe7cc2f0000 w=640 h=480 bpp=0 cbLine=0x140 flags=0x0 origin=0,0
00:00:24.865019 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:00:24.865061 Console: Machine state changed to 'GuruMeditation'
00:00:24.865766 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:00:24.865769 !!
00:00:24.865769 !! VCPU0: Guru Meditation 1155 (VINF_EM_TRIPLE_FAULT)
00:00:24.865781 !!
00:00:24.865792 !! Skipping ring-0 registers and stack, rcErr=VINF_EM_TRIPLE_FAULT
00:00:24.865803 !!
00:00:24.865803 !! {mappings, <NULL>}
-
- Posts: 4
- Joined: 21. Nov 2009, 00:00
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: DOS, Windows
- Location: Brisbane, Australia
Re: QuickC tutorial DOS 6.2 Guru Meditation
It was originally run up as a Windows 3.1 VM. But I have been using TUI (Like CodeView, PWB, and Turbo Vision apps) in it.mpack wrote: And you did not answer my question: is this a DOS VM per the topic title, or is it a Windows 3.1 VM? I don't need to get into a discussion about the template differences, the point is that the topic title says one thing, the provided log says something else. The main difference will be that the graphics settings matter more to a Windows VM.
I did try the "learn.com" file in a VM with the template set as "DOS", it just hung the VM.
Also, whilst in DOS, I had set the Vm to Full screen and stretched. I did increase the Video memory to 64Mb, but no change, and the same when not in full screen or stretched.
Dropped the Base Memory to 4Mb and up to 64Mb - No change.
I tried a couple different version "Learn.com" from different disk images. No change.
EDIT: I had ansi.sys loaded so I tried with out it - no change.
EDIT: Installed DR DOS 6.0 (DOS Template) and QuickC 2.5 - VM just hung.