Lyvim Xaphir wrote:

>Dude.......no.
>
>This is not the way to do this, not the kernel.  The kernel is a special
>case situation that has to be dealt with individually.  What you do here
>is install the source to the new kernel, with rpm -ivh
>kernel_version_blah.src.rpm.  Then you go to the
>/usr/src/kernel_version_blah directory and do "make xconfig" assuming
>you are in X.  Then before you do ANYTHING you should spend at least two
>hours going thru xconfig getting used to the options, and more
>
Dude.....Yes.

I have reconfigured, and recompiles kernels literally hundreds of times. 
 I am intimately
familiar with all the options.

I am interested in rpm --rebuild kernel, because I am interested in 
rebuilding the default
mandrake 8.2 kernel, with one new patch applied.  I intended, after 
checking that --rebuild
worked (which it didn't, and which it should have), to add the 
h323-newnat13 patch to the
kernel.spec file in the rpm, and generate an mdk82-default kernel + h323 
nat patch.

I realize that this is a rather advanced concept, as I am in the process 
of generating a custom
distribution derivative of mandrake (just as mandrake is derivative of 
redhat).  Normally I
read the cooker mailinglist, but since this was a problem with the 8.2 
kernel, and not the
cooker kernel, I assumed this was the place to ask.

All I want is to generate the mdk82 kernel rpm, in the same way it was 
generated by
mandrake.  I definately assume that they generated it with rpm 
--rebuild, and not by hand
as you suggested.

-dmc




>importantly what they mean.  You will have to match your hardware to the
>options in xconfig, plus eliminate what is not used, include what is
>being used, and thru trial and error learn to recognize the difference.
>Last but not least, modularize everything but the kitchen sink.
>
>This is only the beginning, there are several other packages that go
>along with a new kernel; you must update those as well.  The following
>doc is old, but it's the one I've used and it's still relevant even
>today:
>
>http://www.redhat.com/support/resources/howto/kernel-upgrade/s1-before-upgrade.html
>
>This system here is an LM81 and when I do a package scan per the above
>doc, I get the following:
>
>[root@tamriel linux]#  rpm -qa | grep 'kernel'
>kernel-2.4.8-26mdk
>kernel-doc-2.4.8-26mdk
>kernel-source-2.4.8-26mdk
>kernel-headers-2.4.8-26mdk
>NVIDIA_kernel-1.0-2802.mdk81up
>
>The NVIDIA rpm must be upgraded before your system will operate with the
>new kernel; it will probably behoove you to go generic with the X
>display driver while you experiment with the new kernel, and/or download
>X display drivers to match your new kernel.  The other packages must be
>installed to match the version of your new kernel.
>
>There may be updated procedures for this, or a more up to date and more
>comprehensive faq/howto available, I'm just not sure where they are. Civ
>probably has more information sources available on this.
>
>Other comments would be welcome...
>
>
>Hope that gets you started.  :)
>
>LX
>
>
>
>On Mon, 2002-04-15 at 05:54, Doug McClendon wrote:
>
>>I tried  rpm --rebuild /home/dmc/kernel-2.4.18.6mdk-1-1mdk.src.rpm
>>
>>and after half an hour, got this
>>
>>/usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include  -Wall 
>>-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
>>-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 
>>-DMODULE -DMODVERSIONS -include 
>>/usr/src/RPM/BUILD/linux/include/linux/modversions.h  
>>-DKBUILD_BASENAME=cache  -c -o cache.o cache.c
>>/usr/bin/gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include  -Wall 
>>-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
>>-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 
>>-DMODULE -DMODVERSIONS -include 
>>/usr/src/RPM/BUILD/linux/include/linux/modversions.h  
>>-DKBUILD_BASENAME=journal  -c -o journal.o journal.c
>>In file included from /usr/src/RPM/BUILD/linux/include/asm/semaphore.h:39,
>>                 from /usr/src/RPM/BUILD/linux/include/linux/fs.h:215,
>>                 from journal.c:11:
>>/usr/src/RPM/BUILD/linux/include/asm/system.h:203: parse error before 
>>`volatime'
>>/usr/src/RPM/BUILD/linux/include/asm/system.h:204: warning: function 
>>declaration isn't a prototype
>>/usr/src/RPM/BUILD/linux/include/asm/system.h: In function `__xchg':
>>/usr/src/RPM/BUILD/linux/include/asm/system.h:205: `size' undeclared 
>>(first use in this function)
>>/usr/src/RPM/BUILD/linux/include/asm/system.h:205: (Each undeclared 
>>identifier is reported only once
>>
>
>
>------------------------------------------------------------------------
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to