Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: cdrecord SCSI
Date: 1999/10/24	[thread overview]
Message-ID: <7uvcu9$jp4$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 7uu4ej$gbu$1@nserve1.acs.ucalgary.ca

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




  reply	other threads:[~1999-10-24  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-24  4:00 cdrecord SCSI Raymonds Doetjes
1999-10-24  4:00 ` Serguei Patchkovskii
1999-10-24  4:00   ` Michal Jaegermann [this message]
1999-10-24  4:00   ` Raymonds Doetjes
1999-10-24  4:00     ` Serguei Patchkovskii
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox