FreeBSD 12 on nano pi neo/orange pi zero

Peter Ankerstål peter at pean.org
Thu Jun 29 21:16:53 UTC 2017


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> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4193 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170629/99d024fa/attachment.bin>


More information about the freebsd-arm mailing list