From nobody Tue Dec 19 10:14:43 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SvXcS4zp0z5503p for ; Tue, 19 Dec 2023 10:14:48 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SvXcR173Mz4L3J for ; Tue, 19 Dec 2023 10:14:46 +0000 (UTC) (envelope-from freebsd-stable@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-stable@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-stable@dino.sk; dmarc=none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000026E1A15.0000000065816D14.0000BA57; Tue, 19 Dec 2023 11:14:44 +0100 Date: Tue, 19 Dec 2023 11:14:43 +0100 From: Milan Obuch To: freebsd-stable@freebsd.org Subject: Re: ipcs regression 13 -> 14 (sysv shared memory) [SOLVED] Message-ID: <20231219111443.2bf14ea7@zeta.dino.sk> In-Reply-To: References: <20231219092317.0f065725@zeta.dino.sk> <20231219103515.0eeacc85@zeta.dino.sk> X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.995]; NEURAL_HAM_SHORT(-0.99)[-0.992]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dino.sk]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SvXcR173Mz4L3J X-Spamd-Bar: --- On Tue, 19 Dec 2023 10:50:35 +0100 Kurt Jaeger wrote: > Hi! > > > Do you have SysV in kernel or in kld? > > Which kld module would that be? A first look does not show me modules > related to SysV? I run the GENERIC kernel. That's the reason - in GENERIC kernel config, there are lines options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores so no need to load any kld for SysV support. Also, the same is valid for my 13-STABLE kernel config file, but not for my 14-STABLE one. > > Maybe kernel config differences matter, no idea. > > > > Anyway, any idea how to proceed? How to get more relevant info? > > A good question. Do you run the GENERIC kernel? What does kldstat > show? What does ipcs -M show? > As noted above, I am building different kernel, a minimal one. For now, I found simple workaround - in addition to sysvshm kld, I need both sysvmsg and sysvsem kld modules, then ipcs works. Also, number of kern.ipc oids is now 55. I need ipcs just for diagnose and development, for normal run it is not necessary, anyhow, if a need will be, it is easy to load necessary modules. Thanks for hints, discusion is really useful, solution found. More, I understand the reason now. It was no regression actually, just kind of pilot error. Regards, Milan