Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2000 21:07:54 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, freebsd-current@freebsd.org
Subject:   Re: NFS, rl0 and Alpha 
Message-ID:  <200005031907.VAA14795@peedub.muc.de>
In-Reply-To: Your message of "Wed, 03 May 2000 10:40:27 %2B0200." <Pine.BSF.4.21.0005030942040.47945-100000@salmon.nlsystems.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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