From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 20 03:30:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E43E716A46C for ; Wed, 20 Jun 2007 03:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C65F713C465 for ; Wed, 20 Jun 2007 03:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5K3U2Ui032881 for ; Wed, 20 Jun 2007 03:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5K3U294032880; Wed, 20 Jun 2007 03:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 20 Jun 2007 03:30:02 GMT Resent-Message-Id: <200706200330.l5K3U294032880@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nathan Whitehorn Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26C6516A46D for ; Wed, 20 Jun 2007 03:27:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 18E1D13C4B7 for ; Wed, 20 Jun 2007 03:27:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5K3RXpL057429 for ; Wed, 20 Jun 2007 03:27:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l5K3RXpM057428; Wed, 20 Jun 2007 03:27:33 GMT (envelope-from nobody) Message-Id: <200706200327.l5K3RXpM057428@www.freebsd.org> Date: Wed, 20 Jun 2007 03:27:33 GMT From: Nathan Whitehorn To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/113874: netatalk broken on big-endian systems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 03:30:03 -0000 >Number: 113874 >Category: kern >Synopsis: netatalk broken on big-endian systems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 20 03:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Nathan Whitehorn >Release: 7-CURRENT >Organization: University of Chicago >Environment: FreeBSD sunrise.rh 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Tue Jun 19 22:04:43 CDT 2007 root@mail.rh:/usr/obj/sparc64/usr/home/nathanw/src/sys/US3 sparc64 Same behavior on: FreeBSD avila 7.0-CURRENT FreeBSD 7.0-CURRENT #4: Tue Jun 19 21:11:23 CDT 2007 root@mail.rh:/usr/obj/arm/usr/home/nathanw/src/sys/AVILA arm >Description: I'm not entirely sure whether this is a kernel or netatalk port bug, but at least some of the problem is in the kernel AARP layer, and they have a close relationship. The ports part: On big-endian systems, atalkd will not cleanly restart. If it has previously run on an interface, it says something like this: sunrise# /usr/local/etc/rc.d/netatalk restart bge0: Address already in use Can't configure multicast. bge0: disabled. bge0: disabled. atalkd: zero interfaces, exiting. This is with no remaining atalk address on the interface. The kernel part: The kernel seems incapable of correctly sending or receiving AARP packets. Aecho doesn't work, nbplkup doesn't work, and tcpdump gives a lot of these packets coming from the problem machine: 22:54:19.872587 aarp who-has 0.0.0 tell 0.0 Turning on NETATALKDEBUG, I get this at the console when these packets are sent (sending induced by aecho 65280.125, which is a mac. 65280.175 is the machine itself): aarp: sending request for 65280.175 The machine also doesn't reply to AARP packets addressed to it. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: