From owner-freebsd-current Wed May 3 12:11:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from peedub.muc.de (p3E9B8F59.dip.t-dialin.net [62.155.143.89]) by hub.freebsd.org (Postfix) with ESMTP id A830937BDF3 for ; Wed, 3 May 2000 12:11:38 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id VAA14795; Wed, 3 May 2000 21:07:54 +0200 (CEST) Message-Id: <200005031907.VAA14795@peedub.muc.de> X-Mailer: exmh version 2.1.1 10/15/1999 To: Doug Rabson Cc: Matthew Dillon , freebsd-current@freebsd.org Subject: Re: NFS, rl0 and Alpha Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 03 May 2000 10:40:27 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 May 2000 21:07:54 +0200 From: Gary Jennejohn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson writes: >On Tue, 2 May 2000, Matthew Dillon wrote: > >> >> :Is anyone else observing kernel panics in the NFS code with Alpha >> :(pc164) and rl0 (the Alpha is running as a client only) ? >> : >> :NFS worked just fine when I had a de0 in the box. After installing an >> :rl0 (I know they suck, but they're so cheap :) I _always_ get an >> :unaligned access panic when I try to access an NFS mounted FS, in any >> :way. >> >> This is almost certainly related to differences in how the >> packet is aligned in memory between de0 and rl0. >> >> If you are getting panics, it is probably at the same >> location every time. If you can get a kernel core dump >> and backtrace I'll bet we can find and fix this problem >> quickly. > >Bill put workarounds for the alpha's alignment restrictions into some of >his drivers but it seems that he missed out rl. Basically the part of the >packet which includes headers needs to have the start of the ip header >aligned to a 4-byte boundary. Since the preceding ethernet header is not >padded to 4 bytes, this often means copying the first part of the packet >to another mbuf. > Thanks, but there is code in rl_rxeof() to align to a 32 bit boundary. If that weren't the case than I would expect the Alpha to panic with other IP applications, not just NFS. I don't know, NFS must be doing something weird. --- Gary Jennejohn / garyj@muc.de gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message