Date: Mon, 22 Jul 2013 10:30:03 -0700 From: hiren panchasara <hiren.panchasara@gmail.com> To: Michael Tuexen <tuexen@freebsd.org> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: Booting Beagleboard Black Message-ID: <CALCpEUENMFKbuNunbw1w%2Bn69T98%2B97GLk6j8RTCuHfBiKHqUog@mail.gmail.com> In-Reply-To: <519DDF45-9D8E-4AA7-9140-C4B955C71CFB@freebsd.org> References: <CAB3ij4C-H5iutjPp=57BtTQFZpM1iZhz-ku0wRBnKodkt1YK-Q@mail.gmail.com> <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> <CAB3ij4DR8KJpVZCCxtHtG2QMWZGAdnjfDw5127CuwemgMY=FCA@mail.gmail.com> <44AB19F7-A0D3-4F0C-A1F4-66AA49283387@gromit.dlib.vt.edu> <CAB3ij4Bd8tPHQ8xuZF7yobog4Rs1rt3skEFRdKkVAJnjMX0Xig@mail.gmail.com> <D766D953-DE47-4936-9A3F-B548D9F450A9@kientzle.com> <CAB3ij4CuejVj4k%2BwB=coriEjmPcdcKdugEDoYPoyGtuooDLUsA@mail.gmail.com> <27AC1DB6-9D32-47AF-A1E8-A53EE3C09753@FreeBSD.org> <CAB3ij4A=0=ZzSRbzD0rkF3TnDD_yro2EMTH6Pqx0dP4RmEmE5A@mail.gmail.com> <CAA561B6-5A7A-4371-8445-4ED0A2F82B84@freebsd.org> <CAKrd9eUGZRrv4xmBsKXvwRR1YZmuwyjf5PBv-0qi7xiFr_Rd=g@mail.gmail.com> <CAKrd9eWkpa-XhgDAZezjjh0cpD14SA7-ABQMCC10TPEmZJYVFQ@mail.gmail.com> <519DDF45-9D8E-4AA7-9140-C4B955C71CFB@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 22, 2013 at 3:42 AM, Michael Tuexen <tuexen@freebsd.org> wrote: > On Jul 22, 2013, at 12:11 PM, XiaoQI Ge <ghw@7axu.com> wrote: > >> I have used this method successfully loaded the kernel >> >> Hold the "User Boot" button down, and then plug in the power (USB or >> 5V adaptor). Keep holding down the button until you see the bank of 4 >> LED's light up for a few seconds. You can now release the button. >> >> >> But soon the panic > To fix this panic use the following patch > > 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); > > which was posted by Tim yesterday. It fixes the issue for me. > (Or disable invariants). > > Tim: Your patch looks good. Why don't you commit it? Yes, please :-) Thanks for finding/fixing that. Appreciate it. Cheers, Hiren > > > Best regards > Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUENMFKbuNunbw1w%2Bn69T98%2B97GLk6j8RTCuHfBiKHqUog>