Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2001 21:34:26 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Jordan Hubbard <jkh@freebsd.org>
Cc:        <so@i-clue.de>, <stable@freebsd.org>
Subject:   Re: Netatalk crash on RC4 (was: Re: 4.4-RC4 report [succes])
Message-ID:  <20010912213100.L411-100000@shumai.marcuscom.com>
In-Reply-To: <20010912171443G.jkh@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010912213100.L411-100000>