Burning CDs/DVDs on X5000
  • Just looking around
    widelec
    Posts: 5 from 2018/4/3
    Hello.

    I'm trying to burn a CD/DVD with Jalapeno, but without any luck. No matter the configuration I tried, I end up with the error message saying: "The target disc is 0.00MB while at least XX.XXMB is required".

    First, the hardware: X5000/020, ASUS Super Multi DVD Writer DRW-24D5MT (currently connected), Hitachi-LG GH24NSD5 (previously connected, same issue).
    Software: MorphOS 3.18 (05.05.2023), Jalapeno 1.8 (25.12.2021) (I also tried FryingPan and MakeCD, but let's focus on Jalapeno)

    Attempt with CD-R:

    Log from Jalapeno:

    12336 extents written (24 MB)
    Cdrecord-ProDVD-ProBD-Clone 3.00 (--) Copyright (C) 1995-2010 Jörg Schilling
    NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
    and thus may have bugs that are not present in the original version.
    Please send bug reports and support requests to <support@morphos-team.net>.
    The original author should not be bothered with problems of this version.
    Using libscg version 'schily-0.9'.
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 2
    Capabilities :
    Vendor_info : 'ASUS '
    Identifikation : 'DRW-24D5MT '
    Revision : '2.00'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
    Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
    Driver flags : MMC-3 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    Mounted media class: CD
    Mounted media type: CD-R
    Disk Is not erasable
    data type: standard
    disk status: empty
    session status: empty
    BG format status: none
    first track: 0
    number of sessions: 0
    first track in last sess: 0
    last track in last sess: 0
    Disk Is not unrestricted
    Disk type: CD-DA or CD-ROM
    last start of lead in: -150
    last start of lead out: -150
    Track Sess Type Start Addr End Addr Size
    ==============================================
    MOSSYS:Data/Jalapeno/cdrecord: WARNING: Cannot set priority on this OS.
    MOSSYS:Data/Jalapeno/cdrecord: WARNING: This causes a high risk for buffer underruns.
    MOSSYS:Data/Jalapeno/cdrecord: Fifo not supported.
    scsidev: '1,1,0'
    scsibus: 1 target: 1 lun: 0
    MOSSYS:Data/Jalapeno/cdrecord: Warning: using inofficial libscg transport code version (T. Langer, J. Piszczek, H. Sintonen-scsi-amigaos.c-1.8 '@(#)scsi-amigaos.c
    1.8 06/11/26 Copyright 1997,2000-2003 J. Schilling').
    MOSSYS:Data/Jalapeno/cdrecord: Warning: Cannot read drive buffer.
    MOSSYS:Data/Jalapeno/cdrecord: Warning: The DMA speed test has been skipped.
    MOSSYS:Data/Jalapeno/cdrecord: Input/output error. read track info: scsi sendcmd: no error
    CDB: 52 01 00 00 00 00 00 00 04 00
    status: 0x2 (CHECK CONDITION)
    Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00
    Sense Key: 0x5 Illegal Request, Segment 0
    Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
    Sense flags: Blk 0 (not valid)
    cmd finished after 0.002s timeout 240s
    0 0 Audio 0 -1 0
    Last session start address: 0
    Last session leadout start address: 0


    Syslog:

    19.488|
    19.488|
    19.488| ABox 1.30 (2.7.2018) ? 1999-2022 by Ralph Schmidt, Emmanuel Lesueur, Teemu Suikki, Harry Sintonen
    19.534| P50X0_InitIDE@0: Drive present
    19.535| P50X0_InitIDE@1: Drive present
    19.543| Post-reset SATA delay hack
    19.545| Post-reset SATA delay hack
    19.553| Post-reset SATA delay hack
    19.562| P50x0 SATA Driver@1: PIO Mode 4
    19.563| P50x0 SATA Driver@1: UDMA Mode 6
    19.565| Post-reset SATA delay hack
    19.573| P50x0 SATA Driver@0: PIO Mode 4
    19.573| P50x0 SATA Driver@0: UDMA Mode 6
    19.573| ide.device@0: ATA-HD KINGSTON SH103S3 <DIRECT_ACCESS>
    19.573| HandleInterrupt@0: Signature is now 0x00000000
    19.573| HandleInterrupt@0: Signature update
    19.573| HandleInterrupt@0: Phy ready
    19.574| ide.device@0: Mount <DH1>
    19.574| ide.device@0: Partition <DH1> DosType 0x53465300 BootPri 0
    19.574| ide.device@0: Mount <DH2>
    19.574| ide.device@0: Partition <DH2> DosType 0x53465300
    19.574| ide.device@0: Mount <DH3>
    19.574| ide.device@0: Partition <DH3> DosType 0x53465300
    19.574| ide.device@0: Mount <DH4>
    19.574| ide.device@0: Partition <DH4> DosType 0x53465300
    19.576| HandleInterrupt@1: Signature is now 0xeb140101
    19.576| HandleInterrupt@1: Signature update
    19.576| HandleInterrupt@1: Phy ready
    19.577| ide.device@1: ASUS DRW-24D5MT <CDROM>
    21.475| ide.device@1: CDRom <>,<> foundRadeon: Don't know how to initialise the memory controller of this Radeon
    21.723| Radeon: Memory size adjusted to 256MB
    173.088| HandleInterrupt@1: Device error
    173.088| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    173.088| P50X0_CompleteCommand@1: Error, input was:
    173.088| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    173.088| P50X0_CompleteCommand@1: Result is:
    173.088| Command 0x51, seccount 0x03, secnum 0x00, cyllow 0x00, cylhigh 0x00, head 0x00
    173.275| HandleInterrupt@1: Device error
    173.275| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    173.275| P50X0_CompleteCommand@1: Error, input was:
    173.275| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    173.275| P50X0_CompleteCommand@1: Result is:
    173.275| Command 0x51, seccount 0x03, secnum 0x00, cyllow 0x00, cylhigh 0x00, head 0x00


    Attempt with DVD+R:

    Log from Jalapeno:

    MOSSYS:Data/Jalapeno/mkisofs: Warning: Cannot write inode/link information with -no-cache-inodes.
    Warning: creating filesystem that does not conform to ISO-9660.
    40.65% done, estimate finish Fri Nov 15 19:15:08 2024
    81.10% done, estimate finish Fri Nov 15 19:15:07 2024
    Total translation table size: 0
    Total rockridge attributes bytes: 1047
    Total directory bytes: 2440
    Path table size(bytes): 30
    12336 extents written (24 MB)
    Cdrecord-ProDVD-ProBD-Clone 3.00 (--) Copyright (C) 1995-2010 Jörg Schilling
    NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
    and thus may have bugs that are not present in the original version.
    Please send bug reports and support requests to <support@morphos-team.net>.
    The original author should not be bothered with problems of this version.

    Using libscg version 'schily-0.9'.
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 2
    Capabilities :
    Vendor_info : 'ASUS '
    Identifikation : 'DRW-24D5MT '
    Revision : '2.00'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
    Using generic SCSI-3/mmc-3 DVD+R driver (mmc_dvdplusr).
    Driver flags : NO-CD DVD MMC-3 SWABAUDIO BURNFREE
    Supported modes: PACKET SAO LAYER_JUMP
    WARNING: Drive returns zero media size, correcting.
    Mounted media class: DVD
    Mounted media type: DVD+R
    Disk Is not erasable
    data type: standard
    disk status: empty
    session status: empty
    BG format status: none
    first track: 0
    number of sessions: 0
    first track in last sess: 0
    last track in last sess: 0
    Disk Is not unrestricted
    Disk type: DVD, HD-DVD or BD

    Track Sess Type Start Addr End Addr Size
    ==============================================
    MOSSYS:Data/Jalapeno/cdrecord: WARNING: Cannot set priority on this OS.
    MOSSYS:Data/Jalapeno/cdrecord: WARNING: This causes a high risk for buffer underruns.
    MOSSYS:Data/Jalapeno/cdrecord: Fifo not supported.
    scsidev: '1,1,0'
    scsibus: 1 target: 1 lun: 0
    MOSSYS:Data/Jalapeno/cdrecord: Warning: using inofficial libscg transport code version (T. Langer, J. Piszczek, H. Sintonen-scsi-amigaos.c-1.8 '@(#)scsi-amigaos.c 1.8 06/11/26 Copyright 1997,2000-2003 J. Schilling').
    MOSSYS:Data/Jalapeno/cdrecord: Warning: Cannot read drive buffer.
    MOSSYS:Data/Jalapeno/cdrecord: Warning: The DMA speed test has been skipped.
    MOSSYS:Data/Jalapeno/cdrecord: Input/output error. read track info: scsi sendcmd: no error
    CDB: 52 01 00 00 00 00 00 00 04 00
    status: 0x2 (CHECK CONDITION)
    Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00 00 00
    Sense Key: 0x5 Illegal Request, Segment 0
    Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
    Sense flags: Blk 0 (not valid)
    cmd finished after 0.002s timeout 240s
    0 0 Audio 0 -1 0

    Last session start address: 0
    Last session leadout start address: 0


    Syslog:

    19.979|
    19.979|
    19.979| ABox 1.30 (2.7.2018) ? 1999-2022 by Ralph Schmidt, Emmanuel Lesueur, Teemu Suikki, Harry Sintonen
    20.025| P50X0_InitIDE@0: Drive present
    20.026| P50X0_InitIDE@1: Drive present
    20.034| Post-reset SATA delay hack
    20.036| Post-reset SATA delay hack
    20.044| Post-reset SATA delay hack
    20.055| P50x0 SATA Driver@1: PIO Mode 4
    20.060| P50x0 SATA Driver@1: UDMA Mode 6
    20.062| Post-reset SATA delay hack
    20.064| P50x0 SATA Driver@0: PIO Mode 4
    20.064| P50x0 SATA Driver@0: UDMA Mode 6
    20.064| ide.device@0: ATA-HD KINGSTON SH103S3 <DIRECT_ACCESS>
    20.064| HandleInterrupt@0: Signature is now 0x00000000
    20.064| HandleInterrupt@0: Signature update
    20.064| HandleInterrupt@0: Phy ready
    20.065| ide.device@0: Mount <DH1>
    20.065| ide.device@0: Partition <DH1> DosType 0x53465300 BootPri 0
    20.065| ide.device@0: Mount <DH2>
    20.065| ide.device@0: Partition <DH2> DosType 0x53465300
    20.065| ide.device@0: Mount <DH3>
    20.065| ide.device@0: Partition <DH3> DosType 0x53465300
    20.065| ide.device@0: Mount <DH4>
    20.065| ide.device@0: Partition <DH4> DosType 0x53465300
    20.072| HandleInterrupt@1: Signature is now 0xeb140101
    20.072| HandleInterrupt@1: Signature update
    20.072| HandleInterrupt@1: Phy ready
    20.077| ide.device@1: ASUS DRW-24D5MT <CDROM>
    21.675| Radeon: Don't know how to initialise the memory controller of this Radeon
    21.675| Radeon: Memory size adjusted to 256MB
    80.659| HandleInterrupt@1: Device error
    80.659| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    80.659| P50X0_CompleteCommand@1: Error, input was:
    80.659| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    80.659| P50X0_CompleteCommand@1: Result is:
    80.659| Command 0x51, seccount 0x03, secnum 0x00, cyllow 0x00, cylhigh 0x00, head 0x00


    Currently connected drive (ASUS) is a brand new device, and the previous one (LG) prove itself to be working (now connected to X5k with OS4, where it burns CDs using MakeCD).
    I did not discover any problems with reading discs (from riping Audio-CD to copying data from DVD-ROMs).
    Are both of the drives just not compatible, or is there something wrong on the software side? Can I do something about this?
    The last few lines of syslog suggest there is something wrong with controller or the driver. Is there something unimplemented for X5k controller?

    Oh, I almost forgot to mention - I did replace the SATA cable for a new one, just in case.
  • »15.11.24 - 19:39
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    You've mentioned you've tried MakeCD. Did it work? Or did it have similar problems as well?
  • »16.11.24 - 01:27
    Profile Visit Website
  • Just looking around
    widelec
    Posts: 5 from 2018/4/3
    Quote:

    jacadcaps wrote:
    You've mentioned you've tried MakeCD. Did it work? Or did it have similar problems as well?


    No, it did not.

    Attempt burning cue+bin image CD, error message:

    Target drive, CDR_SCSI3_ATAPI:
    CD-R track write failed
    ----
    Cmd SEND_CUE_SHEET => Illegal request: Illegal Field in Command Descriptor


    Syslog:

    799.048| HandleInterrupt@1: Device error
    799.048| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    799.048| P50X0_CompleteCommand@1: Error, input was:
    799.048| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    799.049| P50X0_CompleteCommand@1: Result is:
    799.049| Command 0x51, seccount 0x03, secnum 0x00, cyllow 0x00, cylhigh 0x00, head 0x00
    799.357| HandleInterrupt@1: Device error
    799.357| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    799.357| P50X0_CompleteCommand@1: Error, input was:
    799.357| Command 0xa0, seccount 0x00, secnum 0x00, cyllow 0x00, cylhigh 0x80, head 0x00
    799.357| P50X0_CompleteCommand@1: Result is:
    799.357| Command 0x51, seccount 0x03, secnum 0x00, cyllow 0x00, cylhigh 0x00, head 0x00


    If I select to ignore this error, the requester "Please insert a CD-R with empty last session in the target drive." appears and no matter the disc I insert it refuses to continue.

    [ Edited by widelec 16.11.2024 - 06:18 ]
  • »16.11.24 - 05:13
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Brumiga
    Posts: 248 from 2004/4/3
    From: France
    @widelec,

    I own too an AmigaOne X5000/20 since a few more than 4 years. I have also encountered this problem, but there is no software solution. The problem comes with the hardware and the internal driver used with the sata2 controller. The problem is also encountered if you run AmigaOS 4.1 Final Edition or a linux powerpc distribution as Fienix, https://fienixppc.blogspot.com/ . The solution is to buy, or try if possible before buying, a sata2/3 pci SIL312 or 3114 or sata2/3 pci-e SIL3132 card controller. Warning, if you do so it will no more be possible to boot from a cd-r/cd-rw or a dvd-r/dvd-rw media to install morphos.

    Brumiga
  • »16.11.24 - 10:54
    Profile
  • Just looking around
    widelec
    Posts: 5 from 2018/4/3
    @Brumiga
    Quote:

    The problem is also encountered if you run AmigaOS 4.1 Final Edition or a linux powerpc distribution as Fienix


    Thanks for pointing this issue is not MorphOS-specific.

    Quote:

    I have also encountered this problem, but there is no software solution.


    Well, if you mean the disc capacity read, that's probably true, but if we consider just burning, there is.
    I fired up the cdrecord directly (via CLI) and it happily burned the ISO file (why I didn't do this before...?).

    Code:

    System:MorphOS/Data/Jalapeno> cdrecord temp:cd/my-cd.iso
    cdrecord: No write mode specified.
    cdrecord: Assuming -sao mode.
    cdrecord: If your drive does not accept -sao, try -tao.
    cdrecord: Future versions of cdrecord may have different drive dependent defaults.
    Cdrecord-ProDVD-ProBD-Clone 3.00 (--) Copyright (C) 1995-2010 Jörg Schilling
    NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
    and thus may have bugs that are not present in the original version.
    Please send bug reports and support requests to <support@morphos-team.net>.
    The original author should not be bothered with problems of this version.

    cdrecord: WARNING: Cannot set priority on this OS.
    cdrecord: WARNING: This causes a high risk for buffer underruns.
    cdrecord: Fifo not supported.
    Bus 0 - usbscsi.device
    Bus 1 - ide.device
    Using libscg version 'schily-0.9'.
    cdrecord: Warning: using inofficial libscg transport code version (T. Langer, J. Piszczek, H. Sintonen-scsi-amigaos.c-1.8 '@(#)scsi-amigaos.c 1.8 06/11/26 Copyright 1997,2000-2003 J. Schilling').
    No target specified, trying to find one...
    Using dev=1,1,0.
    Device type : Removable CD-ROM
    Version : 0
    Response Format: 2
    Capabilities :
    Vendor_info : 'ASUS '
    Identifikation : 'DRW-24D5MT '
    Revision : '2.00'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
    Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
    Driver flags : MMC-3 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    cdrecord: Warning: Cannot read drive buffer.
    cdrecord: Warning: The DMA speed test has been skipped.
    cdrecord: Disk capacity is unknown.
    Starting to write CD/DVD/BD at speed 48 in real SAO mode for single session.
    Last chance to quit, starting real write 0 seconds. Operation starts.
    Turning BURN-Free off
    cdrecord: WARNING: Drive returns wrong startsec (0) using -150
    Track 01: Total bytes read/written: 543696896/543696896 (265477 sectors).


    As you can see, there is a warning, but it didn't prevent burning.

    @jacadcaps
    Can you add an "Ignore" button for the capacity error message in Jalapeno? Or maybe even detect buggy motherboard and skip the capacity check?
  • »16.11.24 - 19:51
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    Quote:

    widelec wrote:
    Attempt burning cue+bin image CD

    BTW. have you tried with standard ISO images. I'm not sure how well the support for bin/cue format is in our programs. IIRC MakeCD didn't have support for these earlier, but added some kind of custom import/convert function later etc..
  • »18.11.24 - 05:44
    Profile Visit Website
  • Just looking around
    widelec
    Posts: 5 from 2018/4/3
    Quote:

    jPV wrote:
    Quote:

    widelec wrote:
    Attempt burning cue+bin image CD

    BTW. have you tried with standard ISO images. I'm not sure how well the support for bin/cue format is in our programs. IIRC MakeCD didn't have support for these earlier, but added some kind of custom import/convert function later etc..


    Yes, I tried.

    FYI, MakeCD 3.2d (aminet, "Final release of MakeCD made freeware") has support for cue+bin, on X5k/040 with OS4 I managed to burn both cue+bin and iso.
  • »18.11.24 - 11:28
    Profile