From owner-freebsd-alpha Sun Feb 20 17:27:52 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id E91D337BC4D for ; Sun, 20 Feb 2000 17:27:49 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA19217; Sun, 20 Feb 2000 20:08:10 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.3/8.9.1) id UAA38951; Sun, 20 Feb 2000 20:07:39 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 20 Feb 2000 20:07:39 -0500 (EST) To: "Kenneth D. Merry" Cc: Chris Csanady , freebsd-alpha@FreeBSD.ORG Subject: Re: Netbooting.. 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> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14512.36567.509885.796107@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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