SCIENTIFIC-LINUX-USERS Archives

June 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Wed, 7 Jun 2006 16:36:15 -0500
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (66 lines)
On Wed, 7 Jun 2006, Dushan Mitrovich wrote:

> Connie Sieh <[log in to unmask]> wrote:
> >On Wed, 7 Jun 2006, Dushan Mitrovich wrote:
> >
> >> I have Sl 4.2, whose kernel is 2.6.9-22.0.1.EL, and am trying, so far un-
> >> successfully, to recompile it to provide HPFS support for the OS/2 file
> >> system.  To help me try to figure out the problem I downloaded the kernel
> >> source rpm to get at the kernel-2.6.spec file, but in my optimism got the
> >> version for 2.6.9-34.0.1.EL instead (thinking I might as well ugdate).
> >>
> >> Now I'm wondering whether this was a mistake, because the kernel release
> >> numbers may need to match exactly for a 'build' operation.  Is that the
> >> case?
> >
> > Build what?
> 
> What I meant was concoct a new, updated kernel.  Maybe I should have said
> 'rpmbuild', but I'm not sure of the terminology.
>  
> > If you have created the kernel source tree via the
> > 2.6.9-34.0.1.EL.src.rpm then you will end up with a 2.6.9-34.0.1.EL
> > kernel.
> 
> Yes, that's my understanding, but I haven't created that source tree yet.
> Right now all I have is what's in the 2.6.9-22.0.1.EL directory.
> 
> >> I'm only thinking the new 'build' might be necessary because of missing
> >> files that the recompile operation calls for, including
> >>
> >>   for 'make mrproper'    the file  'Documentation/DocBook/Makefile'
> >>
> >> and
> >>   for 'make rpm'     \ / the files 'include/asm-i386/asm_offsets.h'
> >>    or 'make bzImage' / \           'include/asm-i386/asm_offsets.h.tmp'
> >>                         \      and 'arch/i386/kernel/asm-offsets.s'
> >
> > How did you get the kernel source tree out of 2.6.9-34.0.1.EL.src.rpm .
> > It seems that you are missing things.
> 
> I'm sure I am, and I haven't got the source tree yet, not being sure how to
> do it.  In fact, do I even need to, to get past the missing files problems?

Download the kernel-....src.rpm for the kernel you want to build.  They 
are located at

ftp://ftp.scientificlinux.org/linux/scientific/4x/SRPMS/vendor/errata/

Read the instructions that are part of

/usr/share/doc/sl-release*/RELEASE-NOTES-x86_64-en

                       or RELEASE-NOTES-x86-en

Note the special instructions for just making a kernel module.

-connie

> 
> >> Any guidance to help me complete the recompile would be mightily appre-
> >> ciated.  You can no doubt tell that I'm a linux neophyte.
> 
> 
> - Dushan Mitrovich
> 

ATOM RSS1 RSS2