From: "Carsten Grzemba via illumos-developer" <developer@lists.illumos.org>
To: illumos-developer <developer@lists.illumos.org>
Subject: [developer] Who to debug kernel for non-global zones
Date: Wed, 13 Nov 2024 15:36:23 -0500 [thread overview]
Message-ID: <17315301830.17AcEdaC1.14794@composer.illumos.topicbox.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]
Because I try to debug a problem of SMB-server in non-global zone (https://illumos.topicbox.com/groups/omnios-discuss/T7cad60d9192b5050/session-setup-failed-ntstatusnetlogonnotstarted), I have a question.
In non-global zones I can't use mdb for the kernel, I can work with mdb only in global zone. Dtrace functionality is also limited to userland components, so I can kernel modules only inspect by Dtrace also only in the global zone, right?
I attempt to investigate a problem of communication between smbsrv kernel module and smbd running in non-global zone.
Kernel module smbsrv communicates with smbd via socket on /var/smb/lipc/smbauth. Because smbd is running in non-gloale zone this socket path is should be related to the zone filesystem.
I assume there is only one instance of smbsrv kernel module running.?
If I investigate the problem with Dtrace in the globale zone I see that it is searched for the socket path related to the globale zone, where is no smbd running. So I get errno = 2, if the socket path do not exists in the global zone or errno = 146, if the path exists but the smbd is not running.
Who do the smbsrv kernel module knows that it has to contact the smbd socket in the non-global zone?
Or is this only an observation problem because I do the Dtracing in the global zone?
Many thanks for clarification.
------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/Tb3b0c0c6e27843ea-M22431927e91148f8ec10306e
Delivery options: https://illumos.topicbox.com/groups/developer/subscription
[-- Attachment #2: Type: text/html, Size: 2468 bytes --]
next reply other threads:[~2024-11-13 20:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 20:36 Carsten Grzemba via illumos-developer [this message]
2024-11-15 11:51 ` [developer] " Carsten Grzemba via illumos-developer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17315301830.17AcEdaC1.14794@composer.illumos.topicbox.com \
--to=developer@lists.illumos.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).