Solved

MS-DOS 6.22 Scandisk error: "Out of memory"

Posted on 2003-12-11
15
1,839 Views
Last Modified: 2007-10-18

Hi,

I am running MS-DOS 6.22 on an old (c. 2000) laptop made by "Fieldworks".  I would like please:

  1. To get another version of scandisk from somewhere.  Do you know where to find one?  I've tried Google.
  2. To get around a problem with my current version of scandisk, whatever that version is.

The problem we are having is, when I type 'scandisk /autofix /surface', or even just 'scandisk' (it behaves the same), it takes me to the scandisk GUI, then starts searching automatically.  It says the FAT is fine, then displays this message:

    C:\SMPDATA\3193\OSMP0000.MAD had an incorrect size.

And this error:

    Out of memory.  There are still errors in drive C

There is over 1GB of space on drive C, so memory should not be an issue unless it is talking about RAM.  When I click 'OK', scandisk finishes and that is the end of that!  Hence I'd either like to get around this problem or get another version of scandisk if one exists.


PROBLEM BACKGROUND:

We recently had some harddisk issues, in which this scenario happened twice:

  a. We start running a patient-monitoring application that produces the kind of .MAD files (custom extension) mentioned above.
  b. Recently it has begun crashing more often than normal.
  c. The file OSMP0000.MAD was in the process of being created by the application while the computer crashed.
     (It is the massive data file containing a log of the patient's heart rate, blood pressure, etc.)
  d. The file still contained most of the data, which i would like to recover, but I cannot copy the file.  I get this error:
           Sector not found reading drive C
           Fail on INT 24   -OSMP0000.MAD

Hence we turned to scandisk!  I am running scandisk to help recover the data.  There are two .MAD files we need to recover, each a few megabytes.

Thank you in advance for your assistance.

--Mark
0
Comment
Question by:Mark Ebden
  • 3
  • 3
  • 2
  • +4
15 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 9921650
I don't think a different version of scandisk will help - and if memory serves correctly, it will complain that it was built for a different version of DOS.  You may have better luck trying Norton Disk Doctor, or something like that.
Although, it sounds like you may not, easily, be able to recover the file in question, try running
CHKDSK /F
and if that succeeds successfully, try rerunning scandisk.
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 9921667
You may want to try booting without too many things loading in your config.sys and autoexec.bat, if you're running out of memory (yes, RAM).
Preceed lines you don't need in config.sys with a semicolon ";" and in autoexec.bat with a double-colon "::" (not the quotes).  "REM" will work as well.
Generally, you can prevent loading anything related to a sound card, cd-rom, etc., at least temporarily to try to get through this. . .Good luck!

~sirbounty
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 9934342
Your computer does not have enough free memory to defrag the drive. Quit one or more programs.
ID# Defrag009
ScanDisk could not continue because your computer does not have enough available memory.
CAUSE
This issue can occur if you are running Windows on a hard disk that is larger than 8 gigabytes (GB) in size and has a cluster size less than 8 kilobytes (KB). This configuration may be created if you use a third-party disk tool to create a partition on a hard disk that is larger than 8 (GB) in size and has a cluster size less than 8 KB.
RESOLUTION
To resolve this issue, contact the manufacturer of the third-party hard disk tool to inquire about a possible update to the software that resolves this issue.


MORE INFORMATION
The standard FAT32 cluster size of 4,096 bytes only applies for hard disks smaller than 8 GB. The third-party hard disk tool may change the cluster size to 4,096 bytes per allocation unit.

The default cluster sizes are listed in the following table.
Hard disk size Cluster size
-------------------------------

512 MB to 8 GB — 4 KB

8 GB to 16 GB — 8 KB

16 GB and larger — 16 KB

matter of fact check this whole page, if for no other reason then to know you are not alone, and maybe something here can help

http://www.computing.net/windows95/wwwboard/forum/13499.html
for more info see these links
http://support.microsoft.com/support/kb/articles/Q132/8/32.asp
http://support.microsoft.com/support/kb/articles/Q134/9/86.asp
http://support.microsoft.com/support/kb/articles/q229/1/54.aspp







0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 9934349
file recovery software
I will post the whole list.

File Rescue 2.5

Web:http://www.file-rescue.com/

GetDataBack

http://www.runtime.org/

For NTFS

http://www.restorer2000.com/r2k.htm

Fast File Undelete

http://www.dtidata.com/

Undelete

http://www.quantumsoft.co.uk/undelete.stm

File Recover 2000

http://www.filerecover.com/

R-Tools

http://www.r-tt.com/


File Restore

If you've deleted your data and you want to get it back, you need FileRestore.

FileRestore is a simple, easy-to-use tool for recovering files that have been lost or deleted from your

Windows system.

Designed for Windows XP, 2000, NT, Me, and 9x

http://www.winternals.com/products/repairandrecovery/filerestore.asp

Disk Commander

In virtually any situation where you need to recover lost data from a Windows system, Disk Commander

is the solution. Disk Commander performs a wide range of data recovery operations.

http://www.winternals.com/products/repairandrecovery/diskcommander.asp


Drive Rescue

Supported file systems: FAT 12/16/32

Windows® 95, 98, ME, NT, 2000 or XP

Free

http://home.arcor.de/christian_grau/rescue/index.html
http://norman.riel.com/downloads.htm


Tool to check and undelete partition

Works with the following partitions:

- FAT12 FAT16 FAT32

- Linux

- Linux SWAP (version 1 and 2)

- NTFS (Windows NT)

- BeFS (BeOS)

- UFS (BSD)

- Netware

- RaiserFS

http://www.cgsecurity.org//testdisk.html


DFSee

http://www.fsys.demon.nl/

MRECOVER

http://kristenonline.com/lain/cih/mrecintro.htm

Emergency Undelete

http://www.c2000.com/software/download.htm


Unerase

http://www.filesearching.com/cgi-bin/s?q=unerase.exe&t=f&d=&l=en&x=11&y=17

List copied from CrazyOne (thanks Spence!!)


0
 
LVL 4

Expert Comment

by:MobileOakAI
ID: 9961102
I agree with sirbounty, go run chkdsk
If it persists, think of rebuild (format)
Before that, think af antivirus
We recently got a virus in one of our own custom extensions and did not catch it for a week, and had many questions why not caught earlier
Our daily & runtime A/V scanned only the normal executables
The weekend one scanned all extentions
So you might want to try scanning of all file extensions if you have not done so yet

You can also try to copy the file. You may not be able to in DOS, but you may inside the application. If successful then you can try deleting original.
But I suspect tha chkdsk/f (fix) will do what you want.
0
 
LVL 4

Expert Comment

by:MobileOakAI
ID: 9961138
I once tried to install Win98 on c:
Before it would install windows, it ran scandisk
I got "Error on D:, Run ScanDisk from Windows"
Why it needed D: to be good to continue, or thought I had Windows it did not install yet was beyond me.
(so I moved on to Win2k instead)
Scandisk may not be as good for results as chkdsk
0
 

Expert Comment

by:Chapstic
ID: 9961658
Well there are ways to fix your problem, first thing i would do is press F5 upon bootup, and it will skip autoexec.bat and config.sys,

then rename autoexec.bat and config.sys to autoexec.(your initials here works best) just so you can remember what they are.

then reboot and try again,

if there are still memory errors, try loading himem.sys in a NEWLY CREATED autoexec.bat before running the install

:)
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 1

Expert Comment

by:ComputerSmith
ID: 9970044
Scandisk and chkdsk for DOS are BOTH no-nos!!!

If the data are important, you should try to clone the drive first, and work with the copies.  Since you already used scandisk, you may be out of luck.

The list provided by stevenlewis notwithstanding, I think the best data recovery/HD fixing tool is Steve Gibson's spinrite, available from www.grc.com .  I've used it for years (since '98, I believe, which is when v5 was released).

0
 
LVL 67

Expert Comment

by:sirbounty
ID: 9971275
Okay, I'll bite. .
"Why" would you say that >>>Scandisk and chkdsk for DOS are BOTH no-nos!!!<<<???

I couldn't hit it dead-on, but I'm certain I've used both in a DOS 6.22 environment at least, oh, 500 times. . . .
0
 
LVL 7

Expert Comment

by:Burbble
ID: 9994094
I think he was referring to the fact that they may try to fix the file, and may permanently damage it in the process (just a guess).

-Burbble
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 9994293
I think we need to hear from the questioner at this point
0
 
LVL 1

Expert Comment

by:ComputerSmith
ID: 9994375
Yeah, that's about it (the try and permanently damage part...)

While I do use scandisk and chkdsk in my clients' DOS systems, it's always in check-but-don't-auto-fix mode.  If there are problems reported, I use spinrite.... I just wish Gibson'd come out with an NTFS version...

Way-back-when, there were a number of printed and online articles enumerating the shortcomings of scandisk, especially, but I don't have references.  It's the, "you get what you pay for" scenario - and scandisk/chkdsk are free with the OS.  I seem to remember reading scandisk being a watered down NDD (I don't think in this thread...  :-)  )

Cross-linked files, where scandisk makes duplicates, or the probable-temp-files-that-can-be-deleted are ok, but the "sector error reading drive C:" message initially indicates a surface defect or similar - and, again, I've experienced (and read) too many good things about spinrite to bother with anything else.  It uses something called dynastat (sp?) recovery that tries to figure out the missing data.  And, that has come in handy more than once!

TTFN
0
 

Author Comment

by:Mark Ebden
ID: 10251579

Many thanks for all your help!  Sorry for the delay, but I was able to get what I wanted by editing config.sys and autoexec.bat, although the data was lost.
0
 
LVL 7

Expert Comment

by:Burbble
ID: 10251719
May I ask what specifically you changed in them? (Just for future reference)

-Burbble
0
 

Author Comment

by:Mark Ebden
ID: 10269908

The biggest change was I commented out the loading of the PCMCIA driver, to free up memory.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now