Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* cdrecord: Invalid argument. shmget failed
@ 1999-07-23  4:00 sysv
  1999-07-23  4:00 ` Serguei Patchkovskii
  1999-07-23  4:00 ` Martin Collins
  0 siblings, 2 replies; 4+ messages in thread
From: sysv @ 1999-07-23  4:00 UTC (permalink / raw)


Hello, 

I want to burn cd's in my AXPpci33 (166mhz). 
cdrecord dev=1,1,0 -checkdrive works file, 
but cdrecord dev=1,1,0 speed=4 test.iso 
wount work. It gives the following error
cdrecord: Invalid argument. shmget failed

/me doesnt get it.

I use RH6.0 and the cdwriter is a HP IDE 4x
-- 
grntz
  SysV 

  The internet would be a far better place if PPP and TCP/IP
  support was never implemented in microsoft products.



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

* Re: cdrecord: Invalid argument. shmget failed
  1999-07-23  4:00 cdrecord: Invalid argument. shmget failed sysv
  1999-07-23  4:00 ` Serguei Patchkovskii
@ 1999-07-23  4:00 ` Martin Collins
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Collins @ 1999-07-23  4:00 UTC (permalink / raw)


On 23 Jul 1999 14:15:12 GMT, sysv@wijnkist.warande.net () wrote:

>I want to burn cd's in my AXPpci33 (166mhz). 
>cdrecord dev=1,1,0 -checkdrive works file, 
>but cdrecord dev=1,1,0 speed=4 test.iso 
>wount work. It gives the following error
>cdrecord: Invalid argument. shmget failed

I seem to remember getting this. It's trying to grab a chunk of shared
memory but the system won't give it. If you hack the code to ask for a
smaller chunk it works. I think there may be a command line argument
to do it without recompiling but I forget what it was. Sorry I can't
be more specific but I'm at work and my linux box is at home. Try
grepping the code for shmget.

Martin
_________________________________________________________________
We see here a curious instance of that frequent mental phenomenon
:- the precise inversion of the truth by a superficial view. 
                                          Benjamin R. Tucker 1899



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

* Re: cdrecord: Invalid argument. shmget failed
  1999-07-23  4:00 cdrecord: Invalid argument. shmget failed sysv
@ 1999-07-23  4:00 ` Serguei Patchkovskii
  1999-07-24  4:00   ` Joerg Schilling
  1999-07-23  4:00 ` Martin Collins
  1 sibling, 1 reply; 4+ messages in thread
From: Serguei Patchkovskii @ 1999-07-23  4:00 UTC (permalink / raw)


sysv@wijnkist.warande.net wrote:
: I want to burn cd's in my AXPpci33 (166mhz). 
: cdrecord dev=1,1,0 -checkdrive works file, 
: but cdrecord dev=1,1,0 speed=4 test.iso 
: wount work. It gives the following error
: cdrecord: Invalid argument. shmget failed

There are three solutions:

a) run all your cdrecord sessions with 'fs=2m' argument
b) change the default FIFO size in the cdrecord source and
   recompile
c) increase the maximum size of the shared memory segment in
   the kernel and recompile the kernel. The file you want to
   change is 'include/asm-alpha/shmparam.h' in the kernel
   source tree; setting SHMMAX to 0xffa000 does the trick 
   for me.

IMHO, (c) is the cleanest solution - but that's a matter of 
personal preference.

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



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

* Re: cdrecord: Invalid argument. shmget failed
  1999-07-23  4:00 ` Serguei Patchkovskii
@ 1999-07-24  4:00   ` Joerg Schilling
  0 siblings, 0 replies; 4+ messages in thread
From: Joerg Schilling @ 1999-07-24  4:00 UTC (permalink / raw)


In article <7na5lg$bfa@ds2.acs.ucalgary.ca>,
Serguei Patchkovskii <patchkov@acs1.acs.ucalgary.ca> wrote:
>sysv@wijnkist.warande.net wrote:
>: I want to burn cd's in my AXPpci33 (166mhz). 
>: cdrecord dev=1,1,0 -checkdrive works file, 
>: but cdrecord dev=1,1,0 speed=4 test.iso 
>: wount work. It gives the following error
>: cdrecord: Invalid argument. shmget failed
>
>There are three solutions:
>
>a) run all your cdrecord sessions with 'fs=2m' argument
>b) change the default FIFO size in the cdrecord source and
>   recompile
>c) increase the maximum size of the shared memory segment in
>   the kernel and recompile the kernel. The file you want to
>   change is 'include/asm-alpha/shmparam.h' in the kernel
>   source tree; setting SHMMAX to 0xffa000 does the trick 
>   for me.
>
>IMHO, (c) is the cleanest solution - but that's a matter of 
>personal preference.

The best solution is to force the Linux kernel guys to :

 raise this ridiculous low limit in the kernel

BTW: cdrecord-1.8 includes this hint in the file README.linux

-- 
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J�rg Schilling D-13353 Berlin
      js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
      schilling@fokus.gmd.de		(work) chars I am J"org Schilling
URL:  http://www.fokus.gmd.de/usr/schilling    ftp://ftp.fokus.gmd.de/pub/unix



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

end of thread, other threads:[~1999-07-24  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-23  4:00 cdrecord: Invalid argument. shmget failed sysv
1999-07-23  4:00 ` Serguei Patchkovskii
1999-07-24  4:00   ` Joerg Schilling
1999-07-23  4:00 ` Martin Collins

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