Bug 79911

Summary: LTC Bugzilla 1495 - Found "doread:read input/output" error using strace command.
Product: [Retired] Red Hat Linux Reporter: Kaena Freitas <kaena>
Component: kernelAssignee: Guy Streeter <streeter>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: nobody
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL 3,0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-21 17:17:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kaena Freitas 2002-12-17 23:53:24 UTC
*******************************************************************************
Hardware Environment:

2 p640 4-way machines (model:7026-B80). One is the client and the other one is
the server.

# cat /proc/cpuinfo
processor       : 0
cpu             : POWER3 (630+)
clock           : 375MHz
revision        : 1.4
bogomips        : 374.99

processor       : 1
cpu             : POWER3 (630+)
clock           : 375MHz
revision        : 1.4
bogomips        : 374.99

processor       : 2
cpu             : POWER3 (630+)
clock           : 375MHz
revision        : 1.4
bogomips        : 374.99

processor       : 3
cpu             : POWER3 (630+)
clock           : 375MHz
revision        : 1.4
bogomips        : 374.99

total bogomips  : 1499.99
machine         : CHRP IBM,7026-B80

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             249M  130M  106M  55% /
/dev/sda6             4.1G   44k  3.9G   1% /home
/dev/sda7             4.1G  1.3G  2.6G  33% /usr
/dev/sda8             249M   36M  200M  16% /var

********************************************************************************
Software Environment:

LTP 20021008 release.

Red Hat Linux release 7.1 (Seawolf)
Linux rh2lte.apt.austin.ibm.com 2.4.9-23.19.7 #1 SMP Tue Oct 8 17:12:46 CDT 2002
ppc64 unknown
 
Gnu C                  2.96
Gnu make               3.79.1
binutils               2.10.91.0.2
util-linux             2.11f
mount                  2.11g
modutils               2.4.14
e2fsprogs              1.26
PPP                    2.4.0
isdn4k-utils           3.1pre1
Linux C Library        2.2.4
Dynamic linker (ldd)   2.2.4
Procps                 2.0.7
Net-tools              1.57
Console-tools          0.3.3
Sh-utils               2.0
Modules Loaded         nfs nfsd lockd sunrpc autofs4 pcnet32 md

********************************************************************************
Steps to Reproduce:
1.Install LTP
2.Run networktests.sh under LTP home directory.
3.Or you can run ./fsx-linux under its directory.

********************************************************************************
Actual Results:

Result from output:
<<<test_start>>>
tag=nfsx-linux stime=1036119984
cmdline="export VERSION SOCKET_TYPE; export
TCbin=$LTPROOT/testcases/network/nfs/fsx-linux; fsx.sh"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>

Test Options:
 VERSION: 3
 RHOST: rh2lte.apt.austin.ibm.com
 ITERATIONS: 50000
SOCKET_TYPE: udp
Setting up remote machine: rh2lte.apt.austin.ibm.com
Mounting NFS filesystem rh2lte.apt.austin.ibm.com:/mnt/fsx11269.testdir on
/root/ltp-20021008/testcases/network/nfs/fsx-linux/fsx11269 with parameters
udp,vers=3
fsx-linux -N 50000
/root/ltp-20021008/testcases/network/nfs/fsx-linux/fsx11269/testfile Starting
truncating to largest ever: 0x13e76
truncating to largest ever: 0x2e52c
truncating to largest ever: 0x3c2c2
truncating to largest ever: 0x3f15f
truncating to largest ever: 0x3fcb9
truncating to largest ever: 0x3fe96
truncating to largest ever: 0x3ff9d
truncating to largest ever: 0x3ffff
doread: read: Input/output error
/root/ltp-20021008/testcases/bin/fsx.sh: line 7: 11277 Segmentation fault     
(core dumped) ./${executable} -N $ITERATIONS $TCtmp/testfile 2>&1
fsx-linux -N 50000
/root/ltp-20021008/testcases/network/nfs/fsx-linux/fsx11269/testfile Finished
Cleaning up testcase
rm: cannot remove directory
`/root/ltp-20021008/testcases/network/nfs/fsx-linux/fsx11269': Device or
resource busy
Cannot remove /root/ltp-20021008/testcases/network/nfs/fsx-linux/fsx11269
Test Failed: Errors have resulted from this test
incrementing stop

********************************************************************************
Expected Results: Test should pass.

********************************************************************************
Additional Information:

Found "doread:read input/output" error using strace command. The latest NFS
patches for 2.4.17 from Trond should fix it. Not sure if the patch has been
added to RedHat ppc64 kernel or not.

Comment 1 Kaena Freitas 2003-05-21 17:17:14 UTC
Fixed in current release

Comment 2 Guy Streeter 2003-06-25 17:40:44 UTC
An errata 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-2003-190.html