delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/07/13/05:15:22

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: paravashu <paravashu AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: strange problem with disk operations
Date: Mon, 13 Jul 2009 02:06:15 -0700 (PDT)
Organization: http://groups.google.com
Lines: 80
Message-ID: <a3d2af47-0636-4f0d-a5ff-a18c73324042@d36g2000prb.googlegroups.com>
References: <86e53db7-9815-42a4-a7bc-bcf5276da9a4 AT p18g2000pra DOT googlegroups DOT com>
<1b68c995-7908-49ec-ad84-6a4a388f083e AT i6g2000yqj DOT googlegroups DOT com>
NNTP-Posting-Host: 210.118.108.254
Mime-Version: 1.0
X-Trace: posting.google.com 1247475976 9486 127.0.0.1 (13 Jul 2009 09:06:16 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 13 Jul 2009 09:06:16 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: d36g2000prb.googlegroups.com; posting-host=210.118.108.254;
posting-account=nZZF7goAAAABsnWP2j-BAdZkVZvGqieS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Jun 30, 10:09=A0am, Rugxulo <rugx DOT  DOT  DOT  AT gmail DOT com> wrote:
> Alright, I'm just a lowly hobbyist, so take all these comments with a
> grain of salt,
>
> On Jun 26, 4:49=A0am, paravashu <parava DOT  DOT  DOT  AT gmail DOT com> wrote:
>
> > i m facing a strange problem with disk reads and writes through
> > __dpmi_int API.
>
> DJGPP 2.03p2 or 2.04?
>
> > I am trying to perform DISK reads/writes from USB (which is also a dos
> > bootable).
>
> What brand and size and version of USB, and what version/vendor of
> DOS? What motherboard, BIOS version? What else is loaded (TSRs, device
> drivers)? What DOS shell and version?
>
> > but the programs always hangs at a particular LBA value.
>
> LBA ... doesn't only Win95 OSR2.5 support LBA? (I forget exactly,
> someone around here knows though.) I assume FAT16, but maybe you're
> using FAT32? DJGPP 2.04 might help (just blindly guessing).
>
> > very weird behaviour..some times load error..comes...some other times
> > no swap file error comes... some times crashes...:-)
>
> No swap file error occurs if you have no FAT partition defined as a C:
> \ drive. You could (and probably should) disable, or at least redirect
> via -s, the swapfile. Make sure to try the various CWSDPMI bigstack
> variants and/or the 2008 refresh. Also try HDPMI32 and/or PMODE/DJ. If
> I were you, I'd unload any DOS caches (the ones I tried when building
> Emacs recently gave me lots of trouble), unnecessary TSRs, unnecessary
> device drivers, etc. Exact error messages would be nice (take a
> picture with your digital camera or transcribe to paper by hand).
>
> > But with the same setup , ghost works perfectly without any error.
> > the same setup n environment on a different machine works perfectly
> > without any error with our application.
>
> Doesn't matter, lots of machines act differently, even if it's not a
> BIOS bug. Too many things can go wrong. (Maybe the USB disk is getting
> old, bad sectors??)
>
> > The problem is obvserved when we run the application from USB. please
> > clarify as to why this is happening...
> > just not able to find the cause of the problem at 11th time when we
> > issue the __dpmi_int(0x13,&regs); interrupt.
>
> Well, I (very ignorantly) imagine that overwriting the swapfile would
> be bad, or even overwriting parts of the DOS shell or other utility
> reread from disk on occasion. I dunno. =A0:-( =A0 =A0Just proposing a bun=
ch
> of things to take a closer look at.

DJGPP 2.03p2 or 2.04?
guess version 2.02...(how can I verify it?) ..opened in notepad and
seen something like v2.02


2. Pure Dos...no TSRs no drivers nothing...
the problem occures with any USB pen drive.
actually I have two scenarios...
one is to boot from and run the utility from network and another is to
boot and run from
USB pen drive..
In network case the same machine, same DOS environment , the utility
works fine but
when i Boot from USB, the utility hangs at an LBA value 63.
3.THe utility is a backup and restore utility that works on the flash
disk.
4.But when I run GHOST from USB the utility is working fine....
5. One thing i observed, when i played with config.sys file with
different stack sizes and file handles etc..
the control has progressed very much but still after some times, it
hangs...
but the same utility from network boot on the same device did not pose
any threats...

please advice

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019