Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 04:22:44 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        "Mats Mellstrand" <mats@exmandato.se>
Cc:        freebsd-arm@freebsd.org, ticso@cicely.de
Subject:   Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <E655542ACB8B4ED08587F66A13F5E308@ad.peach.ne.jp>
In-Reply-To: <016DDBBF-D502-4C76-96B5-BEE2D46FC6CC@exmandato.se>
References:  <B5F827FF91C94FF2AFEE00194A2BB2C5@ad.peach.ne.jp> <B508111FCE534B2CBA61F4D1EC1078D3@ad.peach.ne.jp> <D3ABE3919EA74D668DB060952B5CD8C0@ad.peach.ne.jp> <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <E48DEAF481F74C69A1BC7A01F2B8E74A@ad.peach.ne.jp> <D867259F89CF44409C2359527D0263D4@ad.peach.ne.jp> <722ED669-A682-4F25-A65B-1E2FF8CFAA4D@exmandato.se> <C46F868CE2644D8AA6F608A41D806128@ad.peach.ne.jp> <DCCE15D5-9AAD-4249-8EBA-29F22B04288F@exmandato.se> <20130131001553.GC67562@cicely7.cicely.de> <9E78813F3BF946A4A2FCEA2C363A847E@ad.peach.ne.jp> <E614FD5C-4177-4628-BAB7-9BF4D3A6DF52@exmandato.se> <016DDBBF-D502-4C76-96B5-BEE2D46FC6CC@exmandato.se>

next in thread | previous in thread | raw e-mail | index | archive | help
> In trying to install the ports collection on my RPi, the following happens:
>
> kmem_malloc(4096): kmem_map too small: 12582912 total allocated
> KDB: enter: panic
> [ thread pid 27505 tid 100053 ]
> Stopped at      $d:     ldrb    r15, [r15, r15, ror r15]!
>
> Suggestions? (more than not installing the ports collection)

This is known problem of old kernel. You can update the kernel to
http://www.peach.ne.jp/archives/rpi/kernel/kernel-20130209.gz

or use new image based on SVN r246603:
http://www.peach.ne.jp/archives/rpi/freebsd-pi-clang-20130210.img.gz

This image contain both complete source tree and portsnap fetch/extracted tree.

Also, some packages making under freebsd-pi-clang-20130210.img are uploaded to:
http://www.peach.ne.jp/archives/rpi/ports/packages/All/
(compiled by clang/clang++ with bundled make.conf)
----------------------------------------------------------------------
How to use package:
First, install pkg manually:
# fetch http://www.peach.ne.jp/archives/rpi/pkg-static
# fetch http://www.peach.ne.jp/archives/rpi/ports/packages/All/pkg-1.0.7.txz
# chmod 755 pkg-static
# ./pkg-static add pkg-1.0.7.txz
# echo 'PACKAGESITE : http://www.peach.ne.jp/archives/rpi/ports/packages/All' > 
/usr/local/etc/pkg.conf

For example, install bash and subversion:
# pkg install bash
# pkg install subversion
----------------------------------------------------------------------

Thank you.
-- 
Daisuke Aoyama
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E655542ACB8B4ED08587F66A13F5E308>