From owner-freebsd-stable Wed Sep 12 18:34:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 6D7C437B409; Wed, 12 Sep 2001 18:34:27 -0700 (PDT) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8D1XH572970; Wed, 12 Sep 2001 21:33:17 -0400 (EDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8D1YQI00447; Wed, 12 Sep 2001 21:34:26 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 12 Sep 2001 21:34:26 -0400 (EDT) From: Joe Clarke To: Jordan Hubbard Cc: , Subject: Re: Netatalk crash on RC4 (was: Re: 4.4-RC4 report [succes]) In-Reply-To: <20010912171443G.jkh@freebsd.org> Message-ID: <20010912213100.L411-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jordan, if you could, would you try the netatalk patches I sent out recently to try and fix the core dumps without using atalkd.conf? If someone else is successful, I would like to merge them into the port. Interestingly enough, Julian committed some fixes to kern_descrip.c today that does sort of what I did in netatalk to fix the core dumps. Now, on to your other issue. The problem with OS X and netatalk has been extensive. I have committed patches to netatalk that allow it to work with OS X provided you configure with the --with-did=last option. This is done by default in the port. However, this doesn't work with NFS mounted filesystems for some reason. I still need to investigate why. So, to answer your question, netatalk 1.5p7 works with OS X provided you do not enable the CNID_DB option, and you are using locally mounted filesystems. I will investigate the NFS problem further, but that is what I have to offer now. Thanks for your feedback, Jordan. Joe On Wed, 12 Sep 2001, Jordan Hubbard wrote: > Progress! For the record, here's what I was getting on a RELENG_4 box > (as of this morning) when netatalk attempted to start up from > /usr/local/etc/rc.d/netatalk.sh: > > katalkd in realloc(): warning: chunk is already free. > atalkd in free(): warning: chunk is already free. > AppleTalk not up! Check your syslog for the reason. Child died. > Sep 12 16:56:44 freebsd /kernel: pid 280 (atalkd), uid 0: exited on signal 11 (core dumped) > Sep 12 16:56:44 freebsd atalkd: difaddr(0.0): Can't assign requested address > nbp_rgstr: Network is unreachable > Can't register freebsd:netatalk@* > nbp_rgstr: Network is unreachable > Can't register freebsd:Workstation@* > Sep 12 16:56:45 freebsd afpd[286]: Can't register freebsd:AFPServer@* > > I then checked /usr/local/etc/atalkd.conf and saw that it was all > simply commented out examples. I have only one interface, rl0, and > according to the comments it should have been auto-discovered, but just > on a lark I tried adding it to atalkd.conf to see if it had any > effect. It did! All the core dumps have gone away. > > Now I'm on to my second problem. I've put /usr (just that, on a line > by itself) into /usr/local/etc/AppleVolumes.default and "usr" (but > with no leading slash) shows up in the volumes menu when I go to mount > it over AFP under MacOS X. If I then select this, the server disconnects > immediately and I get: > > afpd[pid]: dsi_stream_read(0): No such file or directory > > On the FreeBSD machine's console. Could it be because it's exporting > "usr" vs "/usr"? If so, why would it do that when I used "/usr" in > the AppleVolumes.default file? > > Thanks for all your help so far. > > - Jordan > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message