Firstly, i appreciate you spend your time take a look of this message.
I am new in Linxu, especially Centos 5.5. For some reason, we have to use CentOS 5.5 to talk to our Array Server via SAS card. i found out the SAS card driver on internet which is fine. however, when i try to install it by typing command: 'make clean'. i am getting following error:
Kernel source is not installed
make: *** [kernelsrccheck] Error 1
I have dome some research on internet and people suggested to install kernel header and also kernel devel. i have installed all those, as well as gcc. but i am still getting this error.
the version of the linux i am using is: 2.6.18-194.el5
I found out: ftp://ftp.redhat.com/pub/redhat/linu...r/en/os/SRPMS/
this ftp has kernel source rpm which match up my version. i then downloaded, and installed by command: rpm -ivh kernel-2.6.18-194.el5.src.rpm
after i done all that, i am still getting the same error message.
below is my ls -la result:
[root@mnf-sales linuxrdac-09.03.0C05.0504]# ls -la /usr/src
drwxr-xr-x 5 root root 4096 May 11 2011 .
drwxr-xr-x 14 root root 4096 May 8 09:49 ..
drwxr-xr-x 2 root root 4096 May 11 2011 debug
drwxr-xr-x 4 root root 4096 May 8 10:13 kernels
drwxr-xr-x 7 root root 4096 May 8 09:33 redhat
[root@mnf-sales linuxrdac-09.03.0C05.0504]# ls -la /usr/src/kernels
drwxr-xr-x 4 root root 4096 May 8 10:13 .
drwxr-xr-x 5 root root 4096 May 11 2011 ..
drwxr-xr-x 19 root root 4096 May 8 09:54 2.6.18-308.4.1.el5-x86_64
drwxr-xr-x 19 root root 4096 May 8 10:13 2.6.18-308.4.1.el5-xen-x86_64
lrwxrwxrwx 1 root root 29 May 8 10:13 2.6.18-308.4.1.el5xen-x86_64 -> 2.6.18-308.4.1.el5-xen-x86_64
Thank you for your help.