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
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

-- 
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Kernel  2.4.8-26mdk     Mandrake Linux  8.1
Enlightenment 0.16.5    Evolution  1.02
Registered Linux User #268899 http://counter.li.org/
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to