Date: Mon, 26 Aug 2013 13:19:03 -0700 From: Thomas Skibo <ThomasSkibo@sbcglobal.net> To: Jia-Shiun Li <jiashiun@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: Pretty good RPi version? Message-ID: <521BB837.7000009@sbcglobal.net> In-Reply-To: <CAHNYxxOMP2dc%2Bqz-qNq6GFmKSOzqNZcn8iBMAdwmYGd8pgEGng@mail.gmail.com> References: <5218FBE2.2000907@m5p.com> <CAHNYxxN=g=6kVPU9PDyYZYJpkP3__gVCz7vVQkhnS9weOOHDhA@mail.gmail.com> <FFA2B13C-5F65-41D2-9559-C61A824FAA8C@kientzle.com> <CAHNYxxPWm%2BGuJSHUZJembUgPx8_H63sOSGbzgcO2PP6PAuj3LQ@mail.gmail.com> <CAHNYxxOMP2dc%2Bqz-qNq6GFmKSOzqNZcn8iBMAdwmYGd8pgEGng@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521BB837.7000009>