Pretty good RPi version?

Thomas Skibo ThomasSkibo at sbcglobal.net
Mon Aug 26 20:19:01 UTC 2013


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>

-- 
--------
Thomas Skibo
ThomasSkibo at sbcglobal.net



More information about the freebsd-arm mailing list