From owner-freebsd-arm@FreeBSD.ORG Mon Oct 29 15:08:13 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1370D5C5 for ; Mon, 29 Oct 2012 15:08:13 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id A85DC8FC14 for ; Mon, 29 Oct 2012 15:08:06 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9TF85tx020176 for ; Mon, 29 Oct 2012 09:08:06 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q9TF7hKe004655; Mon, 29 Oct 2012 09:07:43 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: NFS mount not working on AVILA From: Ian Lepore To: hsmpr In-Reply-To: <1351506106530-5756034.post@n5.nabble.com> References: <1351506106530-5756034.post@n5.nabble.com> Content-Type: text/plain; charset="us-ascii" Date: Mon, 29 Oct 2012 09:07:43 -0600 Message-ID: <1351523263.1123.360.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 15:08:13 -0000 On Mon, 2012-10-29 at 03:21 -0700, hsmpr wrote: > Hi, > > I have an AVILA board for which kernel is built with option to mount NFS. I > have done some debugging to make sure, npe transmit routines are reached. as > shown below. > > HSM : npe_txdone [Debug inserted] > DHCP/BOOTP timeout for server 255.255.255.255 > Sending DHCP Discover packet from interface npe0 (00:40:c7:fd:a5:86) > HSM : npestart done [Debug inserted] > HSM : npe_txdone [Debug inserted] > DHCP/BOOTP timeout for server 255.255.255.255 > > This will continue forever > But on a wireshark capture, I do not see any discover packet being sent from > the board. While, RedBoot is able to get the kernel from the TFTP server > hosted on the same route. Additionally, the mac address was set to all > zeros. The behavior has not changed after I manually set the MAC address to > a valid value in the kernel code. Can somebody help? > > > hsmpr I had exactly the same symptoms when I first tried to bring up my DreamPlug. I eventually tracked it down to the pin assignments for connecting the on-chip ethernet mac to its phy. It thought it was sending packets, but the electrons never made it out of the SoC. In my case, the TFTP code in uBoot had assigned the pins correctly, but then some wrong values in the FDT source caused the kernel to re-assign them differently so that it stopped working after the kernel loaded. -- Ian