Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* cdrecord-1.8 error
@ 1999-05-19 14:59 Greg Richards
  1999-05-19 15:46 ` Vignaud Jean-Baptiste
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Greg Richards @ 1999-05-19 14:59 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Hello,

When writing an image file to my JVC XR-W2010 writer under kernel 2.2.5 using cdrecord1.8 I get the following error:  cdrecord-1.8: Invalid argument. shmget failed.

Does anyone have experience with this ??


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: cdrecord-1.8 error
  1999-05-19 14:59 cdrecord-1.8 error Greg Richards
@ 1999-05-19 15:46 ` Vignaud Jean-Baptiste
  1999-05-19 15:50 ` Mark Lin
  1999-05-19 17:03 ` lars
  2 siblings, 0 replies; 6+ messages in thread
From: Vignaud Jean-Baptiste @ 1999-05-19 15:46 UTC (permalink / raw)
  To: axp-list

> Hello,
>
> When writing an image file to my JVC XR-W2010 writer under kernel
> 2.2.5 using cdrecord1.8 I get the following error:  cdrecord-1.8:
> Invalid argument. shmget failed.
>
> Does anyone have experience with this ??

Have you increased the SHMMAX parameter in include/asm/shmparam.h? the right
value is
0x1000000 if i recall right... If not, you have to do this and to recompile
your kernel.

btw: maybe this value should be patched definitively in the next kernel
version...

Jean-Baptiste Vignaud.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cdrecord-1.8 error
  1999-05-19 14:59 cdrecord-1.8 error Greg Richards
  1999-05-19 15:46 ` Vignaud Jean-Baptiste
@ 1999-05-19 15:50 ` Mark Lin
  1999-05-19 17:37   ` Brian Rerecich
  1999-05-19 17:03 ` lars
  2 siblings, 1 reply; 6+ messages in thread
From: Mark Lin @ 1999-05-19 15:50 UTC (permalink / raw)
  To: Greg Richards; +Cc: 'axp-list@redhat.com'


I posted a message about this on another list yesterday.  I am getting the
same error.  shmget shouldn't fail as per the kernel configuration.  I'm
not sure why it does.

I'm using an HP writer under 2.2.6 on a B/W G3.

Is something buggy with cdrecord?

--
Mark Lin
MPI Software Technology, Inc.

On Wed, 19 May 1999, Greg Richards wrote:

> Hello,
> 
> When writing an image file to my JVC XR-W2010 writer under kernel 2.2.5 using cdrecord1.8 I get the following error:  cdrecord-1.8: Invalid argument. shmget failed.
> 
> Does anyone have experience with this ??


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cdrecord-1.8 error
  1999-05-19 14:59 cdrecord-1.8 error Greg Richards
  1999-05-19 15:46 ` Vignaud Jean-Baptiste
  1999-05-19 15:50 ` Mark Lin
@ 1999-05-19 17:03 ` lars
  2 siblings, 0 replies; 6+ messages in thread
From: lars @ 1999-05-19 17:03 UTC (permalink / raw)
  To: axp-list

On Wed, May 19, 1999 at 09:59:36AM -0500, Greg Richards wrote:
> 
> Hello,
> 
> When writing an image file to my JVC XR-W2010 writer under kernel 2.2.5 using cdrecord1.8 I get the following error:  cdrecord-1.8: Invalid argument. shmget failed.
> 
> Does anyone have experience with this ??

Ok.. I'll bite..

Yes.. I've run across this.. it's a result of cdrecord trying to fetch
a block of shared memory that is slightly larger than the kernel will
allow.

The quick fix is to set the CDR_FIFOSIZE shell environment variable to
something smaller before running any cdrecord commands (including
xcdroast). Assuming you run csh or tcsh, you can do this by typing the
following:

setenv CDR_FIFOSIZE 4000k

Once that variable is set, cdrecord should work fine.

--
Ryan Schaefer
lars@execpc.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cdrecord-1.8 error
  1999-05-19 15:50 ` Mark Lin
@ 1999-05-19 17:37   ` Brian Rerecich
  1999-05-19 19:23     ` Michal Jaegermann
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Rerecich @ 1999-05-19 17:37 UTC (permalink / raw)
  To: axp-list

Here is the problem I had on my Alpha PC164LX. Same error.....to fix it,
follow these instructions. 

You will need to edit /usr/src/linux/asm-alpha/shmparam.h. Modify SHMMAX to
be 1000000 and then re-compile your kernel.

This should clear up that problem. Any more problems, ler me know. Also
remember that filenames that have spaces in them must have quotes around
them. XCDRoast does not do this. I am not even sure the quotes will make it
work. I always rename the files. Hope this helps....

 

Mark Lin wrote:
> 
> I posted a message about this on another list yesterday.  I am getting the
> same error.  shmget shouldn't fail as per the kernel configuration.  I'm
> not sure why it does.
> 
> I'm using an HP writer under 2.2.6 on a B/W G3.
> 
> Is something buggy with cdrecord?
> 
> --
> Mark Lin
> MPI Software Technology, Inc.
> 
> On Wed, 19 May 1999, Greg Richards wrote:
> 
> > Hello,
> >
> > When writing an image file to my JVC XR-W2010 writer under kernel 2.2.5 using cdrecord1.8 I get the following error:  cdrecord-1.8: Invalid argument. shmget failed.
> >
> > Does anyone have experience with this ??
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
===========================================================
Brian Rerecich                  SHR3-1 Pole U18
Hardware Engineer               Alpha Core Logic Group
Compaq Computer Corporation     rerecich@segosf.hlo.dec.com
334 South Street                Phone: (508)841-2400
Shrewsbury, MA 01545            DTN: 237-2400
===========================================================


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: cdrecord-1.8 error
  1999-05-19 17:37   ` Brian Rerecich
@ 1999-05-19 19:23     ` Michal Jaegermann
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1999-05-19 19:23 UTC (permalink / raw)
  To: axp-list

Brian Rerecich wrote:
> 
> Here is the problem I had on my Alpha PC164LX. Same error.....to fix it,
> follow these instructions. 
> 
> You will need to edit /usr/src/linux/asm-alpha/shmparam.h. Modify SHMMAX to
> be 1000000 and then re-compile your kernel.

I always thought that using CDR_FIFOSIZE environment variable, or
a command line flag (-fl ?  I do not remember right now and docs are
somewhere else) is much simpler; especially if you will happen to
replace your kernel for any reasons.  Both very clearly documented
in TFM.

In any case, this parameter was increased in 2.2.7 and up so, hopefully,
a happy day will come when this "issue" will stop returning like
an infamous Freddy.

  --mj


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-05-19 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-19 14:59 cdrecord-1.8 error Greg Richards
1999-05-19 15:46 ` Vignaud Jean-Baptiste
1999-05-19 15:50 ` Mark Lin
1999-05-19 17:37   ` Brian Rerecich
1999-05-19 19:23     ` Michal Jaegermann
1999-05-19 17:03 ` lars

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