Date: Thu, 25 Jul 2013 01:08:55 GMT From: Samuel Seay <lightningth@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: arm/180820: FreeBSD v10.0 kernal panic on Raspberry Pi + Fix Message-ID: <201307250108.r6P18tkA021862@oldred.freebsd.org> Resent-Message-ID: <201307250110.r6P1A0Ae068767@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180820 >Category: arm >Synopsis: FreeBSD v10.0 kernal panic on Raspberry Pi + Fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 25 01:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Samuel Seay >Release: 10.0-CURRENT r253520M >Organization: >Environment: no environment due to kernel panic >Description: Per the thread at http://lists.freebsd.org/pipermail/svn-src-head/2013-July/049735.html, I encountered the same issue when building a raspberry pi with the script at http://kernelnomicon.org/?p=275. After applying the patch I am able to fully boot the latest FreeBSD on my Raspberry Pi. I do not see this patch in the latest tree nor do I see a bug report about the issue so I am filing this to bring attention to it and get the bug corrected, hopefully in the near future. >How-To-Repeat: Download the latest svn base head and compile the kernel for arm based on the script at http://kernelnomicon.org/?p=275. Attempt to boot the image on a raspberry pi after writing it to a sdcard. >Fix: Index: sys/vm/vm_map.c =================================================================== --- sys/vm/vm_map.c (revision 253514) +++ sys/vm/vm_map.c (working copy) @@ -239,8 +239,7 @@ vm_map_t map; map = (vm_map_t)mem; - map->nentries = 0; - map->size = 0; + memset(map, 0, sizeof(*map)); mtx_init(&map->system_mtx, "vm map (system)", NULL, MTX_DEF | MTX_DUPOK); sx_init(&map->lock, "vm map (user)"); return (0); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307250108.r6P18tkA021862>