cdrecord Problem: Cannot ...Bytes on /dev/zero
Under Debian, cdrecord
version 1.10a18 was compiled with
kernel version 2.4.x which has some incompatibilities with kernel
version 2.2.x, resulting in an error in trying to mmap on
The typical scenario is:
# cdrecord -dummy -v dev=2,0,0 -data test.iso
Cdrecord 1.10a18 (i686-pc-linux-gnu)
Copyright (C) 1995-2001 Jorg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Invalid argument.
Cannot get mmap for 4198400 Bytes on /dev/zero.
# mkisofs -r cdr/ | cdrecord speed=8 dev =0,1,0 tsize=281056s -data -
Cdrecord 1.10a18 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jorg Schilling
cdrecord: Invalid argument. Cannot get mmap for 4198400 Bytes on /dev/zero.
The solution is simply to recompile it:
Alternatively, install an older version of cdrecord that might be
available on your machine in the archive of downloads:
$ wajig install /var/cache/apt/archive/cdrecord_3%3a1.9-1_i386.deb
Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open
source software Rattle and
Also the author of
Data Mining with Rattle and Essentials
of Data Science.