Bug 719204

Summary: open /proc/xen/privcmd returns EIO instead of EINVAL
Product: Red Hat Enterprise Linux 5 Reporter: Caspar Zhang <czhang>
Component: kernel-xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7CC: chyang, drjones, jiajyang, leiwang, pcao, qcai, qwan, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-07 07:06:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Caspar Zhang 2011-07-06 03:45:11 UTC
Description of problem:

in RHEL5.6 xen, when trying to read from /proc/xen/privcmd, it returned EINVAL; however it turns to be EIO in RHEL5.7. This issue is found when testing LTP/fs/proc01 test on RHEL5.7 xen kernel.

Version-Release number of selected component (if applicable):
kernel-xen-2.6.18-272.el5

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Andrew Jones 2011-07-07 07:06:06 UTC
$ grep EIO drivers/xen/privcmd/*

nothing

$ grep EINVAL drivers/xen/privcmd/*
drivers/xen/privcmd/privcmd.c:		rc = -EINVAL;
drivers/xen/privcmd/privcmd.c:			rc = -EINVAL;
drivers/xen/privcmd/privcmd.c:			return -EINVAL;
drivers/xen/privcmd/privcmd.c:			return -EINVAL;
drivers/xen/privcmd/privcmd.c:		ret = -EINVAL;

So not a privcmd issue.

I'm just going to close this as not-a-bug, because I don't want to try and figure out where it should go. It's clear the reporter needs to double check the test to know what is returning what before reopening it anyway.

Comment 4 Caspar Zhang 2011-07-08 04:25:00 UTC
Seems this bug was solved by bug 717068.