From owner-freebsd-arm@FreeBSD.ORG Sat Mar 23 19:38:42 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A77E28AE for ; Sat, 23 Mar 2013 19:38:42 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3A4F85 for ; Sat, 23 Mar 2013 19:38:42 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UJUH3-0002yp-EX; Sat, 23 Mar 2013 19:38:41 +0000 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 r2NJcdrB007341; Sat, 23 Mar 2013 13:38:39 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX180Py01man/b2RyTKijh1mV Subject: Re: Net booting current snapshot on openrd and sheevaplug From: Ian Lepore To: Jeff Penn In-Reply-To: <20130323183037.GA39897@beastie.jrpenn.demon.co.uk> References: <20130323183037.GA39897@beastie.jrpenn.demon.co.uk> Content-Type: multipart/mixed; boundary="=-wiUaj6PiMM99wXgyw5cs" Date: Sat, 23 Mar 2013 13:38:38 -0600 Message-ID: <1364067518.1157.163.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 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: Sat, 23 Mar 2013 19:38:42 -0000 --=-wiUaj6PiMM99wXgyw5cs Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Sat, 2013-03-23 at 18:30 +0000, Jeff Penn wrote: > I'm having problems net booting following the instruction on the > wiki. The kernel networking is failing on an openrd ultimate. My > sheevaplug gets as far as completing the DHCP request, but does not > generate any NFS traffic. Both systems run Debian, ruling out hardware. > > Do I need to try another snapshot, or are there any known issues?. > > Jeff Netbooting works on my similar DreamPlug systems using -current. I'm using the DREAMPLUG-1001 dts file and kernel config that are checked in, but with the BOOTP and NFSROOT options added. For the OpenRD it looks like the problem is that it can't find the phy. I've seen these *Plug systems use either 0 and 1 or 8 and 24 as the phy addresses for mge0 and mge1 respectively; you might try changing those in the dts file. In theory a phy address of -1 should work for mge0 to have it probe for a phy, but that's from looking at the code, I've never tried it. For the Sheeva, I'm not sure what would lead to those RPC timeouts, I've never seen that happen. I've got all these options for nfs root: options NFSCL options NFSLOCKD options NFS_ROOT options BOOTP options BOOTP_NFSROOT options BOOTP_NFSV3 options BOOTP_WIRED_TO=mge0 -- Ian --=-wiUaj6PiMM99wXgyw5cs Content-Disposition: inline; filename="dpdmesg.txt" Content-Type: text/plain; name="dpdmesg.txt"; charset="us-ascii" Content-Transfer-Encoding: 7bit SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>> dhcp 900000 dreamplug/boot/kernel.bin;go 900000 BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 69 *** Unhandled DHCP Option in OFFER/ACK: 26 *** Unhandled DHCP Option in OFFER/ACK: 27 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 28 *** Unhandled DHCP Option in OFFER/ACK: 69 *** Unhandled DHCP Option in OFFER/ACK: 26 *** Unhandled DHCP Option in OFFER/ACK: 27 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 28 DHCP client bound to address 172.22.42.230 Using egiga0 device TFTP from server 172.22.42.240; our IP address is 172.22.42.230 Filename 'dreamplug/boot/kernel.bin'. Load address: 0x900000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ####################################################### done Bytes transferred = 5564448 (54e820 hex) ## Starting application at 0x00900000 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-CURRENT #0 r248215M: Wed Mar 13 18:01:12 MDT 2013 root@revolution.hippie.lan:/local/build/staging/freebsd/dp10/obj/arm.arm/local/build/staging/freebsd/dp10/src/sys/DP-NFSROOT arm gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: DIAGNOSTIC option enabled, expect reduced performance. CPU: Feroceon 88FR131 rev 1 (Marvell core) Little-endian DC enabled IC enabled WA disabled DC streaming enabled BTB disabled L2 enabled L2 prefetch enabled WB enabled EABT branch prediction enabled 16KB/32B 4-way instruction cache 16KB/32B 4-way write-back-locking-C data cache real memory = 536870912 (512 MB) avail memory = 517337088 (493 MB) SOC: Marvell 88F6281 rev A1, TClock 200MHz Instruction cache prefetch disabled, data cache prefetch disabled 256KB 4-way set-associative write-through unified L2 cache random device not loaded; using insecure entropy localbus0: on fdtbus0 simplebus0: on fdtbus0 ic0: mem 0xf1020200-0xf102023b on simplebus0 timer0: mem 0xf1020300-0xf102032f irq 1 on simplebus0 Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 gpio0: mem 0xf1010100-0xf101011f irq 35,36,37,38,39,40,41 on simplebus0 rtc0: mem 0xf1010300-0xf1010307 on simplebus0 twsi0: mem 0xf1011000-0xf101101f irq 43 on simplebus0 iicbus0: on twsi0 iic0: on iicbus0 mge0: mem 0xf1072000-0xf1073fff irq 12,13,14,11,46 on simplebus0 mge0: Ethernet address: f0:ad:4e:01:16:62 miibus0: on mge0 e1000phy0: PHY 0 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto mge1: mem 0xf1076000-0xf1077fff irq 16,17,18,15,47 on simplebus0 mge1: Ethernet address: f0:ad:4e:01:16:63 miibus1: on mge1 e1000phy1: PHY 1 on miibus1 e1000phy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto uart0: <16550 or compatible> mem 0xf1012000-0xf101201f irq 33 on simplebus0 uart0: console (1056,n,8,1) uart1: <16550 or compatible> mem 0xf1012100-0xf101211f irq 34 on simplebus0 cesa0: mem 0xf1030000-0xf103ffff irq 22 on simplebus0 ehci0: mem 0xf1050000-0xf1050fff irq 48,19 on simplebus0 usbus0: EHCI version 1.0 usbus0: stop timeout usbus0: set host controller mode usbus0 on ehci0 mvs0: mem 0xf1080000-0xf1085fff irq 21 on simplebus0 mvs0: Gen-IIe, 2 3Gbps ports, Port Multiplier supported with FBS mvsch0: at channel 0 on mvs0 mvsch1: at channel 1 on mvs0 cryptosoft0: Timecounters tick every 10.000 msec IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled DUMMYNET 0 with IPv6 initialized (100409) load_dn_sched dn_sched WF2Q+ loaded load_dn_sched dn_sched FIFO loaded load_dn_sched dn_sched PRIO loaded load_dn_sched dn_sched QFQ loaded load_dn_sched dn_sched RR loaded usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 1 port with 1 removable, self powered Expensive timeout(9) function: 0xc0951d74(0xc3885780) 0.011070014 s ada0 at mvsch0 bus 0 scbus0 target 0 lun 0 ada0: ATA-9 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 122104MB (250069680 512 byte sectors: 16H 63S/T 16383C) bootpc_init: wired to interface 'mge0' Sending DHCP Discover packet from interface mge0 (f0:ad:4e:01:16:62) mge0: link state changed to UP Received DHCP Offer packet on mge0 from 172.22.42.240 (accepted) (no root path) ugen0.2: at usbus0 uhub1: on usbus0 uhub1: 4 ports with 4 removable, self powered Sending DHCP Request packet from interface mge0 (f0:ad:4e:01:16:62) Received DHCP Ack packet on mge0 from 172.22.42.240 (accepted) (got root path) ugen0.3: at usbus0 umass0: on usbus0 da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 3781MB (7744512 512 byte sectors: 255H 63S/T 482C) da1 at umass-sim0 bus 0 scbus2 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 15193MB (31116288 512 byte sectors: 255H 63S/T 1936C) ugen0.4: at usbus0 uaudio0: on usbus0 uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm0: on uaudio0 uaudio0: HID volume keys found. mge0 at 172.22.42.230 server 172.22.42.240 subnet mask 255.255.255.0 router 172.22.42.254 rootfs 172.22.42.240:/dreamplug Adjusted interface mge0 WARNING: DIAGNOSTIC option enabled, expect reduced performance. Trying to mount root from nfs: []... ifaddr cache = 0xc3d44300 is deleted NFS ROOT: 172.22.42.240:/dreamplug Interface mge0 IP-Address 172.22.42.230 Broadcast 172.22.42.255 Setting hostuuid: 745d5d8f-93ef-11e2-9e14-f0ad4e011662. Setting hostid: 0x2024a57e. No suitable dump device was found. Entropy harvesting: interrupts ethernet point_to_pointsha256: /kernel: No such file or directory kickstart. Starting file system checks: mount_nfs: can't update /var/db/mounttab for 172.22.42.240:/dreamplug eval: cannot create /etc/hostid: Read-only file system /etc/rc: WARNING: could not store hostuuid in /etc/hostid. Mounting local file systems:. Writing entropy file:. Setting hostname: dpnand. Starting Network: lo0 mge0 pflog0 pfsync0. lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 mge0: flags=8843 metric 0 mtu 1500 options=8000b ether f0:ad:4e:01:16:62 inet6 fe80::f2ad:4eff:fe01:1662%mge0 prefixlen 64 scopeid 0x1 inet 172.22.42.230 netmask 0xffffff00 broadcast 172.22.42.255 nd6 options=21 media: Ethernet autoselect (1000baseT ) status: active pflog0: flags=0<> metric 0 mtu 33196 nd6 options=29 pfsync0: flags=0<> metric 0 mtu 1500 nd6 options=29 syncpeer: 0.0.0.0 maxupd: 128 defer: off Starting devd. mge1: link state changed to DOWN Starting Network: pflog0. pflog0: flags=0<> metric 0 mtu 33196 nd6 options=29 Starting Network: pfsync0. pfsync0: flags=0<> metric 0 mtu 1500 nd6 options=29 syncpeer: 0.0.0.0 maxupd: 128 defer: off Starting dhclient. DHCPDISCOVER on mge0 to 255.255.255.255 port 67 interval 6 DHCPOFFER from 172.22.42.254 DHCPREQUEST on mge0 to 255.255.255.255 port 67 DHCPACK from 172.22.42.254 ifaddr cache = 0xc3df0800 is deleted bound to 172.22.42.230 -- renewal in 21600 seconds. add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 add net fe80::: gateway ::1 add net ff02::: gateway ::1 Mounting NFS file systems:. Creating and/or trimming log files. Starting syslogd. realpath: /dev/dumpdev: No such file or directory /etc/rc: WARNING: Dump device does not exist. Savecore not run. ELF ldconfig path: /lib /usr/lib /usr/lib/compat Clearing /tmp (X related). Updating motd:install: /etc/motd: Read-only file system /etc/motd is not writable, update failed. Starting ntpd. Performing sanity check on sshd configuration. Starting sshd. Starting cron. Starting background file system checks in 60 seconds. Sat Mar 23 19:26:11 UTC 2013 FreeBSD/arm (dpnand) (ttyu0) login: --=-wiUaj6PiMM99wXgyw5cs--