[WBEL-users] newbie - kernel and other upgrades questions
Craig White
craigwhite at azapple.com
Sat Jan 22 00:18:14 CST 2005
On Sat, 2005-01-22 at 08:00 +0200, Alon wrote:
> > just for s&g's - did you check out the documentation
> > in /usr/share/doc/lm_sensors-2.6.5 ?
>
> I've tried to follow the INSTALL steps, but hit a block where during
the
> install I get errors like:
>
>
> Error - missing file /lib/modules/2.4.21-27.0.2.ELsmp/build/.config !!
> Verify kernel source is in /lib/modules/2.4.21-27.0.2.ELsmp/build
and then
> cd to /lib/modules/2.4.21-27.0.2.ELsmp/build and run 'make
config' !!
>
> Exception: if you're using a stock RedHat/Fedora kernel...
> (1) Install the appropriate kernel-source RPM.
> (2) Copy the appropriate config...
> from /lib/modules/2.4.21-27.0.2.ELsmp/build/configs/<...>
> to /lib/modules/2.4.21-27.0.2.ELsmp/build/.config
> (3) Do *NOT* 'make dep' or 'make config'.
>
>
> Newbie as I am, I'm not sure what teh kernel-source RPM is:
> kernel-2.4.21-27.0.2.EL.src.rpm Is that it?
> Do I just rpm -i kernel-2.4.21-27.0.2.EL.src.rpm it?
> Can Yum do it?
> What is the src and how is it different than just the kernle update
I've
> done via yum update?
> My understanding, and please correct me if I'm wrong, is that using
YUM, I'm
> downloading a compiled
> version of the kernel, where as using the src.rpm, I'm actually d/l
the
> files to config the kernel before
> a compile and then I can compile it if I want to, with my own mods? Is
that
> correct?
----
beauty about rpm system is that it is already compiled and installed.
if you want to compile it yourself, you will need source for kernel and
compile it yourself - this is one of the modules of the kernel. Yes, you
would have to download and install kernel-source file
----
>
> If I'm correct so far, that leads me to the next question:
> I now have the current kernel running and installed. What would happen
when
> I install the src.rpm?
> Will this just install the source file, or will it attempt to run,
compile
> and install the new kernel?
----
I had expected that you would read the "QUICKSTART" and just
* Run (as root) `prog/detect/sensors-detect' to detect your hardware,
put the lines it suggests into /etc/modules.conf
and enter the modprobe lines sensors-detect suggests.
Add the line `sensors -s' after the modprobe lines.
* Reboot, or else type in the modprobe lines and `sensors -s'.
* Run `sensors' to see your output.
----
>
> Last, with regards to MySQL Version 4.x, if I do need to run and
install the
> 4.x version, do I just
> install it from tar.gz?
----
knock yourself out - you are on your own here since there are parts and
pieces that may or may not work. They probably have rpm's - see if they
have one for RHEL 3
Craig
More information about the Whitebox-users
mailing list