1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

NTVDM CPU has encountered an illegal instruction

Discussion in 'Other PC Software' started by rebecca, 2005/10/26.

  1. 2005/10/26
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Not sure which particular forum this question is best suited to, so I'm defaulting to this one.

    I have been trying to install NASA World Wind on my computer for the past few days, but I keep getting the following message:

    16 bit MS-DOS Subsystem
    C:|DOCUME~1\Rebecca\Desktop\WORLD_~1.EXE
    The NTVDM CPU has encountered an illegal instruction.
    CS:0544 IP:0119 OP:65 63 74 20 61 Choose 'Close' to terminate the application.
    [Close] [Ignore]​

    The only variation in the error message is that sometimes the CS:0544 shows up as CS:054a, CS:054e, and one other letter (can't find my notes about that one).

    I posted the issue at the Installation sub-forum of the World Wind site, and the consensus there seemed to be that it was a spyware problem. Spybot S&D and AdAware scans come back clean, though, and I did a clean installation of the OS again over the weekend (Win XP Home). I tried installing World Wind again as soon as I'd reinstalled ZA firewall, AVG, Spyware Blaster, Spyware Guard, Spybot S&D and AdAware, but I'm getting the same message again, so unless there's inherent spyware within those programs, I don't think spyware is the issue.
    In doing some research about NTVDM errors, I've found a number of references about them somehow relating to DOS. I seem to recall somewhere that DOS and NTFS don't coexist (?), and as I have my computer formatted as/with/to (don't know which preposition to use!) NTFS, I'm wondering if that's at the root of my problem.
    According to Microsoft's topic at http://support.microsoft.com/kb/314106/EN-US/, my NTVDM subsystem is running properly, but I don't really know what to make of the rest of the page there. It says, "This means that Windows does not support 16-bit programs that require unrestricted access to hardware. If your program requires this, your program will not work in Windows NT, Windows 2000, or Windows XP. "
    I know other people who have successfully installed World Wind on their XP systems, though...
    Does anyone have any suggestions as to what the problem might be and if/how I might be able to fix it?
    Thanks!
     
  2. 2005/10/26
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    NT operating systems (NT.x, 2K, XP, 2K3) do not use DOS but can run it (mostly) as they would run any other application. However, since DOS apps are known to do some strange things, the NT systems protect themselves by creating a VDM (virtual DOS machine) in memory and running the app in that segment of memory with protective walls around the area so nothing inside can really get out and trash the PC. The VDM is designed to look exactly like an older OS version to the DOS app.

    NT also does not allow any program to make direct demands on hardware but has a HAL (hardware abstraction layer - a sort of utility) that intercepts all hardware calls, figures out what they want to do, and does whatever in a manner that is safe to the OS. Some older 16bit apps, mostly games, did things to the hardware that weren't really legal in order to work around limitations of older hardware and many of these are either mis-interpreted by the HAL or deemed to be dangerous so the action is not carried out. Often you can see this as a 16bit app crashing when in fact it is just the main OS protecting itself.

    Worldwind is a pure 32bit application so should not need to build an NTVDM to run but it is possible that part of the install routine needs one. If so and given the problems you are having, you may be running into a situation that we see from time to time but really don't know a cause for - malformed autoexec.nt or config.nt files (what XP uses when NTVDM starts and looks for autoexec.bat and config.sys).

    Follow the instructions Here for fixing the problem.

    Note that I have Worldwind on my XP machines at home and it does fine. Won't run on my laptop at but that's because my video subsystem can't handle the load and I don't intend to replace video on a company laptop out of my pocket.
     
    Newt,
    #2

  3. to hide this advert.

  4. 2005/10/29
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    I'm trying to work my way through the MS fix (at the link you provided, Newt). I went through steps 1-4, but still got the same error message when I tried to install WorldWind after that, so I've proceeded to part 2.
    When I create the Notepad files and save them, they're automatically assigned the extension '.txt'. When the instructions say to call the files 'config.nt' and 'autoexec.nt', do they mean 'config.nt.txt' and 'autoexec.nt.txt'? I don't see any way to change the default file type from txt to nt.
    Also, in the instructions in step 11, is that the number 1 preceding the 'h' in those three lines, or an uncapitalized letter 'L'?
    Lastly (at least for right now!), where is the %SYSTEMROOT% folder located? I see a System32 folder in my Windows folder in Explorer, but no SYSTEMROOT. Can't even find a SYSTEMROOT folder when I run a search for it.
    I set a system restore point before I started messing with this, and did a system backup to my external HDD just in case. I won't do anything else until I get some feedback here! Thanks.
     
  5. 2005/10/29
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    I don't see any way to change the default file type from txt to nt.

    Just right-click the file in explorer and rename it from autoexec.txt to autoexec.nt and the same for config.txt. That will take care of it for you.

    %systemroot% is the folder you run windows from. Since it can be named Windows or WINNT (or rubber-ducky) depending on how you are set up and can be on pretty much any drive, that naming is used. If you need to make sure where it is on your PC, open a cmd prompt and key in cd %systemroot% (cd = change directory) and press ENTER. You will be taken to the proper folder on your PC.

    lh = lower case letter L and lower case letter H. It instructs the PC to Load High the following stuff indicating it needs to be placed in upper memory.

    I can see how those instructions can easily cause some confusion. They do assume some knowledge that lots of folks won't have but the geek who wrote it probably thought it made perfect sense to everybody. I run into the same thing when I try to write instructions at times.
     
    Newt,
    #4
  6. 2005/10/29
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    When I go to paste my 'config.nt' file into the system32 folder, I get a popup asking me if I want to replace the existing file (2.51 KB, created 7/21/01) with the new one (mine, which is only 63 bytes in size). Do I really want to do that? [I assume I'm going to encounter the same thing when I try to paste my new autoexec.nt file there, too.]
    Also, would you please verify for me that the bottom line in the autoexec.nt file I'm creating is "SET BLASTER=A220 I5 D1 P330 T3 "? (Following the letter 'D', that's a number 1, not another lower case 'L', is that right?)
    Thanks again!
     
  7. 2005/10/30
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Yes you do want to replace the existing (and busted) files. On the off chance that some app you've installed has made changes, rename the old ones first so it does not get destroyed and then open the renamed old one with wordpad and copy the contents to a reply here. If any of the contents looks like it needs to be added to your new file, we can tell you what and how. Something like autoexec.old and config.old would do nicely.

    Yes that is a number one after "D" rather than another lower case letter.
     
    Newt,
    #6
  8. 2005/10/30
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    I renamed the old config and autoexec files, and went ahead and copied/pasted the new ones in the Windows\system32 folder. When I rebooted the computer, a little "Windows Installer" screen popped up, saying something about my Dell Resource CD, and a progress bar indicated that the computer was trying to do something - shortly thereafter I got an error message (Error 1706 I think) to the effect that something couldn't be found.
    The CD I'd originally put in when I started this fix was my Windows XP Home CD, not my Dell Resource CD - and I took even that one out last night, when I had to interrupt my work here. Should I be putting the Dell Resource CD and rebooting before I do anything else?
     
  9. 2005/10/30
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Sorry but I have no earthly idea what that CD might do - just not familiar with them.

    The error you got might be helpful with more information. Check your event logs at the time you got it for related events that might shed some light on the problem.
     
    Newt,
    #8
  10. 2005/10/30
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    And how does one go about checking event logs, pray tell?

    Sorry, I did a search and found out - I'll post back here in a few minutes.
     
  11. 2005/10/30
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Here are the entries from Event Viewer (Local)/ Application, when I rebooted the computer:

    Event Type: Warning
    Event Source: MsiInstaller
    Event Category: None
    Event ID: 1004
    Date: 10/30/2005
    Time: 6:48:22 AM
    User: MAINDESKTOP\Rebecca
    Computer: MAINDESKTOP
    Description:
    Detection of product '{FCD9CD52-7222-4672-94A0-A722BA702FD0}', feature 'MainApp', component '{D13A2166-445F-40A4-9147-ED4B5F9621A8}' failed. The resource 'C:\WINDOWS\Temp\hhupd.exe' does not exist.

    Event Type: Warning
    Event Source: MsiInstaller
    Event Category: None
    Event ID: 1001
    Date: 10/30/2005
    Time: 6:48:22 AM
    User: MAINDESKTOP\Rebecca
    Computer: MAINDESKTOP
    Description:
    Detection of product '{FCD9CD52-7222-4672-94A0-A722BA702FD0}', feature 'MainApp' failed during request for component '{22056900-C842-11D1-A0DD-00A0C9054277}'

    Event Type: Error
    Event Source: MsiInstaller
    Event Category: None
    Event ID: 11706
    Date: 10/30/2005
    Time: 6:49:00 AM
    User: MAINDESKTOP\Rebecca
    Computer: MAINDESKTOP
    Description:
    Product: Dell Resource CD -- Error 1706.No valid source could be found for product Dell Resource CD. The Windows Installer cannot continue.
    Data:
    0000: 7b 46 43 44 39 43 44 35 {FCD9CD5
    0008: 32 2d 37 32 32 32 2d 34 2-7222-4
    0010: 36 37 32 2d 39 34 41 30 672-94A0
    0018: 2d 41 37 32 32 42 41 37 -A722BA7
    0020: 30 32 46 44 30 7d 02FD0}


    Event Type: Information
    Event Source: MsiInstaller
    Event Category: None
    Event ID: 11729
    Date: 10/30/2005
    Time: 6:49:00 AM
    User: MAINDESKTOP\Rebecca
    Computer: MAINDESKTOP
    Description:
    Product: Dell Resource CD -- Configuration failed.
    Data:
    0000: 7b 46 43 44 39 43 44 35 {FCD9CD5
    0008: 32 2d 37 32 32 32 2d 34 2-7222-4
    0010: 36 37 32 2d 39 34 41 30 672-94A0
    0018: 2d 41 37 32 32 42 41 37 -A722BA7
    0020: 30 32 46 44 30 7d 02FD0}

    Event Type: Warning
    Event Source: MsiInstaller
    Event Category: None
    Event ID: 1004
    Date: 10/30/2005
    Time: 6:49:00 AM
    User: MAINDESKTOP\Rebecca
    Computer: MAINDESKTOP
    Description:
    Detection of product '{FCD9CD52-7222-4672-94A0-A722BA702FD0}', feature 'MainApp', component '{ACC371A7-F7AA-403D-863E-8AE9BE1E2228}' failed. The resource 'C:\Program Files\Dell\ResourceCD\' does not exist.

    Is it maybe time for me to go to System Restore and start fresh?
     
  12. 2005/10/30
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Ignore the above event logs - I rebooted the computer with my Dell Resource CD in the drive. First time around, I got a message saying, "RCD.MSI file not found ", then a message saying, "Warning 1909. Could not create shortcut Dell Resource CD.lnk. Verify that the destination folder exists and that you can access it." I clicked on OK or cancel, whichever it was that worked to get rid of the screen, rebooted, and this time the computer came up with no more of those messages (event log shows no warnings at all for this run).
    Tried reinstalling WindWorld again - same error message. I will now go on to step 3 of the suggested fix.
    Copied and pasted the autoexec and config files from the repair folder to the system32 folder, rebooted, but still get the same error message when I try installing WindWorld.
    Any other suggestions? Maybe it's time for me to call Dell...
     
    Last edited: 2005/10/30
  13. 2005/10/31
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Just an update here - I spent an hour and a half on the phone with Dell. Tech support had me try:
    1) lowering my screen resolution and hardware acceleration settings
    2) installing WorldWind in safe mode
    3) installing .NET runtime environment and DirectX runtime (as per the Notes at the World Wind site)
    My video card, according to the list at the WorldWind site, is among those reported to work with World Wind, albeit with the following stipulation:
    "ATI RADEON X300: ok, BUT, program will not run in 800x600 resolution. Must step up to at least 1024x768. Note that WorldWind runs fine at 800x600 on my RADEON X300 SE" [I have the RADEON X300 SE]
    Sadly, I'm still getting the exact same error message when I try installing World Wind. Tech support basically told me there's no info on any work-arounds or patches for this, and tried to end the conversation with "Sorry ma'am, it doesn't look like we can help you." I told the guy two of the main reasons I bought this new computer was so that I could finally use high-speed internet and run World Wind! I'm really disappointed about already having encountered a glitch in this system, especially after all the troubles I had with my last Dell (combination of hardware issues and crappy OS [WinME])! Anyway, the tech support guy either took pity on me or just got so frustrated about being unable to get me off the phone that he finally told me what I wanted to hear: said he'll do some research and get back to me. Here's hoping...
     
  14. 2005/11/17
    bowlesp

    bowlesp Inactive

    Joined:
    2005/11/17
    Messages:
    1
    Likes Received:
    0
    Try this to solving the issue

    You will first need your Dell resource cd in you drive. Create a folder on your hard drive Called "Dell" (without the quotes). Open your search tool from the start icon. Search all your drives for rcd.msi. Once the file is located copy it into the folder you created. Then search again for data1.msi Once you find this file copy it into the same folder. If you are not sure which one to copy if there is more than one, hover your mouse over the file and the location should be the cd drive letter something like this "E:Dell Install" The path that will be displayed by the search will look something like this "C:\Documents and Settings\Name\local Settings\Application Data\ETC ETC. When actually the file is on the cd hidden.
    You will need to do both files before continuing As after the .MSI file it may ask for the other but if it is all ready in the folder it should continue without prompting.
    Once you have done this, when prompted for this RDC.MSI point to the folder you created and that should be that.
     
  15. 2005/11/17
    charlesvar

    charlesvar Inactive Alumni

    Joined:
    2002/02/18
    Messages:
    7,024
    Likes Received:
    0
    Hi Rebecca,

    I ran into the Dell installer issue as well - it would pop up every time I would run MS Anti Spyware, so I think this is not the last ime you're going to run into it.

    bowlesp' solution is one way, can't tell you whether that works or not, I also think it's useless to have it on the drive as far as I can tell.

    http://www.windowsbbs.com/showthread.php?t=47823&highlight=Dell is the way I dealt with it.

    Regards - Charles
     
  16. 2005/11/18
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Thanks, guys! As soon as I have a chance to make a backup of my system, I'll give it a try!
     
  17. 2005/11/19
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Charles,
    Just a matter of curiosity: did that Windows Installer Cleanup Utility take care of your problem once and for all, or do you have to keep running it every time you run MS Anti Spyware?
    After I run the utility, I might theoretically be able to go ahead and install the WorldWind program that started this hullabaloo, is that right?
     
  18. 2005/11/19
    charlesvar

    charlesvar Inactive Alumni

    Joined:
    2002/02/18
    Messages:
    7,024
    Likes Received:
    0
    Hi Rebecca,

    did that Windows Installer Cleanup Utility take care of your problem once and for all
    Yes it did. When I first installed MS AS, the process asked for the Dell resource cd and I did that and said that it didn't find what it was looking for. MS AS installed anyway.

    From then on, as I posted, every time I ran MS AS, I'd have to click thru the dialog to get MS AS to run. After taking it off with the cleanup tool, never had that happen again when running MS AS.

    After I run the utility, I might theoretically be able to go ahead and install the WorldWind program that started this hullabaloo, is that right?
    That I don't know, for me it was an annoyance. I would certainly try it. Right now from what I can tell, you're stuck.

    Regards - Charles
     
  19. 2005/11/21
    rebecca Contributing Member

    rebecca Well-Known Member Thread Starter

    Joined:
    2004/07/31
    Messages:
    655
    Likes Received:
    1
    Figures the easy solution didn't work for me! When I ran the Windows Installer Cleanup Utility, the WorldWind program didn't show up in the dialog box of programs installed... probably because it has yet to be successfully installed!
    I will try bowlesp's suggestion next, but that involves going back and redoing the config and autoexec files again, and I have other things to do right now, so I'll have to get back to this later on or tomorrow.
    In the meantime, thanks for the feedback/help!
     
  20. 2005/11/21
    charlesvar

    charlesvar Inactive Alumni

    Joined:
    2002/02/18
    Messages:
    7,024
    Likes Received:
    0
    Hi Rebecca,

    I meant the "Dell backup installed" routine. Did you see that on the list that the MS cleanup program?

    I think every time you're going to try to install the WorldWind program, it'll come up. If the Dell routine is on the list - you can leave it for now assuring yourself that everything possible is there for the install (I think it's useless), knowing you you can get rid of at anytime.

    Regards - Charles
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.