From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 014B13081E for ; Thu, 7 Sep 2000 11:35:29 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id LAA25448 for axp-list@listman.redhat.com; Thu, 7 Sep 2000 11:35:29 -0400 Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [207.175.42.156]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA25444 for ; Thu, 7 Sep 2000 11:35:29 -0400 Received: (from msw@localhost) by devserv.devel.redhat.com (8.9.3/8.9.3) id LAA30880 for axp-list@redhat.com; Thu, 7 Sep 2000 11:35:29 -0400 Date: Thu, 7 Sep 2000 11:35:29 -0400 From: Matt Wilson To: axp-list@redhat.com Subject: Re: shmget failed Message-ID: <20000907113529.A30237@devserv.devel.redhat.com> References: <20000907095926.B23670@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0.1i In-Reply-To: ; from hans-johnson@uiowa.edu on Thu, Sep 07, 2000 at 09:22:52AM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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