home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
DAMEM.FAX
< prev
next >
Wrap
Text File
|
1994-12-03
|
10KB
|
244 lines
-SYS3176, HANGS, TSRs: EMS CONFLICTS- 7/18/94
FILE: OSDAMEM.FAX - 6/03/94
TITLE: 940603 SYS3176, HANGS, OS/2 2.x EXPANDED MEMORY (EMS)
CONFLICTS WITH DOS APPLICATIONS RUNNING IN A
VIRTUAL DOS MACHINE (VDM)
DESCRIPTION OF SYMPTOMS:
DOS applications running in a VDM may have problems
with expanded memory conflicts (EMS), SYS3176, and
session locks up.
DETAILS OF RESOLUTION:
Many DOS applications, TSRs, or loading device drivers high,
use Expanded Memory (EMS) when loading. Some examples of DOS
applications are spreadsheets, wordprocesssors, databases,
desktop publishing, and CAD systems. Several problems 'may'
occur if EMS is not detected:
1. SYS3176 error.
2. The VDM session locks up when starting up the application.
3. When starting up the application in a VDM, a flash of text
relating to an adapter conflict appears before it closes
and goes back to the OS/2 desktop. It goes by so fast, you
can hardly see it.
-- TSR (Terminate-and-Stay-Resident)
A VDM will close when it detects the TSR terminating,
in which case, there is no chance for it to become
resident. In order to load a TSR you must make a
Desktop Program Object from the Templates Folder. On
the Program page of the Settings Notebook, enter an
"*" in the Path and File Name field if it does not
already exist. Fill in the Parameters field with a
"/K" followed by the path and program name of the TSR.
Example:
"/K C:\FT\FTTERM.BAT"
See Vol. 2, Page 200 of the IBM Redbooks for more
information.
4. Very little expanded memory shows up in the application no
matter what changes were made to the DOS Settings.
In order to configure EMS support for the OS/2 Virtual DOS
Machine (VDM), a contiguous 64KB block of RAM is used as
the EMS Page Frame and must be available wit the Upper
Memory Block (UMB) between 640KB and 1MB. That
address range is between C0000-CFFFF which is exactly
64KB of memory.
We recommend remapping to the D0000-DFFFF range all adapter
cards whose ROM and RAM addesses are mapped between the
C0000-CFFFF range. The most common adapter cards are
video, network, modem, and emulation. Many IBM and
OEM systems have their Token Ring Adapter cards
mapped to the C0000-CFFFF region.
****** ADDITIONAL INFORMATION FOR EMS MEMORY ******
EMS MEMORY AND CONFLICTS WITH ADAPTER MEMORY
Expanded Memory uses memory addresses that sometimes conflict
with adapters. EMS needs 64k of contiguous space before it
can install. The more adapters you have, the more likely the
conflict. Network, disk, and 3270 adapters usually have
memory present which can prevent EMS activation.
If you have used a EMS emulator before, you are probably aware
of these conflicts and know some techniques to fix it. Under
OS/2 these techniques are slightly different.
There are two techniques to stop the conflict. The first is
to use the INCLUDE property ("MEM_INCLUDE_REGIONS"). With
this property, you can disable the adapter memory for only
that session and allow EMS to use it instead.
EXAMPLE:
If you have a 3270 adapter, and already have OS/2 Comm Manager
support, you will not need to use the 3270 memory in a DOS
session. To disable the memory in a DOS session, you will
need to find the address of the 3270 adapter. This can be
accomplished by using the reference diskettes on PS/2's. Once
the address is known, specify the range in the INCLUDE
property. Most IBM 3270 adapters will start at CE000 (0XCE00
absolute). The property should be set to:
CE000-CFFFF
This will allow EMS to use this memory if there is enough
memory near this range.
The second technique is to change the addresses of the
adapters with the reference diskette.
Example:
On a PS/2 Model 80 ESDI with both a Token Ring and 3270
adapter, it would be necessary to change the defaults to allow
EMS to be enabled.
Note: The '0x' prefix on numbers means that it is
hexadecimal.
Address Use Address Name Length (in KBytes)
------------ ------------ ------------------
VGA (Video) 0xA0000-0xBFFFF 128K
Not in Use 0xC0000-0xC7FFF 32K (Free)
ESDI Adapter (Disk) 0xC8000-0xCBFFF 16K
IBM Token Ring ROM 0xCC000-0xCDFFF 8K
IBM 3270 Adapter 0xCE000-0xCFFFF 8K
Not in Use 0xD0000-0xD7FFF 32K (Free)
IBM Token Ring RAM 0xD8000-0xDBFFF 16K
Not in Use 0xDC000-0xDFFFF 16K (Free)
PS/2 ROM 0xE0000-0xFFFFF 128K
If you want to use a DOS network redirector and a DOS 3270
driver in the same session with EMS memory, you would need to
re-arrange the addresses of the adapters the allow a 64K sized
window into the range from 0xA0000 to 0xFFFFF. Since we need
both VGA and PS/2 ROM, the range will have to be between
0xC0000 and 0xDFFFF.
There is a total of 80K free in that range, it just is not
contiguous. Our goal is to make it contiguous.
Use the PS/2 Reference diskette to change the addresses of the
adapters. In this case, it would be best to move the adapters
from the 0xC0000-0xCFFFF range into the 0xD0000-0xDFFFF range.
Move ESDI ROM to 0xD0000
Move Token-Ring ROM to 0xD4000
Move 3270 RAM to 0xD6000
The new map would look like:
Address Use Address Name Length (in KBytes)
------------ ------------ ------------------
VGA 0xA0000-0xBFFFF 128K
EMS Memory 0xC0000-0xCFFFF 64K (EMS Range)
ESDI Adapter 0xD0000-0xD3FFF 16K
IBM Token Ring ROM 0xD4000-0xD5FFF 8K
IBM 3270 Adapter 0xD6000-0xD7FFF 8K
IBM Token Ring RAM 0xD8000-0xDBFFF 16K
Not in Use 0xDC000-0xDFFFF 16K (Free)
PS/2 ROM 0xE0000-0xFFFFF 128K
The memory not in use for EMS could be used by the XMS Upper
Memory Blocks. In this case, the 16K could be used by OS/2
DOS to load a device driver or TSR high.
*** TO RECONFIGURE THE MEMORY REMAPPING ***
ON VARIOUS MACHINES
IBM SYSTEMS
Some of the IBM hardware systems: 56 SLC, 57 SLC, 56 SLC2, 57
SLC2, 76, 77, and 90, have a built in utility program in which
a backup Reference diskette can be created. The diagnostics
to reconfigure the register addresses can be run from the hard
drive. We have found that most of these systems have their
video adapter cards mapped to the C0000-CFFFF region.
-- To start the Utility Program from the hard drive: Turn on
the computer and allow the self-tests to finish, press and
hold down the Ctrl-Alt-Del keys, then release the keys.
Watch the cursor closely, and when it moves to the
top-right corner of the screen, press and hold the
Ctrl-Alt-Ins keys, then release the keys. (See IBM
Reference Diskette Instructions below).
IBM VALUE POINT
These systems have their video addresses mapped to the
A0000-AFFFF range. These also have to start the utility
program from the hard drive. (See instructions from IBM
Preloads above.)
OTHER IBM PS/2 MICRO CHANNEL SYSTEMS
A Reference Diskette is supplied with each system. Boot the
diskette from Drive A. (See IBM Reference Diskette
Instructions below).
IBM REFERENCE DISKETTE INSTRUCTIONS
When the IBM logo appears, press Enter, select "Set
Configuration", then "Change Configuration", Select the slot
and location of the adapter card that is mapped to the
C0000-CFFFF range and with the 'PF6 Key' toggle up or down to
a free D0000-DFFFF memory range address. Press PF10 to Save
the configuration. Reboot the machine. Your goal is to free
the C0000-CFFFF address range by moving adapter ROM and RAM
addresses to the D0000-DFFFF range.
EISA / ISA BUS ARCHITECTURE SYSTEMS
Many of these systems have a built in Diagnostics Setup and
Configuration file. After a cold boot, the screen will
display a sequence of keys to press to bring up the Setup.
Some systems allow only viewing and some allow viewing and
reconfiguring. Quite a few adapter cards can only be
reconfigured by resetting dip switches on the card. Refer to
the manufacturer's documentation that came with the card,
and/or to contact the Point-of-Sale Vendor where you purchased
the system.
Report by: OS/2 Dosap Anaylst Team - 06/94
IBM - Boca Raton, Florida
12/31/99