From owner-freebsd-arm@FreeBSD.ORG Mon Aug 26 20:19:01 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8243193D for ; Mon, 26 Aug 2013 20:19:01 +0000 (UTC) (envelope-from ThomasSkibo@sbcglobal.net) Received: from nm10-vm3.access.bullet.mail.gq1.yahoo.com (nm10-vm3.access.bullet.mail.gq1.yahoo.com [216.39.63.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4FEB32D5E for ; Mon, 26 Aug 2013 20:19:01 +0000 (UTC) Received: from [216.39.60.172] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Aug 2013 20:18:54 -0000 Received: from [67.195.14.110] by tm8.access.bullet.mail.gq1.yahoo.com with NNFMP; 26 Aug 2013 20:18:54 -0000 Received: from [127.0.0.1] by smtp107.sbc.mail.gq1.yahoo.com with NNFMP; 26 Aug 2013 20:18:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1377548334; bh=4SmSz7D0NW/VHAZEqS2YbEgvTLTP+VdnqpXBidEpVkU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=q6J8Yv+p8ZVP1EMsYXiomaa7Gz11yO8mCS+hSDiqmnM88BR3aoCp4aCIn/96EuTFVkn0jyVNQBzBlWzUiF1b8znFLvyLWilKUm6ltGU4meixRXslhwxUI8xB1YTo0g2c99gVjGWv844beVkaVP87zoyOoUtuLxs/eVxO5R/GP3c= X-Yahoo-Newman-Id: 164798.41664.bm@smtp107.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pcJHCwEVM1nAOly0KKvmwVYd5hugdrhijTLqnYQtEiQxuAa QmObkDqwJSW2m.WOwHMY1h1SIc88Zf4cnpuU6EFG4brhQ69T0EYNu5Wbf2gB 3asZGF48N9XXzOrIjri8hOWjSg5sbqoo3z2OC_aw0A5walqRnyvSMHubugOm 8jYFeeTH9yiDh7Aj1SRl55Beqb3MMSMttzuWzsT4WYIhRqHV.D2DsH1lqAUA y0BgwsbPy2W.adMEC2FOtxIn.j1BoX16A0uu.ykLbcPAJ_gwJICrp8WZWnq0 XEBLBUR1nTCKaF6GnvmIV06gXvDSqyyNeQpUFmfdEBT_ejf1OgMdaMVN2mgJ uXx31TCejrD997sXlkgWv4SwXmz4z4Bh2lHrQUSFPtGrrKbfV9gVevs8UqE4 n1fZw_mVFuvRiIlQqyN7c8.gPqiyMod6WoPglsv_YOLdjcb0WRA1ewHiI8Jo hKM3gewuXG9.Ewp2G5Mp7KO0Pb_X5OPPHH_F1xQuDZpckUTU65wMfIE_Jti. A.NipFzsTvJnQQDiYOTCudb3aLTBlZ_wYq86FfC_2lcmaEjHSTJI5Gs1e462 KrfSRJF35ftuPis6WNBmuBhxyVACvv7uZpKKnLDxbq3f__L1TNSh6k1.dHf5 mFqCwTmVKPH.lAoyV72YKR_cv.lHHcw7plANc9eusKRg3npKv1GsZiq0Oe53 qMQI- X-Yahoo-SMTP: tUxoRneswBA21azLM.3ybMESf0mC2bFhTbmt0VU5ervH0kqi5lo- X-Rocket-Received: from [192.168.1.9] (ThomasSkibo@71.139.173.243 with plain) by smtp107.sbc.mail.gq1.yahoo.com with SMTP; 26 Aug 2013 13:18:54 -0700 PDT Message-ID: <521BB837.7000009@sbcglobal.net> Date: Mon, 26 Aug 2013 13:19:03 -0700 From: Thomas Skibo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jia-Shiun Li Subject: Re: Pretty good RPi version? References: <5218FBE2.2000907@m5p.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 20:19:01 -0000 That's exactly like my crash. Notice that r0 is the IP address of the machine. The first ARP request corrupts an mbuf m_next pointer. I've patched sys/sys/mbuf.h just to get things working. I'm not sure what the real fix should be. Index: sys/sys/mbuf.h =================================================================== --- sys/sys/mbuf.h (revision 254911) +++ sys/sys/mbuf.h (working copy) @@ -92,8 +92,8 @@ struct mbuf *mh_nextpkt; /* next chain in queue/record */ caddr_t mh_data; /* location of data */ int32_t mh_len; /* amount of data in this mbuf */ - uint32_t mh_type:8, /* type of data in this mbuf */ - mh_flags:24; /* flags; see below */ + uint32_t mh_type, /* type of data in this mbuf */ + mh_flags; /* flags; see below */ }; /* On 8/26/13 12:56 PM, Jia-Shiun Li wrote: > Today it seems to be worse... > > panic immediately after booting up if Ethernet connected: > http://goo.gl/WPEBo8 > > If disconnect Ethernet, it can boot up. But it has many 'memory > modified after free' message, and soon panics after running portsnap. > http://goo.gl/3nHKNW > > Kernel version is > FreeBSD 10.0-CURRENT #0 r254914: Tue Aug 27 00:42:02 CST 2013 > > Jia-Shiun. > _______________________________________________ > 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" > -- -------- Thomas Skibo ThomasSkibo@sbcglobal.net