Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 13:38:38 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Jeff Penn <jeff@jrpenn.demon.co.uk>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: Net booting current snapshot on openrd and sheevaplug
Message-ID:  <1364067518.1157.163.camel@revolution.hippie.lan>
In-Reply-To: <20130323183037.GA39897@beastie.jrpenn.demon.co.uk>
References:  <20130323183037.GA39897@beastie.jrpenn.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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: <Marvell device bus> on fdtbus0
simplebus0: <Flattened device tree simple bus> on fdtbus0
ic0: <Marvell Integrated Interrupt Controller> mem 0xf1020200-0xf102023b on simplebus0
timer0: <Marvell CPU Timer> mem 0xf1020300-0xf102032f irq 1 on simplebus0
Event timer "CPUTimer0" frequency 200000000 Hz quality 1000
Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000
gpio0: <Marvell Integrated GPIO Controller> mem 0xf1010100-0xf101011f irq 35,36,37,38,39,40,41 on simplebus0
rtc0: <Marvell Integrated RTC> mem 0xf1010300-0xf1010307 on simplebus0
twsi0: <Marvell Integrated I2C Bus Controller> mem 0xf1011000-0xf101101f irq 43 on simplebus0
iicbus0: <Philips I2C bus> on twsi0
iic0: <I2C generic I/O> on iicbus0
mge0: <Marvell Gigabit Ethernet controller> mem 0xf1072000-0xf1073fff irq 12,13,14,11,46 on simplebus0
mge0: Ethernet address: f0:ad:4e:01:16:62
miibus0: <MII bus> on mge0
e1000phy0: <Marvell 88E1116R Gigabit PHY> PHY 0 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
mge1: <Marvell Gigabit Ethernet controller> mem 0xf1076000-0xf1077fff irq 16,17,18,15,47 on simplebus0
mge1: Ethernet address: f0:ad:4e:01:16:63
miibus1: <MII bus> on mge1
e1000phy1: <Marvell 88E1116R Gigabit PHY> 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: <Marvell Cryptographic Engine and Security Accelerator> mem 0xf1030000-0xf103ffff irq 22 on simplebus0
ehci0: <Marvell Integrated USB 2.0 controller> 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: <Marvell 88F6281 SATA controller> mem 0xf1080000-0xf1085fff irq 21 on simplebus0
mvs0: Gen-IIe, 2 3Gbps ports, Port Multiplier supported with FBS
mvsch0: <Marvell SATA channel> at channel 0 on mvs0
mvsch1: <Marvell SATA channel> at channel 1 on mvs0
cryptosoft0: <software crypto>
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: <Marvell> at usbus0
uhub0: <Marvell EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <M4-CT128M4SSD2 000F> 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: <vendor 0x1a40> at usbus0
uhub1: <vendor 0x1a40 USB 2.0 Hub, class 9/0, rev 2.00/1.11, addr 2> 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: <vendor 0x05e3> at usbus0
umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/99.10, addr 3> on usbus0
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <Generic STORAGE DEVICE 9910> 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: <Generic STORAGE DEVICE 9910> Removable Direct Access SCSI-0 device 
da1: 40.000MB/s transfers
da1: 15193MB (31116288 512 byte sectors: 255H 63S/T 1936C)
ugen0.4: <vendor 0x0d8c> at usbus0
uaudio0: <vendor 0x0d8c C-Media USB Headphone Set, class 0/0, rev 1.10/1.00, addr 4> 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: <USB audio> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet 127.0.0.1 netmask 0xff000000 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
mge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
        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<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
pflog0: flags=0<> metric 0 mtu 33196
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pfsync0: flags=0<> metric 0 mtu 1500
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting Network: pfsync0.
pfsync0: flags=0<> metric 0 mtu 1500
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1364067518.1157.163.camel>