These errors believe it or not are simply because of not being the root user or running with sudo! However if you didn't know to try as root you'd think there was a problem with your burner or disc Essentially it looks like without root you cannot send the required scsi commands to continue writing. I think cdrecord should have built-in tests or safeguards to see if it has the permissions to run the required commands.
I guess for more advanced users the idea is similar that you cannot do a dd from a device without being root usually.
cdrecord -v linuxmint-18.1-cinnamon-64bit.iso wodim: No write mode specified. wodim: Assuming -tao mode. wodim: Future versions of wodim may have different drive dependent defaults. TOC Type: 1 = CD-ROM wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits. Device was not specified. Trying to find an appropriate drive... Looking for a DVD-R drive to store 1726.31 MiB... Detected DVD-R drive: /dev/sr0 Using /dev/cdrom of unknown capabilities scsidev: '/dev/cdrom' devname: '/dev/cdrom' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.5.27 Wodim version: 1.1.11 Driveropts: 'burnfree' SCSI buffer size: 64512 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identification : 'BD-RE WP50NB40 ' Revision : '1.00' Device seems to be: Generic mmc2 DVD-R/DVD-RW. Current: 0x0011 (DVD-R sequential recording) Profile: 0x0043 (BD-RE) Profile: 0x0042 (BD-R random recording) Profile: 0x0041 (BD-R sequential recording) Profile: 0x0040 (BD-ROM) Profile: 0x002B (DVD+R/DL) Profile: 0x001B (DVD+R) Profile: 0x001A (DVD+RW) Profile: 0x0016 (DVD-R/DL layer jump recording) Profile: 0x0015 (DVD-R/DL sequential recording) Profile: 0x0014 (DVD-RW sequential recording) Profile: 0x0013 (DVD-RW restricted overwrite) Profile: 0x0012 (DVD-RAM) Profile: 0x0011 (DVD-R sequential recording) (current) Profile: 0x0010 (DVD-ROM) Profile: 0x000A (CD-RW) Profile: 0x0009 (CD-R) Profile: 0x0008 (CD-ROM) Profile: 0x0002 (Removable disk) Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd). Driver flags : SWABAUDIO BURNFREE Supported modes: PACKET SAO Drive buf size : 2293760 = 2240 KB Beginning DMA speed test. Set CDR_NODMATEST environment variable if device communication breaks or freezes immediately after that. FIFO size : 12582912 = 12288 KB Track 01: data 1726 MB Total size: 1982 MB (196:24.96) = 883872 sectors Lout start: 1982 MB (196:26/72) = 883872 sectors Current Secsize: 2048 HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction. Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1414624 Speed set to 11080 KB/s Starting to write CD/DVD at speed 8.0 in real unknown mode for single session. Last chance to quit, starting real write in 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. Performing OPC... Starting new track at sector: 0 Track 01: 34 of 1726 MB written (fifo 100%) [buf 99%] 3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s CDB: 2A 00 00 00 44 A9 00 00 1F 00 resid: 6144 cmd finished after 1.897s timeout 40s write track data: error after 35997696 bytes wodim: A write error occured. wodim: Please properly read the error message above. Errno: 12 (Cannot allocate memory), test unit ready scsi sendcmd: no error CDB: 00 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s Writing time: 54.507s Average write speed 28.3x. Min drive buffer fill was 99% Fixating... Errno: 12 (Cannot allocate memory), flush cache scsi sendcmd: no error CDB: 35 00 00 00 00 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 120s Trouble flushing the cache wodim: Cannot fixate disk. Fixating time: 0.000s Errno: 12 (Cannot allocate memory), prevent/allow medium removal scsi sendcmd: no error CDB: 1E 00 00 00 00 00 status: 0x0 (GOOD STATUS) cmd finished after 0.000s timeout 40s wodim: fifo had 758 puts and 568 gets. wodim: fifo was 0 times empty and 336 times full, min fill was 97%.
Solution
Simply run cdrecord again as root or with sudo:
cdrecord -v linuxmint-18.1-cinnamon-64bit.iso
mb, fifo, buf, errno, input, output, write_g, scsi, sendcmd, cmd, timeout, cdb, resid, dathese, errors, user, sudo, didn, burner, disc, essentially, commands, cdrecord, safeguards, permissions, advanced, users, dd, linuxmint, cinnamon, iso, wodim, mode, specified, tao, versions, defaults, toc, rom, permitted, rlimit_memlock, dvd, mib, detected, dev, sr, cdrom, capabilities, scsidev, devname, scsibus, lun, linux, sg, driveropts, burnfree, buffer, removable, format, vendor_info, hl, dt, identification, bd, wp, nb, revision, generic, mmc, rw, sequential, recording, dl, layer, restricted, overwrite, ram, disk, mmc_mdvd, flags, swabaudio, supported, modes, packet, sao, kb, dma, cdr_nodmatest, variable, communication, freezes, sectors, lout, secsize, mediainfo, extraction, remaining, reader, performing, opc, sector, bytes, occured, allocate, min, fixating, flush, cache, flushing, fixate, medium, removal,