Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* cdrecord: shmget failed.
@ 1999-10-06 22:46 Chris Kloiber
  1999-10-06 22:57 ` ppetrakis
       [not found] ` <Pine.LNX.4.10.9910061855560.20475-100000@voodoo.alphalinux .org>
  0 siblings, 2 replies; 14+ messages in thread
From: Chris Kloiber @ 1999-10-06 22:46 UTC (permalink / raw)
  To: axp-list@redhat.com

I just installed xcdroast on my (famous) PC164SX. When I attempt to
actually write the disk, I get this error from Cdrecord:

/usr/lib/xcdroast-0.96e/bin/cdrecord-1.6.1: Invalid argument, shmget
failed

I tried running cdrecord manually and got the same error. I then I tried
again as a normal user and got a different error:

cdrecord: Operation not permitted. Cannot do mlockall(2).

I have tried the newer cdrecord 1.8pre29 as well with similar results. I
even tried recompilng the source rpm for xcdroast. Is there a trick to
this?

Chris Kloiber


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

* Re: cdrecord: shmget failed.
  1999-10-06 22:46 cdrecord: shmget failed Chris Kloiber
@ 1999-10-06 22:57 ` ppetrakis
  1999-10-06 22:58   ` Chris Kloiber
       [not found] ` <Pine.LNX.4.10.9910061855560.20475-100000@voodoo.alphalinux .org>
  1 sibling, 1 reply; 14+ messages in thread
From: ppetrakis @ 1999-10-06 22:57 UTC (permalink / raw)
  To: axp-list@redhat.com


This i am putting in the FAQ :-)

Set this enviornmental varibable.

CDR_FIFOSIZE=4000k  

and try again.

Peter
--
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."

On Wed, 6 Oct 1999, Chris Kloiber wrote:

> I just installed xcdroast on my (famous) PC164SX. When I attempt to
> actually write the disk, I get this error from Cdrecord:
> 
> /usr/lib/xcdroast-0.96e/bin/cdrecord-1.6.1: Invalid argument, shmget
> failed
> 
> I tried running cdrecord manually and got the same error. I then I tried
> again as a normal user and got a different error:
> 
> cdrecord: Operation not permitted. Cannot do mlockall(2).
> 
> I have tried the newer cdrecord 1.8pre29 as well with similar results. I
> even tried recompilng the source rpm for xcdroast. Is there a trick to
> this?
> 
> Chris Kloiber
> 
> -- 
> 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
> 


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

* Re: cdrecord: shmget failed.
  1999-10-06 22:57 ` ppetrakis
@ 1999-10-06 22:58   ` Chris Kloiber
  0 siblings, 0 replies; 14+ messages in thread
From: Chris Kloiber @ 1999-10-06 22:58 UTC (permalink / raw)
  To: axp-list

ppetrakis@firestorm.tzo.org wrote:
> 
> This i am putting in the FAQ :-)
> 
> Set this enviornmental varibable.
> 
> CDR_FIFOSIZE=4000k
> 
> and try again.
> 
> Peter
> --
> www.alphalinux.org
> Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
> "Oh my God! They killed Xena! You bastards!!"
> "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."

I had tried to set this in the /etc/cdrecord.conf, but aparantly it
never read it.
Your suggestion works flawlessly, thank you!

Chris Kloiber


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

* Re: cdrecord: shmget failed.
       [not found] ` <Pine.LNX.4.10.9910061855560.20475-100000@voodoo.alphalinux .org>
@ 1999-10-06 23:10   ` Kirk R. Erichsen
  0 siblings, 0 replies; 14+ messages in thread
From: Kirk R. Erichsen @ 1999-10-06 23:10 UTC (permalink / raw)
  To: axp-list


Haven't gotten to the OS and application optimizations yet, I'm really
counting on you for that as I get up to speed.  This mod doesn't surprise
me, its an issue which affects NT and VMS as well, buffer sizes and
CDR/DVD-R are almost ALWAYS a problem.

Talk to ya soon,

--Kirk

At 06:57 PM 10/6/99 -0400, you wrote:
>
>This i am putting in the FAQ :-)
>
>Set this enviornmental varibable.
>
>CDR_FIFOSIZE=4000k  
>
>and try again.
>
>Peter
>--
>www.alphalinux.org
>Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
>"Oh my God! They killed Xena! You bastards!!"
>"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
>
>On Wed, 6 Oct 1999, Chris Kloiber wrote:
>
>> I just installed xcdroast on my (famous) PC164SX. When I attempt to
>> actually write the disk, I get this error from Cdrecord:
>> 
>> /usr/lib/xcdroast-0.96e/bin/cdrecord-1.6.1: Invalid argument, shmget
>> failed
>> 
>> I tried running cdrecord manually and got the same error. I then I tried
>> again as a normal user and got a different error:
>> 
>> cdrecord: Operation not permitted. Cannot do mlockall(2).
>> 
>> I have tried the newer cdrecord 1.8pre29 as well with similar results. I
>> even tried recompilng the source rpm for xcdroast. Is there a trick to
>> this?
>> 
>> Chris Kloiber
>> 
>> -- 
>> 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
>> 
>
>-- 
>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
>
>


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

* RE: cdrecord: shmget failed.
@ 1999-10-07  9:16 Jakma, Paul
  0 siblings, 0 replies; 14+ messages in thread
From: Jakma, Paul @ 1999-10-07  9:16 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

> 
> This i am putting in the FAQ :-)
> 
> Set this enviornmental varibable.
> 
> CDR_FIFOSIZE=4000k  
> 
> and try again.

max shared memory is tweakable on 2.2 via syctl. For some reason it defaults
to a ridiculously low value on Alpha. Do:

echo 16777216 > /proc/sys/kernel/shmmax

to set shmmax to something sensible like 16MB.


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

* Re: cdrecord: shmget failed.
@ 1999-10-07 13:27 Larry Sendlosky
  0 siblings, 0 replies; 14+ messages in thread
From: Larry Sendlosky @ 1999-10-07 13:27 UTC (permalink / raw)
  To: axp-list

> I just installed xcdroast on my (famous) PC164SX. When I attempt to
> actually write the disk, I get this error from Cdrecord:
> 
> /usr/lib/xcdroast-0.96e/bin/cdrecord-1.6.1: Invalid argument, shmget
> failed

  Increase shmmax to 6291456
  Changing /proc/sys/kernel/shmmax does it instantly. Worked for me.
  I forget what .h file I changed for the kernel build.

  larry



______________________________________________________________________
 Larry Sendlosky			 	            AMT
 larry@scrugs.lkg.dec.com (978) 506-6640                    Compaq
----------------------------------------------------------------------


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

* Re: cdrecord: shmget failed.
@ 1999-10-07 13:30 Larry Sendlosky
  0 siblings, 0 replies; 14+ messages in thread
From: Larry Sendlosky @ 1999-10-07 13:30 UTC (permalink / raw)
  To: axp-list

Oh, cool... well I guess I'm just using
a slightly bigger fifo by increasing shmmax.


> 
> This i am putting in the FAQ :-)
> 
> Set this enviornmental varibable.
> 
> CDR_FIFOSIZE=4000k  
> 

______________________________________________________________________
 Larry Sendlosky			 	            AMT
 larry@scrugs.lkg.dec.com (978) 506-6640                    Compaq
----------------------------------------------------------------------


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

* cdrecord  : shmget failed
@ 2000-04-08 22:46 Mathieu Millet
  2000-04-13 12:01 ` Peter Petrakis
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Mathieu Millet @ 2000-04-08 22:46 UTC (permalink / raw)
  To: axp-list

Hi everyone,

I have troubles with cdrecord. I get an error saying that "shmget failed".
I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm 885
based on a Sym53C885.

the cdrecord version is 1.8a5-1 .

Does anyone have any idea ?

Thanks for any help, Mathieu.
-- 
Mathieu Millet, TelecomINT,  ingenieur 3eme annee
Insitut National des Telecommunications, Evry, France
mailto:llihtam@minet.net ; mailto:mathieu.millet@int-evry.fr
ICQ#:5455519
----


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

* Re: cdrecord  : shmget failed
  2000-04-08 22:46 cdrecord : " Mathieu Millet
@ 2000-04-13 12:01 ` Peter Petrakis
  2000-04-13 15:08 ` Mark Arrasmith
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 14+ messages in thread
From: Peter Petrakis @ 2000-04-13 12:01 UTC (permalink / raw)
  To: axp-list

Try the following .

export CDR_FIFOSIZE=4000k

Peter


On Sun, 9 Apr 2000, Mathieu Millet wrote:

> Hi everyone,
> 
> I have troubles with cdrecord. I get an error saying that "shmget failed".
> I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm 885
> based on a Sym53C885.
> 
> the cdrecord version is 1.8a5-1 .
> 
> Does anyone have any idea ?
> 
> Thanks for any help, Mathieu.
> -- 
> Mathieu Millet, TelecomINT,  ingenieur 3eme annee
> Insitut National des Telecommunications, Evry, France
> mailto:llihtam@minet.net ; mailto:mathieu.millet@int-evry.fr
> ICQ#:5455519
> ----
> 
> -- 
> 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
> 

--
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."


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

* Re: cdrecord : shmget failed
  2000-04-08 22:46 cdrecord : " Mathieu Millet
  2000-04-13 12:01 ` Peter Petrakis
@ 2000-04-13 15:08 ` Mark Arrasmith
  2000-04-15 13:22   ` olle.hansson
  2000-04-13 15:23 ` Kurt Ludwig
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 14+ messages in thread
From: Mark Arrasmith @ 2000-04-13 15:08 UTC (permalink / raw)
  To: axp-list

On Sat, 08 Apr 2000, Mathieu Millet wrote:
> Hi everyone,
> 
> I have troubles with cdrecord. I get an error saying that "shmget failed".
> I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm 885
> based on a Sym53C885.
> 
> the cdrecord version is 1.8a5-1 .
> 
> Does anyone have any idea ?

from Paul Jakma's email Oct 7, 1999 that I keep around to reapply every
time I reboot.
<snip>
RE: cdrecord: shmget failed.
From: "Jakma, Paul" <Paul.Jakma@compaq.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>

max shared memory is tweakable on 2.2 via syctl. For some reason it
defaults to a ridiculously low value on Alpha. Do:

echo 16777216 > /proc/sys/kernel/shmmax

to set shmmax to something sensible like 16MB.
</snip>

- mark arrasmith


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

* RE: cdrecord  : shmget failed
  2000-04-08 22:46 cdrecord : " Mathieu Millet
  2000-04-13 12:01 ` Peter Petrakis
  2000-04-13 15:08 ` Mark Arrasmith
@ 2000-04-13 15:23 ` Kurt Ludwig
  2000-04-13 16:07 ` olle.hansson
  2000-04-13 16:21 ` Ryan A. Krenzischek
  4 siblings, 0 replies; 14+ messages in thread
From: Kurt Ludwig @ 2000-04-13 15:23 UTC (permalink / raw)
  To: axp-list

you need to create an environment variable CDR_FIFOSIZE and set it to at
least 4000k

Kurt



-----Original Message-----
From: Mathieu Millet [mailto:llihtam@minet.net]
Sent: Saturday, April 08, 2000 6:47 PM
To: axp-list@redhat.com
Subject: cdrecord : shmget failed


Hi everyone,

I have troubles with cdrecord. I get an error saying that "shmget failed".
I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm
885
based on a Sym53C885.

the cdrecord version is 1.8a5-1 .

Does anyone have any idea ?

Thanks for any help, Mathieu.
--
Mathieu Millet, TelecomINT,  ingenieur 3eme annee
Insitut National des Telecommunications, Evry, France
mailto:llihtam@minet.net ; mailto:mathieu.millet@int-evry.fr
ICQ#:5455519
----

--
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


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

* RE: cdrecord  : shmget failed
  2000-04-08 22:46 cdrecord : " Mathieu Millet
                   ` (2 preceding siblings ...)
  2000-04-13 15:23 ` Kurt Ludwig
@ 2000-04-13 16:07 ` olle.hansson
  2000-04-13 16:21 ` Ryan A. Krenzischek
  4 siblings, 0 replies; 14+ messages in thread
From: olle.hansson @ 2000-04-13 16:07 UTC (permalink / raw)
  To: axp-list

Cdrecord seems to have problem whith 4MB fifo size on AXP.

Try to add -fs 2MB to cdrecord.

/Olle Hansson

On 08-Apr-2000 Mathieu Millet wrote:
> Hi everyone,
> 
> I have troubles with cdrecord. I get an error saying that "shmget failed".
> I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm
> 885
> based on a Sym53C885.
> 
> the cdrecord version is 1.8a5-1 .
> 
> Does anyone have any idea ?
> 
> Thanks for any help, Mathieu.
> -- 
> Mathieu Millet, TelecomINT,  ingenieur 3eme annee
> Insitut National des Telecommunications, Evry, France
> mailto:llihtam@minet.net ; mailto:mathieu.millet@int-evry.fr
> ICQ#:5455519
> ----
> 
> -- 
> 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

----------------------------------
E-Mail: olle.hansson@home.se
Date: 13-Apr-2000
Time: 18:06:11

This message was sent by XFMail
----------------------------------


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

* Re: cdrecord  : shmget failed
  2000-04-08 22:46 cdrecord : " Mathieu Millet
                   ` (3 preceding siblings ...)
  2000-04-13 16:07 ` olle.hansson
@ 2000-04-13 16:21 ` Ryan A. Krenzischek
  4 siblings, 0 replies; 14+ messages in thread
From: Ryan A. Krenzischek @ 2000-04-13 16:21 UTC (permalink / raw)
  To: axp-list

On Sun, 9 Apr 2000, Mathieu Millet wrote:

> Hi everyone,
> 
> I have troubles with cdrecord. I get an error saying that "shmget failed".
> I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm 885
> based on a Sym53C885.
> 
> the cdrecord version is 1.8a5-1 .

The shared memory setting under linux/alphas is really set low to where it
really isn't usable.  You can modify shared memory by doing the following:

echo 16777216 > /proc/sys/kernel/shmmax

Which would allocate shared memory (the maximum, not saying that it's
going to waste 16 MB because it frees unused memory to the system when the
application is done with it) to 16 MB.

Ryan

____________________________________________
Ryan A. Krenzischek
2124 Harmony Woods Road
Owings Mills, Maryland 21117-1644


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

* Re: cdrecord : shmget failed
  2000-04-13 15:08 ` Mark Arrasmith
@ 2000-04-15 13:22   ` olle.hansson
  0 siblings, 0 replies; 14+ messages in thread
From: olle.hansson @ 2000-04-15 13:22 UTC (permalink / raw)
  To: axp-list

cdrecord seems to have problem whith 4MB fifo buffer.

add -fs 2MB to cdrecord and wips it works!

Thanks /Olle Hansson

On 13-Apr-2000 Mark Arrasmith wrote:
> On Sat, 08 Apr 2000, Mathieu Millet wrote:
>> Hi everyone,
>> 
>> I have troubles with cdrecord. I get an error saying that "shmget failed".
>> I use RH 6.1. My kernel is 2.2.14. my scsi card is a DigitalScape NetStorm
>> 885
>> based on a Sym53C885.
>> 
>> the cdrecord version is 1.8a5-1 .
>> 
>> Does anyone have any idea ?
> 
> from Paul Jakma's email Oct 7, 1999 that I keep around to reapply every
> time I reboot.
> <snip>
> RE: cdrecord: shmget failed.
> From: "Jakma, Paul" <Paul.Jakma@compaq.com>
> To: "'axp-list@redhat.com'" <axp-list@redhat.com>
> 
> max shared memory is tweakable on 2.2 via syctl. For some reason it
> defaults to a ridiculously low value on Alpha. Do:
> 
> echo 16777216 > /proc/sys/kernel/shmmax
> 
> to set shmmax to something sensible like 16MB.
> </snip>
> 
> - mark arrasmith
> 
> -- 
> 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

----------------------------------
E-Mail: olle.hansson@home.se
Date: 15-Apr-2000
Time: 15:21:01

This message was sent by XFMail
----------------------------------


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

end of thread, other threads:[~2000-04-15 13:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-06 22:46 cdrecord: shmget failed Chris Kloiber
1999-10-06 22:57 ` ppetrakis
1999-10-06 22:58   ` Chris Kloiber
     [not found] ` <Pine.LNX.4.10.9910061855560.20475-100000@voodoo.alphalinux .org>
1999-10-06 23:10   ` Kirk R. Erichsen
  -- strict thread matches above, loose matches on Subject: below --
1999-10-07  9:16 Jakma, Paul
1999-10-07 13:27 Larry Sendlosky
1999-10-07 13:30 Larry Sendlosky
2000-04-08 22:46 cdrecord : " Mathieu Millet
2000-04-13 12:01 ` Peter Petrakis
2000-04-13 15:08 ` Mark Arrasmith
2000-04-15 13:22   ` olle.hansson
2000-04-13 15:23 ` Kurt Ludwig
2000-04-13 16:07 ` olle.hansson
2000-04-13 16:21 ` Ryan A. Krenzischek

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