Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 440454

Summary: gnbd_import fails on ppc, cannot get timestamp
Product: Red Hat Enterprise Linux 5 Reporter: Nate Straz <nstraz>
Component: gnbdAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: cluster-maint, cmarthal, edamato
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:57:24 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:
Bug Depends On:    
Bug Blocks: 429587    

Description Nate Straz 2008-04-03 16:47:27 UTC
Description of problem:

When trying to import GNBD devices on a ppc system from another ppc system, I
get the following error:

[root@kent ~]# gnbd_import -i basic
gnbd_import: created gnbd device sdc
gnbd_recvd: ERROR cannot get timestamp : Invalid argument
gnbd_import: ERROR gnbd_recvd failed


Version-Release number of selected component (if applicable):
gnbd-1.1.5-1.el5
kmod-gnbd-0.1.4-12.el5

How reproducible:
100%

Steps to Reproduce:
1. on nodeA: gnbd_export -c -d /dev/sdc1 -e sdc
2. on nodeB: gnbd_import -i nodeA
  
Actual results:
See above

Expected results:
The import should work.

Additional info:

Comment 1 Ben Marzinski 2008-04-16 21:08:53 UTC
The problem is that all of our userspace programs on the ppc64 are 32bit
binaries, and the gnbd kernel module does not handle ioctl32 calls.  The
solution is either to build the userspace programs (at least gnbd_recvd) as
64bit binaries, or to make the gnbd kernel module handle ioctl32 calls.

Comment 3 RHEL Program Management 2008-07-31 21:40:54 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Ben Marzinski 2008-08-25 15:09:16 UTC
Oops. This was checked in a while ago.

Comment 7 errata-xmlrpc 2009-01-20 20:57:24 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 therefore 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/RHBA-2009-0102.html