- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Reinstalling lpfc driver on RHEL 2.1AS with ke...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 01:52 AM
тАО06-04-2007 01:52 AM
Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
2.4.9-e.62enterprise #1 SMP Fri Apr 8 18:46:17 EDT 2005 i686 unknown
I was in the process of upgrading kernel from 2.4.9-e.62enterprise to 2.4.9-e.71smp.
2.4.9-e.71smp does not have the driver built in to it.
lpfc_2.4_driver_kit-7.1.14-4]# ./lpfc-install
Emulex LPFC Driver Installer Version 1.4.1.10
Determining distribution type and kernel version ...
Checking for old Emulex driver ...
Looking for kernel source ...
Looking for compilers ...
RPM cannot be installed: kernel source package is required.
./lpfc-install was unable to successfully build and load a driver.
Please install the appropriate kernel source code and then re-run ./lpfc-install
Does any one has any suggetion other than updating kernel-sorce
#rpm -qa|grep kernel-source
kernel-source-2.4.9-e.71
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 02:40 AM
тАО06-04-2007 02:40 AM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
Suppose that you install the packages without the kernel source using "--nodeps", but, problably, the kernel source is needed because the module must be recompiled, so, that won't help.
The module could be compiled against the current source installed but I think that is not recommended, and you will have less work to do if you just install the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 06:01 AM
тАО06-04-2007 06:01 AM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
Do you mean to reinstall the exixsting kernel source?
what is really want here is upgrade my lpfc driver from lpfcdriver-7.1.14-4 to 7.3.6.
I dont want just to switch to 7.3.6 without confirming that i will be able to reinstall my existing driver if required (as a fail back option).
Here i have to consider the kernel upgrae(which cause me a power path reinstallation;recommended) and lpfc driver upgrade.If all of them are done properly then only i will be able to bring up databases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 06:56 AM
тАО06-04-2007 06:56 AM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
Yes. That was just a supposition.
>>> Do you mean to reinstall the existing kernel source?
No. Is not the current kernel source what you need. You need the kernel source for the new kernel (2.4.9-e.71)
>>> what is really want here is upgrade my lpfc driver from lpfcdriver-7.1.14-4 to 7.3.6.
Ok.
>>> I dont want just to switch to 7.3.6 without confirming that i will be able to reinstall my existing driver if required (as a fail back option).
If you installed a new kernel, and you install the modules for the new kernel, the old kernel and modules for lpfc should still be available to boot from if you have a problem. That is, if you used rpm -ivh instead of rpm -Uvh to install the kernel package.
>>> Here i have to consider the kernel upgrae(which cause me a power path reinstallation;recommended) and lpfc driver upgrade.If all of them are done properly then only i will be able to bring up databases.
To doulbe ensure, take a backup of /lib/modules and /boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 08:28 AM
тАО06-04-2007 08:28 AM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
#rpm -qa|grep kernel-source
kernel-source-2.4.9-e.71 .
I still have a doubt is that the respective one for kernel 2.4.9-e.71smp.As u mentioned , am i have wrong kernel source here?
we always do rpm -ivh .So i could roll back to old kernel when the lpfc install failed.
I have to suffer a lot to mount those file system back as the power path reinstallation causes the device files for the stoage disks to be changed.being a AS 2.1 server i dont have VG/LVM supported/created here. I never checked why AS 2.1 does not supports LVM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2007 10:24 AM
тАО06-04-2007 10:24 AM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
What I would check is the /usr/src/linux directory, if this file is a link to the 2.4.9-e.71 kernel sources.
If that exists, I would verify if a .config file exists, maybe the installer is checking for something of that. You can create a .config with make oldconfig or copying from /boot if exists.
If not, then the installer is dummy and checking a source with "smp" name in the package. In that case, I would manually compile the kernel using the same "SMP" .config file, but changin the "EXTRAVERSION" in the Makefile to remove the smp word, so the installer will find an SMP kernel without the smp extraversion and a "source package" that corresponds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2007 02:09 PM
тАО06-05-2007 02:09 PM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
# ls -lrt /usr/src
total 16
drwxr-xr-x 7 root root 4096 Feb 28 2005 redhat
drwxr-xr-x 3 root root 4096 Apr 7 2005 linux
lrwxrwxrwx 1 root root 16 Mar 25 01:10 linux-2.4 -> linux-2.4.9-e.71
drw-r--r-- 3 root root 4096 Apr 22 04:24 lpfc
drwxr-xr-x 17 root root 4096 Jun 5 22:00 linux-2.4.9-e.71
#cat /usr/src/linux-2.4.9e.71/Makefile|grep -i extra
EXTRAVERSION = -e.71custom
I dont see any smp string here.it looks like what i currently points to is not an smp verison.
#rpm -qa|grep -i kernel|grep 2.4.9-e.71
kernel-smp-2.4.9-e.71(org smp)
kernel-2.4.9-e.71(whihc is this one?;some custom verision)
kernel-enterprise-2.4.9-e.71(enterprise)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2007 02:57 PM
тАО06-05-2007 02:57 PM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
cd /usr/src
mv linux linux.bak
ln -s linux-2.4.9-e.71 linux
Edit the Makefile and set:
EXTRAVERSION = -e.71smp
Then:
cp .config config-bak
make oldconfig
And try your installation again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2007 08:22 PM
тАО06-05-2007 08:22 PM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
Normally the driver installation packages try to install the driver for your *current* kernel version (=whatever is reported by uname -r) unless you specify otherwise. As you have already updated kernel-source, the lpfc-install can no longer find the kernel source for version 2.4.9-e.62enterprise.
I don't have any RHEL 2.1 machine available, so I cannot really test this. But I downloaded the latest lpfc driver kit from www.emulex.com. Apparently the lpfc-install can compile the driver for the currently running kernel only.
(Stupid design, if you ask me.)
You could make a copy of the lpfc-install script and hack it a bit: change every location that says "$(uname -r)" to "2.4.9-e.71smp". By my quick browse through the lpfc-install script, it seems that would be enough to make the modified script install the driver for the new kernel before you actually reboot and start using the new kernel.
After rebooting to 2.4.9-e.71smp, the unmodified lpfc-install script should work just fine.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2007 01:07 AM
тАО06-06-2007 01:07 AM
Re: Reinstalling lpfc driver on RHEL 2.1AS with kernel 2.4.9-e.62enterprise
I dont have any .config file currently.
I see following files under /usr/src/linux-2.4.9-e.71/configs
-rw-r--r-- 1 root root 37266 Nov 23 2006 kernel-2.4.9-athlon.config
-rw-r--r-- 1 root root 37334 Nov 23 2006 kernel-2.4.9-athlon-smp.config
-rw-r--r-- 1 root root 46552 Nov 23 2006 kernel-2.4.9-i386-BOOT.config
-rw-r--r-- 1 root root 37423 Nov 23 2006 kernel-2.4.9-i386.config
-rw-r--r-- 1 root root 37363 Nov 23 2006 kernel-2.4.9-i386-smp.config
-rw-r--r-- 1 root root 37393 Nov 23 2006 kernel-2.4.9-i586.config
-rw-r--r-- 1 root root 37333 Nov 23 2006 kernel-2.4.9-i586-smp.config
-rw-r--r-- 1 root root 37422 Nov 23 2006 kernel-2.4.9-i686.config
-rw-r--r-- 1 root root 37861 Nov 23 2006 kernel-2.4.9-i686-debug.config
-rw-r--r-- 1 root root 37525 Nov 23 2006 kernel-2.4.9-i686-enterprise.config
-rw-r--r-- 1 root root 37425 Nov 23 2006 kernel-2.4.9-i686-smp.config
-rw-r--r-- 1 root root 38567 Nov 23 2006 kernel-2.4.9-i686-summit.config
MK,
Are you trying to compile the lpfc driver *after* updating the kernel packages to -e.71smp but *before* rebooting to the new
kernel?
I did update kernel package and made sure the server is coming up after with new kernel. I have commented the file system from SAN in /etc/fstab as it wont get recognised till i reinstall the power path module (EMCpower.LINUX-3.0.5-032).
Normally the driver installation packages try to install the driver for your *current* kernel version (=whatever is reported
by uname -r) unless you specify otherwise. As you have already updated kernel-source, the lpfc-install can no longer find the
kernel source for version 2.4.9-e.62enterprise.?
Here i was trying the driver installation with the new kernel(2.4.9-e.71smp) only
I don't have any RHEL 2.1 machine available, so I cannot really test this. But I downloaded the latest lpfc driver kit from
www.emulex.com. Apparently the lpfc-install can compile the driver for the currently running kernel only.
(Stupid design, if you ask me.)
OK.That is what i tried.