[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord: Invalid argument. shmget failed



"Christopher W. Curtis" <ccurtis@aet-usa.com> writes:

> Linux kernel supports on the Alpha.  You can edit the kernel source and
> recompile

Don't do that, use the /proc interface (on 2.2 at least):

echo 8388608 >> /proc/sys/kernel/shmmax

(or any other number you like - note that if you specify fs=8M to
cdrecord, it will actually use a bit more than 8M of shared memory, so
you always have to specify more shmmax than the size of FIFO you want
to use in cdrecord)

On potato, you can put:

kernel/shmmax = 8388608

in /etc/sysctl.conf, and this will be automatically set at bootup.

-- 
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 desk, 613.223.0225 mobile
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.


Reply to: