* cdrecord says shmget failed
@ 2000-05-24 4:00 Robert M. Riches Jr.
2000-05-24 4:00 ` Tony Hammitt
0 siblings, 1 reply; 3+ messages in thread
From: Robert M. Riches Jr. @ 2000-05-24 4:00 UTC (permalink / raw)
I'm trying to use cdrecord on a basically stock Redhat 6.1 Alpha
system. Following (or trying to follow) the How-To instructions,
I edited /etc/cdrecord.conf until it appears to be right. Then,
I ran mkisofs. Then I tried
cdrecord -dummy /tmp/dobackup.iso
Here's what it gives (indentation mine):
Cdrecord release 1.8a29 Copyright (C) 1995-1999 Jorg Schilling
cdrecord: Invalid argument. shmget failed
(Well, there are two dots above the 'o' in the first name.)
I can successfully use the -scanbus and -inq switches. However,
the -prcap switch gives essentially the message shown above.
Does the above message give any clue as to what I'm doing wrong?
Thanks.
Robert Riches
richesr1@inetarena.com
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: cdrecord says shmget failed
2000-05-24 4:00 cdrecord says shmget failed Robert M. Riches Jr.
@ 2000-05-24 4:00 ` Tony Hammitt
2000-05-24 4:00 ` h0l0gRaM
0 siblings, 1 reply; 3+ messages in thread
From: Tony Hammitt @ 2000-05-24 4:00 UTC (permalink / raw)
Two ways to fix this:
Knock the fifo size down to 3 MB:
cdrecord -v fs=3m /tmp/dobackup.iso
or increase the shared memory maximum:
echo 5000000 > /proc/sys/kernel/shmmax
which only works on >= 2.2 version kernels
Using the 3MB fifo size is easier...
Regards,
Tony Hammitt
"Robert M. Riches Jr." wrote:
>
> I'm trying to use cdrecord on a basically stock Redhat 6.1 Alpha
> system. Following (or trying to follow) the How-To instructions,
> I edited /etc/cdrecord.conf until it appears to be right. Then,
> I ran mkisofs. Then I tried
>
> cdrecord -dummy /tmp/dobackup.iso
>
> Here's what it gives (indentation mine):
>
> Cdrecord release 1.8a29 Copyright (C) 1995-1999 Jorg Schilling
> cdrecord: Invalid argument. shmget failed
>
> (Well, there are two dots above the 'o' in the first name.)
>
> I can successfully use the -scanbus and -inq switches. However,
> the -prcap switch gives essentially the message shown above.
>
> Does the above message give any clue as to what I'm doing wrong?
>
> Thanks.
>
> Robert Riches
> richesr1@inetarena.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cdrecord says shmget failed
2000-05-24 4:00 ` Tony Hammitt
@ 2000-05-24 4:00 ` h0l0gRaM
0 siblings, 0 replies; 3+ messages in thread
From: h0l0gRaM @ 2000-05-24 4:00 UTC (permalink / raw)
Tony Hammitt wrote:
> Two ways to fix this:
>
> Knock the fifo size down to 3 MB:
>
> cdrecord -v fs=3m /tmp/dobackup.iso
>
> or increase the shared memory maximum:
>
> echo 5000000 > /proc/sys/kernel/shmmax
>
> which only works on >= 2.2 version kernels
>
> Using the 3MB fifo size is easier...
>
> Regards,
>
> Tony Hammitt
>
Or you can edit linux/include/asm-alpha/shmparam.h
change #define SHMMAX 0xverysamall
to
#define SHMMAX 0x1000000
then recompile kernel
--
Bahdges? We don't need no stinkin' bahdges!
-- "The Treasure of Sierra Madre"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-05-24 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-24 4:00 cdrecord says shmget failed Robert M. Riches Jr.
2000-05-24 4:00 ` Tony Hammitt
2000-05-24 4:00 ` h0l0gRaM
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox