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

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:32 -0700 (PDT)
Organization: http://groups.google.com
Lines: 79
Message-ID: <03ff1567-e4b6-4aaf-b218-d290ebb892d9@o9g2000prg.googlegroups.com>
References: <86e53db7-9815-42a4-a7bc-bcf5276da9a4 AT p18g2000pra DOT googlegroups DOT com>
<h2cevu$jbj$1 AT aioe DOT org>
NNTP-Posting-Host: 210.118.108.254
Mime-Version: 1.0
X-Trace: posting.google.com 1247475992 8915 127.0.0.1 (13 Jul 2009 09:06:32 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 13 Jul 2009 09:06:32 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: o9g2000prg.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, 12:29=A0pm, "Rod Pemberton" <do_not_h DOT  DOT  DOT  AT nohavenot DOT cmm>
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 dos
> > 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...:-)
>
> What value? =A0Is it the last track? =A0Is it the first track?
>
> I know that MS-DOS' scandisk always complains about the last track and
> sector of my external USB harddrive. =A0It's mapped via legacy BIOS USB
> emulation. =A0It came preformatted for FAT32. =A0I usually repartition an=
d
> reformat, but I didn't do so for this device. =A0So, I'm not sure if they
> setup the partition info incorrectly, or if the manufacturer is using tha=
t
> sector, or if the BIOS translation is affecting reads, or if it's actuall=
y a
> physical defect. =A0If I was trying to eliminate the issue with my USB HD=
, the
> first thing I'd try is a complete repartitioning and reformatting. =A0Tha=
t
> should tell me if the partition was incorrect, or if there is a physical
> defect. =A0However, it might be possible the device uses the last track i=
n a
> non-standard way, as some older harddisks have in the past. =A0In which c=
ase,
> it could cause a (permanent) problem...
>
> > But with the same setup , ghost works perfectly witout any error.
> > the same setup n environment on a different machine works perfectly
> > without any error with our application.
> > 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 have a few simple DJGPP disk related app's that I was considering
> running, but probably not today or tomorrow... =A0I haven't run them with=
 any
> USB devices yet, such as the USB HD or a USB memory stick. =A0I don't thi=
nk
> any do writes.
>
> Rod Pemberton

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