From owner-freebsd-arm@FreeBSD.ORG Thu Jun 12 16:54:26 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DBB5F57D; Thu, 12 Jun 2014 16:54:25 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A4E8F2100; Thu, 12 Jun 2014 16:54:25 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s5CGsNnj019087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 12 Jun 2014 09:54:24 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s5CGsN7x019086; Thu, 12 Jun 2014 09:54:23 -0700 (PDT) (envelope-from jmg) Date: Thu, 12 Jun 2014 09:54:23 -0700 From: John-Mark Gurney To: Alan Cox Subject: Re: svn commit: r266850 - in head/sys/arm/xscale: i80321 i8134x ixp425 pxa Message-ID: <20140612165423.GS31367@funkthat.com> Mail-Followup-To: Alan Cox , alc@freebsd.org, "freebsd-arm@freebsd.org" , ian@freebsd.org References: <5395E725.7020807@rice.edu> <20140609174431.GT31367@funkthat.com> <9100CDFA-0C40-4BC8-AA9C-1DE37EEA6208@rice.edu> <6DA17B5C-1824-49BF-8192-432135D42C6E@bsdimp.com> <20140609221742.GV31367@funkthat.com> <539730B1.2040900@rice.edu> <20140610170052.GF31367@funkthat.com> <5397F089.90403@rice.edu> <20140611074159.GL31367@funkthat.com> <539887BD.2090408@rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <539887BD.2090408@rice.edu> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 12 Jun 2014 09:54:24 -0700 (PDT) Cc: alc@freebsd.org, "freebsd-arm@freebsd.org" , ian@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 16:54:26 -0000 Alan Cox wrote this message on Wed, Jun 11, 2014 at 11:45 -0500: > On 06/11/2014 02:41, John-Mark Gurney wrote: > > Alan Cox wrote this message on Wed, Jun 11, 2014 at 01:00 -0500: > >> On 06/10/2014 12:00, John-Mark Gurney wrote: > >>> Alan Cox wrote this message on Tue, Jun 10, 2014 at 11:22 -0500: > >>>> On 06/09/2014 17:17, John-Mark Gurney wrote: > >>>>> Warner Losh wrote this message on Mon, Jun 09, 2014 at 14:08 -0600: > >>>>>> On Jun 9, 2014, at 1:23 PM, Alan Cox wrote: > >>>>>> > >>>>>>> On Jun 9, 2014, at 12:44 PM, John-Mark Gurney wrote: > >>>>>>> > >>>>>>>> Alan Cox wrote this message on Mon, Jun 09, 2014 at 11:56 -0500: > >>>>>>>>> I made a mistake with the new KASSERT()s in vm_reserv_break(). Try this. > >>>>>>>> No worried, the new patch panics: > >>>>>>>> panic: vm_reserv_break: 2 saved_object=0xc06e6378 x=253 m_tmp->object=0xc06e6378 (1) > >>>>>>>> > >>>>>>> Is your arm processor running in big-endian or little-endian mode? > >>>>>> Big Endian. > >>>>> Specificly, TARGET_ARCH=armeb... So, ARMv4 in big-endian mode... > >>>>> > >>>> Please try the attached patch. > >>> This patch now boots to multiuser mode and I can log in! > >>> > >>> I can now more easily debug newsyslog segfaulting and stuff... I'll > >>> let you know if I have any more issues... > >>> > >>> Thanks again for tracking this down! > >>> > >> Here is a commit-able patch. Please tell me if it works. > > So, it worked for a while, but it looks like there are still lingering > > bugs... Not sure if this is the same, or different... > > This is an entirely different problem. It's also a much simpler problem. > > A simple workaround patch is attached. Go ahead and commit this patch > yourself if it helps. Thanks committed... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."