Date: Fri, 30 Jan 2009 18:22:10 -0800 From: Alex Vinogradovs <avinogradovs@clearpathnet.com> To: Sam Leffler <sam@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: Re: NFS on ARM/IXP435 Message-ID: <4983B5D2.9040500@clearpathnet.com> In-Reply-To: <4983B041.4050200@freebsd.org> References: <49838270.7090301@clearpathnet.com> <4983B041.4050200@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel IXP4XX> on motherboard ixp0: 37fff<RCOMP,USB,HASH,AES,DES,HDLC,AAL,HSS,UTOPIA,ETH0,ETH1,PCI> ixpclk0: <IXP4XX Timer> on ixp0 ixpiic0: <IXP4XX GPIO-Based I2C Interface> on ixp0 iicbb0: <I2C bit-banging driver> on ixpiic0 iicbus0: <Philips I2C bus> on iicbb0 master-only iic0: <I2C generic I/O> on iicbus0 iicbus0: <unknown card> at addr 0x5a ad74180: <Analog Devices AD7418 ADC> at addr 0x50 on iicbus0 ds16720: <Dallas Semiconductor DS1672 RTC> at addr 0xd0 on iicbus0 ixpwdog0: <IXP4XX Watchdog Timer> on ixp0 uart0: <Non-standard ns8250 class UART with FIFOs> on ixp0 uart0: [FILTER] uart0: console (115200,n,8,1) ixpqmgr0: <IXP4XX Q-Manager> on ixp0 ixpqmgr0: [ITHREAD] ixpqmgr0: [ITHREAD] npe0: <IXP NPE-C> 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: <MII bus> on npe0 ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto npe0: Ethernet address: 00:03:47:df:32:a8 ata_avila0: <Gateworks Cambria IDE/CF Controller> on ixp0 ata_avila0: [ITHREAD] ata0: <ATA channel 0> on ata_avila0 ata0: [ITHREAD] ehci0: <IXP4XX Integrated USB 2.0 controller> 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: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb0 uhub0: 1 port with 1 removable, self powered ehci1: <IXP4XX Integrated USB 2.0 controller> 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: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4983B5D2.9040500>