Bus Error when mounting Netatalk shares

paws

68000
I've got System 7.6.1 on a Quadra 700. OT 1.3.1 and AppleShare 3.8.3 (latest as per System 7 Today).

Netatalk 4.4.2 on x86 Arch Linux with AppleTalk enabled. I can share a CUPS printer and print, but when I try to mount an AFP share, the Mac crashes with a bus error. I can log in, see the list of shares, select on to connect, but then it crashes. Netatalk reports that I've logged in.

Any ideas on how to troubleshoot? Adding/removing legacy volume size makes no difference. I've tried both randnum and dhx.

SQLite is because dbd didn't work at all for me! On connection it would time out.

I have used this volume with an older version of Netatalk to speak to an OS 9 machine, but I deleted the .AppleDB folder.

Code:
$ cat /etc/afp.conf
;
; Netatalk AFP file server configuration file
;
; See the `afp.conf' manual page for all available options
;

[Global]
; Global server settings
afp interfaces = enp2s0
appletalk = yes
uam list = uams_randnum.so

[Homes]
basedir regex = /home
path = afpshare
cnid scheme = sqlite
legacy volume size = yes

$ cat /etc/atalkd.conf
#
# AppleTalk daemon (atalkd) configuration file
# Part of the Netatalk suite
#
# Leave this file empty to allow atalkd to detect and configure
# AppleTalk interfaces automatically
#
# See the `atalkd.conf' manual page for all available options
enp2s0 -phase 2 -net 0-65534 -addr 65280.13
 
add the line legacy icon = sdcard under the Global section. One of the ASC revisions has a bug in it that causes a crash if no icon data is received. Remove the afp interfaces and legacy volume size option too. I don't think you can use the "path" option under the special Homes share. I would setup a dedicated folder if you want a special AFP mount point.
 
Last edited:
Back
Top