wandboard / imx6 / exynos4 / cortex-a9 "wrong-endian bug" fixed

Bernd Walter ticso at cicely7.cicely.de
Mon Feb 10 04:13:35 UTC 2014


On Mon, Feb 03, 2014 at 12:04:50AM +0100, Bernd Walter wrote:
> On Sun, Feb 02, 2014 at 01:00:04PM -0700, Ian Lepore wrote:
> > As some of you know from previous email or irc conversations, I've been
> > chasing a strange bug for months that affects some cortex-a9 chips,
> > which I've been calling the "wrong-endian bug", where some registers get
> > restored with wrong-endian values on return from an interrupt, leading
> > to a panic or crash during boot.  
> 
> This is very great news and a pretty amazing job to find this.
> Thank you very much!
> In the end it also exaplains the tempeerature dependency on the
> Wandboards and why it always happened on my MarSboard.
> Unfortunately I'm still time contrained, but likely I will at least
> find enough time to do some tests on my iMX6 board collection next
> weekend.

I did build recent current (R261700) with recent crochet.

This is the result:
U-Boot 2013.10 (Feb 10 2014 - 00:35:13)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: Wandboard
DRAM:  2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0 
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
59 bytes read in 10 ms (4.9 KiB/s)
Importing environment from mmc (uEnv.txt)...
Checking if uenvcmd is set ...
Running uenvcmd ...
reading kernel.bin
4989960 bytes read in 261 ms (18.2 MiB/s)
## Starting application at 0x12000000 ...
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2014 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 11.0-CURRENT #0 r261700M: Mon Feb 10 03:28:27 CET 2014
    ticso at cicely1.cicely.de:/root/crochet-freebsd/work/obj/arm.armv6/home/builder/bbb/head/sys/WANDBOARD-QUAD arm
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Preloaded elf kernel "kernel" at 0xc24e0c6c.
CPU: Cortex A9-r2 rev 10 (Cortex-A core)
 Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext
 WB disabled EABT branch prediction enabled
LoUU:2 LoC:1 LoUIS:2 
Cache level 1: 
 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc
 32KB/32B 4-way instruction cache Read-Alloc
real memory  = 2147483648 (2048 MB)
avail memory = 2095058944 (1998 MB)
Physical memory chunk(s):
  0x10000000 - 0x8fffffff,  2048 MB ( 524288 pages)
Excluded memory regions:
  0x12000000 - 0x1261ffff,     6 MB (   1568 pages) NoAlloc 
Static device mappings:
  0x00a00000 - 0x00afffff mapped at VA 0xffe00000
  0x02000000 - 0x020fffff mapped at VA 0xffd00000
  0x02100000 - 0x021fffff mapped at VA 0xffc00000
random device not loaded; using insecure entropy
null: <null device, zero device>
openfirm: <Open Firmware control device>
mem: <memory>
Falling back to <Software, Yarrow> random adaptor
random: <Software, Yarrow> initialized
nfslock: pseudo-device
ofwbus0: <Open Firmware Device Tree>
ofwbus0: <cpus> type unknown (no driver attached)
simplebus0: <Flattened device tree simple bus> on ofwbus0
gic0: <ARM Generic Interrupt Controller> mem 0xa01000-0xa01fff,0xa00100-0xa001ff on simplebus0
gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b sc->nirqs 160
l2cache0: <PL310 L2 cache controller> mem 0xa02000-0xa02fff irq 124 on simplebus0
l2cache0: Part number: 0x3, release: 0x7
l2cache0: L2 Cache: 1024KB/32B 16 ways
l2cache0: L2 Cache enabled
l2cache0: Early BRESP response: disabled
l2cache0: Instruction prefetch: disabled
l2cache0: Data prefetch: disabled
l2cache0: Non-secure interrupt control: disabled
l2cache0: Non-secure lockdown: disabled
l2cache0: Share override: disabled
l2cache0: Double linefil: disabled
l2cache0: Instruction prefetch: disabled
l2cache0: Data prefetch: disabled
l2cache0: Double linefill on WRAP request: disabled
l2cache0: Prefetch drop: disabled
l2cache0: Incr double Linefill: disabled
l2cache0: Not same ID on exclusive sequence: disabled
l2cache0: Prefetch offset: 0
simplebus1: <Flattened device tree simple bus> mem 0x2000000-0x20fffff on simplebus0
ccm0: <Freescale i.MX6 Clock Control Module> mem 0x20c4000-0x20c7fff irq 119,120 on simplebus1
imx6_anatop0: <Freescale i.MX6 Analog PLLs and Power> mem 0x20c8000-0x20c8fff on simplebus1
imx_gpt0: <Freescale i.MX GPT timer> mem 0x2098000-0x209bfff irq 87 on simplebus1
imx_gpt0: Running on 11000KHz clock, base freq 66000000Hz CR=0x0000027d, PR=0x00000005
Event timer "i.MXxxx GPT Eventtimer" frequency 11000000 Hz quality 1000
Timecounter "i.MX GPT Timecounter" frequency 11000000 Hz quality 1000
uart0: <imx_uart> mem 0x2020000-0x2023fff irq 58 on simplebus1
uart0: console (115200,n,8,1)
uart0: fast interrupt
simplebus1: <serial at 021e8000> mem 0x21e8000-0x21ebfff irq 59 type unknown (no driver attached)
simplebus1: <serial at 021ec000> mem 0x21ec000-0x21effff irq 60 type unknown (no driver attached)
simplebus1: <serial at 021f0000> mem 0x21f0000-0x21f3fff irq 61 type unknown (no driver attached)
simplebus1: <serial at 021f4000> mem 0x21f4000-0x21f7fff irq 62 type unknown (no driver attached)
usbphy0: <Freescale i.MX6 USB PHY> mem 0x20c9000-0x20c9fff irq 44 on simplebus1
usbphy1: <Freescale i.MX6 USB PHY> mem 0x20ca000-0x20cafff irq 45 on simplebus1
simplebus2: <Flattened device tree simple bus> mem 0x2100000-0x21fffff on simplebus0
ffec0: <Freescale Gigabit Ethernet Controller> mem 0x2188000-0x218bfff irq 150,151 on simplebus2
ffec0: MAC address 00:1f:7b:b4:08:81:
ffec0: PHY preamble disabled
miibus0: <MII bus> on ffec0
atphy0: <Atheros F1 10/100/1000 PHY> PHY 1 on miibus0
atphy0: OUI 0x00c82e, model 0x0007, rev. 4
atphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
ffec0: bpf attached
ffec0: Ethernet address: 00:1f:7b:b4:08:81
ehci0: <Freescale i.MX integrated USB controller> mem 0x2184000-0x21841ff irq 75 on simplebus2
ehci0: [GIANT-LOCKED]
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci0: usbpf: Attached
ehci1: <Freescale i.MX integrated USB controller> mem 0x2184200-0x21843ff irq 72 on simplebus2
ehci1: [GIANT-LOCKED]
usbus1: EHCI version 1.0
usbus1 on ehci1
ehci1: usbpf: Attached
simplebus2: <usb at 02184400> mem 0x2184400-0x21845ff irq 73 type unknown (no driver attached)
simplebus2: <usb at 02184600> mem 0x2184600-0x21847ff irq 74 type unknown (no driver attached)
simplebus2: <usbmisc at 02184800> mem 0x2184800-0x21849ff type unknown (no driver attached)
simplebus2: <usdhc at 02190000> mem 0x2190000-0x2193fff irq 54 type unknown (no driver attached)
sdhci_imx0: <Freescale uSDHC controller> mem 0x2194000-0x2197fff irq 55 on simplebus2
sdhci_imx0-slot0: 200MHz HS 4bits 3.3V 3.0V PIO
sdhci_imx0-slot0: ============== REGISTER DUMP ==============
sdhci_imx0-slot0: Sys addr: 0x00000000 | Version:  0x00000002
sdhci_imx0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000001
sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_imx0-slot0: Present:  0xff888088 | Host ctl: 0x00000000
sdhci_imx0-slot0: Power:    0x0000000d | Blk gap:  0x00000080
sdhci_imx0-slot0: Wake-up:  0x00000008 | Clock:    0x00000002
sdhci_imx0-slot0: Timeout:  0x00000080 | Int stat: 0x00000000
sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb
sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci_imx0-slot0: Caps:     0x0377c800 | Max curr: 0x80000000
sdhci_imx0-slot0: ===========================================
sdhci_imx1: <Freescale uSDHC controller> mem 0x2198000-0x219bfff irq 56 on simplebus2
sdhci_imx1-slot0: 200MHz HS 4bits 3.3V 3.0V PIO
sdhci_imx1-slot0: ============== REGISTER DUMP ==============
sdhci_imx1-slot0: Sys addr: 0x00000000 | Version:  0x00000002
sdhci_imx1-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000001
sdhci_imx1-slot0: Argument: 0x000095ea | Trn mode: 0x00000011
sdhci_imx1-slot0: Present:  0xff8d8088 | Host ctl: 0x00000002
sdhci_imx1-slot0: Power:    0x0000000d | Blk gap:  0x00000080
sdhci_imx1-slot0: Wake-up:  0x00000000 | Clock:    0x00000002
sdhci_imx1-slot0: Timeout:  0x0000008b | Int stat: 0x00000000
sdhci_imx1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb
sdhci_imx1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci_imx1-slot0: Caps:     0x0377c800 | Max curr: 0x80000011
sdhci_imx1-slot0: ===========================================
mmc0: <MMC/SD bus> on sdhci_imx1
simplebus2: <usdhc at 0219c000> mem 0x219c000-0x219ffff irq 57 type unknown (no driver attached)
Timecounters tick every 4.000 msec
vlan: initialized, using hash tables with chaining
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 16384
lo0: bpf attached
sdhci_imx1-slot0: Divider 250 for freq 400000 (max 200000000)
mmc0: Probing bus
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
mmc0: SD 2.0 interface conditions: OK
mmc0: SD probe: OK (OCR: 0x00ff8000)
mmc0: Current OCR: 0x00ff8000
ugen0.1: <Freescale> at usbus0
uhub0: <Freescale EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Freescale> at usbus1
uhub1: <Freescale EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
mmc0: Probing cards
mmc0: New card detected (CID 824a544e43617264104010014400d500)
mmc0: New card detected (CSD 400e00325b5900003b3d7f800a400000)
mmc0: Card at relative address 0xb368 added:
mmc0:  card: SDHC NCard 1.0 SN 1074790724 MFG 05/2013 by 130 JT
mmc0:  bus: 4bit, 50MHz, high speed timing
mmc0:  memory: 15529984 blocks, erase sector 8192 blocks
mmc0: setting transfer rate to 50.000MHz (high speed timing)
sdhci_imx1-slot0: Divider 2 for freq 50000000 (max 200000000)
mmcsd0: 8GB <SDHC NCard 1.0 SN 1074790724 MFG 05/2013 by 130 JT> at mmc0 50.0MHz/4bit/65535-block
GEOM: new disk mmcsd0
mmc0: setting bus width to 4 bits
GEOM_PART: partition 1 is not aligned on 4194304 bytes
GEOM_PART: partition 2 is not aligned on 4194304 bytes
GEOM_PART: partition 1 is not aligned on 4194304 bytes
GEOM_PART: partition 1 is not aligned on 4194304 bytes
random: unblocking device.
Root mount waiting for: usbus1 usbus0
uhub0: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
Spurious interrupt detected [0x000003ff]
ugen1.2: <vendor 0x0451> at usbus1
uhub2: <vendor 0x0451 product 0x8042, class 9/0, rev 2.00/1.00, addr 2> on usbus1
uhub2: MTT enabled
Root mount waiting for: usbus1
uhub2: 4 ports with 4 removable, self powered
ugen1.3: <Logitech> at usbus1
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus1
Trying to mount root from ufs:mmcsd0s2a []...
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Enlarging root partition
GEOM_PART: mmcsd0s2 was automatically resized
GEOM_PART: partition 1 is not aligned on 4194304 bytes
GEOM: Reconfigure ufsid/52f839542ea1d0a7, start 0 length 7887366144 end 7887366143

vm_fault(0xc24e4560, 0, 1, 0) -> 1
Fatal kernel mode data abort: 'Translation Fault (P)'
trapframe: 0xf4723d68
FSR=00000017, FAR=00000038, spsr=60000113
r0 =c6e39f00, r1 =c240670f, r2 =00000000, r3 =c6e3a2e0
r4 =c6fd9600, r5 =00000000, r6 =00000000, r7 =00000001
r8 =d61fa800, r9 =00000001, r10=00000000, r11=f4723dc0
r12=00000001, ssp=f4723db8, slr=c211b354, pc =c211b35c

[ thread pid 12 tid 100006 ]
Stopped at      g_part_modevent+0x3988: ldrb    r0, [r5, #0x038]
Tracing pid 12 tid 100006 td 0xc6d3f640
db_trace_self() at db_trace_self
         pc = 0xc23bdc50  lr = 0xc203dfec (db_hex2dec+0x498)
         sp = 0xf4723a68  fp = 0xf4723a80
        r10 = 0xc2496550
db_hex2dec() at db_hex2dec+0x498
         pc = 0xc203dfec  lr = 0xc203d99c (db_command_loop+0x2f0)
         sp = 0xf4723a88  fp = 0xf4723b28
         r4 = 0x00000000  r5 = 0x00000000
         r6 = 0xc2427755
db_command_loop() at db_command_loop+0x2f0
         pc = 0xc203d99c  lr = 0xc203d70c (db_command_loop+0x60)
         sp = 0xf4723b30  fp = 0xf4723b40
         r4 = 0xc23fc5b8  r5 = 0xc240d0de
         r6 = 0xc24e32bc  r7 = 0xf4723d68
         r8 = 0xc24e4560  r9 = 0xc24d9614
        r10 = 0xc24967c0
db_command_loop() at db_command_loop+0x60
         pc = 0xc203d70c  lr = 0xc20401cc (X_db_symbol_values+0x254)
         sp = 0xf4723b48  fp = 0xf4723c68
         r4 = 0x00000000  r5 = 0xf4723b50
         r6 = 0xc24d9640
X_db_symbol_values() at X_db_symbol_values+0x254
         pc = 0xc20401cc  lr = 0xc21cec94 (kdb_trap+0xcc)
         sp = 0xf4723c70  fp = 0xf4723c90
         r4 = 0x00000000  r5 = 0x00000017
         r6 = 0xc24d9640  r7 = 0xf4723d68
kdb_trap() at kdb_trap+0xcc
         pc = 0xc21cec94  lr = 0xc23d1190 (data_abort_handler+0x7d0)
         sp = 0xf4723c98  fp = 0xf4723cb0
         r4 = 0xf4723d68  r5 = 0x600001d3
         r6 = 0x00000038  r7 = 0x00000017
         r8 = 0xc24e4560  r9 = 0x00000001
        r10 = 0xf4723d68
data_abort_handler() at data_abort_handler+0x7d0
         pc = 0xc23d1190  lr = 0xc23d0f60 (data_abort_handler+0x5a0)
         sp = 0xf4723cb8  fp = 0xf4723d60
         r4 = 0x00000017  r5 = 0xc6d3f640
         r6 = 0xc6d3cd2c  r7 = 0x00000004
data_abort_handler() at data_abort_handler+0x5a0
         pc = 0xc23d0f60  lr = 0xc23bfa58 (exception_exit)
         sp = 0xf4723d68  fp = 0xf4723dc0
         r4 = 0xc6fd9600  r5 = 0x00000000
         r6 = 0x00000000  r7 = 0x00000001
         r8 = 0xd61fa800  r9 = 0x00000001
        r10 = 0x00000000
exception_exit() at exception_exit
         pc = 0xc23bfa58  lr = 0xc211b354 (g_part_modevent+0x3980)
         sp = 0xf4723db8  fp = 0xf4723dc0
         r0 = 0xc6e39f00  r1 = 0xc240670f
         r2 = 0x00000000  r3 = 0xc6e3a2e0
         r4 = 0xc6fd9600  r5 = 0x00000000
         r6 = 0x00000000  r7 = 0x00000001
         r8 = 0xd61fa800  r9 = 0x00000001
        r10 = 0x00000000 r12 = 0x00000001
g_part_modevent() at g_part_modevent+0x3988
         pc = 0xc211b35c  lr = 0xc2112f88 (g_resize_provider+0x144)
         sp = 0xf4723dc8  fp = 0xf4723de0
         r4 = 0xc6e3a280  r5 = 0xc6fd9640
g_resize_provider() at g_resize_provider+0x144
         pc = 0xc2112f88  lr = 0xc210dbdc (g_run_events+0x348)
         sp = 0xf4723de8  fp = 0xf4723e28
         r4 = 0xc7029d00  r5 = 0x00000034
         r6 = 0x00000001  r7 = 0x00000004
         r8 = 0x00000100
g_run_events() at g_run_events+0x348
         pc = 0xc210dbdc  lr = 0xc2110644 (g_init+0x270)
         sp = 0xf4723e30  fp = 0xf4723e38
         r4 = 0xc24ca480  r5 = 0xc6d3cc80
         r6 = 0xc21105dc  r7 = 0x00000000
         r8 = 0xf4723e60  r9 = 0x00000000
        r10 = 0x00000000
g_init() at g_init+0x270
         pc = 0xc2110644  lr = 0xc2154d94 (fork_exit+0x84)
         sp = 0xf4723e40  fp = 0xf4723e58
         r4 = 0xc6d3f640
fork_exit() at fork_exit+0x84
         pc = 0xc2154d94  lr = 0xc23d0868 (fork_trampoline+0x14)
         sp = 0xf4723e60  fp = 0x00000000
         r4 = 0xc21105dc  r5 = 0x00000000
         r6 = 0xffffffff  r7 = 0xffddfdff
         r8 = 0x00000000
fork_trampoline() at fork_trampoline+0x14
         pc = 0xc23d0868  lr = 0xc23d0868 (fork_trampoline+0x14)
         sp = 0xf4723e60  fp = 0x00000000
Unable to unwind further
db> 


This is a Wandboard-Quad, but installed on an EDM1-FAIRY carrier with
USB wireless keyboard/Mice plug.

Probably because of the partition resizing, which happened on first boot.

Second boot worked better, but booting hanged after devd.
...
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Enlarging root partition
mmcsd0s2 resized
GEOM: Reconfigure ufsid/52f839542ea1d0a7, start 0 length 7883179520 end 7883179519
mmcsd0s2a resized
super-block backups (for fsck_ffs -b #) at:
 1736896, 2171072, 2605248, 3039424, 3473600, 3907776, 4341952, 4776128,
 5210304, 5644480, 6078656, 6512832, 6947008, 7381184, 7815360, 8249536,
 8683712, 9117888, 9552064, 9986240, 10420416, 10854592, 11288768, 11722944,
 12157120, 12591296, 13025472, 13459648, 13893824, 14328000, 14762176, 15196352
growfs: /: cannot reload filesystem: No such file or directory
Setting hostuuid: 25296a97-91fb-11e3-9bee-001f7bb40881.
Setting hostid: 0xbdcabc30.
No suitable dump device was found.
Entropy harvesting: interrupts ethernet point_to_point swi.
Starting file system checks:
/dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/mmcsd0s2a: clean, 1769411 free (867 frags, 221068 blocks, 0.0% fragmentation)
Mounting local file systems:.
Writing entropy file:.
Setting hostname: wandboard.
ffec0: link state changed to DOWN
Starting Network: lo0 ffec0.
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 0x2 
        inet 127.0.0.1 netmask 0xff000000 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ffec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80008<VLAN_MTU,LINKSTATE>
        ether 00:1f:7b:b4:08:81
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
load: 1.21  cmd: sh 17 [wait] 12.01r 0.04u 0.08s 0% 2156k
load: 1.21  cmd: sh 17 [wait] 12.21r 0.04u 0.08s 0% 2156k
^CScript /etc/rc.d/devd interrupted
Starting pflogd: 
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Waiting 30s for the default route interface: ^CScript /etc/rc.d/defaultroute interrupted
Creating and/or trimming log files.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Starting casperd.
Clearing /tmp (X related).
Updating motd:.
Mounting late file systems:.
Generating RSA1 host key.
2048 69:5f:25:fe:79:98:9f:68:db:c3:19:00:b5:97:d9:b8  root at wandboard (RSA1)
Generating RSA host key.
2048 23:3c:ec:47:93:9e:d3:c8:f7:f5:b5:ca:51:8d:f4:bf  root at wandboard (RSA)
Generating DSA host key.
1024 40:9f:34:a8:ac:c9:eb:bb:21:dd:74:fa:9a:cf:77:78  root at wandboard (DSA)
Generating ECDSA host key.
256 02:b3:75:0b:d0:fa:a3:57:21:7f:a7:28:ba:1e:1c:67  root at wandboard (ECDSA)
Generating ED25519 host key.
256 84:71:ba:a6:46:87:98:ad:bc:cb:2d:d7:da:45:4b:9f  root at wandboard (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Starting background file system checks in 60 seconds.

Mon Feb 10 02:29:26 UTC 2014

FreeBSD/arm (wandboard) (ttyu0)

login: root

load: 1.21  cmd: login 710 [nanslp] -1.44r 0.00u 0.05s 0% 2768k
load: 1.21  cmd: login 710 [nanslp] -1.48r 0.00u 0.05s 0% 2768k
load: 1.21  cmd: login 710 [nanslp] 0.00r 0.00u 0.05s 0% 2768k


Looks a bit like ethernet problems, but also no console login.


3rd (and all subsequent) boot was good:
...
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus1
Trying to mount root from ufs:mmcsd0s2a []...
WARNING: /root/crochet-freebsd/work/_.mount.freebsd was not properly dismounted
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Enlarging root partition
mmcsd0s2 resized
mmcsd0s2a resized
growfs: requested size 7.3GB is not larger than the current filesystem size 7.3GB
Setting hostuuid: 25cdf977-91fb-11e3-9e1b-001f7bb40881.
Setting hostid: 0x91e2b130.
No suitable dump device was found.
Entropy harvesting: interrupts ethernet point_to_point swi.
Starting file system checks:
** SU+J Recovering /dev/mmcsd0s2a
** Reading 4194304 byte journal from inode 4.
** Building recovery table.
** Resolving unreferenced inode list.
** Processing journal entries.
** 6 journal records in 1024 bytes for 18.75% utilization
** Freed 0 inodes (0 dirs) 0 blocks, and 0 frags.

***** FILE SYSTEM MARKED CLEAN *****
Mounting local file systems:.
Writing entropy file:.
Setting hostname: wandboard.
ffec0: link state changed to DOWN
Starting Network: lo0 ffec0.
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 0x2 
        inet 127.0.0.1 netmask 0xff000000 
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ffec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80008<VLAN_MTU,LINKSTATE>
        ether 00:1f:7b:b4:08:81
        media: Ethernet autoselect (none)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
ffec0: link state changed to UP
link_elf: symbol genkbd_get_fkeystr undefined
kldload: can't load ukbd: No such file or directory
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 3> on usbus1
ums0: 16 buttons and [XYZT] coordinates ID=2
Starting dhclient.
DHCPDISCOVER on ffec0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 10.1.1.4
DHCPREQUEST on ffec0 to 255.255.255.255 port 67
DHCPACK from 10.1.1.4
bound to 10.1.1.133 -- renewal in 43200 seconds.
link_elf: symbol genkbd_get_fkeystr undefined
kldload: can't load ukbd: No such file or directory
Starting ums0 mousedmoused: cannot open /dev/consolectl: No such file or directory
.
eval: cannot open /dev/ttyv*: No such file or directory
link_elf: symbol genkbd_get_fkeystr undefined
kldload: can't load ukbd: No such file or directory
Starting pflogd: 
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Creating and/or trimming log files.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Starting casperd.
Clearing /tmp (X related).
Updating motd:.
Mounting late file systems:.
Generating RSA1 host key.
2048 5e:7f:44:09:4b:14:4c:9c:b1:91:8d:82:80:ab:3a:10  root at wandboard (RSA1)
Generating RSA host key.
2048 b6:16:7b:06:7b:da:2e:32:ea:47:02:08:99:74:5f:21  root at wandboard (RSA)
Generating DSA host key.
1024 44:df:51:f8:84:c7:3e:3f:bf:c9:e2:2d:29:ab:d2:65  root at wandboard (DSA)
Generating ECDSA host key.
256 3b:c5:fd:fa:e8:ce:21:33:fd:12:5c:6b:be:ae:01:10  root at wandboard (ECDSA)
Generating ED25519 host key.
256 a2:de:a2:00:db:23:84:d0:f0:80:e3:40:82:88:15:7f  root at wandboard (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Starting background file system checks in 60 seconds.

Mon Feb 10 02:29:51 UTC 2014

FreeBSD/arm (wandboard) (ttyu0)

login: root
FreeBSD 11.0-CURRENT (WANDBOARD-QUAD) #0 r261700M: Mon Feb 10 03:28:27 CET 2014

Welcome to FreeBSD!

Before seeking technical support, please use the following resources:

o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.

o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc package has been installed
   (or fetched via pkg install lang-freebsd-doc, where lang is the
   2-letter language code, e.g. en), they are also available formatted
   in /usr/local/share/doc/freebsd.

If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions at FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.

Edit /etc/motd to change this login announcement.

root at wandboard:~ # 

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-arm mailing list