From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,25e81f6b2a432617 X-Google-Attributes: gid111c93,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: cdrecord SCSI Date: 1999/10/24 Message-ID: <7uvcu9$jp4$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 539988903 References: <38123AEE.3C578A62@node102bd.a2000.nl> <7uu4ej$gbu$1@nserve1.acs.ucalgary.ca> Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha Serguei Patchkovskii (patchkov@acs1.acs.ucalgary.ca) wrote: : Raymonds Doetjes (rdoetjes@node102bd.a2000.nl) wrote: : : TOC type:1 = CD ROM : : cdrecord: Invalid argument. shmget failed. : This must be a cdrecord FAQ. Indeed! : Either a) run cdrecord with smaller : buffer (not really a good idea), Actually a very good idea. A default buffer size for cdrecord is 4M. If you use instead 4000k (it may be really "nearly" 4M, some 96k is missing or so, but 4000k is easier to remember :-) then cdrecord will not notice this small difference and will be happy on all Linux/Alpha kernels. I wrote many CDs with such buffer on Linux/Alpha. The only failures we ever seen were when we got a batch of a substandard media. 'man cdrecord' explains two methods of setting a size of this buffer. or b) increase the maximum size : of the SystemV shared memory arenas in Linux. Hacking each and every kernel for such minor purpose is a major PITA. But if you are running a kernel from 2.2 series you can change that value in your startup scripts by simply "echoing" that new requested size in bytes to /proc/sys/kernel/shmmax. Still see above. Michal