Description of problem: Running kernel-PAE-2.6.20-1.2936.fc7; kernel-headers links asm-i386/tsc.h to nonexistant asm-x86/tsc.h I copied asm-i386/tsc.h from 2.6.20-1.2932 to asm-i386/tsc.h and all appears to work. Version-Release number of selected component (if applicable): kernel-PAE-2.6.20-1.2936.fc7 How reproducible: Every time! Steps to Reproduce: 1. yum update 2. .... 3. Actual results: Expected results: Additional info:
Sorry, typo.... tries to include asm-x86_64/tsc.h
I confirm this (FWIW)
This problem still happens in kernel-2.6.20-1.2940.fc7. See Also : http://bugzilla.livna.org/show_bug.cgi?id=1419
At first glance (after fixing the typo in the summary) it looks like the fix would be to swap the files round and include the i386 one from x86_64 instead -- but on closer inspection I don't actually see what in there is supposed to be visible to userspace anyway.
tsc.h doesn't exist in the kernel-headers package. I think you must mean kernel-devel -- you're building modules? That would be Ingo's doing. http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=include/asm-i386/tsc.h;h=e997891cc7cc8bfdedf6b9447996e291e5b0a9b1;hp=c13933185c1cc20f1a0b0cfbc01d67f92bee26dc;hb=95492e4646e5de8b43d9a7908d6177fb737b61f0;hpb=92c7e00254b2d0efc1e36ac3e45474ce1871b6b2
Yeah, sorry. Fails for rebuild of ipw3945 module, vmware modules, etc.
We need to fix this before the FC6 2.6.20 kernel is released. Can we just add the whole asm-x86_64 directory to the devel package as a workaround?
I can confirm, too - nvidia modules won't build.
Me too, with 2.6.20-1.2942.fc7. By the way, it's not only the PAE kernel-devel nor only tsc.h, regular i586 and i686 kernel-devels have this too and some other x86_64 includes, this is from the i686 include dir for 2942: $ grep -r -- "#include.*x86_64" * asm/stacktrace.h:#include <asm-x86_64/stacktrace.h> asm/tsc.h:#include <asm-x86_64/tsc.h> asm/k8.h:#include <asm-x86_64/k8.h> asm/pci-direct.h:#include "asm-x86_64/pci-direct.h" asm-i386/stacktrace.h:#include <asm-x86_64/stacktrace.h> asm-i386/tsc.h:#include <asm-x86_64/tsc.h> asm-i386/k8.h:#include <asm-x86_64/k8.h> asm-i386/pci-direct.h:#include "asm-x86_64/pci-direct.h"
I confirmed, too. SystemTap can't run any script on kernel-2.6.20-1.2942.fc7.
*** Bug 230031 has been marked as a duplicate of this bug. ***
*** Bug 230176 has been marked as a duplicate of this bug. ***
For now why don't we just replace tsc.h with the tsc.h from 2.6.20-1.2932 which doesn't have this bug? I can provide a patch if needed.
Working in .2960 and .2962. Closing.