The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DKMS 2.0.19 (Default branch) iBot Software Releases - RSS News 0 03-25-2008 06:30 PM
compile a new kernel in RHEL 5 vikas027 UNIX for Advanced & Expert Users 1 02-05-2008 02:14 AM
Difference between RHEL 3 AND RHEL 4 sakthi_13 Linux 2 09-11-2007 04:51 AM
Qlogic 2300 and WWN display unclefab SUN Solaris 10 03-14-2007 01:30 PM
Kernel panic - not syncing == While RHEL AS install Crazy_murli UNIX for Dummies Questions & Answers 0 07-21-2006 03:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-13-2008
Registered User
 

Join Date: Dec 2007
Posts: 3
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.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0