From cmf@netins.net  Tue May 20 19:47:32 1997
Received: from kf0yn.ampr.org (elrg-01-29.dialup.netins.net [199.120.94.94])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA12289
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 20 May 1997 19:47:21 -0700 (PDT)
Received: (cmf@localhost) by kf0yn.ampr.org (8.8.5/8.6.5) id VAA04646; Tue, 20 May 1997 21:47:08 -0500 (CDT)
Message-Id: <199705210247.VAA04646@kf0yn.ampr.org>
Date: Tue, 20 May 1997 21:47:08 -0500 (CDT)
From: "Carl M. Fongheiser" <cmf@netins.net>
Reply-To: cmf@netins.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: kernel built with "options NETATALK" fails to boot
X-Send-Pr-Version: 3.2

>Number:         3646
>Category:       kern
>Synopsis:       kernel built with "options NETATALK" fails to boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 19:50:01 PDT 1997
>Closed-Date:    Wed Apr 29 06:34:09 PDT 1998
>Last-Modified:  Wed Apr 29 06:34:26 PDT 1998
>Originator:     Carl M. Fongheiser
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

-current as of May 16th

>Description:

A kernel built with "options NETATALK" compiles, but panics on boot with the
message "panic: domaininit: appletalksw[0] has no usrreqs".

>How-To-Repeat:

Build a kernel with "options NETATALK", install and boot.

>Fix:

The following patches prevent the panic (but netatalk still doesn't work):


*** at_proto.c_save	Tue May 13 17:12:00 1997
--- at_proto.c	Fri May 16 07:43:40 1997
***************
*** 59,64 ****
--- 59,65 ----
  	NULL,
  	/* utility routines. */
  	ddp_init,	0,		0,		0,
+ 	&ddp_usrreqs
      },
  };
  


*** ddp_var.h_save	Thu May 23 20:35:42 1996
--- ddp_var.h	Fri May 16 07:47:53 1997
***************
*** 32,36 ****
--- 32,37 ----
  extern struct ddpcb		*ddp_ports[ ];
  extern struct ddpcb		*ddpcb;
  struct ddpstat		ddpstat;
+ extern struct pr_usrreqs	ddp_usrreqs;
  #endif
  #endif /* _NETATALK_DDP_VAR_H_ */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Apr 29 06:34:09 PDT 1998 
State-Changed-Why:  
works now. 
>Unformatted:
