public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* [developer] Who to debug kernel for non-global zones
@ 2024-11-13 20:36 Carsten Grzemba via illumos-developer
  2024-11-15 11:51 ` [developer] " Carsten Grzemba via illumos-developer
  0 siblings, 1 reply; 2+ messages in thread
From: Carsten Grzemba via illumos-developer @ 2024-11-13 20:36 UTC (permalink / raw)
  To: illumos-developer

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [developer] Re: Who to debug kernel for non-global zones
  2024-11-13 20:36 [developer] Who to debug kernel for non-global zones Carsten Grzemba via illumos-developer
@ 2024-11-15 11:51 ` Carsten Grzemba via illumos-developer
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Grzemba via illumos-developer @ 2024-11-15 11:51 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

O course I mean: How to debug the kernel for non-global zones
------------------------------------------
illumos: illumos-developer
Permalink: https://illumos.topicbox.com/groups/developer/Tb3b0c0c6e27843ea-M8a169d2d277b49b9c11bcde3
Delivery options: https://illumos.topicbox.com/groups/developer/subscription

[-- Attachment #2: Type: text/html, Size: 823 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-15 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-13 20:36 [developer] Who to debug kernel for non-global zones Carsten Grzemba via illumos-developer
2024-11-15 11:51 ` [developer] " Carsten Grzemba via illumos-developer

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).