Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2023 11:14:43 +0100
From:      Milan Obuch <freebsd-stable@dino.sk>
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: <ZYFnaydIsF1YWGph@fc.opsec.eu>
References:  <20231219092317.0f065725@zeta.dino.sk> <ZYFg7inXM3qhLR9M@fc.opsec.eu> <20231219103515.0eeacc85@zeta.dino.sk> <ZYFnaydIsF1YWGph@fc.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Dec 2023 10:50:35 +0100
Kurt Jaeger <pi@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20231219111443.2bf14ea7>