From owner-freebsd-arm@FreeBSD.ORG Sun Dec 29 03:27:43 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A6C5A2 for ; Sun, 29 Dec 2013 03:27:43 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4464F1296 for ; Sun, 29 Dec 2013 03:27:42 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id rBT3RXXe027536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Dec 2013 19:27:34 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rBT3RXap027535; Sat, 28 Dec 2013 19:27:33 -0800 (PST) (envelope-from jmg) Date: Sat, 28 Dec 2013 19:27:33 -0800 From: John-Mark Gurney To: ticso@cicely.de Subject: Re: AVILA NFS problem ? Message-ID: <20131229032733.GX99167@funkthat.com> Mail-Followup-To: ticso@cicely.de, Berislav Purgar , "freebsd-arm@freebsd.org" References: <20131229015842.GC98282@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131229015842.GC98282@cicely7.cicely.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 28 Dec 2013 19:27:34 -0800 (PST) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 03:27:43 -0000 Bernd Walter wrote this message on Sun, Dec 29, 2013 at 02:58 +0100: > On Sat, Dec 28, 2013 at 01:59:49PM +0100, Berislav Purgar wrote: > > Hello .. > > I have problem with NFS on current. > > > > Timecounters tick every 10.000 msec > > > > ada0 at ata0 bus 0 scbus0 target 0 lun 0 > > > > ada0: CFA-0 device > > > > ada0: Serial Number 3ME3GRCZ > > > > ada0: 16.700MB/s transfers (PIO4, PIO 8192bytes) > > > > ada0: 3906MB (7999488 512 byte sectors: 16H 63S/T 7936C) > > > > ada0: Previously was known as ad0 > > > > bootpc_init: wired to interface 'npe1' > > > > Sending DHCP Discover packet from interface npe1 (00:d0:12:13:59:23) > > > > Received DHCP Offer packet on npe1 from 10.42.1.1 (accepted) > > > > npe1: link state changed to DOWN > > > > Sending DHCP Request packet from interface npe1 (00:d0:12:13:59:23) > > > > Received DHCP Ack packet on npe1 from 10.42.1.1 (accepted) (got root path) > > > > npe1 at 10.42.1.15 server 10.42.1.1 boot file kernel-avila.nfs > > > > subnet mask 255.255.255.0 rootfs 10.42.1.1:/data/freebsd/gateworks rootopts > > nol > > Adjusted interface npe1 > > > > krpc_call: sosend: 65 > > > > krpc_call: sosend: 65 > > > > panic: nfs_boot: mount root, error=65 > > > > KDB: enter: panic > > > > [ thread pid 0 tid 100000 ] > > > > Stopped at kdb_enter+0x48: ldrb r15, [r15, r15, ror r15]! > > EHOSTUNREACH 65 /* No route to host */ > But I fail to see anything wrong in the setup. > 10.42.1.1 should be reachable by 10.42.1.15/24 and network can't > be down (AFAIK ARP timeout results in EHOSTUNREACH) since you've got > a DHCP config, even from the same server. > No idea, but I'm not familar with the AVILA or similar. Could you watch the link on the device? I have a different AVILA board that is VERY slow to link. If I try to netboot from a u-boot script, or type the load command to early it just fails... It could be that we are simply not waiting long enough for the PHY to reestablish itself after reiniting the ethernet device... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."