From owner-freebsd-arm@FreeBSD.ORG Sat Jan 31 02:21:15 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1495E1065675 for ; Sat, 31 Jan 2009 02:21:15 +0000 (UTC) (envelope-from avinogradovs@clearpathnet.com) Received: from smtp.clearpathnet.com (smtp.clearpathnet.com [74.217.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id EFA4C8FC16 for ; Sat, 31 Jan 2009 02:21:14 +0000 (UTC) (envelope-from avinogradovs@clearpathnet.com) Received: from [10.1.16.109] (la-209-182-100-49 [209.182.100.49] (may be forged)) by smtp.clearpathnet.com (8.13.1/8.13.1) with ESMTP id n0V2LBXJ030948; Fri, 30 Jan 2009 18:21:13 -0800 Message-ID: <4983B5D2.9040500@clearpathnet.com> Date: Fri, 30 Jan 2009 18:22:10 -0800 From: Alex Vinogradovs User-Agent: Thunderbird 2.0.0.16 (X11/20080915) MIME-Version: 1.0 To: Sam Leffler References: <49838270.7090301@clearpathnet.com> <4983B041.4050200@freebsd.org> In-Reply-To: <4983B041.4050200@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: NFS on ARM/IXP435 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 02:21:15 -0000 Sam Leffler wrote: > > I've had no problems using nfs-root, cf-root, or mounting nfs > filesystems after boot. The only thing to beware is to not use NPE-A > as it doesn't work. > > Sam > Yeah, my situation is kind of odd... I've got operational network, but whether it is during startup (via fstab), or manually later on, mount_nfs just hangs, while / is mounted via NFS by kernel. But since there is no proc/truss, I'm clueless how to see what is it doing... Indeed I've noticed I've only got one interface out of two, so you've answered my question ahead of time :D just in case, here are my boot messages: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #6: Fri Jan 30 13:47:27 PST 2009 alexv@alexv:/usr/src.2/sys/arm/compile/flex100 CPU: IXP435 rev 1 (ARMv5TE) (XScale core) DC enabled IC enabled WB enabled LABT branch prediction enabled 32KB/32B 32-way Instruction cache 32KB/32B 32-way write-back-locking Data cache real memory = 134217728 (128 MB) avail memory = 125263872 (119 MB) ixp0: on motherboard ixp0: 37fff ixpclk0: on ixp0 ixpiic0: on ixp0 iicbb0: on ixpiic0 iicbus0: on iicbb0 master-only iic0: on iicbus0 iicbus0: at addr 0x5a ad74180: at addr 0x50 on iicbus0 ds16720: at addr 0xd0 on iicbus0 ixpwdog0: on ixp0 uart0: on ixp0 uart0: [FILTER] uart0: console (115200,n,8,1) ixpqmgr0: on ixp0 ixpqmgr0: [ITHREAD] ixpqmgr0: [ITHREAD] npe0: on ixp0 npe0: [ITHREAD] npe0: MAC at 0xc800a000 npe0: MII at 0xc800a000 npe0: load fw image IXP425.NPE-C Func 0x5 Rev 2.1 miibus0: on npe0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto npe0: Ethernet address: 00:03:47:df:32:a8 ata_avila0: on ixp0 ata_avila0: [ITHREAD] ata0: on ata_avila0 ata0: [ITHREAD] ehci0: on ixp0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb0: set host controller mode usb0: set big-endian mode usb0: EHCI version 1.0 usb0: stop timeout usb0: set host controller mode usb0: set big-endian mode usb0 on ehci0 usb0: USB revision 2.0 uhub0: on usb0 uhub0: 1 port with 1 removable, self powered ehci1: on ixp0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb1: set host controller mode usb1: set big-endian mode usb1: EHCI version 1.0 usb1: stop timeout usb1: set host controller mode usb1: set big-endian mode usb1 on ehci1 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 1 port with 1 removable, self powered ixpclk0: [FILTER] Timecounter "IXP4XX Timer" frequency 66666600 Hz quality 1000 Timecounters tick every 10.000 msec bootpc_init: wired to interface 'npe0' Sending DHCP Discover packet from interface npe0 (00:03:47:df:32:a8) Received DHCP Offer packet on npe0 from 10.1.16.109 (accepted) (no root path) Received DHCP Offer packet on npe0 from 10.1.8.100 via 10.1.16.2 (ignored) (no root path) Received DHCP Offer packet on npe0 from 10.1.8.100 via 10.1.16.3 (ignored) (no root path) Sending DHCP Request packet from interface npe0 (00:03:47:df:32:a8) Received DHCP Ack packet on npe0 from 10.1.16.109 (accepted) (got root path) npe0 at 10.1.16.114 server 10.1.16.109 boot file /tftpboot/flex100 subnet mask 255.255.255.0 router 10.1.16.1 rootfs 10.1.16.109:/armroot hostname flex100 Adjusted interface npe0 Trying to mount root from nfs: NFS ROOT: 10.1.16.109:/armroot 10.1.16.109:/armroot on / (nfs, read-only) devfs on /dev (devfs, local) /dev/md0 on /var (ufs, local) /dev/md1 on /tmp (ufs, local) npe0: flags=8843 metric 0 mtu 1500 ether 00:03:47:df:32:a8 inet 10.1.16.114 netmask 0xffffff00 broadcast 10.1.16.255 media: Ethernet autoselect (100baseTX ) status: active