Rocket Division Software
http://www.starburnsoftware.com/forum/

MDS Grabber: ExecuteCDB(): Command failed
http://www.starburnsoftware.com/forum/starburn-sdk-f3/mds-grabber-executecdb-command-failed-t2102.html
Page 1 of 2

Author:  flöle [ Tue Aug 03, 2010 3:06 pm ]
Post subject:  MDS Grabber: ExecuteCDB(): Command failed

When grabbing a DVD to MDS (in this case it's a Win7 DVD) the error attached as log file may occur.

Can anything be done about it?

Regards,
Flo

Attachments:
MDS.zip [10.46 KiB]
Downloaded 1047 times

Author:  anton (staff) [ Thu Aug 05, 2010 4:46 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

From what I see reading failed near the end of the disc (which is OK actually). Did our API return you an error or you just got improper MDS?

Author:  flöle [ Thu Aug 05, 2010 7:54 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

As far as I know, the OnBadBlockHit event fires.

Author:  anton (staff) [ Thu Aug 05, 2010 8:04 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

It's warning not an error. Unreadable end of the track (beyond file system) is quite common.

flöle wrote:
As far as I know, the OnBadBlockHit event fires.

Author:  flöle [ Thu Aug 05, 2010 8:29 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

Then what method does the SDK give me to determine wheter or not it is a "real" warning? Users obviously only want to know about the uncommon errors.

Author:  anton (staff) [ Fri Aug 06, 2010 5:32 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

This particular callback is fired when the library hits bad block. It's up to you either to skip this error or stop on it (you pass IsBadBlockIgnore parameter to API call at the very beginning). Ideally you should warn the user and make him decide what to do.

flöle wrote:
Then what method does the SDK give me to determine wheter or not it is a "real" warning? Users obviously only want to know about the uncommon errors.

Author:  flöle [ Fri Aug 06, 2010 6:25 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

This is not useful.

The user needs to know about bad blocks, so I need to enable this warning.

The user, however, does not know whether or not a bad block is at the end of the disc, and even if he knew, he still would not be able to decide whether or not it's a "usual" read error. Even I as programmer don't know it, so how can this information be helpful for the user?


So: Either you tell me an algorithm that allows me as programmer to make the decision whether a bad block is good, or you just don't fire the event in such a case. It doesn't make sense to warn a user unnecessarily.

Author:  anton (staff) [ Fri Aug 06, 2010 6:58 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

There's a "suspected gap area" ~150 blocks at the end of the disc where error can happen.

We always fire an event with LBA number so you can compare it with the end of the disc.

flöle wrote:
This is not useful.

The user needs to know about bad blocks, so I need to enable this warning.

The user, however, does not know whether or not a bad block is at the end of the disc, and even if he knew, he still would not be able to decide whether or not it's a "usual" read error. Even I as programmer don't know it, so how can this information be helpful for the user?


So: Either you tell me an algorithm that allows me as programmer to make the decision whether a bad block is good, or you just don't fire the event in such a case. It doesn't make sense to warn a user unnecessarily.

Author:  flöle [ Fri Aug 06, 2010 8:52 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

Now that you mention it: It seems like the property IgnoreBadBlocks doesn't do anything. I've launched two grabbing processes now, one enabled one disabled, in both cases a bad block was found, but the grabbing process did not abort.

Author:  anton (staff) [ Fri Aug 06, 2010 9:29 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

Should not work this way of course. SDK itself is immune so I guess it's StarBurnX trick. Dima will be back on Monday and he'll take care of it.

flöle wrote:
Now that you mention it: It seems like the property IgnoreBadBlocks doesn't do anything. I've launched two grabbing processes now, one enabled one disabled, in both cases a bad block was found, but the grabbing process did not abort.

Author:  flöle [ Fri Aug 06, 2010 9:51 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

@Dima: Then don't forget NOT to abort the grabbing process if a bad block, that is not actually a bad block, is found ;)

Author:  flöle [ Mon Aug 16, 2010 3:03 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

No news yet?

Author:  dima (staff) [ Tue Aug 17, 2010 6:56 am ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

Hello,

I have tested grabbing process... all works "fine" :)! Grabbing process is terminated once the unrecoverable ( bad ) block has been found ( IgnoreBadBlock flag is not set )!

Which version( build number ) of StarBurnX do you use?

Regards,

Dmitry

Author:  flöle [ Tue Aug 17, 2010 1:45 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

Log file says "StarBurn Development Kit for Windows Version V12 'Trident II' ( 0x20100423 )", using the previous beta package 20100726.

Author:  dima (staff) [ Wed Aug 18, 2010 7:21 pm ]
Post subject:  Re: MDS Grabber: ExecuteCDB(): Command failed

Hello, Yes you are testing the latest version of StarBurnX !

I suppose that you have a bad block at the end of disc so SDK does not stop the grabbing process! Check it please(as Anton told ) and simple ignore this bad block :)

Regards,

Dmitry

Page 1 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/