[OpenAFS] little install problem...
Derek Atkins
warlord@MIT.EDU
Mon, 26 Feb 2007 17:58:54 -0500
This message is in MIME format.
--=_4lcwns3yj6kg
Content-Type: text/plain;
charset=ISO-8859-1;
format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Actually, this does look like a bug in the SPECfile. Try the attached
patch. I've bcc'd to openafs-bugs to try to get this patch upstream.
Back in October 2006 I fixed it for all the different kernels EXCEPT
I seemed to have missed SMP. OOPS.
-derek
Quoting Ron Croonenberg <ronc@depauw.edu>:
> But when I do this...
>
> [root@lore OpenAFS]# rpm -q --provides kernel-smp-2.6.15-1.2054_FC5
> kernel = 2.6.15
> kernel-drm = 4.3.0
> kernel-i686 = 2.6.15-1.2054_FC5smp
> kernel-smp = 2.6.15-1.2054_FC5
>
> And this is just a "straight out of the box" installation using the
> distro from fedora.redhat.com
>
>>>> Derek Atkins <warlord@MIT.EDU> 02/26/07 4:39 PM >>>
> What do you get from:
>
> rpm -q --provides kernel-smp-2.6.15-1.2054_FC5smp
>
> -derek
>
> Ron Croonenberg <ronc@depauw.edu> writes:
>
>> I am installing OpenAFS for FC5
>>
>> When I try to install the OpenAFS kernel module this happens:
>>
>> [root@lore OpenAFS]# uname -r
>> 2.6.15-1.2054_FC5smp
>>
>> So I want to use this pre-compiled kernel module, right ?
>> openafs-kernel-smp-1.4.2-2.6.15_1.2054_FC5smp_1.i686.rpm
>>
>>
>> [root@lore OpenAFS]# rpm -ivh
>> openafs-kernel-smp-1.4.2-2.6.15_1.2054_FC5smp_1.i686.rpm
>>
>> error: Failed dependencies:
>> kernel-smp-i686 = 2.6.15-1.2054_FC5 is needed by
>> openafs-kernel-smp-1.4.2-2.6.15_1.2054_FC5smp_1.i686
>>
>> any ideas ?
>> thanks,
>>
>> Ron
>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>>
>
> --
> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> Member, MIT Student Information Processing Board (SIPB)
> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> warlord@MIT.EDU PGP key available
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available
--=_4lcwns3yj6kg
Content-Type: text/x-patch;
charset=ISO-8859-1;
name="openafs-smp.patch"
Content-Description: SPECfile fix for SMP kernel module
Content-Disposition: attachment;
filename="openafs-smp.patch"
Content-Transfer-Encoding: 7bit
--- openafs/openafs.spec 2006/10/18 02:12:57 1.81
+++ openafs/openafs.spec 2007/02/26 22:56:37 1.82
@@ -1,4 +1,4 @@
-# Openafs Spec $Revision: 1.81 $
+# Openafs Spec $Revision: 1.82 $
%define afsvers 1.4.2
%define pkgvers 1.4.2
@@ -472,7 +472,7 @@
Group: Networking/Filesystems
Provides: openafs-kernel = %{PACKAGE_VERSION}
%if %{kprovidesarch}
-Requires: kernel-smp-%{_target_cpu} = %{kernvers}
+Requires: kernel-%{_target_cpu} = %{kernvers}
%else
Requires: /boot/config-%{kernvers}%{?smp_ext:%{smp_ext}}
%endif
@@ -1457,6 +1457,10 @@
###
##############################################################################
%changelog
+* Mon Feb 26 2007 Derek Atkins <warlord@mit.edu>
+- I missed the SMP architecture from the Oct 17 2006 patch so the SMP
+ kernel modules were still incorrect.
+
* Tue Oct 17 2006 Derek Atkins <warlord@MIT.EDU>
- kernel RPM architectures provide kernel-<target_cpu> = <full_kernel_version>
so the existing 'requires' lines were incorrect for SMP and other non-UP
--=_4lcwns3yj6kg--