X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: paravashu Newsgroups: comp.os.msdos.djgpp Subject: strange problem with disk operations Date: Fri, 26 Jun 2009 02:49:02 -0700 (PDT) Organization: http://groups.google.com Lines: 13 Message-ID: <86e53db7-9815-42a4-a7bc-bcf5276da9a4@p18g2000pra.googlegroups.com> NNTP-Posting-Host: 210.118.108.254 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1246009743 25095 127.0.0.1 (26 Jun 2009 09:49:03 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 26 Jun 2009 09:49:03 +0000 (UTC) Cc: rajan DOT singh AT samsung DOT com Complaints-To: groups-abuse AT google DOT com Injection-Info: p18g2000pra.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),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 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...:-) 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,®s); interrupt.