|
List Info
Thread: Kernel source
|
|
| Kernel source |

|
2006-12-06 02:03:53 |
|
| I'm trying to
install kernel source from up2date... but help me out here, am I going
insane? It is installed right? That is what the devel packages are
right?
[gsweet prodtool3 Dell_Open_Manage]$ rpm -qa | grep
kernel kernel-smp-2.6.9-5.EL kernel-smp-2.6.9-34.EL kernel-2.6.9-34.EL kernel-utils-2.4-13.1.80 kernel-2.6.9-5.EL kernel-smp-2.6.9-34.0.1.EL kernel-2.6.9-34.0.1.EL kernel-smp-devel-2.6.9-42.0.3.EL kernel-smp-2.6.9-22.0.1.EL kernel-2.6.9-22.0.1.EL kernel-doc-2.6.9-34.0.1.EL
I'm trying to
install Dell's Open Manage 5.0 onto this system and it isn't finding the
kernel-source. I'm either totally missing this or I need to quit my job as
a Linux admin.
Geoff
Sweet
Internet Operations
Engineer
WildTangent
Inc.
|
| Kernel source |

|
2006-12-06 02:19:02 |
|
| You
probably need the kernel source for the current running kernel `uname
-r`
It
looks like you have the source for the latest kernel, but not the actual kernel
which means you're probably still running a previous kernel version. You'll need
to either upgrade your kernel or go find the devel pkg for your current
kernel.
Frank
L.
I'm trying to
install kernel source from up2date... but help me out here, am I going
insane? It is installed right? That is what the devel packages are
right?
[gsweet prodtool3 Dell_Open_Manage]$ rpm -qa |
grep
kernel kernel-smp-2.6.9-5.EL kernel-smp-2.6.9-34.EL kernel-2.6.9-34.EL kernel-utils-2.4-13.1.80 kernel-2.6.9-5.EL kernel-smp-2.6...9-34.0.1.EL kernel-2.6.9-34.0.1.EL kernel-smp-devel-2.6.9-42.0.3.EL kernel-smp-2.6.9-22.0.1.EL kernel-2.6.9-22.0.1.EL kernel-doc-2..6.9-34.0.1.EL
I'm trying to
install Dell's Open Manage 5.0 onto this system and it isn't finding the
kernel-source. I'm either totally missing this or I need to quit my job
as a Linux admin.
Geoff
Sweet
Internet
Operations Engineer
WildTangent
Inc.
|
| Kernel source |

|
2006-12-06 02:28:32 |
|
Hi Geoff,
If you're using RHEL4, Redhat don't make a kernel-source RPM for
RHEL4... instead, you have to make your own kernel source tree from the
.src.rpm file for your kernel. I got the below stuff from a website
somewhere - I'd post the URL to it but I can't find it, so here's the
text (apologies and thanks to the author). Anyway, hope it helps...
ignore the stuff about NVidia drivers:
So, you need the kernel-source for your FC3/RHEL-4 distro?
These steps should save you some time, trouble and many headaches.
In the even that you neglected to read the release notes for
FC3...eh-hem...the FC project has decided not to supply the
kernel-source in order to prevent redundancy.
You see, the kernel-source tree can be extracted from the
kernel-*.src.rpm if you absolutely need it.
In my case, I needed to supply the --kernel-source-path when
(re)installing the lastest NVIDIA drivers (more on NVIDIA drivers
below...) after rebooting with a new kernel.
So, here are the steps that you should follow in order to
extract the kernel-source tree from the kernel-*.src.rpm:
Step (1). Go find the kernel-*.src.rpm (#> locate
kernel-*.src.rpm) or download it from the Internets. For instance, you
could get it from here.
Step (2). Now you must install the rpm. As root, execute #> rpm -Uvh kernel-*.src.rpm
Step (3). The previous step should have created a
kernel-2.6.spec (or similarly kernel-2.4.spec if you're still on that
kernel) file in the /usr/src/redhat/SPECS/ directory. You must build
the rpm against this .spec file to get the binaries and source.
As root, execute #> rpmbuild -bp
--target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec
Step (4). Create the necessary symbolic links for your directory
tree:
#> cd /usr/src
#> ln -s redhat/BUILD/kernel-2.6.10/linux-2.6.10/ linux
#> ln -s redhat/BUILD/kernel-2.6.10/linux-2.6.10/ linux-2.6.10
Step (5). Now we need to make the new .config files:
#> cd /usr/src/linux-2.6.10
#> make mrproper
#> cp /usr/src/linux-2.6.10/configs/kernel-2.6.10-i686.config
/usr/src/linux-2.6.10/.config
#> make oldconfig
#> make menuconfig
#> make
Now, you have a kernel-source tree under /usr/src/linux-2.6.10 just
like you would if you had been supplied the kernel-source in the first
place. Note that the kernel numbers (i.e. 2.6, 2.6.10, etc.) and system
architecture numbers (i.e. i686) may be different for your situation.
Replace with correct numbers/information where necessary.
I was able to install the new NVIDIA drivers by executing:
#> sh NVIDIA-Linux-x86-1.0-###-pkg1.run
--kernel-source-path /usr/src/linux-2.6.10
Geoff Sweet wrote:
exch1.corp.wildtangent.com"
type="cite">
I'm
trying to install kernel source from up2date... but help me out here,
am I going insane? It is installed right? That is what the devel
packages are right?
[gsweet prodtool3 Dell_Open_Manage]$
rpm -qa | grep kernel
kernel-smp-2.6.9-5.EL
kernel-smp-2.6.9-34.EL
kernel-2.6.9-34.EL
kernel-utils-2.4-13.1.80
kernel-2.6.9-5.EL
kernel-smp-2.6.9-34.0.1.EL
kernel-2.6.9-34.0.1.EL
kernel-smp-devel-2.6.9-42.0.3.EL
kernel-smp-2.6.9-22.0.1.EL
kernel-2.6.9-22.0.1.EL
kernel-doc-2.6.9-34.0.1.EL
I'm
trying to install Dell's Open Manage 5.0 onto this system and it isn't
finding the kernel-source. I'm either totally missing this or I need
to quit my job as a Linux admin.
Geoff
Sweet
Internet
Operations Engineer
WildTangent
Inc.
_______________________________________________
rhn-users mailing list
redhat.com">rhn-users redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users
|
| Login |

|
2006-12-07 16:29:01 |
|
Running
Linux Es 3.0. Is there a way to configure logins so they are rejected
after a certain number of failures? I can see from my logs that somebody has
been trying to get into my system. They consistently (like every few
seconds) try to log in as a certain user. After a while, they give up and
try another user. What is the best way to handle this. I would like
to be able to set up each account so they are blocked after a certain number of
failures. I also would like to be able to block certain IP addresses
after a certain number of failed logins, even if they were for different user
names.
Thanks
P. Laval
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|