Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "David G. Koontz" <koontz@ariolimax.com>
To: axp-list@redhat.com
Subject: Re: using cdrecord
Date: Tue, 04 Aug 1998 19:03:49 -0700	[thread overview]
Message-ID: <35C7BD85.41C67EA6@ariolimax.com> (raw)
In-Reply-To: Pine.GSO.3.96.980804122656.8059Q-100000@yacht.ee.fit.edu

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.


  reply	other threads:[~1998-08-05  1:59 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04 16:20 using cdrecord Christopher Curtis
1998-08-04 16:26 ` Nils Faerber
1998-08-04 16:33   ` Christopher Curtis
1998-08-05  2:03     ` David G. Koontz [this message]
1998-08-05  2:19       ` SHMMAX (was Re: using cdrecord) Christopher Curtis
1998-08-03  2:50         ` Wes Bauske
1998-08-05  3:19           ` Christopher Curtis
1998-08-03  3:39             ` Wes Bauske
1998-08-05  9:36               ` Quant-X Alpha Linux Support
1998-08-05 19:52                 ` Wes Bauske
1998-08-05 13:55               ` Christopher Curtis
1998-08-05 15:48                 ` SHMMAX (offtopic) David Champion
1998-08-05 19:42                 ` SHMMAX (was Re: using cdrecord) Wes Bauske
1998-08-08 20:20               ` Richard Henderson
1998-08-08 23:46                 ` Thomas Bogendoerfer
1998-08-09  1:25                   ` Richard Henderson
1998-08-05  5:22         ` Richard Henderson
1998-08-04 16:35   ` SHM (was " David Alan Gilbert
1998-08-04 17:08     ` Nils Faerber
1998-08-05 20:29       ` wade
1998-08-04 16:31 ` using cdrecord Maurice Hilarius
1998-08-04 16:43 ` Michal Jaegermann
1998-08-04 17:00   ` Christopher Curtis
1998-08-04 21:05     ` Michal Jaegermann
1998-08-04 21:14       ` Christopher Curtis
1998-08-03  3:17         ` Wes Bauske
1998-08-05  1:58           ` Christopher Curtis
1998-08-05  2:19             ` Maurice Hilarius
1998-08-05  2:28               ` Christopher Curtis
1998-08-05  4:50                 ` Michal Jaegermann
1998-08-05  9:41                   ` Quant-X Alpha Linux Support
1998-08-05  3:17             ` Quant-X Alpha Linux Support
1998-08-05  3:32               ` Christopher Curtis
1998-08-05  4:25                 ` Quant-X Alpha Linux Support
1998-08-05  2:15           ` Maurice Hilarius
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