#1 Burning Software

It is currently Sat Dec 21, 2024 12:35 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Reading corrupt disks - GrabRange
PostPosted: Tue Sep 09, 2008 10:05 am 
Offline

Joined: Tue Sep 09, 2008 9:53 am
Posts: 23
I'm having size issues when creating FileTrees with StarBurn_ISO9660JolietFileTree_AddPascalStream on a CD-RW at 702M + a bit the disk burns is unreadable but I assume the TOC fails (same file will create an ISO image of 737,130,496bytes) a smaller selection (ISO image - 736,868,352bytes) works just fine.


so 2 questions

1) how do I check the FileTree to see it will fit (I'm attempting to count allocations but am left with a MAYBE factor of 256K - 512K)

2) how can I read these corrupted disks (or any corrupted disk with no toc) ie a RAWGrabRange -
Quote:
GrabRange: Getting TOC information...
GrabRange: StarBurn_CdvdBurnerGrabber_GetTOCInformation() failed, exception 8, status 0, text "CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed"


TIA


Top
 Profile  
 
 Post subject: Re: Reading corrupt disks - GrabRange
PostPosted: Tue Sep 09, 2008 9:30 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
It's a very bad idea to burn more data on the disc then disc can handle. You cannot read what was not actually written. Read-by-sector features will not help you here.

Linden wrote:
I'm having size issues when creating FileTrees with StarBurn_ISO9660JolietFileTree_AddPascalStream on a CD-RW at 702M + a bit the disk burns is unreadable but I assume the TOC fails (same file will create an ISO image of 737,130,496bytes) a smaller selection (ISO image - 736,868,352bytes) works just fine.


so 2 questions

1) how do I check the FileTree to see it will fit (I'm attempting to count allocations but am left with a MAYBE factor of 256K - 512K)

2) how can I read these corrupted disks (or any corrupted disk with no toc) ie a RAWGrabRange -
Quote:
GrabRange: Getting TOC information...
GrabRange: StarBurn_CdvdBurnerGrabber_GetTOCInformation() failed, exception 8, status 0, text "CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed"


TIA


Top
 Profile  
 
 Post subject: Re: Reading corrupt disks - GrabRange
PostPosted: Wed Sep 10, 2008 12:52 am 
Offline

Joined: Tue Sep 09, 2008 9:53 am
Posts: 23
anton (staff) wrote:
It's a very bad idea to burn more data on the disc then disc can handle. You cannot read what was not actually written.


Yes I agree that it's a bad idea... Oops just realized I'm not check StarBurn_ISO9660JolietFileTree_GetSizeInUCHARs result after building tree ... so this is whats causing my problem - SORRY for that one

BUT

I'd still like to do RAW sector reads using SB ON any CD/DVD (ie "ISO Buster Lite") is there a " Read-by-sector feature" THAT WILL help here.

TIA


Top
 Profile  
 
 Post subject: Re: Reading corrupt disks - GrabRange
PostPosted: Wed Sep 10, 2008 8:44 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) :)))

2) Sure. Please take a look at

StarBurn_CdvdBurnerGrabber_ReadLB(...)

API call. It can manually read disc content. Cooked. Or do you really mean RAW 2448 CD sectors?

Linden wrote:
anton (staff) wrote:
It's a very bad idea to burn more data on the disc then disc can handle. You cannot read what was not actually written.


Yes I agree that it's a bad idea... Oops just realized I'm not check StarBurn_ISO9660JolietFileTree_GetSizeInUCHARs result after building tree ... so this is whats causing my problem - SORRY for that one

BUT

I'd still like to do RAW sector reads using SB ON any CD/DVD (ie "ISO Buster Lite") is there a " Read-by-sector feature" THAT WILL help here.

TIA


Top
 Profile  
 
 Post subject: Re: Reading corrupt disks - GrabRange
PostPosted: Wed Sep 17, 2008 3:52 am 
Offline

Joined: Tue Sep 09, 2008 9:53 am
Posts: 23
anton (staff) wrote:

StarBurn_CdvdBurnerGrabber_ReadLB(...)

API call. It can manually read disc content.


Currently using ver 7 .. ReadLB will not read a disk which was written to be TrackAtOnceFromFree (which fails because tree is to big) ... same code is fine with OK disk.

Will version 10 fix this issue of is there another API (BTW I'd prefer cooked but can cope with RAW)

TIA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 17, 2008 8:20 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You cannot read the disc you've failed to finalize. TOC and lead-out is not written. Nobody will help you.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 3:15 am 
Offline

Joined: Tue Sep 09, 2008 9:53 am
Posts: 23
anton (staff) wrote:
You cannot read the disc you've failed to finalize. TOC and lead-out is not written. Nobody will help you.


Ummmm..... ISO Buster 2.4 reads it fine


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2008 8:33 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Good for it. Try using manual read from StarBurn.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2008 6:59 am 
Offline

Joined: Tue Sep 09, 2008 9:53 am
Posts: 23
anton (staff) wrote:
Good for it. Try using manual read from StarBurn.


ReadLB doesn't work is there another "MANUAL" read API

NB
1) the .h file comments includes references to StarBurn_CdvdBurnerGrabber_Read and StarBurn_CdvdBurnerGrabber_Read10 do they exist
2) .pas file does not contain ReadCooked - it does seem to work however... is it depricated


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 25, 2008 10:20 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
What does it mean "does not work"? Can we have the log?

They were either removed or renamed or made privite.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 2:09 am 
Offline

Joined: Tue Sep 09, 2008 9:53 am
Posts: 23
Test Media is a CD that has been creating by SB_CdvdBurnerGrabber_TrackAtOnceFromTree where tree is larger than disk.

Test program is a revised version of the GrabGange sample - TOC read is removed - and GrabRange function swapped with ReadLB

getmem( LRBuffer, 8192 );
l__EXCEPTION_NUMBER := StarBurn_CdvdBurnerGrabber_ReadLB(
l__PVOID__CdvdBurnerGrabber,
PCHAR( @l__CHAR__ExceptionText[1] ),
sizeof( l__CHAR__ExceptionText ),
l__ULONG__Status,
@l__CDB_FAILURE_INFORMATION,
17,
LRBuffer,
8192 );

Quote:
Debug Output: StarBurn.pas : StarBurn.dll version : 0x20080820 Process GrabRange.exe (2632)
...
Debug Output: CStarBurn_CdvdBurnerGrabber::ReadLB(): ENTERed for 17, 0x00E63890, 0x00002000 Process GrabRange.exe (2632)
Debug Output: CStarBurn_CdvdBurnerGrabber::RestoreReadErrorRecoverySafe(): ENTERed Process GrabRange.exe (2632)
Debug Output: Read Error Recovery Page Dump: Page Code: 0x01, PSBit (Page Saveable): 0 Process GrabRange.exe (2632)
Debug Output: Parameter Length: 10 UCHARs, Error Recovery Parameter: 0x00, Read Retry Count: 48 Process GrabRange.exe (2632)
Debug Output: CStarBurn_CdvdBurnerGrabber::RestoreReadErrorRecoverySafe(): EXITing with success Process GrabRange.exe (2632)
Debug Output: CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed Process GrabRange.exe (2632)
Debug Output: SCSI Request Block Dump: SRB_Status: 0x04, SRB_HaStat: 0x00, SRB_TargStat: 0x02 Process GrabRange.exe (2632)
Debug Output: CDB Length: 12, CDB Dump: 0xAD 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: SCSI sense data dump: Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0) Process GrabRange.exe (2632)
Debug Output: Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No Process GrabRange.exe (2632)
Debug Output: End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: Additional Sense Length: 0x0A (10) Process GrabRange.exe (2632)
Debug Output: Command Specific Information: 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: Additional Sense Code (ASC): 0x30, Additional Sense Code Qualifier (ASCQ): 0x02 Process GrabRange.exe (2632)
Debug Output: CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed Process GrabRange.exe (2632)
Debug Output: SCSI Request Block Dump: SRB_Status: 0x04, SRB_HaStat: 0x00, SRB_TargStat: 0x02 Process GrabRange.exe (2632)
Debug Output: CDB Length: 12, CDB Dump: 0xAD 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: SCSI sense data dump: Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0) Process GrabRange.exe (2632)
Debug Output: Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No Process GrabRange.exe (2632)
Debug Output: End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: Additional Sense Length: 0x0A (10) Process GrabRange.exe (2632)
Debug Output: Command Specific Information: 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: Additional Sense Code (ASC): 0x30, Additional Sense Code Qualifier (ASCQ): 0x02 Process GrabRange.exe (2632)
Debug Output: CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed Process GrabRange.exe (2632)
Debug Output: SCSI Request Block Dump: SRB_Status: 0x04, SRB_HaStat: 0x00, SRB_TargStat: 0x02 Process GrabRange.exe (2632)
Debug Output: CDB Length: 10, CDB Dump: 0x43 0x02 0x02 0x00 0x00 0x00 0x00 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: SCSI sense data dump: Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0) Process GrabRange.exe (2632)
Debug Output: Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No Process GrabRange.exe (2632)
Debug Output: End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: Additional Sense Length: 0x0A (10) Process GrabRange.exe (2632)
Debug Output: Command Specific Information: 0x00 0x00 0x00 0x00 Process GrabRange.exe (2632)
Debug Output: Additional Sense Code (ASC): 0x24, Additional Sense Code Qualifier (ASCQ): 0x00 Process GrabRange.exe (2632)
First chance exception at $76E1B09E. Exception class Exception with message 'Error'. Process GrabRange.exe (2632)
Debug Output: CStarBurn_CdvdBurnerGrabber::RestoreReadErrorRecoverySafe(): ENTERed Process GrabRange.exe (2632)
Debug Output: Read Error Recovery Page Dump: Page Code: 0x01, PSBit (Page Saveable): 0 Process GrabRange.exe (2632)
Debug Output: Parameter Length: 10 UCHARs, Error Recovery Parameter: 0x00, Read Retry Count: 48 Process GrabRange.exe (2632)
Debug Output: CStarBurn_CdvdBurnerGrabber::RestoreReadErrorRecoverySafe(): EXITing with success Process GrabRange.exe (2632)
Module Unload: wnaspi32.dll. Process GrabRange.exe (2632)


Using readCooked instead of ReadLB ie
l__EXCEPTION_NUMBER := StarBurn_CdvdBurnerGrabber_ReadCooked(
l__PVOID__CdvdBurnerGrabber,
PCHAR( @l__CHAR__ExceptionText[1] ),
sizeof( l__CHAR__ExceptionText ),
l__ULONG__Status,
@l__CDB_FAILURE_INFORMATION,
LRBuffer,
8192,
17,
2 );

Works fine with valid data in LRBuffer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 26, 2008 6:40 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I need complete StarBurn log zipped and sent to support@rocketdivision.com. Your one is incomplete and truncated thus I have no idea what to do with it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group