Chozo4 Posted April 1, 2008 Posted April 1, 2008 (edited) Not sure why it's been doing this and just now noticing it recently while being slightly more aggressive with my system. Never had this problem untill just recently...I've been using the smartdrive disk cache (MSDOS7.1) for my system ever since setting it up. Now whenever i 'push' it by hitting it with multiple reads at once, it causes a complete system lockup (requiring a restart). I'm used to getting the occasional standstill during occasional writes (whicn clears up once it's done writing) but this happens only with read caching.Say for instance, I copy 300 midi's to a ramdrive using a command console, it will lockup halfway through and just freeze. If I run an instance of internet explorer and load two pages at once (temp files cache in ramdrive), smartdrive causes the system to lockup yet again.If I were to disable smartdrive, I don't get these issues. Would rather keep using it since the drive my system runs on can only run in compatibility mode (Pny-Attache' USB2 4gb FLASHdrive). Purpose also for smartdrive is to minimize read/write requests since I know a flash drive can only handle so many over time and this particular one is slow (~950kb write, ~8mb read).Are the any other disk caches out there that could be used and is comparable (or better?) to Microsofts SmartDrv? I tried pc-kwik 3.0 but the physical drive layout is unknown to it and so would not work (would have been nice though as it can prioritize reads over writes).If it helps any, here are my config.sys, autoexec.bat, win.ini, and system.ini files:config.sys[menu]menuitem=LOAD, Normalmenuitem=SAFE, Safe modemenuitem=SFCD, Safe mode w/ USBCD-Supportmenuitem=CMDO, Command prompt onlymenuitem=CMDC, Command prompt only w/ USBCD-Supportmenuitem=CMDS, Safe mode command prompt onlysubmenu =DBUG, * Debug optionsmenudefault=LOAD,03menucolor=5,0[DBUG]menuitem=DBG0, SxS through all modulesmenuitem=DBG1, Do not load any Modulessubmenu =menu, * Return to main menu;Common Calls[MAIN]switches=/Fdos=high,umb,noautodevice=umbpci.sysdevice=lowdma.sysdevice=hiram.exedevicehigh=himem.sys /testmem:off /vbuffershigh=11,0fileshigh=40fcbshigh=1,0stackshigh=0,0lastdrivehigh=zdevicehigh=ifshlp.sysdevicehigh=dblbuff.sys;DEBUG Sections;Use only with step-by-step mode[DBG0]switches=/Fswitches=/F /Edos=high,umbdos=high,umb,autodevicehigh=himem.sys /testmem:off /vdevicehigh=himem.sys /numhandles=128 /testmem:off /vdevice=umbpci.sysdevice=lowdma.sysdevice=hiram.exedevicehigh=himem.sys /testmem:off /vdevicehigh=himem.sys /numhandles=128 /testmem:off /vbuffershigh=11,1fileshigh=60fcbshigh=8,0stackshigh=8,64lastdrivehigh=zdevicehigh=ifshlp.sysdevicehigh=dblbuff.sysdevicehigh?=usbaspix.sys /vdevicehigh?=usbaspix.sys /v /fdevicehigh?=usbaspix.sys /v /f /nocbcdevicehigh?=usbaspix.sys /v /nocbcdevicehigh?=usbaspix.sys /v /norstdevicehigh?=usbaspix.sys /v /norst /fdevicehigh?=usbaspix.sys /v /norst /f /nocbcdevicehigh?=usbaspix.sys /v /norst /nocbcdevicehigh?=usbaspix.sys /v /e devicehigh?=usbaspix.sys /v /e /slowdevicehigh?=usbaspix.sys /v /e /norstdevicehigh?=usbaspix.sys /v /e /norst /fdevicehigh?=usbaspix.sys /v /e /norst /f /noprtdevicehigh?=usbaspix.sys /v /e /norst /f /noprt /nocbcdevicehigh?=usbaspix.sys /v /e /norst /f /noprt /slow /nocbcdevicehigh?=usbaspix.sys /v /e /norst /f /noprt /slowdevicehigh?=usbaspix.sys /v /e /norst /noprt /nocbcdevicehigh?=usbaspix.sys /v /e /norst /nocbcdevicehigh?=usbaspix.sys /v /e /norst /noprtdevicehigh?=usbaspix.sys /v /e /norst /slowdevicehigh?=usbaspi.sys /v /e /f /nocbcdevicehigh?=usbaspi.sys /v /e /f /nocbc /slowdevicehigh?=usbaspi.sys /v /e /norst /fdevicehigh?=usbaspi.sys /v /e /norst /f /noprtdevicehigh?=usbaspi.sys /v /e /norst /f /noprt /nocbcdevicehigh?=usbaspi.sys /v /e /norst /f /noprt /slow /nocbcdevicehigh?=usbaspi.sys /v /e /norst /f /noprt /slowdevicehigh?=usbaspi.sys /v /e /norst /noprtdevicehigh?=usbaspi.sys /v /e /norst /noprt /nocbcdevicehigh?=usbaspi.sys /v /e /norst /nocbcdevicehigh?=usbaspi.sys /v /e /norst /slowdevicehigh?=usbaspi.sys /v /e /norstdevicehigh?=usbaspi.sys /v /norstdevicehigh?=usbaspi.sys /vdevicehigh?=aspiehci.sys /int /alldevicehigh?=aspidisk.sysdevicehigh?=di1000dd.sys /H0devicehigh?=oakcdrom.sys /D:SakuCDdevicehigh?=aspicd.sys /D:SakuASPIinstallhigh?=MSCDEX.EXE /D:SakuCDinstallhigh?=MSCDEX.EXE /D:SakuASPIset COMSPEC?=C:\command.comshell?=C:\command.com C:\ /E:1280 /L:160 /U:160 /P /F[DBG1]include MAIN;Primary Sections[LOAD]include MAINdevicehigh=usbaspi.sys /v /e /f /norst /nocbcdevicehigh=di1000dd.sys /H0devicehigh=oakcdrom.sys /D:SakuCDinstallhigh=MSCDEX.EXE /D:SakuCDaccdate=C- D-shell=C:\command.com C:\ /E:1280 /L:160 /U:160 /P /F[SAFE]include LOAD[SFCD]include MAINdevicehigh=usbaspi.sys /v /e /f /norst /nocbcdevicehigh=di1000dd.sys /H0devicehigh=oakcdrom.sys /D:SakuCDdevicehigh=aspicd.sys /D:SakuASPIinstallhigh=MSCDEX.EXE /D:SakuCD /D:SakuASPIaccdate=C- D-shell=C:\command.com C:\ /E:1280 /L:160 /U:160 /P /F[CMDO]include LOAD[CMDC]include SFCD[CMDS]Autoexec.bat (primary)@echo offif not %config%=='' goto %config%goto end:LOADset COMSPEC=C:\command.comC: | call autoexec.batCLSEcho Starting Windows...wingoto end:SFCD:SAFEset COMSPEC=C:\command.comCLSEcho Starting Windows...win /D:Mgoto end:CMDOC: | call autoexec.batgoto END:DBG0:DBG1:CMDS:CMDC:endautoexec.bat (secondary)if %config%==reload goto autoexecif not %config%=='' goto %config%goto end:LOADgoto reload:SFCD:SAFEset COMSPEC=C:\command.comCLSEcho Starting Windows...win /D:Mgoto end:CMD0:reloadset config=reloadC: | autoexec.batexit:autoexecset config=set COMSPEC=C:\command.comSET PATH=A:xmsdsk 131072 Z: /c4 /y /tlabel Z:PORTALmkdir Z:\cmdcopy command.com Z:xcopy32 A: Z:\cmdxcopy32 C:\progra~1\abyssw~1\php\*.* Z:xcopy32 C:\SharpE\Plugins\aclock\Try.bmp Z:::Remove phantom floppydlmanip delete B::redirect emulated floppy (A) to ramdrivesubst A: Z:\cmdSET PATH=Z:\cmd;C:\windows\system;C:\windows;C:\windows\commandSET COMSPEC=Z:\cmd\COMMAND.COM::smartdrv 8192 C+ /q /B:16384 /E:16384smartdrv 8192 C+ /q /n /B:16384 /E:16384::smartdrv C+ /q /n /lset TMP=Z:\TEMPset TEMP=%tmp%mkdir %tmp%mkdir %tmp%\nethoodmkdir %tmp%\printhoodrem >%tmp%\desktop.iniattrib +a +s +h %tmp%\desktop.iniif exist %windir%\temp\* deltree /y %windir%\tempif exist %windir%\recent\* deltree /y %windir%\recentCLSEcho Starting Windows...win:DBG0:DBG1:CMDS:CMDC:endwin.ini[Desktop]Wallpaper=C:\WINDOWS\KILL_B~1.BMPTileWallpaper=0WallpaperStyle=2Pattern=(None)[intl]iCountry=1ICurrDigits=2iCurrency=0iDate=0iDigits=2iLZero=1iMeasure=1iNegCurr=0iTime=0iTLZero=0s1159=AMs2359=PMsCountry=United StatessCurrency=$sDate=/sDecimal=.sLanguage=enusList=,sLongDate=dddd, MMMM dd, yyyysShortDate=M/d/yysThousand=,sTime=:[TrueType]FontSmoothing=1[MCICompatibility]QTWVideo=0x0001MCIXSND=0x0001GDAnim=0x0001[embedding]Package=Package,Package,packager.exe,picturemidfile=MIDI Sequence,MIDI Sequence,C:\WINDOWS\mplayer.exe /mid,pictureSoundRec=Wave Sound,Wave Sound,C:\WINDOWS\sndrec32.exe,picturemplayer=Media Clip,Media Clip,C:\WINDOWS\mplayer.exe,picturePBrush=Paintbrush Picture,Paintbrush Picture,C:\PROGRA~1\ACCESS~1\MSPAINT.EXE,picturePaint.Picture=Bitmap Image,Bitmap Image,C:\Progra~1\Access~1\MSPAINT.EXE,pictureWordpad.Document.1=WordPad Document,WordPad Document,C:\PROGRA~1\ACCESS~1\WORDPAD.EXE,pictureImaging.Document=Image Document,Image Document,C:\WINDOWS\KodakImg.Exe,pictureWangImage.Document=Image Document,Image Document,C:\WINDOWS\KodakImg.Exe,pictureavifile=Video Clip,Video Clip,C:\WINDOWS\mplayer.exe /avi,picture[FontSubstitutes]Helv=MS Sans SerifTms Rmn=MS SerifTimes=Times New RomanHelvetica=ArialMS Shell Dlg=MS Sans SerifMS Shell Dlg 2=MS Sans SerifMonotype.com=Andale Mono[colors]Scrollbar=242 241 240Background=128 64 0ActiveTitle=128 64 0InactiveTitle=242 241 240Menu=230 228 224Window=255 255 255WindowFrame=100 100 100MenuText=0 0 0WindowText=0 0 0TitleText=255 255 255ActiveBorder=192 192 192InactiveBorder=230 228 224AppWorkspace=163 155 139Hilight=203 117 1HilightText=255 255 255ButtonFace=230 228 224ButtonShadow=163 155 139GrayText=163 155 139ButtonText=0 0 0InactiveTitleText=67 78 84ButtonHilight=242 241 240ButtonDkShadow=105 105 105ButtonLight=230 228 224InfoText=0 0 0InfoWindow=255 255 225ButtonAlternateFace=0 0 0HotTrackingColor=0 102 204GradientActiveTitle=255 128 0GradientInactiveTitle=242 241 240[SmartMon]Interval=25Frequency=100AutoStop=1UpdateBatch=0TopMost=0[Sounds]SystemDefault=,[programs]vncviewer.exe=C:\Program Files\RealVNC\VNC4\vncviewer.exeWINAMP.EXE=C:\Program Files\Winamp\WINAMP.EXE[windows][Extensions]vncviewer.exe=C:\Program Files\RealVNC\VNC4\vncviewer.exe[COMPATIBILITY]INSTALL=0x00400000[SciCalc]layout=0[WS_FTP]VERSION=98.03.17DIR=C:\Program Files\WS_FTPDEFDIR=C:\Program Files\WS_FTPGROUP=WS_FTPINSTOPTS=4[WS_FTP95]VERSION=98.03.17[MSCharMap]Font=Courier[ActiveSetup5]SuState=013200Unattended=0system.ini[boot]sound.drv=mmsound.drv*DisplayFallback=0display.drv=pnpdrvr.drvdrivers=mmsystem.dll power.drvfonts.fon=vgasys.fonfixedfon.fon=vgafix.fonoemfonts.fon=vgaoem.fon386Grabber=vgafull.3grmouse.drv=mouse.drv[386Enh]ebios=*ebioswoafont=dosapp.fonmouse=*vmouse, msmouse.vxddevice=*dynapagedevice=*vcddevice=*vpddevice=*int13display=*vdd,*vflatdMinSPs=16ConservativeSwapfileUsage=0DMABufferSize=64LocalLoadHigh=0MaxBPs=16384MinTimeSlice=15WindowUpdateTime=PageBuffers=MessageBackColor=4MessageTextColor=FPagingDrive=Z:MaxPagingFileSize=35840original_EMMExclude=<nil>EMMExclude=a000-ffff[NonWindowsApp]TTInitialSizes=4 5 6 7 8 9 10 11 12 13 14 15 16 18 20 22[drivers]wavemapper=*.drvMSACM.imaadpcm=*.acmMSACM.msadpcm=*.acmwave=mmsystem.dllmidi=mmsystem.dll[Password Lists].=C:\WINDOWS\000.PWL[boot.description]mouse.drv=Standard mouse[TTFontDimenCache]0 4=2 40 5=3 50 6=4 60 7=4 70 8=5 80 9=5 90 10=6 100 11=7 110 12=7 120 13=8 130 14=8 140 15=9 150 16=10 160 18=11 180 20=12 200 22=13 22[drivers32]msacm.lhacm=lhacm.acmVIDC.VDOM=vdowave.drvmsacm.msg711=msg711.acmvidc.CVID=iccvid.dllVIDC.IV31=ir32_32.dllVIDC.IV32=ir32_32.dllvidc.MSVC=msvidc32.dllVIDC.MRLE=msrle32.dllVIDC.IV50=ir50_32.dllmsacm.iac2=C:\WINDOWS\SYSTEM\IAC25_32.AXMSACM.imaadpcm=imaadp32.acmMSACM.msadpcm=msadp32.acmMSACM.msgsm610=msgsm32.acmMSACM.trspch=tssoft32.acmVIDC.YUY2=msyuv.dllVIDC.UYVY=msyuv.dllVIDC.YVYU=msyuv.dllmsacm.l3acm=C:\WINDOWS\SYSTEM\L3CODECA.ACMVIDC.WMV3=wmv9vcm.dllvidc.ffds=ff_vfw.dll Edited April 1, 2008 by Chozo4
ShadeTreeLee Posted April 4, 2008 Posted April 4, 2008 I won't be of much help recommending disk caching software, but have you seen/applied this?MS-DOS Does Not Properly Process Hard Disk Hardware Errors http://support.microsoft.com/?kbid=311561
dencorso Posted April 4, 2008 Posted April 4, 2008 ShadeTreeLee is right! Q311561 is a must.Did you try to use Win ME' smartdrv instead?You're running out of a pen drive, having booted it, right? That's awesome!
Chozo4 Posted April 6, 2008 Author Posted April 6, 2008 ShadeTreeLee is right! Q311561 is a must.Did you try to use Win ME' smartdrv instead?You're running out of a pen drive, having booted it, right? That's awesome! Well, not quite booted directly off it. It's getting help from a custom bootcd to load USB2 drivers through dos amongst a host of other bits (which is the config.sys up top). Which is then loading windows off the thumbdrive under drive C:I've not tried the WinME smartdrive. Is there any significant difference between the win98se / winme smartdrv disk cache? Perhaps better handling or even performance?Also, so far it's working fine at the moment. Trying to stress it a bit and the normal steps I used to reproduce the lockups aren't happening right now (load IE window, open high filecount folder, then copy a folder of 325 midi's to ramdrive which then locksup fully halfway through). I'd disabled the VirtualHDirq and Disabled Protected Mode Harddisk interrupt handling. Seeing how that goes (so far so good) for the moment.I tried that patch Shadetreelee had linked to - it didn't solve my problem at all (thanks though!). It had still occured untill I started going through some troubleshooting options. Although I'm starting to think it may be driver (or cache clashing between smartdrv/vcache) related as I'm running the CD drive through 32-bit mode and the (thumb)local drive in 16-bit.
dencorso Posted April 10, 2008 Posted April 10, 2008 How is it going? Have you solved the problem?BTW, which usbaspi.sys are you using? Panasonic 2.20? If not, why?Good luck!
alexanrs Posted April 11, 2008 Posted April 11, 2008 Have you tried other caching software? Perhaps you'll get better results with UIDE (search for it as UDMA on www.freedos.org, the alternate site might still have it, since it has been removed from the main page) or something like that. Notice that UIDE is also a CD/DVD driver, as far as I remember, so you should remove OAKCDROM.SYS from config.sys if you decide to try.(Btw, why are you using MSCDEX.EXE? Doesn't the Windows ATAPI driver override that? Besides, wouldn't using SHSUCDX be better, conventional memory-wise?)
dencorso Posted April 13, 2008 Posted April 13, 2008 (edited) (Btw, why are you using MSCDEX.EXE? Doesn't the Windows ATAPI driver override that? Besides, wouldn't using SHSUCDX be better, conventional memory-wise?)Precisely because of it: Win 98SE knows how to override MSCDEX, hence Win 98SE loads 32-bit file access for the CD/DVD drive, once it starts. SHSUCDX is better, faster and more carefully written, but Win 98SE knows nothing about it, so cannot override it, and the result is having compatibility mode for the CD/DVD drive... Edited April 13, 2008 by dencorso
MDGx Posted May 13, 2008 Posted May 13, 2008 Anonymous author of several patches sent this about Win98 SE Smartdrv:Another not so recent MSFN post asks about the differences between Win98 and WinMe SMARTDRV.EXE.The answer is: no performance improvements, etc. just a bug fix. Win98 SMARTDRV.EXE has a nasty bug and one wouldhope the software engineer responsible for that bug no longer codes at M$.I have seen this type of bug in several Win9x executables now.Therefore, if using Windows 95, 98 or 98 SE [any edition] and/or MS-DOS 5/6/7/8, I strongly recommend to install the fixed SMARTDRV.EXE from WinME, which is also installed by 98SE2ME options 1 + 2:http://www.mdgx.com/98-5.htm#KRM9SWindows ME setup CD-ROM is needed to copy SMARTDRV.EXE to your hard drive.HTH
RetroOS Posted May 14, 2008 Posted May 14, 2008 ...just a bug fix. Win98 SMARTDRV.EXE has a nasty bug and one would hope the software engineer responsible for that bug no longer codes at M$.I have seen this type of bug in several Win9x executables now.Hi MDGx,Any chance of getting more information on 'this type of bug' in several 9x exes? Which exes?I'm interested now!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now