RHEL AS 4 Kernel SRC + DKMS + QLogic


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat RHEL AS 4 Kernel SRC + DKMS + QLogic
# 1  
Old 03-13-2008
RHEL AS 4 Kernel SRC + DKMS + QLogic

Hi, I need some help. I installed RHEL AS 4 u5 x86_64 (vendor requirement) on a Dell Blade 1855. I have a daughter board that will give it a HBA port. I can't install the daughter card until the Qlogic driver is loaded. I can't install the Qlogic driver sine the kernel src is not there.

So I did some reading and this is what I did to copy the kernel src.

rpm -ivh redhat-rpm-config-8.0.32.1-4.noarch.rpm
rpm -ivh rpm-build-4.3.3-22_nonptl.x86_64.rpm
rpm -ivh kernel-2.6.9-55.EL4.x86_64.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bp --target=x86_64 kernel-2.6.spec
cp -a /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9 /usr/src
ln -s /usr/src/linux-2.6.9 /usr/src/linux
ls -lt /usr/src/
total 36

drw-r--r-- 3 root root 4096 Mar 13 17:33 qla2xxx-v8.01.00
lrwxrwxrwx 1 root root 20 Mar 13 17:25 linux -> /usr/src/linux-2.6.9
drwxr-xr-x 19 root root 4096 Mar 13 17:24 linux-2.6.9
drwxr-xr-x 7 root root 4096 Mar 13 17:23 redhat
drwxr-xr-x 3 root root 4096 Mar 13 16:37 qlogic

So I believe the kernel src is copied correctly. Then I do:

rpm -ivh dkms-2.0.5-1.noarch.rpm
warning: dkms-2.0.5-1.noarch.rpm: V3 DSA signature: NOKEY, key ID 23b66a9d
Preparing... ########################################### [100%]
1:dkms ########################################### [100%]

rpm -ivh qla2xxx-v8.01.00-3dkms.noarch.rpm
Preparing... ########################################### [100%]
1:qla2xxx ########################################### [100%]

Creating symlink /var/lib/dkms/qla2xxx/v8.01.00/source ->
/usr/src/qla2xxx-v8.01.00

DKMS: add Completed.

Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.

So can anyone tell me what I did wrong and what I need to do to fix this?

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

2. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

3. Red Hat

How to setup kernel debugger in RHEL 6.0

Hi, I face up a terrible problem that is for me setting up kdb or any other kernel debugger. Little background: I am writing linux kernel driver in C and ASM on host (real) machine that is Linux RHEL 6.0. I run (I mean debug using printk's) that driver on virtual machine: QEMU, RHEL 6.0 (v... (1 Reply)
Discussion started by: Chrisdot
1 Replies

4. Red Hat

Forcing a kernel panic in RHEL 5.4

Hello, Is there a way to force a kernel panic in RHEL 5.4 in such a way that the machine reboots after the panic. Thanks, Kanna (1 Reply)
Discussion started by: kanna_geekworkz
1 Replies

5. Solaris

Qlogic HBA + Veritas - Part 2

Hi all, New to the world of SAN, so forgive me for any ambigious terminology. I have a sun 6800 chassis with two domains, both domains connected to a San ancor sanbox ( 2 x Storeedge T3 / Mcdata switch ). Current Qlogic HBA's are 1Gb glc adaptors, version of qlc drivers... (1 Reply)
Discussion started by: sbk1972
1 Replies

6. UNIX for Advanced & Expert Users

compile a new kernel in RHEL 5

Hi all, I need some help in compiling a new kernel. I am using RHEL 5 with kernel version 2.6.18. I have downloaded a kernel from link http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.6.tar.bz2 1. cd /usr/src 2. wget -c http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2 3.... (1 Reply)
Discussion started by: vikas027
1 Replies

7. Solaris

Qlogic 2300 and WWN display

hi all, I'm looking for a command to display the WWN of my 2 HBAs cards installed on my Solaris 8 server. I have installed HP securepath for multipathing but I can only see the controllers info of my SAN with spmgr display command. Any ideas ? Thanks a lot. Fabien (10 Replies)
Discussion started by: unclefab
10 Replies

8. UNIX for Dummies Questions & Answers

Kernel panic - not syncing == While RHEL AS install

I am trying to Install RHEL AS 4 on x86 pc, through VNC and got the below error, Am not pretty sure as how to resolve this. Can some one guide me through the process, or what might be missing.... Have Installed RHEL, many a times but cudnt find this out... Wud appreciate an early reply ......... (0 Replies)
Discussion started by: Crazy_murli
0 Replies
Login or Register to Ask a Question