Bug 142464 - [PATCH] "RPC: garbage, exit EIO" when using NFSv3 with Kerberos 5
Summary: [PATCH] "RPC: garbage, exit EIO" when using NFSv3 with Kerberos 5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-09 21:28 UTC by Chuck Lever
Modified: 2015-01-04 22:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-06-08 15:13:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
2.6 upstream patch to address the "garbage, exit EIO" messages (3.09 KB, patch)
2004-12-09 21:31 UTC, Chuck Lever
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:420 0 normal SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 1 2005-06-08 04:00:00 UTC

Description Chuck Lever 2004-12-09 21:28:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
Mounted a NetApp filer with "vers=3,sec=krb5" mount options.  The
mount is the user home directory.  The message "RPC: garbage, exit
EIO" appears in the console log each time a user logs in.

Version-Release number of selected component (if applicable):
2.6.9-1.681_FC3

How reproducible:
Always

Steps to Reproduce:
1.  Set up your system to use Kerberos 5
2.  Mount a NetApp filer with "vers=3,sec=krb5" as the home directory
3.  log in
    

Actual Results:  "RPC: garbage, exit EIO" appears in console log. 
Sometimes a user's home directory becomes inaccessible (we theorize
that the filer is idle-expiring their Kerberos context).

Expected Results:  No error messages in the console log.  Linux NFS
client should recover after filer times out GSS context allowing user
to continue accessing their files after a period of inactivity.

Additional info:

Comment 1 Chuck Lever 2004-12-09 21:31:11 UTC
Created attachment 108262 [details]
2.6 upstream patch to address the "garbage, exit EIO" messages

This is a patch destined for upstream integration in 2.6.11, or thereabouts. 
It does address the console message issue; still testing to see if it also
handles the filer context idle-expiry issue.

Comment 2 Chuck Lever 2004-12-10 16:21:25 UTC
as far as i can tell, this patch also addresses the case where the
server expires the session's security context (as described above).  
the client now retries the failing RPC with a GSS sequence number of 
zero so that a new context can be established.

the patch attached to this ticket, then, is required for supporting 
NFSv3 and NFSv4 with Kerberos.

Comment 3 Chuck Lever 2005-01-31 21:25:14 UTC
kernel 2.6.10-1.741_FC3 still has this issue.  this patch will appear
in 2.6.11, so any FC3 kernel based on 2.6.11 or higher will have this
already.

however, it will be necessary to add this patch to RHEL 4.0's kernel
in order to support NFS (any version) over Kerberos.

Comment 5 Tim Powers 2005-06-08 15:13:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-420.html



Note You need to log in before you can comment on or make changes to this bug.