Re: Missing Makefile in /lib/modules/2.6.18-128.el5/build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I'm following instruction at
> > http://h50146.www5.hp.com/products/software/oe/linux/mainstream/support/doc/option/fibre/pdfs/c00169487-2005may.pdf
> > to install QLogic HBA driver on RHEL 5.3. But running the wrapper script INSTALL or its underlined script build_driver.rh or master.sh or directly run `rpm -ivh hp_qla2x00src-8.02.11-1.linux.noarch.rpm' all throw errors:
> >
> > [snipped]
> > Building FC driver modules...
> >
> > make clean
> > make: Entering directory `/lib/modules/2.6.18-128.el5/kernel'
> > make: Leaving directory `/lib/modules/2.6.18-128.el5/kernel'
> >
> > Make clean failed!
> >
> > Driver build unsuccessful
> > [snipped]
> >
> > Reading build_driver.rh, I notice the make command needs Makefile under /lib/modules/2.6.18-128.el5/build, which is a link to /lib/modules/2.6.18-128.el5/kernel. But that file doesn't exist:
> >
> > # ls /lib/modules/2.6.18-128.el5/kernel
> > arch  crypto  drivers  fs  kernel  lib  net  sound
> >
> > I checked another RHEL 5.3 box. It's the same. (I guess make clean in build_driver.rh can be ignored, but there's a make modules right below it, so hacking build_driver.rh is not a solution.) Thanks for any help.
> >
> 
> Have you the right kernel sources under /usr/src/kernels ?

I think I do.

$ pwd
/usr/src/kernels
$ ll
total 4
drwxr-xr-x 19 root root 4096 Feb 10 09:28 2.6.18-128.el5-x86_64
$ rpm -qa | grep kernel
kernel-2.6.18-92.el5
kernel-2.6.18-128.el5
kernel-headers-2.6.18-128.el5
kernel-devel-2.6.18-128.el5

But we gave up on that. What we really wanted is to have the shared storage, HP MSA1000 StorageWorks, visible to two nodes. We found the special RJ45Z cable for MSA1000 and connected to it from console and upgraded firmware. That took care of the storage problem. QLogic driver? I'm not sure if it's relevant any more. Thank you.

Yong Huang


      

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux