From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4201 invoked from network); 4 Aug 1998 16:35:29 -0000 Received: from winnie.fit.edu (163.118.5.1) by mail2.redhat.com with SMTP; 4 Aug 1998 16:35:29 -0000 Received: from ee.fit.edu (yacht.ee.fit.edu [163.118.30.1]) by winnie.fit.edu (8.8.7/8.8.7) with SMTP id MAA18465 for ; Tue, 4 Aug 1998 12:30:04 -0400 (EDT) Received: from localhost by ee.fit.edu (SMI-8.6/SMI-SVR4) id MAA23238; Tue, 4 Aug 1998 12:33:46 -0400 Date: Tue, 4 Aug 1998 12:33:46 -0400 (EDT) From: Christopher Curtis To: axp-list@redhat.com Subject: Re: using cdrecord In-Reply-To: <199808041626.SAA95724@vmax.unix-ag.uni-siegen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 4 Aug 1998, Nils Faerber wrote: > > shmget(IPC_PRIVATE, 4202496, IPC_CREAT|0x180|0600) = -1 EINVAL (Invalid argument) > > write(2, "cdrecord: Invalid argument. shmg"..., 42cdrecord: Invalid argument. shmget failed) = 42 > Which kernel version do you use? > Either use 2.1.* or 2.0.34 with alpha diff. Most other kernels have a nasty > IPC SHM bug on Alpha! Sorry ... I *am* using 2.0.34 with the alpha patches +my own resourcebits patch (possibly reversed - Jay++ has been notified). However: "include/asm-alpha/shmparam.h" 46 lines, 1440 characters "include/asm-alpha/shmparam.h" line 38 of 46 --82%-- col 1 #define SHMMAX 0x3fa000 /* max shared seg size (bytes) */ echo "3 * 16^5 + 15 * 16^4 + 10 * 16^3" | bc 4169728 shmget(IPC_PRIVATE, 4202496, IPC_CREAT|0x180|0600) = -1 EINVAL (Invalid argument) Do I have to increase SHMMAX ? And why is it so small anyway? i386 is about 10 times larger, m68k is 5 times larger, ppc is the same. Is there a rationale behind this? What adverse impact will I have by increasing this? (I wonder if this could be a cause of people's syslogd probs). Thanks again! -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/