Date: Thu, 27 Jun 2013 21:04:40 +0200 From: Michael Tuexen <tuexen@freebsd.org> To: Alie Tan <alie@affle.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Jeff Roberson <jroberson@jroberson.net> Subject: Re: Problems with Head on RaspberryPi Message-ID: <BFB138CF-BD70-4B57-B028-0F1A66B5C80D@freebsd.org> In-Reply-To: <CANuCnH-RWzuVMB4N5L2eTXJD-f-XuEnzribEZqTUv47JDzyaSA@mail.gmail.com> References: <F9C5795F-AB1D-4038-BE14-380A1A573DDD@freebsd.org> <846063D0-A3D2-42AD-BC44-52A64910C4B0@bluezbox.com> <3358A6A9-409D-4A58-9736-F8DA037B7F69@freebsd.org> <20130626222316.GA87896@night.db.net> <AC406C41-7D84-4F35-A40E-122D30D35D27@freebsd.org> <E1UsCgC-005IF0-NY@smtp.hs-karlsruhe.de> <CANuCnH-RWzuVMB4N5L2eTXJD-f-XuEnzribEZqTUv47JDzyaSA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 27, 2013, at 4:23 PM, Alie Tan <alie@affle.com> wrote: > On Thu, Jun 27, 2013 at 9:38 PM, Ralf Wenk <iz-rpi03@hs-karlsruhe.de> = wrote: >=20 >> On Thu, 27 Jun 2013 12:46:41 +0200, Michael Tuexen = <tuexen@freebsd.org> >> wrote: >>=20 >>> On Jun 27, 2013, at 12:23 AM, Diane Bruce <db@db.net> wrote: >>>> On Wed, Jun 26, 2013 at 08:37:57PM +0200, Michael Tuexen wrote: >>>>> On Jun 26, 2013, at 7:39 PM, Oleksandr Tymoshenko = <gonzo@bluezbox.com> >> wrote: >>>>>=20 >>>>>>=20 >>>>>> On 2013-06-26, at 10:22 AM, Michael Tuexen <tuexen@freebsd.org> >> wrote: >>>>>>=20 >>>>>>> Dear all, >>>>>>>=20 >>>>>>> I have build FreeBSD using the script from >>>>>>> https://github.com/daveish/freebsd-arm-tools >>>>>>> for a couple of weeks and it worked fine. However, >>>>>>> doing this within the last days, compilation and >>>>>>> installation works, but the Raspberry Pi doesn't >>>>>>> boot. After Starting kernel with NULL args >>>>>>> or so, it doesn't show anything else. Normally >>>>>>> the FreeBSD boot messages would appear. Does anyone >>>>>>> else also see this? Any idea how to get some >>>>>>> debug output out of the Raspberry Pi? >>>>>>=20 >>>>>>=20 >>>>>> Try disabling INVARIANTS options in the kernel. It seems >>>>>> new code in uma_dbg performs atomic ops on the >>>>>> allocated memory and if memory has been remapped as >>>>>> non-cached it causes exception. >>>>> OK. I'll try and report. It may take 24 hours... >>>>=20 >>>> I'm sorry to report it does not work. >>> Building r252255 without INVARIANTS and INVARIANT_SUPPORT >>> results in an image which boots completely on a R-Pi Model B with >>> 512 MB RAM. >>=20 >> I just confirmed that without INVARIANTS and INVARIANT_SUPPORT a = r252159 >> with the vmem.diff patches from Jeff Roberson applied boots also on = the >> same R-Pi Model B. >>=20 > Are you able to compile any pkg on it? I had to rebuild the kernel since I need SCTP support, which is not included in the default config. Therefore I can run r252304 without INVARIANTS and INVARIANT_SUPPORT. I'm able to make and install the devel/cvs port. However, when trying to build the databases/db42 port (required by the svn port), I get: ... /bin/sh ./libtool --mode=3Dcompile c++ -c -I. -I./../dist/.. = -D_THREAD_SAFE -O -pipe ./../dist/../cxx/cxx_db.cpp c++ -c -I. -I./../dist/.. -D_THREAD_SAFE -O -pipe = ./../dist/../cxx/cxx_db.cpp -fPIC -DPIC -o .libs/cxx_db.o In file included from ./../dist/../cxx/cxx_db.cpp:17: In file included from ./db_cxx.h:59: In file included from /usr/include/c++/4.2/backward/iostream.h:31: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: This = file includes at least one deprecated or antiquated header. Please = consider using one of the 32 headers found in section 17.4.1.2 of the C++ = standard. Examples include substituting the <X> header for the <X.h> header = for C++ includes, or <iostream> instead of the deprecated header = <iostream.h>. To disable this warning use -Wno-deprecated. [-W#warnings] #warning This file includes at least one deprecated or antiquated = header. \ ^ Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple = armv6-unknown-freebsd10.0 -S -disable-free -main-file-name cxx_db.cpp = -mrelocation-model pic -pic-level 2 -mdisable-fp-elim = -mconstructor-aliases -target-abi apcs-gnu -target-cpu arm1136jf-s = -msoft-float -mfloat-abi soft -target-feature +soft-float = -target-feature +soft-float-abi -target-feature -neon -coverage-file = /tmp/cxx_db-Hk1zsh.s -resource-dir /usr/bin/../lib/clang/3.3 -D = _THREAD_SAFE -D PIC -I . -I ./../dist/.. -O2 -fdeprecated-macro = -fno-dwarf-directory-asm -fdebug-compilation-dir = /usr/ports/databases/db42/work/db-4.2.52/build_unix -ferror-limit 19 = -fmessage-length 80 -mstackrealign -fno-signed-char = -fobjc-runtime=3Dgnustep -fobjc-default-synthesize-properties = -fcxx-exceptions -fexceptions -fsjlj-exceptions = -fdiagnostics-show-option -fcolor-diagnostics -backend-option = -vectorize-loops -o /tmp/cxx_db-Hk1zsh.s -x c++ = ./../dist/../cxx/cxx_db.cpp=20 1. /usr/include/c++/4.2/bits/basic_string.tcc:979:43: current = parser token ';' 2. /usr/include/c++/4.2/bits/basic_string.tcc:49:1 = <Spelling=3D/usr/include/c++/4.2/bits/c++config.h:76:38>: parsing = namespace 'std' c++: error: unable to execute command: Segmentation fault (core dumped) c++: error: clang frontend command failed due to signal (use -v to see = invocation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: armv6-unknown-freebsd10.0 Thread model: posix c++: note: diagnostic msg: PLEASE submit a bug report to = http://llvm.org/bugs/ and include the crash backtrace, preprocessed = source, and associated run script. c++: note: diagnostic msg: Error generating preprocessed source(s). *** Error code 1 Stop. make: stopped in /usr/ports/databases/db42/work/db-4.2.52/build_unix *** Error code 1 Stop. make: stopped in /usr/ports/databases/db42 This clang problem seems not to be fixed in the 3.3 release... root@raspberry-pi:/usr/ports/databases/db42 # cc -v FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: armv6-unknown-freebsd10.0 Thread model: posix Any idea how to work around it?=20 Best regards Michael >=20 >>=20 >> Ralf >>=20 >>> So is someone working on the uma_dbg stuff? >>>=20 >>> Best regards >>> Michael >>>>=20 >>>>>=20 >>>>> Best regards >>>>> Michael >>>>>>=20 >>>>=20 >>>> - Diane >>>> -- >>>> - db@FreeBSD.org db@db.net http://www.db.net/~db >>=20 >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFB138CF-BD70-4B57-B028-0F1A66B5C80D>