On 3/21/07, John Poelstra <poelstra@xxxxxxxxxx> wrote:
Andy Green said the following on 03/21/2007 02:57 PM Pacific Time: > John Poelstra wrote: >> Andy Green said the following on 03/21/2007 01:41 PM Pacific Time: >>> John Poelstra wrote: >>> >>>>> I'm not sure you can trust the output of uname to tell you what kernel >>>>> you're running. I seem to recall it being i686 even on an i586 kernel, >>>>> if the CPU is i686. Or am I wrong? >>> >>> cat /proc/version >>> >>> will say SMP for i686 and .. err.. something else... (i586?) for i586 >>> builds. And that is coming straight out of the kernel itself. >>> >>> Another way: >>> >>> modinfo ext3 >>> >>> should show i686 as part of the vermagic near the end. > >> I think it is a bug: >> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233370 >> >> https://www.redhat.com/archives/fedora-test-list/2007-March/msg00407.html > > So what were the results of the tests above? Also try > > rpm -qa --queryformat "%{name}-%{version}-%{arch}\n" | grep kernel > > and you might find that one or more of your installed *kernels* is > i586... that was an anaconda bug in FC6. In that case yum installing > the i586 kernel-devel is understandable, not a bug. > > -Andy > nope # rpm -qa --queryformat "%{name}-%{version}-%{arch}\n" | grep kernel kernel-2.6.19-i686 kernel-2.6.20-i686
Due to the FC6 installation bug the first kernel-devel package installed on your system was for i586. Installing/upgrading to the i686 kernel does not automatically change the architecture for kernel-devel. You need to manually uninstall kernel-devel. You can then use your favorite package manager to install kernel-devel.