For me, I have been running a lot of software under PCem and for some reason, when it tries to write a lot of data on the virtual hard disk, data corruption can occur once in a while and the MS-DOS utility, CHKDSK can at some point report a lot of errors.
I decided to take a look at the issue when I mounted the first hard disk image (drv_80.img) as drive G (using IMDisk), I typed in CHKDSK G: and found that at least 24 files out of 5,300 are corrupt!
Here's a CHKDSK log:
This is being run on the Award SiS 496/497 driver (80486 DX2 @ 66 MHz with 64 MB memory, Number Nine FX graphics card with 2 MB VRAM). The machine is currently running MS-DOS 6.22 with four 2 GB hard disk images and no CD-ROM.The type of the file system is FAT.
Windows is verifying files and folders...
0 percent completed.
13 percent completed..
14 percent completed...
15 percent completed....
16 percent completed.....
17 percent completed......
18 percent completed.
19 percent completed..
20 percent completed...
21 percent completed....
Windows found errors on the disk, but will not fix them
because disk checking was run without the /F (fix) parameter.
The size of the \WP\MCV.EXE entry is not valid.
22 percent completed.....
23 percent completed......
24 percent completed.
25 percent completed..
26 percent completed...
The size of the \WINDOWS\HELPHLPR.DLL entry is not valid.
42 percent completed....
43 percent completed.....
44 percent completed......
The size of the \WINDOWS\SYSTEM\CTL3D32.DLL entry is not valid.
45 percent completed.
The size of the \WINDOWS\SYSTEM\msvcrt20.dll entry is not valid.
The size of the \WINDOWS\SYSTEM\OLE2.DLL entry is not valid.
The size of the \WINDOWS\SYSTEM\OLE2.130 entry is not valid.
46 percent completed..
The size of the \WINDOWS\SYSTEM\VBRUN100.DLL entry is not valid.
The size of the \WINDOWS\SYSTEM\VBRUN200.DLL entry is not valid.
47 percent completed...
48 percent completed....
The size of the \WINDOWS\SYSTEM\WIN32S\W32SCOMB.DLL entry is not valid.
The size of the \VP\VP.EXE entry is not valid.
The size of the \VP\VP386.HLP entry is not valid.
The size of the \VP\EXT\GRCALC.VEX entry is not valid.
49 percent completed.....
50 percent completed......
51 percent completed.
52 percent completed..
53 percent completed...
54 percent completed....
55 percent completed.....
56 percent completed......
57 percent completed.
58 percent completed..
59 percent completed...
60 percent completed....
The size of the \PKZIP\MANUAL.TXT entry is not valid.
61 percent completed.....
62 percent completed......
63 percent completed.
64 percent completed..
65 percent completed...
The size of the \NV\NV.HLP entry is not valid.
The size of the \NV\NVGER.HLP entry is not valid.
The size of the \NV\NVIEW.PNG entry is not valid.
The size of the \NV\README.NV entry is not valid.
The size of the \NV\VIEWER.EXE entry is not valid.
66 percent completed....
67 percent completed.....
68 percent completed......
69 percent completed.
70 percent completed..
The size of the \NC\123VIEW.EXE entry is not valid.
The size of the \NC\NCEDIT.EXE entry is not valid.
71 percent completed...
The size of the \NC\NCFF.EXE entry is not valid.
The size of the \NC\NCMAIN.EXE entry is not valid.
The size of the \NC\PARAVIEW.EXE entry is not valid.
72 percent completed....
The size of the \GVFM\RTM.EXE entry is not valid.
73 percent completed.....
74 percent completed......
75 percent completed.
76 percent completed..
77 percent completed...
78 percent completed....
79 percent completed.....
80 percent completed......
81 percent completed.
82 percent completed..
83 percent completed...
84 percent completed....
85 percent completed.....
86 percent completed......
87 percent completed.
88 percent completed..
89 percent completed...
90 percent completed....
91 percent completed.....
92 percent completed......
93 percent completed.
94 percent completed..
95 percent completed...
96 percent completed....
97 percent completed.....
98 percent completed......
99 percent completed.
100 percent completed..
File and folder verification is complete.
Windows found problems with the file system.
Run CHKDSK with the /F (fix) option to correct these.
2,142,502,912 bytes total disk space.
68,026,368 bytes in 8 hidden files.
5,832,704 bytes in 178 folders.
458,162,176 bytes in 5,300 files.
1,610,481,664 bytes available on disk.
32,768 bytes in each allocation unit.
65,384 total allocation units on disk.
49,148 allocation units available on disk.
I'm wondering if the data corruption issue has to do with the way how PCem has been handling the writing of data correctly or not or if there are any bugs with the Award SiS 496/497 driver not handling hard disks over 1.97 GB correctly.
If you are using the latest revision of PCem, can anyone install software (either via floppy disk image or CD-ROM) to see if it can at some point trigger possible data corruption or corruption of one of the executable files that cause it to not run correctly?
Incase data corruption occurs, please make a backup of the hard disk image!
Update: Looking at the system configuration at bootup, the PIO mode of the four hard disks images is set at Mode 2. I could be wrong, but I read somewhere that early versions of the mainboard chipset might have a nasty bug that causes massive data corruption. I'm wondering if lowering the PIO mode setting to 1 or 0 fixes the problem or not.