LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2008, 12:20 PM   #1
Dennisliu
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Rep: Reputation: 0
rpm -ihv hp_qla2x00src-8.01.07.25-1.linux.rpm during Qlogic driver installation


#rpm -ihv hp_qla2x00src-8.01.07.25-1.linux.rpm
Preparing... ########################################### [100%]
kernel-devel package is installed
1:hp_qla2x00src ########################################### [100%]
No driver loaded, using failover mode
Writing new /etc/hp_qla2x00.conf...done
Copying /opt/hp/src/hp_qla2x00src/libqlsdm-ia32.so to /usr/lib/libqlsdm.so
Copying /opt/hp/src/hp_qla2x00src/libqlsdm-x86_64.so to /usr/lib64/libqlsdm-x86_64.so
Adding line for libqlsdm.so to /etc/hba.conf
Adding line for libqlsdm-x86_64.so to /etc/hba.conf
Kernel modules directory: /lib/modules/2.6.18-8.el5/kernel/drivers/scsi/qla2xxx
Kernel build directory: /lib/modules/2.6.18-8.el5/build
Cannot find /lib/modules/2.6.18-8.el5/build

Driver build unsuccessful
Creating initial kernel inventory for smart_compile

Making symbolic link from /opt/hp/src/hp_qla2x00src/master.sh to /usr/sbin/hp_compile_qldriver
qla2x00 driver source can be found in /opt/hp/src/hp_qla2x00src



the above error message is during HP Qlogic driver installation, we have HP DL386 server, Redhat 5. is it known issue?

Thanks
Dennis
 
Old 09-10-2008, 12:57 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Cannot find /lib/modules/2.6.18-8.el5/build
That means that you have to install the kernel sources for your exact kernel version (it should be 2.6.18-8.el5), prior installing device drivers.
 
Old 09-10-2008, 01:45 PM   #3
Dennisliu
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
That means that you have to install the kernel sources for your exact kernel version (it should be 2.6.18-8.el5), prior installing device drivers.

Thanks a lot Bathory, how to list what version available for download, for example I want to download kernel-devel for kernel -2.6.9-55 but I don't know what's the exact name? when I update #up2date kernel-devel it download and install
-2.6.9-78
by default, not -2.6.9-55.


Thanks
Dennis
 
Old 09-10-2008, 02:00 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Running
Code:
uname -r
rpm -qa|grep kernel
should tell you the version of the installed kernel. The kernel source/headers rpm are in the installation media and you can install them from there. If you want a 2.6.9-xx kernel then use the latest one provided by up2date since it solve various problems.

Last edited by bathory; 09-10-2008 at 02:07 PM.
 
Old 09-10-2008, 02:25 PM   #5
Dennisliu
LQ Newbie
 
Registered: Sep 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
Running
Code:
uname -r
rpm -qa|grep kernel
should tell you the version of the installed kernel. The kernel source/headers rpm are in the installation media and you can install them from there. If you want a 2.6.9-xx kernel then use the latest one provided by up2date since it solve various problems.
Thanks, as below you can see my Redhat is

2.6.9-55.ELsmp

when I tried to run up2date Redhat website only show me 2.6.9-78.0.1.EL.x86_64, how can I force it to show me what kernel pacakge available for the version 2.6.9-55.ELsmp?



#up2date --show-available |grep kernel
kernel-2.6.9-78.0.1.EL.x86_64
kernel-doc-2.6.9-78.0.1.EL.noarch
kernel-hugemem-devel-2.6.9-5.EL.i686
kernel-ib-1.0-1.x86_64
kernel-smp-devel-2.6.9-78.0.1.EL.x86_64
kernel-xenU-2.6.9-78.0.1.EL.x86_64
kernel-xenU-devel-2.6.9-78.0.1.EL.x86_64
#uname -r
2.6.9-55.ELsmp
 
Old 09-10-2008, 05:08 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Thanks, as below you can see my Redhat is
2.6.9-55.ELsmp
Then you have RHEL4 and not RHEL5 as you mentioned in your 1st post.
Anyway if 2.6.9-55.ELsmp is the default kernel that comes with your distro read this to see ow you can install it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosed my rpm installation (i.e. "rpm -e rpm") Mad Scientist Fedora 6 03-02-2007 12:42 AM
ATi driver not working SuSE RPM installation errors DragonMaster Linux - Hardware 0 06-17-2006 09:26 AM
Qlogic qla2300 driver installation problem hohogood2 Red Hat 0 08-30-2005 02:34 AM
[Redhat9.0] RPM-driver installation problems...failed dependencies Patrique Linux - Software 2 05-30-2004 08:59 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration