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:
Dushan Mitrovich <[log in to unmask]>
Reply To:
Dushan Mitrovich <[log in to unmask]>
Date:
Thu, 8 Jun 2006 09:24:06 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (43 lines)
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?
>
> 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.
>
>> 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 just realized there was a misunderstanding here.  The recompile opera-
tion I was trying to do was on the installation that resulted directly
from the four distribution CDs, which were of SL 4.2 and used kernel
2.6.9-22.0.1.EL.  The source tree I had was entirely what was put there
by the install procedure, so the missing files were missing because the
install never put them there.

I'm considering building a new source tree out of 2.6.9-34.0.1.EL.src.rpm
precisely to get past this omission.

- Dushan

ATOM RSS1 RSS2