Mail Archives: djgpp/2009/07/13/05:30:06
On Jul 13, 2:07=A0pm, paravashu <parava DOT DOT DOT AT gmail DOT com> wrote:
> On Jun 28, 9:10=A0pm, "Charles Sandmann" <cwsd DOT DOT DOT AT earthlink DOT net> wrote:
>
>
>
>
>
> > "paravashu" <parava DOT DOT DOT AT gmail DOT com> 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
- Raw text -