LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-16-2018, 07:02 AM   #1
umma
LQ Newbie
 
Registered: Jul 2018
Posts: 2

Rep: Reputation: Disabled
CentOS7_Error: Unable to find kernel source code directory


i'm trying to install ATTO H380 SAS HBA Drivers in CentOS7. but i'm getting Error: Unable to find kernel source code directory. i can not found the exact problem and i not able to resolve this problem.
following is the error message when in run ./install.sh :-
""[root@server lnx_drv_esashba_131]# ./install

ATTO Technology, Inc.
Linux Driver Install Script v2.1

Error: Unable to find kernel source code directory

Kernel source code was expected in /lib/modules/4.17.6-1.el7.elrepo.x86_64/build

If the kernel source code is installed in a different
location, build the driver manually from the src/
directory specifying the correct kernel source directory
on the make command line with the KDIR variable, eg:

# make install KDIR=/usr/src/kernel

Press any key to finish... ""

request you to help in this issue. i'm facing this problem since last 3days. but no one help me in this...

thanks
Umma Reddy
 
Old 07-16-2018, 08:11 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
did you try to install kernel sources?
 
Old 07-16-2018, 08:41 AM   #3
umma
LQ Newbie
 
Registered: Jul 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
did you try to install kernel sources?
Yes i installed Kernal with latest one. but still the same problem is coming.
 
Old 07-17-2018, 12:50 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,804

Rep: Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306Reputation: 7306
not kernel, but kernel sources. That is a different thing.
https://wiki.centos.org/HowTos/I_need_the_Kernel_Source
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where can i find linux kernel source code ? etika Linux - Newbie 4 04-14-2011 11:56 AM
facing problem in kernel debugging(not able to find source code) through lauterbach vrsonu Linux - Mobile 0 04-14-2009 05:34 AM
Reload this Page Where is the kernel module source code directory? Unregistered Slackware 1 10-13-2007 10:06 PM
Cannot find kernel source directory in Sarge knuhe Debian 12 05-25-2006 05:41 PM
Unable To Find Slack 9.0 Kernel Source shannonharvey Slackware 5 04-01-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:00 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