I just installed netatalk 3.0.3 on NexentaOS:
SunOS nfs-1 5.11 NexentaOS_134f i86pc i386 i86pc Solaris
It still works with netatalk 3.0.2 both compiled with ./configure --with-init=solaris && make && make install
afpd.conf:
;
; Netatalk 3.x configuration file
;
[Global]
; Global server settings
log file = /var/log/netatalk.log
[Homes]
; basedir regex = /xxxx
[RCBI]
; path = /path/to/volume
path = /Volumes/RCBI
Whenever I connect (any user) the afpd crashes with the following log:
May 01 18:16:55.714043 netatalk[16948] {netatalk.c:291} (N:Default): Netatalk AFP server starting
May 01 18:16:55.726004 cnid_metad[16950] {cnid_metad.c:479} (N:AFPDaemon): CNID Server listening on localhost:4700
May 01 18:16:56.230190 afpd[16949] {afp_config.c:120} (N:AFPDaemon): Netatalk AFP/TCP listening on 128.151.188.7:548
May 01 18:17:07.384402 afpd[16996] {fault.c:123} (S:Default): ===============================================================
May 01 18:17:07.384625 afpd[16996] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 16996 (3.0.3)
May 01 18:17:07.384653 afpd[16996] {fault.c:125} (S:Default): ===============================================================
May 01 18:17:07.384943 afpd[16996] {fault.c:96} (S:Default): PANIC: internal error
May 01 18:17:07.384983 afpd[16996] {fault.c:97} (S:Default): BACKTRACE: 7 stack frames:
May 01 18:17:07.385009 afpd[16996] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.4.0.0'netatalk_panic+0x2d [0xfef4ee2d]
May 01 18:17:07.385053 afpd[16996] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.4.0.0'0x33fc0 [0xfef4efc0]
May 01 18:17:07.385080 afpd[16996] {fault.c:103} (S:Default): #2 /lib/libc.so.1'sighndlr+0x15 [0xfeb901b5]
May 01 18:17:07.385106 afpd[16996] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2af [0xfeb830ff]
May 01 18:17:07.385132 afpd[16996] {fault.c:103} (S:Default): #4 /usr/local/sbin/afpd'afp_over_dsi+0x3fe [0x805065e]
May 01 18:17:07.385174 afpd[16996] {fault.c:103} (S:Default): #5 /usr/local/sbin/afpd'main+0xb0d [0x806cfed]
May 01 18:17:07.385201 afpd[16996] {fault.c:103} (S:Default): #6 /usr/local/sbin/afpd'_start+0x83 [0x804f603]
May 01 18:17:15.109688 afpd[17004] {fault.c:123} (S:Default): ===============================================================
May 01 18:17:15.109847 afpd[17004] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 17004 (3.0.3)
May 01 18:17:15.109892 afpd[17004] {fault.c:125} (S:Default): ===============================================================
May 01 18:17:15.110101 afpd[17004] {fault.c:96} (S:Default): PANIC: internal error
May 01 18:17:15.110126 afpd[17004] {fault.c:97} (S:Default): BACKTRACE: 7 stack frames:
May 01 18:17:15.110144 afpd[17004] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.4.0.0'netatalk_panic+0x2d [0xfef4ee2d]
May 01 18:17:15.110160 afpd[17004] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.4.0.0'0x33fc0 [0xfef4efc0]
May 01 18:17:15.110194 afpd[17004] {fault.c:103} (S:Default): #2 /lib/libc.so.1'sighndlr+0x15 [0xfeb901b5]
May 01 18:17:15.110215 afpd[17004] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2af [0xfeb830ff]
May 01 18:17:15.110233 afpd[17004] {fault.c:103} (S:Default): #4 /usr/local/sbin/afpd'afp_over_dsi+0x3fe [0x805065e]
May 01 18:17:15.110249 afpd[17004] {fault.c:103} (S:Default): #5 /usr/local/sbin/afpd'main+0xb0d [0x806cfed]
May 01 18:17:15.110266 afpd[17004] {fault.c:103} (S:Default): #6 /usr/local/sbin/afpd'_start+0x83 [0x804f603]
May 01 18:17:22.177070 afpd[17007] {fault.c:123} (S:Default): ===============================================================
May 01 18:17:22.177305 afpd[17007] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 17007 (3.0.3)
May 01 18:17:22.177342 afpd[17007] {fault.c:125} (S:Default): ===============================================================
May 01 18:17:22.177643 afpd[17007] {fault.c:96} (S:Default): PANIC: internal error
May 01 18:17:22.177709 afpd[17007] {fault.c:97} (S:Default): BACKTRACE: 7 stack frames:
May 01 18:17:22.177732 afpd[17007] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.4.0.0'netatalk_panic+0x2d [0xfef4ee2d]
May 01 18:17:22.177752 afpd[17007] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.4.0.0'0x33fc0 [0xfef4efc0]
May 01 18:17:22.177773 afpd[17007] {fault.c:103} (S:Default): #2 /lib/libc.so.1'__sighndlr+0x15 [0xfeb901b5]
May 01 18:17:22.177806 afpd[17007] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2af [0xfeb830ff]
May 01 18:17:22.177863 afpd[17007] {fault.c:103} (S:Default): #4 /usr/local/sbin/afpd'afp_over_dsi+0x3fe [0x805065e]
May 01 18:17:22.177892 afpd[17007] {fault.c:103} (S:Default): #5 /usr/local/sbin/afpd'main+0xb0d [0x806cfed]
May 01 18:17:22.177920 afpd[17007] {fault.c:103} (S:Default): #6 /usr/local/sbin/afpd'_start+0x83 [0x804f603]
I disabled dtrace (added #if 0 on top of afp_dtrace.h) and this started working. So this seems to be somekind of bug in dtrace support.
Still had to stick this on top of dtrace generated file
SunOS Levy 5.11 NexentaOS_134f i86pc i386 i86pc Solaris
(kinda old version)
Last edit: Jarkko Torppa 2014-11-03
NexentaOS is long discontinued at this point. We are continuously testing on Solaris 11 and OmniOS: dtrace works in 3.2.5 and the main development branch. So this was either specific to NexentaOS, or since fixed.