From: Matt Wilson <msw@redhat.com>
To: axp-list@redhat.com
Subject: Re: shmget failed
Date: Thu, 7 Sep 2000 11:35:29 -0400 [thread overview]
Message-ID: <20000907113529.A30237@devserv.devel.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0009070919560.2957-100000@stingray.ecn.uiowa.edu>; from hans-johnson@uiowa.edu on Thu, Sep 07, 2000 at 09:22:52AM -0500
You should set kernel tunables via sysctl:
echo "kernel.shmmax = 16777216" >> /etc/sysctl.conf
then "sysctl -p" to load the settings. They will persist after
reboot.
Cheers,
Matt
On Thu, Sep 07, 2000 at 09:22:52AM -0500, Hans J. Johnson wrote:
> For some reason the maximum shared memory is set too small. A quick and
> easy fix is as follows:
>
> Enter the following command as root
>
> #This is needed to increase the size of the shared memory
> #Set by Hans J. Johnson this fixes problem shmget() used by cdrecord
> echo 16777216 > /proc/sys/kernel/shmmax
>
>
> You can also put this in your /etc/rc.d/rc.local file so that you do not
> have to change it every time you reboot.
>
> Regards,
> Hans J. Johnson
> hans-johnson@uiowa.edu
>
>
>
> On Thu, 7 Sep 2000, Isaiah Weiner wrote:
>
>
> > I've got a Miata on which Linux doesn't seem to be using shared memory
> > segments . . . indicative of this is cdrecord's error:
> >
> > cdrecord -scanbus properly detects the drive:
> >
> > 0,4,0 4) 'PLEXTOR ' 'CD-R PX-W4220T' '1.01' Removable CD-ROM
> >
> > cdrecord -v dev=0,4,0 ~/foo.iso results in:
> >
> > Cdrecord 1.8 (alphaev56-unknown-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> > TOC Type: 1 = CD-ROM
> > cdrecord: Invalid argument. shmget failed
> >
> > The kernel is 2.2.16. Any thoughts?
> >
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
next prev parent reply other threads:[~2000-09-07 15:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-07 13:59 shmget failed Isaiah Weiner
2000-09-07 14:18 ` Kevin Wood
2000-09-07 14:22 ` Hans J. Johnson
2000-09-07 15:35 ` Matt Wilson [this message]
2000-09-07 16:56 ` Isaiah Weiner
2000-09-07 16:51 ` Michal Jaegermann
2000-09-07 14:29 ` Matt Wilson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox