From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15363 invoked from network); 5 Aug 1998 01:59:31 -0000 Received: from nic.scruz.net (HELO scruz.net) (165.227.1.2) by mail2.redhat.com with SMTP; 5 Aug 1998 01:59:31 -0000 Received: from gemini (koontz3.sc.scruznet.com [205.179.103.235]) by scruz.net (8.8.5/1.34) with SMTP id SAA07796; Tue, 4 Aug 1998 18:59:29 -0700 (PDT) Sender: koontz@scruz.net Message-ID: <35C7BD85.41C67EA6@ariolimax.com> Date: Tue, 04 Aug 1998 19:03:49 -0700 From: "David G. Koontz" Organization: Ariolimax X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3 sun4c) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: using cdrecord References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christopher Curtis wrote: > > 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 I don't know why its so small on an alpha. (28 Kbytes short of 4 Meg). It needs to be DEFAULT_FIFO_SIZE + 1 Page (4M Bytes + 8K bytes or 420000 Hex). I don't recognize your error messages, but increasing SHMMAX to 0x420000 was all that was required on my LX164/2.0.34. Note the README.linux is incorrect, SHMMAX should be 4M + 1 page.