Subject: kern/8308: Netatalk broken in latest post 1.4.1 "release"
To: None <gnats-bugs@gnats.netbsd.org>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-bugs
Date: 09/01/1999 11:21:59
>Number:         8308
>Category:       kern
>Synopsis:       Netatalk broken in latest post 1.4.1 "release"
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep  1 11:20:01 1999
>Last-Modified:
>Originator:     Frederick Bruckman
>Organization:

>Release:        Release sup, August 30, 1999
>Environment:
	
System: NetBSD corwin.home 1.4.1 NetBSD 1.4.1 (CORWIN) #17:
Tue Aug 10 17:36:22 CDT 1999 fredb@corwin.home:
/usr/src/sys/arch/mac68k/compile/CORWIN mac68k
(That's the last good kernel.)

Running binaries (net/netatalk package) built in March against
netbsd-1.4.

>Description:
	
Netatalk has stopped working between August 10 (1.4.1)
and August 30 (latest release sup).

Details:

A Quadra 840AV, dual boot, and a Quadra630 running MacOS. All is fine:
afpd, papd, serve files + a ghostscript printer, from the 840AV for the
630, *except* with recent kernel. atalkd starts up without error, sets
up the routes the ordinary way (as evidenced by 'netstat -rf atalk'),
and starts up listeners as usual...

fredb-> netstat -f atalk
Active ATALK connections
Proto Recv-Q Send-Q  Local Address          Foreign Address
(state)
ddp        0      0  65280.150.1            *.*.*
ddp        0      0  65280.150.2            *.*.*
ddp        0      0  65280.150.4            *.*.*
ddp        0      0  65280.150.6            *.*.*
ddp        0      0  *.*.1                  *.*.*
ddp        0      0  *.*.2                  *.*.*
ddp        0      0  *.*.4                  *.*.*
ddp        0      0  *.*.6                  *.*.*

but 'nbprgstr corwin:Workstation; nbprgstr corwin:netatalk', the
next step in the rc.atalk script, fails with "cannot register
corwin:Workstation@*", "cannot register corwin:netatalk"; afpd and
papd subsequently fail likewise. Interestingly, if I enable AppleTalk
on the Quadr630 (in MacOS) "npblkup" sees it!

fredb-> nbplkup
                         Random:  Macintosh 65280.156:250
                         Random:Workstation 65280.156:4

Tried deleting /usr/pkg/etc/atalkd.conf and letting atalkd rebuild it;
same thing (with different numbers) until I revert to the old kernel, then OK.

>How-To-Repeat:
	
	As above.
>Fix:
	
>Audit-Trail:
>Unformatted: