cvmx-srio.c

jungle Boogie jungleboogie0 at gmail.com
Sun Nov 16 09:10:23 UTC 2014


Hello All,

You may be aware of the Edge Router Lite[0] (ERL) and that it can run
FreeBSD in place of the GNU/Linux/Debian kernel, OS, etc that it comes
standard with.

Well a cool FreeBSD guy, Nathan Dorfman, created a script that allows
you to build a freeBSD image that you can run on your ERL. The only
caveat is that you need to be running a freeBSD that you want to also
run on the ERL.

The other day I had my 10-stable machine spend about two days making
the image with Nathan's script[1].

# uname -a
FreeBSD pulse 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #0 r274439: Wed
Nov 12 15:07:52 PST 2014     root at pulse:/usr/obj/usr/src/
sys/GENERIC
i386

New VM:
# uname -a
FreeBSD build 10.1-STABLE FreeBSD 10.1-STABLE #0 r274578: Sat Nov 15
23:55:08 PST 2014     root at build:/usr/obj/usr/src/sys/GENERIC  amd64


That image was made fine and its running on the ERL.

Now I want to update to post 10.1-RELEASE on a VM but it fails:

Full file here:
http://108.61.218.154/erl.txt

/usr/src/sys/contrib/octeon-sdk/cvmx-srio.c
--- cvmx-helper-sgmii.o ---
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.freebsd.org/support.html> for instructions.
--- cvmx-helper-srio.o ---
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.freebsd.org/support.html> for instructions.
--- cvmx-helper-sgmii.o ---
*** [cvmx-helper-sgmii.o] Error code 1

make[2]: stopped in /usr/obj/mips.mips64/usr/src/sys/ERL
--- cvmx-helper-srio.o ---
*** [cvmx-helper-srio.o] Error code 1

make[2]: stopped in /usr/obj/mips.mips64/usr/src/sys/ERL
--- cvmx-pko.o ---
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.freebsd.org/support.html> for instructions.
*** [cvmx-pko.o] Error code 1

make[2]: stopped in /usr/obj/mips.mips64/usr/src/sys/ERL
--- cvmx-spi.o ---
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.freebsd.org/support.html> for instructions.
*** [cvmx-spi.o] Error code 1

make[2]: stopped in /usr/obj/mips.mips64/usr/src/sys/ERL
4 errors

make[2]: stopped in /usr/obj/mips.mips64/usr/src/sys/ERL
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src


Does the script need to be updated? Am I using the wrong arch? Is
something in 10-stable broken?

I'm also updating the machine I originally tried this on as well as I
setup a new VM and I'm converting it to 11-current and I'll try the
same script on it as well.



Thanks,
jb

[0] http://www.ubnt.com/edgemax/edgerouter-lite/
[1] http://rtfm.net/FreeBSD/ERL/mkerlimage


-- 
-------
inum: 883510009027723
sip: jungleboogie at sip2sip.info
xmpp: jungle-boogie at jit.si


More information about the freebsd-stable mailing list