Microsoft KB Archive/233036

= Windows 98 Second Edition May Hang Due to System.ini Entry =

Article ID: 233036

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Windows 98 Second Edition

-



This article was previously published under Q233036



SYMPTOMS
When you attempt to suspend a computer running Windows 98 Second Edition, the computer may stop responding (hang).



CAUSE
The name of the swapfile used by Windows 98 can be changed by adding a PagingFile= line to the 386Enh section of the System.ini file. If the path specified for the swapfile includes a lowercase drive letter, it can cause Windows 98 Second Edition to occasionally hang during a suspend.



RESOLUTION
To resolve this issue, change the lowercase drive letter specified for the swapfile path in the System.ini file to uppercase. To do this, follow these steps:

 Click Start, click Run, type msconfig, and then click OK. Click the System.ini tab, double-click 386Enh to expand the branch, click PagingFile=, and then click Edit. Change the drive letter to uppercase. For example, change the following line from

PagingFile=d:\win386.swp

to

PagingFile=D:\win386.swp.

 Click Apply, click OK, and then click Yes to restart your computer.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
The I/O subsystem driver (IOS) in Windows 98 (Ios.vxd) attempts to determine the paging device so it can mark it as a device that cannot be powered off until interrupts have been disabled. IOS does this by retrieving the path for the swapfile, stripping out the drive letter from this string, and subtracting the ASCII value for an uppercase letter "A," to determine the drive number. It assumes the drive letter is always specified using an uppercase letter, and does not convert lowercase drive letters to uppercase before subtracting to determine the drive number.

If IOS cannot determine the paging device, it will cause the drive to be powered off early in the suspend phase when interrupts are still enabled. After the paging drive is powered off, Windows 98 Second Edition attempts to flush the drive. If at this point there is still cached data that has not been written to disk, the attempt to flush the drive will fail because the disk is powered down and cannot accept I/O requests.

The FAT file system will attempt to display an error message about this failure; however, the display device is already powered off at this point, so it will appear that the machine is hung.

Keywords: kbpending kbpowerman kbprb KB233036

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.