#1 Burning Software

It is currently Thu Dec 19, 2024 2:08 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Problems Burning on a Drive
PostPosted: Mon Feb 06, 2006 6:52 pm 
Offline

Joined: Thu Feb 02, 2006 7:21 pm
Posts: 9
Hi,

I'm having some problems burning on one of my tester's drives (CDRW/DVD SM-308B SAMSUNG). The drive is recognized as by my code as a burning drive because:

Code:
StarBurn_CdvdBurnerGrabber_GetSupportedMediaFormats()


tells me that: IsCDRWrite and IsCDEWrite are both true.

But then when I try to burn and query:

Code:
StarBurn_CdvdBurnerGrabber_ProbeSupportedWriteModes()


All values that are returned are FALSE? If I try to burn using track at once anyways I get EN_SCSI_CDB_FAILED as an error. The information returned in is as follows:

Code:
m__UCHAR__CDB - 85 16 0 0 0 0 0 0 60 0
m__UCHAR__Sense - 112 0 5 0 0 0 0 10 0 0 0 0 36 0
m__UCHAR__TransportStatus - 4
m__UCHAR__TargetStatus - 2
m__UCHAR__HostAdapterStatus – 0


I tried to get the Starburner log by getting them to run startburn.reg, but nothing is getting written to the logfile except for the logfile header information.

The tester is normally able to burn properly with this drive, they are running Windows XP Pro SP2.

Does anyone have any information on this problem or a possible solution?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 06, 2006 8:48 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Send me debug log. If you're not able to get logs you're either did not set debug facility value to correct one or you're using wrong libraries (release instead of debug).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 06, 2006 9:33 pm 
Offline

Joined: Thu Feb 02, 2006 7:21 pm
Posts: 9
Ahh the problem was that I wasn't using the debug DLL's, thanks for that information!

Here is the section of the logfile that seemed to contain the most important information (I can send you the whole thing if you need):

Code:
CStarBurn_ScsiTransportASPI::CStarBurn_ScsiTrasportASPI(): Symbolic name is '\\.\E:'

SCSI Device Inquiry Data Dump:
Device Type: 0x05, Removable: Yes
SCSI Version: 0, Soft Reset Supported: No
Command Queue Supported: No, Linked Commands Supported: No
Sync Transfer Supported: No, 16-bit bus: No
32-bit bus: No, Relative Addressing Supported: No
Vendor ID: 'SAMSUNG ', Product ID: 'CDRW/DVD SM-308B', Revision Level: 'T100'


CStarBurn_ScsiDeviceGeneric::CStarBurn_ScsiDeviceGeneric_SharedConstructor(): 'SAMSUNG ' - 'CDRW/DVD SM-308B' - 'T100' sits at 1:0:0:0

CD/DVD Capabilities Page Dump:
Page Code: 0x2A, Reserved1: 0x00, PSBit (Page Savable): 0
Page Size in UCHARs: 24 UCHARs, CD-R Read: Yes, CD-E Read: Yes
DVD-ROM Read: Yes, DVD-R Read: Yes, DVD-RAM Read: No, Reserved2: 0x00
CD-R Write: Yes, CD-E Write: Yes, Test Write: Yes
Reserved3: 0x00, DVD-R Write: No, DVD-RAM Write: No
Reserved4: 0x00, Audio Play: Yes, Composite: No
Digital Port One: Yes, Digital Port Two: No
MODE2 Form1: Yes, MODE2 Form2: Yes
Is Multi Session: Yes, CDDA: Yes, CDDAAccurate: Yes
BUP (Buffer Underrun Protection) Supported: No
RW Supported: Yes, RW Deinterleaved: No, C2Pointers: No
ISRC: Yes, UPC: Yes, Read Bar Code Capable: No
Lock: Yes, LockState: 0, Prevent Jumper: No
Reserved5: 0x00, Eject: Yes, Loading Mechanism Type: 0x01
Separate Volume: Yes, Separate Channel Mute: Yes
Supports Disc Present: No, SW Slot Selection: No
Side Change Capable: No, RW InLeadIn Readable: Yes, Reserved6: 0x00
Maximum Read Speed: 5645 KBps
Number Of Volume Level(s): 255, Buffer Size in KBs: 2048
Current Read Speed: 706 KBps
Reserved7: 0x00
BCK: No, RCK: No, LSBF: No, Length: 0x00
Reserved8: 0x00
Maximum Write Speed: 1411 KBps
Current Write Speed: 706 KBps
Reserved9: 0x0001


CStarBurn_CdvdBurnerGrabber::CStarBurn_CdvdBurnerGrabber_SharedConstructor(): Cache size updated to 4194304 UCHARs

CStarBurn_CdvdBurnerGrabber::CStarBurn_CdvdBurnerGrabber_SharedConstructor(): Cache size is 1 MBs, 4194304 UCHARs

CStarBurn_CdvdBurnerGrabber::TestUnitReady(): ENTERed for 10 second(s), is fast exit: 1

CStarBurn_CdvdBurnerGrabber::TestUnitReady(): EXITing with success

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): ENTERed

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): EXITing with success, disc type == 0x00000002

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): ENTERed

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): EXITing with success, disc type == 0x00000002

StarBurn:StarBurn_CdvdBurnerGrabber_GetTrackInformation(): ENTERed for track number 0xFF

StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x00, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x05, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x0A, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x20
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: Yes
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed

SCSI Request Block Dump:
SRB_Status: 0x04, SRB_HaStat: 0x00, SRB_TargStat: 0x02
CDB Length: 10, CDB Dump: 0x55 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x3C 0x00 0x00 0x00 0x00 0x00 0x00 0x00


SCSI sense data dump:
Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0)
Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No
End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00
Additional Sense Length: 0x0A (10)
Command Specific Information: 0x00 0x00 0x00 0x00
Additional Sense Code (ASC): 0x24, Additional Sense Code Qualifier (ASCQ): 0x00


CStarBurn_DumpAndParseTrackInformation(): WARNING! Length 26 less then 40!

Track Information Dump:
Track Number: 1, Session Number: 1
Track Mode: 0x04, Copy: No, Damage: No
Data Mode: 0x0F, FP (Fixed Packet): No, Packet: No, Blank: Yes
RT (Reserved Track): No, NWA_V (Next Writable Address Valid): Yes
Track Start Address (LBA): 0, Next Writable Address (LBA): 0
Free Logical Block(s): 359844, Fixed Packet Size: 0 LB(s)
Track Size In LBs: 359844, Last Recorded Address: 0


CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): ENTERed for 0x03760048

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Inserted disc type 0x00000002

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): CD media ( 2 ) now has single transfer size of 61440 UCHARs

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Setting write parameters to data

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Setting write parameters to MODE1

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Reading track information

StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x00, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x05, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x0A, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x20
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: Yes
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed

SCSI Request Block Dump:
SRB_Status: 0x04, SRB_HaStat: 0x00, SRB_TargStat: 0x02
CDB Length: 10, CDB Dump: 0x55 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x3C 0x00 0x00 0x00 0x00 0x00 0x00 0x00


SCSI sense data dump:
Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0)
Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No
End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00
Additional Sense Length: 0x0A (10)
Command Specific Information: 0x00 0x00 0x00 0x00
Additional Sense Code (ASC): 0x24, Additional Sense Code Qualifier (ASCQ): 0x00


CStarBurn_DumpAndParseTrackInformation(): WARNING! Length 26 less then 40!

Track Information Dump:
Track Number: 1, Session Number: 1
Track Mode: 0x04, Copy: No, Damage: No
Data Mode: 0x0F, FP (Fixed Packet): No, Packet: No, Blank: Yes
RT (Reserved Track): No, NWA_V (Next Writable Address Valid): Yes
Track Start Address (LBA): 0, Next Writable Address (LBA): 0
Free Logical Block(s): 359844, Fixed Packet Size: 0 LB(s)
Track Size In LBs: 359844, Last Recorded Address: 0


CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Setting write parameters

StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x03, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: Yes
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed

SCSI Request Block Dump:
SRB_Status: 0x04, SRB_HaStat: 0x00, SRB_TargStat: 0x02
CDB Length: 10, CDB Dump: 0x55 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x3C 0x00 0x00 0x00 0x00 0x00 0x00 0x00


SCSI sense data dump:
Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0)
Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No
End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00
Additional Sense Length: 0x0A (10)
Command Specific Information: 0x00 0x00 0x00 0x00
Additional Sense Code (ASC): 0x24, Additional Sense Code Qualifier (ASCQ): 0x00


CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Method in sequence failed

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): EXITing with failure, status 8, message 'CStarBurn_ScsiTransportASPI::ExecuteCDB(): Command failed'

CStarBurn_CdvdBurnerGrabber::TrackAtOnce(): Ejecting disc

CStarBurn_CdvdBurnerGrabber::Eject(): ENTERed

CStarBurn_CdvdBurnerGrabber::Eject(): EXITing with success

CStarBurn_CdvdBurnerGrabber::ShutDownCacheThread(): WaitForSingleObject() failed, status 183, returned 258


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 06, 2006 10:16 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Got it... Looks like it does not tolerate setting BURN-Proof bit. Please drop me a message to anton@rocketdivision.com and I'd issue you with test version for your customer. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 06, 2006 11:01 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) OK, I've sent test DLL to your published e-mail account (seems to be corporate one). Let me know - did you receive the stuff or not :)

2) It's a good idea to have larger cache buffer. You allocate very small one (we do increase it to have at least size of the hardware device cache) but you'll give burner hardware EXTREMELY hard times :) This one is not related to SAMSUNG 308B issue - just seen the bad thing in the log and wanted to share some of the ideas with you :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 2:38 pm 
Offline

Joined: Thu Feb 02, 2006 7:21 pm
Posts: 9
1) Thanks Anton I have received the e-mail and the test dll that you have sent me. I have forwarded the test dll onto my testers and will get back to you with the results.

2) As far as the cache size I have set it to a value that I found in one of your samples:

Code:
1024 * 2028 /*small cache in order to allow
      fast reaction to cancelled burn*/


What would be a more reliable size for the cache?

Thanks for the great support!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 9:19 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) Good. I'm waiting for feedback.

2) Check the sample - it does not do burning so for fast device creation (like when you'll grab the disc later or do erase or just want to enumearate the media) it's good to pass small cache size (less memory would be allocated). For true burning I/O please pass either 0 (StarBurn would allocate default 160 megabytes) or pass value working for current system (not more then 40% of the free physical unallocated memory).

markir wrote:
1) Thanks Anton I have received the e-mail and the test dll that you have sent me. I have forwarded the test dll onto my testers and will get back to you with the results.

2) As far as the cache size I have set it to a value that I found in one of your samples:

Code:
1024 * 2028 /*small cache in order to allow
      fast reaction to cancelled burn*/


What would be a more reliable size for the cache?

Thanks for the great support!


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group