Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 20:07:39 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        Chris Csanady <cc@137.org>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: Netbooting..
Message-ID:  <14512.36567.509885.796107@grasshopper.cs.duke.edu>
In-Reply-To: <20000220175537.A6047@panzer.kdm.org>
References:  <38AB2424.C4C9D80D@ameslab.gov> <20000219193644.A81810@panzer.kdm.org> <38AF79AE.15C1FE6E@ameslab.gov> <20000220175537.A6047@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Kenneth D. Merry writes:
 > 
 > The ttys are a little screwed up, so I'll have to figure that out.  And I
 > just paniced the system with an unaligned access fault with 'ntpdate -d'.
 > :)

As a workaround, try the appended patch. 

There's some bad juju happening when we netboot.  I've been meaning to
track it down, but I've never had the chance.    I had thought it was
something odd about the de driver, but if you're seeing it on a
Pelican, it must be elsewhere.

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590




Index: ip_input.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet/ip_input.c,v
retrieving revision 1.126
diff -u -r1.126 ip_input.c
--- ip_input.c	2000/01/24 20:38:59	1.126
+++ ip_input.c	2000/02/07 17:04:36
@@ -305,6 +305,13 @@
 		return;
 	}
 	ip = mtod(m, struct ip *);
+#if __alpha__
+	if ((unsigned long) ip & (sizeof(int) - 1L)){
+		printf("misaligned mbuf in ip_input\n");
+		goto bad;
+	}
+#endif
 
 	if (IP_VHL_V(ip->ip_vhl) != IPVERSION) {
 		ipstat.ips_badvers++;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14512.36567.509885.796107>