Discussion:
gcc-4.9.4 package build signal 11 [Segmentation fault] on Ubiquiti Unifi Security Gateway
(too old to reply)
Diana Eichert
2017-12-30 04:01:06 UTC
Permalink
Hi misc@ long time since I posted

collect2: error: ld terminated with signal 11 [Segmentation fault]

while building gcc-4.9.4 package on Ubiquiti Unifi Security Gateway

I'm running 12/22/2017 octeon snapshot, bsd.mp GENERIC.MP kernel.

System built 109 packages before Seg Fault when building gcc-4.9.4

When posting dmesg I just noticed all the "write failed: errno 14"
messages

any/all pointers are appreciated.

/usr/ports/pobj/gcc-4.9.4/bin/egcc -c -g -gnatp -gnatws -nostdinc -I- -I.
-Iada -I/usr/ports/pobj/gcc-4.9.4/gcc-4.9.4/gcc/ada
-I/usr/ports/pobj/gcc-4.9.4/gcc-4.9.4/gcc/ada/gcc-interface \
ada/b_gnat1.adb -o ada/b_gnat1.o
/usr/ports/pobj/gcc-4.9.4/bin/eg++ -g -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common
-DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o gnat1 ada/adadecode.o
ada/adaint.o ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o
ada/initialize.o ada/raise.o ada/seh_init.o ada/targext.o ada/cuintp.o
ada/decl.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/targtyps.o
ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o
ada/ada.o ada/spark_xrefs.o ada/ali.o ada/alloc.o ada/aspects.o
ada/atree.o ada/butil.o ada/casing.o ada/checks.o ada/comperr.o
ada/csets.o ada/cstand.o ada/debug.o ada/debug_a.o ada/einfo.o
ada/elists.o ada/err_vars.o ada/errout.o ada/erroutc.o ada/eval_fat.o
ada/exp_aggr.o ada/exp_spark.o ada/exp_atag.o ada/exp_attr.o ada/exp_cg.o
ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o ada/exp_ch2.o ada/exp_ch3.o
ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o ada/exp_ch7.o ada/exp_ch8.o
ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o ada/exp_disp.o ada/exp_dist.o
ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o ada/exp_pakd.o ada/exp_prag.o
ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o ada/exp_tss.o ada/exp_util.o
ada/exp_vfpt.o ada/expander.o ada/fmap.o ada/fname-uf.o ada/fname.o
ada/freeze.o ada/frontend.o ada/g-byorma.o ada/g-hesora.o ada/g-htable.o
ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o ada/get_spark_xrefs.o
ada/get_targ.o ada/gnat.o ada/gnatvsn.o ada/hostparm.o ada/impunit.o
ada/inline.o ada/interfac.o ada/itypes.o ada/krunch.o ada/layout.o
ada/lib-load.o ada/lib-util.o ada/lib-writ.o ada/lib-xref.o ada/lib.o
ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o ada/nmake.o ada/opt.o
ada/osint-c.o ada/osint.o ada/output.o ada/par.o ada/par_sco.o ada/prep.o
ada/prepcomp.o ada/put_spark_xrefs.o ada/put_scos.o ada/repinfo.o
ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o ada/s-assert.o
ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o ada/s-conca3.o
ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o ada/s-conca8.o
ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o ada/s-except.o
ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o ada/s-mastop.o
ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o ada/s-restri.o
ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o ada/s-sopco5.o
ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o ada/s-strhas.o
ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o ada/s-utf_32.o
ada/s-valint.o ada/s-valuns.o ada/s-valuti.o ada/s-wchcnv.o ada/s-wchcon.o
ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o ada/scos.o
ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o
ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o
ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o
ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o
ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o
ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_vfpt.o ada/sem_warn.o
ada/set_targ.o ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o
ada/sinput.o ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o
ada/style.o ada/styleg.o ada/stylesw.o ada/switch-c.o ada/switch.o
ada/system.o ada/table.o ada/targparm.o ada/tbuild.o ada/tree_gen.o
ada/tree_in.o ada/tree_io.o ada/treepr.o ada/treeprs.o ada/ttypes.o
ada/types.o ada/uintp.o ada/uname.o ada/urealp.o ada/usage.o ada/validsw.o
ada/warnsw.o ada/widechar.o ada/back_end.o ada/gnat1drv.o ada/b_gnat1.o
libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a attribs.o \
libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a -L/usr/local/lib -lmpc -lmpfr -lgmp
-rdynamic -lz -g
collect2: error: ld terminated with signal 11 [Segmentation fault]


Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.2-current (GENERIC.MP) #0: Sun Dec 24 07:53:51 UTC 2017
***@octeon:/usr/src/sys/arch/octeon/compile/GENERIC.MP
real mem = 536870912 (512MB)
avail mem = 523960320 (499MB)
mainbus0 at root: board 20004 rev 0.16
cpu0 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
cpu1 at mainbus0: CN50xx CPU rev 0.1 500 MHz, Software FP emulation
cpu1: cache L1-I 32KB 4 way D 16KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
simplebus0 at iobus0: "soc"
octciu0 at simplebus0
cn30xxsmi0 at simplebus0
com0 at simplebus0: ns16550a, 64 byte fifo
com0: console
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Octeon DWC2 root hub" rev
2.00/1.00 addr 1
octrng0 at iobus0 base 0x1400000000000 irq 0
cn30xxgmx0 at iobus0 base 0x1180008000000
cnmac0 at cn30xxgmx0: RGMII, address f0:9f:c2:c4:a7:2a
atphy0 at cnmac0 phy 7: AR8035 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address f0:9f:c2:c4:a7:2b
atphy1 at cnmac1 phy 6: AR8035 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address f0:9f:c2:c4:a7:2c
atphy2 at cnmac2 phy 5: AR8035 10/100/1000 PHY, rev. 2
/dev/ksyms: Symbol table not valid.
umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk Ultra Fit" rev
2.10/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> SCSI4 0/direct
removable serial.07815583041127110073
sd0: 117312MB, 512 bytes/sector, 240254976 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: sd0
root on sd0a (fd1a433c1b88ee41.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
Dec 25 18:49:12 ubiquiti sendsyslog: dropped 2 messages, error 57, pid
11083
Dec 25 18:49:13 ubiquiti ntpd[56969]: /var/db/ntpd.drift is empty
Dec 25 18:49:14 ubiquiti savecore: /bsd: kvm_read: version misread
Dec 25 18:49:54 ubiquiti reorder_kernel: kernel relinking done
Dec 26 14:00:02 ubiquiti syslogd[43054]: restart
Dec 27 09:48:42 ubiquiti pkg_add: Added bzip2-1.0.6p8
Dec 27 10:21:01 ubiquiti pkg_add: Added xz-5.2.3p0
Dec 27 10:56:07 ubiquiti pkg_add: Added libiconv-1.14p3
Dec 27 11:44:46 ubiquiti pkg_add: Added gettext-0.19.8.1p1
Dec 27 11:58:24 ubiquiti pkg_add: Added gmake-4.2.1
Dec 27 12:08:00 ubiquiti pkg_add: Added libsrtp-1.5.4p0
Dec 27 12:11:20 ubiquiti pkg_add: Added metaauto-1.0p1
Dec 27 12:13:53 ubiquiti pkg_add: Added help2man-1.47.5
Dec 27 12:19:12 ubiquiti pkg_add: Added autoconf-2.69p2
Dec 27 12:29:00 ubiquiti pkg_add: Added automake-1.15.1
Dec 27 12:35:50 ubiquiti pkg_add: Added autoconf-2.67p1
Dec 27 12:48:52 ubiquiti pkg_add: Added libltdl-2.4.2p1
Dec 27 12:55:27 ubiquiti pkg_add: Added gsm-1.0.17
Dec 27 13:01:31 ubiquiti pkg_add: Added libogg-1.3.3
Dec 27 13:14:23 ubiquiti pkg_add: Added libvorbis-1.3.5
Dec 27 13:18:36 ubiquiti pkg_add: Added portaudio-svn-1919
Dec 27 13:44:48 ubiquiti pkg_add: Added sqlite3-3.21.0
Dec 27 13:45:39 ubiquiti pkg_add: Added libexecinfo-0.3p0v0
Dec 27 14:00:02 ubiquiti syslogd[43054]: restart
Dec 27 14:11:31 ubiquiti pkg_add: Added re2c-1.0.3
Dec 27 14:15:39 ubiquiti pkg_add: Added libffi-3.2.1p2
Dec 27 14:21:46 ubiquiti pkg_add: Added gdbm-1.13
Dec 27 14:44:14 ubiquiti pkg_add: Added tcl-8.5.19p1
Dec 27 15:04:54 ubiquiti pkg_add: Added tk-8.5.19p1
Dec 27 17:42:33 ubiquiti pkg_add: Added python-2.7.14p0
Dec 27 17:53:26 ubiquiti pkg_add: Added ninja-1.8.2
Dec 27 17:55:51 ubiquiti pkg_add: Added py-setuptools-28.6.1p0v0
Dec 27 18:04:50 ubiquiti pkg_add: Added unzip-6.0p11
Dec 27 18:07:56 ubiquiti pkg_add: Added py-tz-2017.2
Dec 27 18:09:46 ubiquiti pkg_add: Added py-babel-2.4.0
Dec 27 18:10:59 ubiquiti pkg_add: Added py-six-1.10.0p0
Dec 27 18:12:10 ubiquiti pkg_add: Added py-imagesize-0.7.1p0
Dec 27 18:13:21 ubiquiti pkg_add: Added py-alabaster-0.7.10
Dec 27 18:18:04 ubiquiti pkg_add: Added py-pygments-2.1.3p0
Dec 27 18:18:38 ubiquiti pkg_add: Added py-docutils-0.12p1
Dec 27 18:20:08 ubiquiti pkg_add: Added py-sphinx_rtd_theme-0.2.4
Dec 27 18:24:20 ubiquiti pkg_add: Added py-stemmer-1.3.0p1
Dec 27 18:24:37 ubiquiti pkg_add: Added py-snowballstemmer-1.2.1p0
Dec 27 18:27:19 ubiquiti pkg_add: Added py-MarkupSafe-1.0
Dec 27 18:27:39 ubiquiti pkg_add: Added py-jinja2-2.8.1
Dec 27 18:46:21 ubiquiti pkg_add: Added py-sphinx-1.4.8p0
Dec 27 18:24:20 ubiquiti pkg_add: Added py-stemmer-1.3.0p1
Dec 27 18:24:37 ubiquiti pkg_add: Added py-snowballstemmer-1.2.1p0
Dec 27 18:27:19 ubiquiti pkg_add: Added py-MarkupSafe-1.0
Dec 27 18:27:39 ubiquiti pkg_add: Added py-jinja2-2.8.1
Dec 27 18:46:21 ubiquiti pkg_add: Added py-sphinx-1.4.8p0
Dec 27 18:51:46 ubiquiti pkg_add: Added lz4-1.8.0p0
Dec 27 19:20:33 ubiquiti pkg_add: Added libarchive-3.3.2
Dec 27 21:00:32 ubiquiti pkg_add: Added python-3.6.4
Dec 27 21:05:03 ubiquiti pkg_add: Added meson-0.44.0
Dec 27 21:15:50 ubiquiti pkg_add: Added jsoncpp-1.8.3p0
Dec 27 21:24:58 ubiquiti pkg_add: Added nghttp2-1.29.0
Dec 27 21:55:29 ubiquiti pkg_add: Added curl-7.57.0
Dec 27 22:00:07 ubiquiti pkg_add: Added rhash-1.3.5
Dec 28 05:24:51 ubiquiti pkg_add: Added cmake-3.9.3
Dec 28 05:30:46 ubiquiti pkg_add: Added jansson-2.10
Dec 28 05:44:51 ubiquiti pkg_add: Added jpeg-1.5.1p0v0
Dec 28 06:03:29 ubiquiti pkg_add: Added tiff-4.0.9
Dec 28 06:28:24 ubiquiti pkg_add: Added e2fsprogs-1.42.12p4
Dec 28 06:49:44 ubiquiti pkg_add: Added spandsp-0.0.6
Dec 28 06:50:16 ubiquiti pkg_add: Added libtool-2.4.2p0
Dec 28 06:55:02 ubiquiti pkg_add: Added cmocka-1.1.1
Dec 28 07:53:38 ubiquiti pkg_add: Added libunistring-0.9.7
Dec 28 08:05:42 ubiquiti pkg_add: Added libidn2-2.0.0p0
Dec 28 08:16:59 ubiquiti pkg_add: Added libtasn1-4.12
Dec 28 09:02:04 ubiquiti pkg_add: Added gmp-6.1.2p1
Dec 28 09:18:56 ubiquiti pkg_add: Added libnettle-3.4
Dec 28 09:53:51 ubiquiti pkg_add: Added p11-kit-0.23.2p0
Dec 28 11:17:44 ubiquiti pkg_add: Added gnutls-3.5.16
Dec 28 11:25:20 ubiquiti pkg_add: Added iksemel-1.4p12
Dec 28 12:08:54 ubiquiti pkg_add: Added libxml-2.9.7
Dec 28 12:09:32 ubiquiti pkg_add: Added py-libxml-2.9.7
Dec 28 12:16:14 ubiquiti pkg_add: Added libgpg-error-1.27p0
Dec 28 12:48:01 ubiquiti pkg_add: Added libgcrypt-1.8.2
Dec 28 13:02:36 ubiquiti pkg_add: Added libxslt-1.1.32
Dec 28 13:08:29 ubiquiti pkg_add: Added cpptest-1.1.2p2
Dec 28 13:12:45 ubiquiti pkg_add: Added uriparser-0.8.4
Dec 28 13:15:51 ubiquiti pkg_add: Added p5-XML-Parser-2.44
Dec 28 14:00:02 ubiquiti /bsd: coredump of syslogd(98143), write failed:
errno 14
Dec 28 17:38:43 ubiquiti pkg_add: Added gettext-tools-0.19.8.1
Dec 28 17:39:02 ubiquiti pkg_add: Added intltool-0.51.0p1
Dec 28 17:41:18 ubiquiti pkg_add: Added gnugetopt-1.1.6p0
Dec 28 17:48:35 ubiquiti pkg_add: Added libpaper-1.1.24.5
Dec 28 18:11:26 ubiquiti pkg_add: Added bash-4.4.12p0
Dec 28 18:16:49 ubiquiti pkg_add: Added iso8879-1986p0
Dec 28 18:21:19 ubiquiti pkg_add: Added docbook-dsssl-1.79
Dec 28 18:21:58 ubiquiti pkg_add: Added docbook-4.5p1
Dec 28 18:23:46 ubiquiti pkg_add: Added docbook-xsl-1.68.1p5
Dec 28 18:36:33 ubiquiti pkg_add: Added lynx-2.8.9pl16
Dec 28 18:36:50 ubiquiti pkg_add: Added xmlto-0.0.28
Dec 28 19:04:51 ubiquiti groupadd[99417]: new group added: name=_dbus,
gid=572
Dec 28 19:04:51 ubiquiti useradd[6489]: new user added: name=_dbus,
uid=572, gid=572, home=/nonexistent, shell=/sbin/nologin
Dec 28 19:04:53 ubiquiti pkg_add: Added dbus-1.12.2v0
Dec 28 19:30:28 ubiquiti pkg_add: Added pcre-8.41
Dec 28 19:31:38 ubiquiti pkg_add: Added autoconf-2.13p4
Dec 28 19:35:50 ubiquiti pkg_add: Added libelf-0.8.13p4
Dec 28 21:24:01 ubiquiti pkg_add: Added glib2-2.54.2p0
Dec 28 23:05:10 ubiquiti pkg_add: Added vala-0.38.4
Dec 28 23:17:40 ubiquiti pkg_add: Added libproxy-0.4.15p0
Dec 28 23:25:25 ubiquiti pkg_add: Added neon-0.30.2p1
Dec 28 23:29:02 ubiquiti pkg_add: Added libsigsegv-2.11
Dec 28 23:43:01 ubiquiti pkg_add: Added m4-1.4.18
Dec 29 00:02:36 ubiquiti pkg_add: Added bison-3.0.4p0
Dec 29 00:13:16 ubiquiti pkg_add: Added lzo2-2.10
Dec 29 00:23:23 ubiquiti pkg_add: Added png-1.6.34
Dec 29 01:10:12 ubiquiti pkg_add: Added cairo-1.14.12
Dec 29 01:12:41 ubiquiti pkg_add: Added py3-setuptools-28.6.1p0v0
Dec 29 01:15:45 ubiquiti pkg_add: Added py3-MarkupSafe-1.0
Dec 29 01:30:22 ubiquiti pkg_add: Added py3-crypto-2.6.1p4
Dec 29 01:30:43 ubiquiti pkg_add: Added py3-beaker-1.6.2p5
Dec 29 01:31:04 ubiquiti pkg_add: Added py3-mako-0.9.1p3
Dec 29 02:08:51 ubiquiti pkg_add: Added gobject-introspection-1.54.1p0
Dec 29 02:13:39 ubiquiti pkg_add: Added p5-libintl-1.27
Dec 29 02:15:40 ubiquiti pkg_add: Added p5-Text-Unidecode-1.30
Dec 29 02:31:55 ubiquiti pkg_add: Added texi2html-5.0
Dec 29 02:46:59 ubiquiti pkg_add: Added gsed-4.2.2p1
Dec 29 03:09:32 ubiquiti pkg_add: Added mpfr-3.1.5.2
Dec 29 02:06:45 ubiquiti syslogd[90114]: start
Dec 29 02:06:45 ubiquiti /bsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Dec 29 02:06:45 ubiquiti /bsd: The Regents of the University of
California. All rights reserved.
Dec 29 02:06:45 ubiquiti /bsd: Copyright (c) 1995-2017 OpenBSD. All rights
reserved. https://www.OpenBSD.org
Dec 29 02:06:45 ubiquiti /bsd: Copyright (c) 1995-2017 OpenBSD. All rights
reserved. https://www.OpenBSD.org
Dec 29 02:06:45 ubiquiti /bsd: OpenBSD 6.2-current (GENERIC.MP) #0: Sun
Dec 24 07:53:51 UTC 2017
Dec 29 02:06:45 ubiquiti /bsd:
***@octeon:/usr/src/sys/arch/octeon/compile/GENERIC.MP
Dec 29 02:06:45 ubiquiti /bsd: real mem = 536870912 (512MB)
Dec 29 02:06:45 ubiquiti /bsd: avail mem = 523960320 (499MB)
Dec 29 02:06:46 ubiquiti /bsd: mainbus0 at root: board 20004 rev 0.16
Dec 29 02:06:46 ubiquiti /bsd: cpu0 at mainbus0: CN50xx CPU rev 0.1 500
MHz, Software FP emulation
Dec 29 02:06:46 ubiquiti /bsd: cpu0: cache L1-I 32KB 4 way D 16KB 64 way,
L2 128KB 8 way
Dec 29 02:06:46 ubiquiti /bsd: cpu1 at mainbus0: CN50xx CPU rev 0.1 500
MHz, Software FP emulation
Dec 29 02:06:46 ubiquiti /bsd: cpu1: cache L1-I 32KB 4 way D 16KB 64 way,
L2 128KB 8 way
Dec 29 02:06:46 ubiquiti /bsd: clock0 at mainbus0: int 5
Dec 29 02:06:46 ubiquiti /bsd: iobus0 at mainbus0
Dec 29 02:06:46 ubiquiti /bsd: simplebus0 at iobus0: "soc"
Dec 29 02:06:46 ubiquiti /bsd: octciu0 at simplebus0
Dec 29 02:06:46 ubiquiti /bsd: cn30xxsmi0 at simplebus0
Dec 29 02:06:46 ubiquiti /bsd: com0 at simplebus0: ns16550a, 64 byte fifo
Dec 29 02:06:46 ubiquiti /bsd: com0: console
Dec 29 02:06:46 ubiquiti /bsd: dwctwo0 at iobus0 base 0x1180068000000 irq
56
Dec 29 02:06:46 ubiquiti /bsd: usb0 at dwctwo0: USB revision 2.0
Dec 29 02:06:46 ubiquiti /bsd: uhub0 at usb0 configuration 1 interface 0
"Octeon DWC2 root hub" rev 2.00/1.00 addr 1
Dec 29 02:06:46 ubiquiti /bsd: octrng0 at iobus0 base 0x1400000000000 irq
0
Dec 29 02:06:46 ubiquiti /bsd: cn30xxgmx0 at iobus0 base 0x1180008000000
Dec 29 02:06:46 ubiquiti /bsd: cnmac0 at cn30xxgmx0: RGMII, address
f0:9f:c2:c4:a7:2a
Dec 29 02:06:46 ubiquiti /bsd: atphy0 at cnmac0 phy 7: AR8035 10/100/1000
PHY, rev. 2
Dec 29 02:06:46 ubiquiti /bsd: cnmac1 at cn30xxgmx0: RGMII, address
f0:9f:c2:c4:a7:2b
Dec 29 02:06:46 ubiquiti /bsd: atphy1 at cnmac1 phy 6: AR8035 10/100/1000
PHY, rev. 2
Dec 29 02:06:46 ubiquiti /bsd: cnmac2 at cn30xxgmx0: RGMII, address
f0:9f:c2:c4:a7:2c
Dec 29 02:06:46 ubiquiti /bsd: atphy2 at cnmac2 phy 5: AR8035 10/100/1000
PHY, rev. 2
Dec 29 02:06:46 ubiquiti /bsd: /dev/ksyms: Symbol table not valid.
Dec 29 02:06:46 ubiquiti /bsd: umass0 at uhub0 port 1 configuration 1
interface 0 "SanDisk Ultra Fit" rev 2.10/1.00 addr 2
Dec 29 02:06:46 ubiquiti /bsd: umass0: using SCSI over Bulk-Only
Dec 29 02:06:46 ubiquiti /bsd: scsibus0 at umass0: 2 targets, initiator 0
Dec 29 02:06:46 ubiquiti /bsd: sd0 at scsibus0 targ 1 lun 0: <SanDisk,
Ultra Fit, 1.00> SCSI4 0/direct removable serial.07815583041127110073
Dec 29 02:06:46 ubiquiti /bsd: sd0: 117312MB, 512 bytes/sector, 240254976
sectors
Dec 29 02:06:46 ubiquiti /bsd: vscsi0 at root
Dec 29 02:06:46 ubiquiti /bsd: scsibus1 at vscsi0: 256 targets
Dec 29 02:06:46 ubiquiti /bsd: softraid0 at root
Dec 29 02:06:46 ubiquiti /bsd: scsibus2 at softraid0: 256 targets
Dec 29 02:06:46 ubiquiti /bsd: boot device: sd0
Dec 29 02:06:46 ubiquiti /bsd: root on sd0a (fd1a433c1b88ee41.a) swap on
sd0b dump on sd0b
Dec 29 02:06:46 ubiquiti /bsd: WARNING: / was not properly unmounted
Dec 29 02:06:46 ubiquiti /bsd: WARNING: No TOD clock, believing file
system.
Dec 29 02:06:46 ubiquiti /bsd: WARNING: CHECK AND RESET THE DATE!
Dec 29 02:06:47 ubiquiti sendsyslog: dropped 2 messages, error 57, pid
69113
Dec 29 07:21:36 ubiquiti savecore: /bsd: kvm_read: version misread
Dec 29 07:22:18 ubiquiti reorder_kernel: kernel relinking done
Dec 29 12:03:13 ubiquiti /bsd: coredump of tmux(46660), write failed:
errno 14
Dec 29 12:03:16 ubiquiti /bsd: coredump of tail(19263), write failed:
errno 14
Dec 29 12:03:16 ubiquiti /bsd: coredump of make(87760), write failed:
errno 14
Dec 29 12:03:17 ubiquiti /bsd: coredump of sh(80485), write failed: errno
14
Dec 29 12:03:18 ubiquiti /bsd: coredump of sh(18877), write failed: errno
14
Dec 29 12:03:18 ubiquiti /bsd: coredump of sh(13049), write failed: errno
14
Dec 29 12:03:18 ubiquiti /bsd: coredump of sh(31473), write failed: errno
14
Dec 29 12:03:19 ubiquiti /bsd: coredump of gmake(79089), write failed:
errno 14
Dec 29 12:03:19 ubiquiti /bsd: coredump of sh(99043), write failed: errno
14
Dec 29 12:03:19 ubiquiti /bsd: coredump of make(87931), write failed:
errno 14
Dec 29 12:03:20 ubiquiti /bsd: coredump of sh(50193), write failed: errno
14
Dec 29 12:03:20 ubiquiti /bsd: coredump of make(96636), write failed:
errno 14
Dec 29 12:03:20 ubiquiti /bsd: coredump of sh(77474), write failed: errno
14
Dec 29 12:03:21 ubiquiti /bsd: coredump of make(57006), write failed:
errno 14
Dec 29 12:03:21 ubiquiti /bsd: coredump of sh(96678), write failed: errno
14
Dec 29 12:03:21 ubiquiti /bsd: coredump of sh(26616), write failed: errno
14
Dec 29 12:03:22 ubiquiti /bsd: coredump of make(5236), write failed: errno
14
Dec 29 12:03:22 ubiquiti /bsd: coredump of make(42330), write failed:
errno 14
Dec 29 12:03:22 ubiquiti /bsd: coredump of make(50805), write failed:
errno 14
Dec 29 12:03:23 ubiquiti /bsd: coredump of sh(63992), write failed: errno
14
Dec 29 12:03:23 ubiquiti /bsd: coredump of sh(28), write failed: errno 14
Dec 29 12:03:23 ubiquiti /bsd: coredump of make(13110), write failed:
errno 14
Dec 29 12:03:24 ubiquiti /bsd: coredump of make(85275), write failed:
errno 14
Dec 29 12:03:24 ubiquiti /bsd: coredump of sh(32809), write failed: errno
14
Dec 29 12:03:25 ubiquiti /bsd: coredump of make(51125), write failed:
errno 14
Dec 29 12:03:25 ubiquiti /bsd: coredump of sh(39000), write failed: errno
14
Dec 29 12:03:25 ubiquiti /bsd: coredump of sh(73967), write failed: errno
14
Dec 29 12:03:25 ubiquiti /bsd: coredump of sh(86024), write failed: errno
14
Dec 29 12:03:26 ubiquiti /bsd: coredump of ksh(19837), write failed: errno
14
Dec 29 12:03:26 ubiquiti /bsd: coredump of make(70584), write failed:
errno 14
Dec 29 12:03:26 ubiquiti /bsd: coredump of sh(29824), write failed: errno
14
Dec 29 12:03:26 ubiquiti /bsd: coredump of sh(26907), write failed: errno
14
Dec 29 12:03:27 ubiquiti /bsd: coredump of sh(39057), write failed: errno
14
Dec 29 12:03:27 ubiquiti /bsd: coredump of sh(27664), write failed: errno
14
Dec 29 12:03:27 ubiquiti /bsd: coredump of tmux(81233), write failed:
errno 14
Dec 29 12:03:27 ubiquiti /bsd: coredump of sh(30833), write failed: errno
14
Dec 29 12:03:27 ubiquiti /bsd: coredump of sh(66279), write failed: errno
14
Dec 29 12:03:28 ubiquiti /bsd: coredump of make(3956), write failed: errno
14
Dec 29 12:03:28 ubiquiti /bsd: coredump of ksh(78525), write failed: errno
14
Dec 29 12:03:28 ubiquiti /bsd: coredump of sh(72256), write failed: errno
14
Dec 29 12:03:28 ubiquiti /bsd: coredump of sh(77780), write failed: errno
14
Dec 29 12:03:28 ubiquiti /bsd: coredump of sh(569), write failed: errno 14
Dec 29 12:03:28 ubiquiti /bsd: coredump of ksh(12566), write failed: errno
14
Dec 29 12:03:29 ubiquiti /bsd: coredump of sh(3397), write failed: errno
14
Dec 29 12:03:29 ubiquiti /bsd: coredump of sh(15552), write failed: errno
14
Dec 29 12:03:29 ubiquiti /bsd: coredump of make(13951), write failed:
errno 14
Dec 29 12:03:29 ubiquiti /bsd: coredump of make(70544), write failed:
errno 14
Dec 29 12:03:29 ubiquiti /bsd: coredump of sh(56379), write failed: errno
14
Dec 29 12:03:29 ubiquiti /bsd: coredump of sh(98451), write failed: errno
14
Dec 29 12:03:30 ubiquiti /bsd: coredump of make(47469), write failed:
errno 14
Dec 29 12:03:30 ubiquiti /bsd: coredump of sh(24937), write failed: errno
14
Dec 29 12:03:30 ubiquiti /bsd: coredump of make(82931), write failed:
errno 14
Dec 29 12:03:30 ubiquiti /bsd: coredump of make(72182), write failed:
errno 14
Dec 29 12:03:30 ubiquiti /bsd: coredump of sh(78776), write failed: errno
14
Dec 29 12:03:31 ubiquiti /bsd: coredump of make(17660), write failed:
errno 14
Dec 29 12:03:31 ubiquiti /bsd: coredump of make(53214), write failed:
errno 14
Dec 29 12:03:31 ubiquiti /bsd: coredump of make(43974), write failed:
errno 14
Dec 29 12:03:31 ubiquiti /bsd: coredump of make(11920), write failed:
errno 14
Dec 29 12:03:31 ubiquiti /bsd: coredump of make(41860), write failed:
errno 14
Dec 29 12:03:31 ubiquiti /bsd: coredump of sh(83046), write failed: errno
14
Dec 29 12:03:31 ubiquiti /bsd: coredump of make(11452), write failed:
errno 14
Dec 29 12:03:32 ubiquiti /bsd: coredump of make(55744), write failed:
errno 14
Dec 29 12:03:32 ubiquiti /bsd: coredump of gmake(56167), write failed:
errno 14
Dec 29 12:03:32 ubiquiti /bsd: coredump of make(54416), write failed:
errno 14
Dec 29 12:03:33 ubiquiti /bsd: coredump of make(85915), write failed:
errno 14
Dec 29 12:03:33 ubiquiti /bsd: coredump of make(70603), write failed:
errno 14
Dec 29 12:03:34 ubiquiti /bsd: coredump of make(90502), write failed:
errno 14
Dec 29 12:03:34 ubiquiti /bsd: coredump of make(35843), write failed:
errno 14
Dec 29 12:03:34 ubiquiti /bsd: coredump of make(1354), write failed: errno
14
Dec 29 12:03:34 ubiquiti /bsd: coredump of gmake(95710), write failed:
errno 14
Dec 29 12:03:34 ubiquiti /bsd: coredump of make(59219), write failed:
errno 14
Dec 29 12:03:35 ubiquiti /bsd: coredump of make(66826), write failed:
errno 14
Dec 29 12:03:35 ubiquiti /bsd: coredump of make(17876), write failed:
errno 14
Dec 29 12:03:36 ubiquiti /bsd: coredump of make(61254), write failed:
errno 14
Dec 29 12:03:36 ubiquiti /bsd: coredump of make(86820), write failed:
errno 14
Dec 29 12:03:36 ubiquiti /bsd: coredump of make(4392), write failed: errno
14
Dec 29 12:03:36 ubiquiti /bsd: coredump of make(39170), write failed:
errno 14
Dec 29 12:03:36 ubiquiti /bsd: coredump of make(26014), write failed:
errno 14
Dec 29 12:03:37 ubiquiti /bsd: coredump of make(80695), write failed:
errno 14
Dec 29 12:03:37 ubiquiti /bsd: coredump of make(15461), write failed:
errno 14
Dec 29 12:03:37 ubiquiti /bsd: coredump of make(89997), write failed:
errno 14
Dec 29 12:03:37 ubiquiti /bsd: coredump of make(91844), write failed:
errno 14
Dec 29 16:01:23 ubiquiti /bsd: coredump of ld(5888), write failed: errno
14




Past hissy-fits are not a predictor of future hissy-fits.
Nick Holland(06 Dec 2005)
Visa Hankala
2017-12-30 07:27:07 UTC
Permalink
Post by Diana Eichert
collect2: error: ld terminated with signal 11 [Segmentation fault]
while building gcc-4.9.4 package on Ubiquiti Unifi Security Gateway
I'm running 12/22/2017 octeon snapshot, bsd.mp GENERIC.MP kernel.
System built 109 packages before Seg Fault when building gcc-4.9.4
When posting dmesg I just noticed all the "write failed: errno 14" messages
There are SMP-related bugs in the low-level machine-dependent memory
management code. The current workaround is to restart the build.
Diana Eichert
2018-01-01 04:35:35 UTC
Permalink
Since the default kernel is single proc I've reverted to GENERIC bsd and
I'm still having issues building package.

I'm wondering if the system is to resource constrainted. Do you know
which system was used to build octeon release?

thanks
Post by Visa Hankala
Post by Diana Eichert
collect2: error: ld terminated with signal 11 [Segmentation fault]
while building gcc-4.9.4 package on Ubiquiti Unifi Security Gateway
I'm running 12/22/2017 octeon snapshot, bsd.mp GENERIC.MP kernel.
System built 109 packages before Seg Fault when building gcc-4.9.4
When posting dmesg I just noticed all the "write failed: errno 14" messages
There are SMP-related bugs in the low-level machine-dependent memory
management code. The current workaround is to restart the build.
Visa Hankala
2018-01-01 14:27:06 UTC
Permalink
I'm wondering if the system is to resource constrainted. Do you know which
system was used to build octeon release?
Latest snapshots of big-endian mips64 packages have been built
using a quad-core machine with 4 GiB of RAM.
Diana Eichert
2018-01-01 14:53:20 UTC
Permalink
Post by Visa Hankala
I'm wondering if the system is to resource constrainted. Do you know which
system was used to build octeon release?
Latest snapshots of big-endian mips64 packages have been built
using a quad-core machine with 4 GiB of RAM.
Would that be an SGI Origin 3000 model? I might be able to find one
at work, that is if they haven't already been sent to the scrap heap.

thanks for your input,

diana
Visa Hankala
2018-01-01 15:32:07 UTC
Permalink
Post by Diana Eichert
Post by Visa Hankala
I'm wondering if the system is to resource constrainted. Do you know which
system was used to build octeon release?
Latest snapshots of big-endian mips64 packages have been built
using a quad-core machine with 4 GiB of RAM.
Would that be an SGI Origin 3000 model?
The machine is an SDNA Shasta with OCTEON III CN7130 SoC.
Diana Eichert
2018-01-02 17:42:26 UTC
Permalink
Post by Visa Hankala
Post by Diana Eichert
Would that be an SGI Origin 3000 model?
The machine is an SDNA Shasta with OCTEON III CN7130 SoC.
I tried to contact Rhino Labs several months ago about getting an
SDNA Shasta. I never heard back from them. Do you or someone
else on OpenBSD project have a contact for Rhino Labs?

thanks for the info you have provided,
diana
Jordan Geoghegan
2018-01-02 22:08:28 UTC
Permalink
I too have have tried contacting them, but with no response. Does anyone
have any info on the Shasta or even the Edgerouter6 availability?

Jordan
Post by Diana Eichert
Post by Visa Hankala
Post by Diana Eichert
Would that be an SGI Origin 3000 model?
The machine is an SDNA Shasta with OCTEON III CN7130 SoC.
I tried to contact Rhino Labs several months ago about getting an
SDNA Shasta. I never heard back from them. Do you or someone
else on OpenBSD project have a contact for Rhino Labs?
thanks for the info you have provided,
diana
Diana Eichert
2018-01-05 03:13:16 UTC
Permalink
All I hear is crickets, so I guess the SDNA Shasta is not available to
mortals.

I just rebuilt the OpenBSD build on my Ubiquiti USG with 5 GB swap.
Reminds me of running FreeBSD on 486 systems back in the 90's. ;-)
I have it building telephony/asterisk package, which has a LOT
of dependencies.

I just got my USG Pro at work. I'm having fun opening it, the PH00
screws don't want to turn with my jeweler's screwdriver. So I'm
going to try to find a PH00 bit for my impact screwdriver.

diana
I too have have tried contacting them, but with no response. Does anyone have
any info on the Shasta or even the Edgerouter6 availability?
Jordan
Janne Johansson
2017-12-31 18:52:41 UTC
Permalink
Post by Diana Eichert
collect2: error: ld terminated with signal 11 [Segmentation fault]
while building gcc-4.9.4 package on Ubiquiti Unifi Security Gateway
I'm running 12/22/2017 octeon snapshot, bsd.mp GENERIC.MP kernel.
System built 109 packages before Seg Fault when building gcc-4.9.4
I think I got those on my Octeon also, but I thought gcc had figured out a
way to drive my
box into swap and die so I just stopped trying to build gcc from ports.
--
May the most significant bit of your life be positive.
john slee
2018-02-21 00:51:06 UTC
Permalink
I also had a similar experience trying to build gcc6 on my Edgerouter Lite
(same model
as linked on tedu's blog page, which is how I discovered this little
machine initially) on
a snapshot from ~2 weeks ago. MP kernel, with the ERL's /usr/ports on an
NFS volume
hosted by an amd64 OpenBSD system.

I had a 'vmstat 15' running in another terminal throughout and it did dip
down into low
double-digits a few minutes before the segfault

I realise this post is not terribly useful other than being a "me too". If
it's worth my trying
a non-MP kernel I'll do that and report back

John
Post by Janne Johansson
Post by Diana Eichert
collect2: error: ld terminated with signal 11 [Segmentation fault]
while building gcc-4.9.4 package on Ubiquiti Unifi Security Gateway
I'm running 12/22/2017 octeon snapshot, bsd.mp GENERIC.MP kernel.
System built 109 packages before Seg Fault when building gcc-4.9.4
I think I got those on my Octeon also, but I thought gcc had figured out a
way to drive my
box into swap and die so I just stopped trying to build gcc from ports.
--
May the most significant bit of your life be positive.
Bryan Vyhmeister
2018-02-21 01:19:14 UTC
Permalink
I have had a few discussions with visa@ about builds on OpenBSD/octeon.
For ports builds, 1GB of memory like in the EdgeRouter 4 and 6 is too
little to build big things like gcc which is required for quite a few
things. The EdgeRouter Lite, EdgeRouter PoE, and USG are even worse with
512MB of memory. Also, the EdgeRouter 4 and 6 have some issues with the
USB 3.0 controller that visa@ has not been able to work out yet. It's
pretty difficult to get any insight into what is happening with the USB
3.0 controller. The ER4 and ER6 work reasonably well with Samsung USB
Fit USB 3.0 flash drive but occasionally weird errors happen and the
system freezes up or panics. I was not able to get a Samsung T3 or T5
USB SSD to work with the ER4 or ER6.

The best route for a readily available machine for OpenBSD/octeon builds
is either the USG Pro 4 or the EdgeRouter Pro. They both come with 2GB
of memory but can be upgraded with up to 8GB of memory. Unlike the USB
flash drives in the USG and EdgeRouter Lite/PoE, the internal storage is
soldered on as was said in this thread already. The best route for
storage I have found thus far is a USB SSD like the Samsung T3 or T5. I
have not tested any others at this point but others probably work as
well.

For the EdgeRouter Pro, I have it running from a 250GB Samsung T3 USB
SSD and have upgraded it with an 8GB SODIMM of DDR3 1333MHz memory. The
part number that worked for the EdgeRouter Pro is Patriot PSD38G13332S.
I found this information from the UBNT forums.

For the USG Pro 4, I bought the same Patriot memory but had all sorts of
crashes and problems. I'm not sure if the memory chip is bad or if it is
just expecting different memory (have not had time to test) but I looked
at the factory memory in the USG Pro 4 and bought similar memory which
works fine. The factory chip is Kingston KVR16S11S6/2. I bought a set of
Kingston KVR16S11K2/16 which is two 8GB chips. They work perfectly and I
plan to get another USG Pro 4 for a second build machine to utilize the
second 8GB chip I have.

With 8GB of memory, most ports builds work fine including gcc but
occasionally I see some weird error that usually disappears with
restarting the dpb(1) build.

Bryan
Diana Eichert
2018-02-21 18:18:57 UTC
Permalink
Hey, at least some people think these systems are interesting.

I gave up trying to build much of anything on the Ubiquiti USG. I really
bought it to give me some play time with it over christmas to new year
holiday.

At work I have a USG Pro and it is capable of building GCC and LLVM,
albeit you have to size /usr/ports/pobj partition large enough to
build LLVM.

I am using a Rocketek Aluminum USB 3.0 Portable Memory Card Reader
Adapterfor Micro SD Card with a Sandisk Ultra 128GB Micro SDXC UHS-I Card
for storage. The combox works well, whereas I believed I thrashed the
128GB USB thumb drive on the home USG.

The system works well enough to allow me to do some ports debugging
with Stuart Henderson; Asterisk and tshark.

diana



Past hissy-fits are not a predictor of future hissy-fits.
Nick Holland(06 Dec 2005)
Tom Smyth
2018-02-21 18:38:52 UTC
Permalink
Hi Diana,
Have you tried the Ubiquiti Edge Router Lite / Pro...
They have a USB adapter inside on the PCB to allow for reasonably easy
Loading of install.fs etc

it may be worth trying as it uses a similar architecture as the UBiquiti USG...

I hope this is some help to you ...

I was using them a little bit before moving onto the PC Engines x86 APU C2

Thanks

Tom Smyth
Post by Diana Eichert
Hey, at least some people think these systems are interesting.
I gave up trying to build much of anything on the Ubiquiti USG. I really
bought it to give me some play time with it over christmas to new year
holiday.
At work I have a USG Pro and it is capable of building GCC and LLVM,
albeit you have to size /usr/ports/pobj partition large enough to
build LLVM.
I am using a Rocketek Aluminum USB 3.0 Portable Memory Card Reader
Adapterfor Micro SD Card with a Sandisk Ultra 128GB Micro SDXC UHS-I Card
for storage. The combox works well, whereas I believed I thrashed the
128GB USB thumb drive on the home USG.
The system works well enough to allow me to do some ports debugging with
Stuart Henderson; Asterisk and tshark.
diana
Past hissy-fits are not a predictor of future hissy-fits.
Nick Holland(06 Dec 2005)
--
Kindest regards,
Tom Smyth

Mobile: +353 87 6193172
The information contained in this E-mail is intended only for the
confidential use of the named recipient. If the reader of this message
is not the intended recipient or the person responsible for
delivering it to the recipient, you are hereby notified that you have
received this communication in error and that any review,
dissemination or copying of this communication is strictly prohibited.
If you have received this in error, please notify the sender
immediately by telephone at the number above and erase the message
You are requested to carry out your own virus check before
opening any attachment.
Mihai Popescu
2018-01-05 22:09:13 UTC
Permalink
the PH00 screws don't want to turn with my jeweler's screwdriver.
They may be PZ00. Take care not to mix different types of screws and
bits! PH and PZ look very much alike.
Diana Eichert
2018-01-06 19:34:59 UTC
Permalink
thanks, I had come to a similar conclusion, though I think they are
JIS screws.

diana
Post by Mihai Popescu
the PH00 screws don't want to turn with my jeweler's screwdriver.
They may be PZ00. Take care not to mix different types of screws and
bits! PH and PZ look very much alike.
Diana Eichert
2018-01-10 22:58:43 UTC
Permalink
Just used J00 screwdriver to open my USG-PRO 4, worked great.

Unfortunately I found the USG-PRO 4 uses a soldered SanDisk SDIN7DP2-4G
eMMC Flash Drive. No way to replace internal storage. ;-)
Post by Diana Eichert
thanks, I had come to a similar conclusion, though I think they are
JIS screws.
diana
Post by Mihai Popescu
the PH00 screws don't want to turn with my jeweler's screwdriver.
They may be PZ00. Take care not to mix different types of screws and
bits! PH and PZ look very much alike.
Loading...