unclug AT lists.ibiblio.org
Subject: UNC Linux Users Group
List archive
Re: [unclug] Building OpenAFS kernel module from SRPM
- From: "Alan Hoyle" <alanh AT email.unc.edu>
- To: "UNC Linux Users Group" <unclug AT lists.ibiblio.org>
- Subject: Re: [unclug] Building OpenAFS kernel module from SRPM
- Date: Thu, 27 Jul 2006 14:29:06 -0400
Would
rpm -ivh /usr/src/redhat/RPMS/`uname -p`/openafs-kernel-1.4.1-`uname
-r`-`uname -p`.rpm
work in most cases?
On 7/26/06, Matthew Mauzy <mauzy AT unc.edu> wrote:
Works on RHEL4 systems as well. The resulting openafs-kernel rpm will be
located in /usr/src/redhat/RPMS/i686 (assuming you built on a i686).
Then to install:
rpm -ivh /usr/src/redhat/RPMS/i686/openafs-kernel-smp-1.4.0-'uname
-r'_1.i686.rpm
--Matthew
__________________________
Matthew W. Mauzy
UNIX Systems Architect
Systems Group
College of Arts & Sciences
UNC Chapel Hill
Mauzy @ UNC.edu
919.962.9819
--On Wednesday, July 26, 2006 10:34 AM -0400 Adam Constabaris
<adamc AT unc.edu> wrote:
> The problem this is designed to solve: you have an RPM-based system that
> uses openafs, but you upgrade your kernel to a version that is not (yet)
> included in the openafs.org openafs-kernel binary RPMS.
>
> This is designed to allow you to compile the kernel modules from the
> SRPM from openafs.org; it doesn't address the rest of the configuration
> issues, so it works best if you get openafs from openafs.org working,
> and then reboot into your new kernel.
>
> I've only ever run this on Fedora Core 5! I assume it would work on
> other RedHat-related distros, and there's probably something .deb based
> that does a similar trick.
>
> Note that since it uses the uname command, you'll need to be running the
> target kernel at the time you execute the command. You can, of course,
> work your way around the problem by specifying the name of the targeted
> kernel by hand, but this method seems more error-resistant.
>
># rpmbuild --rebuild --target=`uname -m` openafs-1.4.1-fc5.1.src.rpm
>
># rpm -ivh /usr/src/redhat/RPMS/[arch]/openafs-kernel-1.4.1-[kernel
> version]-[arch].rpm
>
> AC
> _______________________________________________
> unclug mailing list
> unclug AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/unclug
_______________________________________________
unclug mailing list
unclug AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/unclug
--
Alan Hoyle - alanh AT unc.edu - http://www.alanhoyle.com/
"I don't want the world, I just want your half." -TMBG
Get Horizontal, Play Ultimate.
-
[unclug] Building OpenAFS kernel module from SRPM,
Adam Constabaris, 07/26/2006
-
Re: [unclug] Building OpenAFS kernel module from SRPM,
Matthew Mauzy, 07/26/2006
- Re: [unclug] Building OpenAFS kernel module from SRPM, Matt McGrievy, 07/27/2006
-
Message not available
-
Re: [unclug] Building OpenAFS kernel module from SRPM,
Alan Hoyle, 07/27/2006
-
Re: [unclug] Building OpenAFS kernel module from SRPM,
Matthew Mauzy, 07/27/2006
- Re: [unclug] Building OpenAFS kernel module from SRPM, Adam Constabaris, 07/27/2006
-
Re: [unclug] Building OpenAFS kernel module from SRPM,
Matthew Mauzy, 07/27/2006
-
Re: [unclug] Building OpenAFS kernel module from SRPM,
Alan Hoyle, 07/27/2006
-
Re: [unclug] Building OpenAFS kernel module from SRPM,
Matthew Mauzy, 07/26/2006
Archive powered by MHonArc 2.6.24.