Bug 1490123

Summary: netfilter: xt_hashlimit: build error caused by 64bit division on 32bit arches - Fixed upstream
Product: [Fedora] Fedora Reporter: Alexander Ploumistos <alex.ploumistos>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, ajax, athoscribeiro, bskeggs, eparis, esandeen, hdegoede, ichavero, itamar, jarodwilson, jforbes, jglisse, jonathan, josef, jwboyer, kernel-maint, labbott, linville, mchehab, mjg59, nhorman, quintela, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-11 20:30:50 UTC Type: Bug
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: 1489998    

Description Alexander Ploumistos 2017-09-10 15:28:19 UTC
As reported by Justing Forbes in the last FESCo Meeting, 32bit arches in rawhide fail to build due to this error:

ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!

(see for example build https://koji.fedoraproject.org/koji/taskinfo?taskID=21734710 )

Athos Ribeiro looked into this and he found out that a patch has already been accepted upstream:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=90c4ae4e2c1da9f1eaf846136861af43d4c1ff34

And he also fired off a couple of builds in koji and copr:
https://koji.fedoraproject.org/koji/taskinfo?taskID=21765118
https://copr.fedorainfracloud.org/coprs/athoscr/kernel/build/600404/


For more information, please see this thread:
https://lists.fedoraproject.org/archives/list/x86@lists.fedoraproject.org/thread/NZNNSDUBYG4SQGODVZPTCXIQYNTW6VJT/


Could you please apply the patch to the rawhide kernel sources?


Going forward, is there another, more preferable method for the x86 SIG to contact the kernel maintainers on such issues?

Comment 1 Justin M. Forbes 2017-09-10 16:21:57 UTC
Bugzilla is fine, IRC on #fedora-kernel would work for things like this as well. Since it is in Linus' tree now, it would get picked up on the next rawhide build tomorrow anyway,  A quick heads up would be plenty to keep us from doing an ExcludeArch for something to be fixed the next day. For things not in the Linus tree yet where we need a patch, an email to the fedora kernel list would also work.

Thanks for all of the legwork on this, this is exactly the kind of thing we like to see for ongoing arch support.

Comment 2 Justin M. Forbes 2017-09-11 20:30:50 UTC
This particular issue seems to be fixed. Thanks again!

Comment 3 Alexander Ploumistos 2017-09-11 20:36:20 UTC
You're welcome, it's good that we've learned a few things about your work flow too.