Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jun 2017 23:16:43 +0200
From:      =?utf-8?Q?Peter_Ankerst=C3=A5l?= <peter@pean.org>
To:        freebsd-arm@freebsd.org
Subject:   FreeBSD 12 on nano pi neo/orange pi zero
Message-ID:  <4C65D00C-C2C4-4635-B804-E1F6271F2B12@pean.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi!

I have used crochet and built an image for NanoPi NEO. I actually works to boot in single user mode but the something seems to break. 

The image is build on: FreeBSD-armv6-12.0-ALLWINNER-316170

I have no idea if the problem is my image or the particular revision of FreeBSD.

I could do stuff like top, ps, and df:
# top

last pid:    27;  load averages:  1.24,  0.35,  0.13    up 0+00:00:27  00:00:49
2 processes:   1 running, 1 sleeping
CPU:  0.0% user,  0.0% nice,  0.1% system,  0.0% interrupt, 99.9% idle
Mem: 1720K Active, 108K Inact, 29M Wired, 4332K Buf, 461M Free
Swap: 

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
   27 root          1  20    0  7624K  2792K CPU0    0   0:00   0.37% top
   22 root          1  20    0  6712K  2552K wait    3   0:00   0.00% sh

# cat /etc/fstab                                                                /dev/mmcsd0s1	/boot/msdos	msdosfs rw,noatime	0 0
/dev/mmcsd0s2a	/		ufs rw,noatime		1 1
md		/tmp		mfs rw,noatime,-s50m	0 0
md		/var/log	mfs rw,noatime,-s15m	0 0
md		/var/tmp	mfs rw,noatime,-s12m	0 0

# df
Filesystem     512-blocks    Used   Avail Capacity  Mounted on
/dev/mmcsd0s2a    7307704 1955960 4767128    29%    /
devfs                   2       2       0   100%    /dev


I have this trace:

# exit
Growing root partition to fill device
mmcsd0s2 resized
mmcsd0s2a resized
eval: growfs: Device not configured
/etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one
eval: uuidgen: Device not configured
eval: /sbin/md5: Device not configured
Setting hostuuid: .
Setting hostid: 0x.
sysctl: invalid unsigned long '0x'
No suitable dump device was found.
eval: /sbin/swapon: Device not configured
Fast boot: skipping disk checks.
panic: access but not attached
cpuid = 0
time = 1262304250
KDB: stack backtrace:
$a.4() at $a.4
	 pc = 0xc06e8f14  lr = 0xc02598dc (db_trace_self_wrapper+0x30)
	 sp = 0xdea028d8  fp = 0xdea029f0
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
	 pc = 0xc02598dc  lr = 0xc040e32c (vpanic+0x148)
	 sp = 0xdea029f8  fp = 0xdea02a18
	 r4 = 0x00000100  r5 = 0x00000001
	 r6 = 0xc038fdec  r7 = 0xc09ab2c8
vpanic() at vpanic+0x148
	 pc = 0xc040e32c  lr = 0xc040e1d0 ($d.10)
	 sp = 0xdea02a20  fp = 0xdea02a34
	 r4 = 0xc038fdec  r5 = 0xdea02a3c
	 r6 = 0x00000001  r7 = 0x00000000
	 r8 = 0x00000000  r9 = 0xc0a24fc0
	r10 = 0xc2b79cd0
$d.10() at $d.10
	 pc = 0xc040e1d0  lr = 0xc038fc30 (g_access+0x2d8)
	 sp = 0xdea02a48  fp = 0xdea02a90
	 r4 = 0xc3272200  r5 = 0x00000001
	 r6 = 0x00000001 r10 = 0xc2b79cd0
g_access() at g_access+0x2d8
	 pc = 0xc038fc30  lr = 0xc0692fe8 ($a.15+0x3d0)
	 sp = 0xdea02a98  fp = 0xdea02bb8
	 r4 = 0xc07a479b  r5 = 0xc32bc360
	 r6 = 0xc3320000  r7 = 0xc331f000
	 r8 = 0xc323fae0  r9 = 0xc0a24fc0
	r10 = 0xc2b79cd0
$a.15() at $a.15+0x3d0
	 pc = 0xc0692fe8  lr = 0xc04d0dc4 ($a.11+0xa64)
	 sp = 0xdea02bc0  fp = 0xdea02d60
	 r4 = 0xc0880980  r5 = 0x00000000
	 r6 = 0xffffffff  r7 = 0x00000001
	 r8 = 0xc2b79c44  r9 = 0xc2b79c40
	r10 = 0x10005011
$a.11() at $a.11+0xa64
	 pc = 0xc04d0dc4  lr = 0xc04cf92c (sys_nmount+0x64)
	 sp = 0xdea02d68  fp = 0xdea02d80
	 r4 = 0xc323fae0  r5 = 0x00000000
	 r6 = 0x00000000  r7 = 0x60000013
	 r8 = 0x00000000  r9 = 0x00000000
	r10 = 0xc323fae0
sys_nmount() at sys_nmount+0x64
	 pc = 0xc04cf92c  lr = 0xc070b120 ($a.6+0x210)
	 sp = 0xdea02d88  fp = 0xdea02e40
	 r4 = 0xdea02da0  r5 = 0xc3411ac8
	 r6 = 0xc0a258e8 r10 = 0xc323fae0
$a.6() at $a.6+0x210
	 pc = 0xc070b120  lr = 0xc06ebbc8 (swi_exit)
	 sp = 0xdea02e48  fp = 0xbfbfe3f0
	 r4 = 0x20623000  r5 = 0xbfbfe3cc
	 r6 = 0xbfbfe3c8  r7 = 0x0000017a
	 r8 = 0x20625000  r9 = 0x00000000
	r10 = 0x00000009
swi_exit() at swi_exit
	 pc = 0xc06ebbc8  lr = 0xc06ebbc8 (swi_exit)
	 sp = 0xdea02e48  fp = 0xbfbfe3f0
KDB: enter: panic
[ thread pid 211 tid 100076 ]
Stopped at      $d.8:   ldrb    r15, [r15, r15, ror r15]!
db> 



[-- Attachment #2 --]
0	*H
010	+0	*H
00ʠk}
׈Q
Y0
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
151216010005Z
301216010005Z0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0"0
	*H
0
}â}[[_u$Wy5	|̔
vnqY)\aL$dYG|B"QǤĩVD#'F	k9O_]*ςz_kU.u3r	#:C<ogT)K
Xah8v[\KqdlO)3+u7J5";[vfL/"2ϩJ#4ד[U TB,a˖a7H<=qd0`0U0U%0++0U002U+0)0'%#!http://crl.startssl.com/sfsca.crl0f+Z0X0$+0http://ocsp.startssl.com00+0$http://aia.startssl.com/certs/ca.crt0U$l9aIF+('Hmh0U#0N@[i04hCA0?U 80604U 0,0*+http://www.startssl.com/policy0
	*H
[#'#4pnRۡЗN⛭`]K"#H*߷Թψ;UA8Ҟeg{ozmYE60A)wXRK6c^-Al^k[':G=;oLv{$B5;8b,ZP4{o[-໢j	׏m)[땭[4	s.c|ҴvYLJ<|ӯgu0jD2
@hl+:j\ze_ևa@HyMHINxpK?%	㤺RC:=?^&7m´)A2;E~VB1$EvcKj؝(OoپU`"$a;ҡj0$&<$ۊ+/xjzb,7}W*1ܺtDv#8K
%^P>/i?)yRuQg^z`~sP900Ӡ!_,4J:ή30
	*H
0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0
170126201430Z
200426201430Z0810Upeter@pean.org10	*H
	peter@pean.org0"0
	*H
0
ܩ߳7+KV~_&&,TGzNG;"Jvx2'>3:7C1j>̊p'VG*J@D:O%a2K@Z(*xz	19{<}2h{7S&XAo&YQ=Q	ߑwFd̠&&/hL_}:Wdj,
>֫B%TK͌֩b2uLLX
'Ş#4̔rFN8Ϡ%AXM&xwP)WQqJ:,0{+ZJjFD>{!hŎǓi8𕭙nEq-Ta	ए&-e&mʓ[̛TF-u+YeQN?6Y|D p5 FpB'MlNw?3(z
N>l4ehs0;00U0U%0++0	U00U
tn#I0U#0$l9aIF+('Hmh0o+c0a0$+0http://ocsp.startssl.com09+0-http://aia.startssl.com/certs/sca.client1.crt08U10/0-+)'http://crl.startssl.com/sca-client1.crl0U0peter@pean.org0#U0http://www.startssl.com/0GU @0>0<+70-0++https://www.startssl.com/policy0
	*H
):rt!}2'PUܐ'asy҈/u#T2-_`Tb5OIIEi%Pn\V[AR+|X$."T8sQ33	&j'KbE#u(j9ʰ
CwYlN;:?'5`:9%e#!3]:#u%1J}p`HezOM6wù(Mi=N `kq,#1N0J00u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA!_,4J:ή30	+0	*H
	1	*H
0	*H
	1
170629211643Z0#	*H
	10=D<uw0	+7100u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA!_,4J:ή30*H
	10u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA!_,4J:ή30
	*H
\ky a!UlhٜD@4gcSsE.dMF4fE8}I5њz2`"$`sPi
Gַ%Ã-_)&s$46N0aƚ#OThNIGe4"(ğiBz㥢s)uTw[$SK;HNgA[5'úu>^}2˔TOaWĜɫJPrncKo|r>azV3v&(:TC?k!TƏFb~!k4BH)PLDsxـkT&ENGtȧg7,fڣ4`=؜2Op16ؤA2g_[Awu-{:+CEHĹїy$BMY`GI0Oϯ`:{Q3$#,XnriTٛ\^dF1Y6kG
{X6/tGճ͸U˄Na
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C65D00C-C2C4-4635-B804-E1F6271F2B12>