Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30945 - Add Infiniband Support to mkinitcpio-nfs-utils

Attached to Project: Arch Linux
Opened by Wes Brown (wesbrown18) - Tuesday, 31 July 2012, 18:43 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 31 July 2012, 19:59 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When attempting to use mkinitcpio-nfs-utils, the Infiniband interface is not recognized as a valid interface by 'ipconfig'. This is due to the extra long MAC addresses of the Infiniband interfaces.

Fortunately, it is straightforward to fix, and I have attached a patch file for this. We add the hardware ARP flag for Infiniband to the netdev.c file in ipconfig as shown below.

While I know that people who want to boot off Infiniband using Arch Linux are a rare breed, it would be nice to integrate this so I do not have to maintain a separate package for this.

--- src/mkinitcpio-nfs-utils-0.3/ipconfig/netdev.c 2012-03-25 17:15:58.000000000 -0400
+++ netdev.c 2012-07-31 14:38:20.904675712 -0400
@@ -219,6 +219,9 @@
case ARPHRD_LOOPBACK:
dev->hwlen = 0;
break;
+ case ARPHRD_INFINIBAND:
+ dev->hwlen = 20;
+ break;
default:
return -1;
}

Additional info:
* mkinitcpio-nfs-utils-0.3-4

Steps to reproduce:
* Attempt to use the NFS hooks with an IP over Infiniband interface.
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 31 July 2012, 19:59 GMT
Reason for closing:  Deferred
Additional comments about closing:  Awaiting upstream merge.
Comment by Dave Reisner (falconindy) - Tuesday, 31 July 2012, 18:56 GMT
Please submit this upstream to klibc. I will not maintain a patch that I have no ability to test myself.
Comment by Wes Brown (wesbrown18) - Tuesday, 31 July 2012, 19:00 GMT
Will do -- heading over there to submit this patch.

Loading...