X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: arpi Newsgroups: comp.os.msdos.djgpp Subject: Re: strange problem with disk operations Date: Mon, 13 Jul 2009 02:25:00 -0700 (PDT) Organization: http://groups.google.com Lines: 82 Message-ID: <8c2d9216-5f80-44a2-8b00-3ff7bec2a4d3@y4g2000prf.googlegroups.com> References: <86e53db7-9815-42a4-a7bc-bcf5276da9a4 AT p18g2000pra DOT googlegroups DOT com> <1ZidnRhYjtuDC9rXnZ2dnUVZ_s6dnZ2d AT earthlink DOT com> <369b60ab-72c2-4707-8c13-7b2d6c1be054 AT l5g2000pra DOT googlegroups DOT com> NNTP-Posting-Host: 122.169.71.221 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1247477101 12368 127.0.0.1 (13 Jul 2009 09:25:01 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 13 Jul 2009 09:25:01 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: y4g2000prf.googlegroups.com; posting-host=122.169.71.221; posting-account=DVFJcAoAAADbhrM_0IMPQC8cdxmxSCyZ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .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 Jul 13, 2:07=A0pm, paravashu wrote: > On Jun 28, 9:10=A0pm, "Charles Sandmann" wrote: > > > > > > > "paravashu" wrote in message > > >news:86e53db7-9815-42a4-a7bc-bcf5276da9a4 AT p18g2000pra DOT googlegroups DOT com..= . > > > >i m facing a strange problem with disk reads and writes through > > > __dpmi_int API. > > > I am trying to perform DISK reads/writes from USB (which is also a do= s > > > bootable). but the programs always hangs at a particular LBA value. > > > very wierd behaviour..some times load error..comes...some other times > > > no swap file error comes... some times crashes...:-) > > > Assuming you are using CWSDPMI. =A0Hangs and strange behavior can > > come from over running the 16-bit internal stack. =A0Some bad Int 13 > > providers have been demonstrated to have excessive stack usage. > > Seehttp://clio.rice.edu/djgpp/r5bug01.txtforan example. =A0This might > > explain why it works on one machine, but not another. > > > One way to analyze this is usinghttp://clio.rice.edu/djgpp/bigstack.zip= orhttp://clio.rice.edu/djgpp/s...see if stack overrun is the > > problem. > > > > But with the same setup , ghost works perfectly witout any error. > > > Depending on which version of Ghost is used, and if it uses int 13, > > that might not be important. > > > > the same setup n environment on a different machine works perfectly > > > without any error with our application. > > > That points to something machine specific. =A0Is the USB device the > > same? =A0If so, that points to the machine BIOS, memory size, or > > memory layout. > > > > 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,®s); interrupt. > > > Difficult to diagnose without very detailed information, such as the EX= ACT > > messages to the screen each time it hangs. > > Yes I have tried with the exes in the links you have posted above but > to no result.. > 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- Hide quoted text - > > - Show quoted text - ne yankamma oorke chetta cheppaku mr.ghost--------vashu