Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Hans J. Johnson" <hans-johnson@uiowa.edu>
To: axp-list@redhat.com
Subject: Re: shmget failed
Date: Thu, 7 Sep 2000 09:22:52 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0009070919560.2957-100000@stingray.ecn.uiowa.edu> (raw)
In-Reply-To: <20000907095926.B23670@redhat.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1028 bytes --]

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




  parent reply	other threads:[~2000-09-07 14:22 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 [this message]
2000-09-07 15:35   ` Matt Wilson
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