GithubHelp home page GithubHelp logo

Not able to install LIS on RHEL 6.X about lis-next HOT 5 CLOSED

lis avatar lis commented on September 15, 2024
Not able to install LIS on RHEL 6.X

from lis-next.

Comments (5)

nickme avatar nickme commented on September 15, 2024

Hi there,

Thank you for the report. The RHEL 6.6 release includes the 2.6.32-504 kernel. The problem statement in the original email shows the path as:
/lib/modules/2632-504el6x86_64/build
Also, uname is returning:
2632-504el6x86_64

The periods are missing. It should be:
/lib/modules/2.6.32-504.el6.x86_64
and uname should be returning:
2.6.32-504.el6.x86_64

As a quick test, I used an existing 6.6 x64 VM I had on a test server. ‘uname -r’ does return ‘2.6.32-504.el6.x86_64’. Building LIS was successful.

Questions:
Did someone rebuild the kernel and modify the kernel version string?

    Look in the /lib/modules/ directory.  Is there a directory named 2.6.32-504.el6.x86_64?
            If yes, you can try renaming it to 2632-504el6x86_64, but I believe you will run into other issues.
            Removing the periods from the version string could break some macros used in building.

Hope this helps,

-Nick Meier
Microsoft Linux Integrated Services team.

From: vinodkumar88 [mailto:[email protected]]
Sent: Monday, January 18, 2016 12:51 AM
To: LIS/lis-next [email protected]
Subject: [lis-next] Not able to install LIS on RHEL 6.X (#51)

Hi,

Please help us we are not able to install this LIS on RHEL6x x86_64

]# /rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2632-504el6x86_64/build: No such file or directory Stop
]#
]# make -C /lib/modules/$(uname -r)/build M=pwd clean
make: *** /lib/modules/2632-504el6x86_64/build: No such file or directory Stop
]#

]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 66 (Santiago)
]#
]# uname -r
2632-504el6x86_64
]#


Reply to this email directly or view it on GitHubhttps://github.com//issues/51.

from lis-next.

vinodkumar88 avatar vinodkumar88 commented on September 15, 2024

Thanks Nick, for the update.

This is My fresh new build OS and there is no any changes with kernel and
OS.

Kernel version is 2.6.32-504.el6.x86_64 (default came with RHEL 6.6 x86_64)

/lib/modules/2.6.32-504.el6.x86_64/build file is present in the operating
system (OS) and this is pointing to the file
/usr/src/kernels/2.6.32-504.el6.x86_64 which is not present.

Please check below command for better understanding.

[root@indusdracmsdb1 hv]# ./rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2.6.32-504.el6.x86_64/build: No such file or
directory. Stop.
[root@indusdracmsdb1 hv]#
[root@indusdracmsdb1 hv]# ls -l /lib/modules/2.6.32-504.el6.x86_64/build
lrwxrwxrwx. 1 root root 46 Mar 5 2015
/lib/modules/2.6.32-504.el6.x86_64/build ->
../../../usr/src/kernels/2.6.32-504.el6.x86_64
[root@indusdracmsdb1 hv]#
[root@indusdracmsdb1 hv]# ls -la /usr/src/kernels/
total 8
drwxr-xr-x. 2 root root 4096 Nov 1 2011 .
drwxr-xr-x. 4 root root 4096 Mar 5 2015 ..
[root@indusdracmsdb1 hv]#

I just want to say that /usr/src/kernels does not have any file or
directory with the name of kernel version i.e. 2.6.32-504.el6.x86_64

I am also facing same issue with RHEL 6.4 and 6.7

Thanks
Vinod Kumar

On Tue, Jan 19, 2016 at 9:33 PM, Nick Meier [email protected]
wrote:

Hi there,

Thank you for the report. The RHEL 6.6 release includes the 2.6.32-504
kernel. The problem statement in the original email shows the path as:
/lib/modules/2632-504el6x86_64/build
Also, uname is returning:
2632-504el6x86_64

The periods are missing. It should be:
/lib/modules/2.6.32-504.el6.x86_64
and uname should be returning:
2.6.32-504.el6.x86_64

As a quick test, I used an existing 6.6 x64 VM I had on a test server.
‘uname -r’ does return ‘2.6.32-504.el6.x86_64’. Building LIS was
successful.

Questions:
Did someone rebuild the kernel and modify the kernel version string?

Look in the /lib/modules/ directory. Is there a directory named
2.6.32-504.el6.x86_64?
If yes, you can try renaming it to 2632-504el6x86_64, but I believe you
will run into other issues.
Removing the periods from the version string could break some macros used
in building.

Hope this helps,

-Nick Meier
Microsoft Linux Integrated Services team.

From: vinodkumar88 [mailto:[email protected]]
Sent: Monday, January 18, 2016 12:51 AM
To: LIS/lis-next [email protected]
Subject: [lis-next] Not able to install LIS on RHEL 6.X (#51)

Hi,

Please help us we are not able to install this LIS on RHEL6x x86_64

]# /rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2632-504el6x86_64/build: No such file or directory
Stop
]#
]# make -C /lib/modules/$(uname -r)/build M=pwd clean
make: *** /lib/modules/2632-504el6x86_64/build: No such file or directory
Stop
]#

]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 66 (Santiago)
]#
]# uname -r
2632-504el6x86_64
]#


Reply to this email directly or view it on GitHub<
https://github.com/LIS/lis-next/issues/51>.


Reply to this email directly or view it on GitHub
#51 (comment).

from lis-next.

nickme avatar nickme commented on September 15, 2024

Hi Vinod,

Great - that is progress. I believe the issue you are now running into is due to a package missing. I believe a group install of the Development Tools will install all the packages required to build kernel components. Try the following command, then give building LIS another try:

            yum groupinstall “Development Tools”

thanks,

-Nick

From: vinodkumar88 [mailto:[email protected]]
Sent: Tuesday, January 19, 2016 9:52 AM
To: LIS/lis-next [email protected]
Cc: Nick Meier [email protected]
Subject: Re: [lis-next] Not able to install LIS on RHEL 6.X (#51)

Thanks Nick, for the update.

This is My fresh new build OS and there is no any changes with kernel and
OS.

Kernel version is 2.6.32-504.el6.x86_64 (default came with RHEL 6.6 x86_64)

/lib/modules/2.6.32-504.el6.x86_64/build file is present in the operating
system (OS) and this is pointing to the file
/usr/src/kernels/2.6.32-504.el6.x86_64 which is not present.

Please check below command for better understanding.

[root@indusdracmsdb1 hv]# ./rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2.6.32-504.el6.x86_64/build: No such file or
directory. Stop.
[root@indusdracmsdb1 hv]#
[root@indusdracmsdb1 hv]# ls -l /lib/modules/2.6.32-504.el6.x86_64/build
lrwxrwxrwx. 1 root root 46 Mar 5 2015
/lib/modules/2.6.32-504.el6.x86_64/build ->
../../../usr/src/kernels/2.6.32-504.el6.x86_64
[root@indusdracmsdb1 hv]#
[root@indusdracmsdb1 hv]# ls -la /usr/src/kernels/
total 8
drwxr-xr-x. 2 root root 4096 Nov 1 2011 .
drwxr-xr-x. 4 root root 4096 Mar 5 2015 ..
[root@indusdracmsdb1 hv]#

I just want to say that /usr/src/kernels does not have any file or
directory with the name of kernel version i.e. 2.6.32-504.el6.x86_64

I am also facing same issue with RHEL 6.4 and 6.7

Thanks
Vinod Kumar

On Tue, Jan 19, 2016 at 9:33 PM, Nick Meier <[email protected]mailto:[email protected]>
wrote:

Hi there,

Thank you for the report. The RHEL 6.6 release includes the 2.6.32-504
kernel. The problem statement in the original email shows the path as:
/lib/modules/2632-504el6x86_64/build
Also, uname is returning:
2632-504el6x86_64

The periods are missing. It should be:
/lib/modules/2.6.32-504.el6.x86_64
and uname should be returning:
2.6.32-504.el6.x86_64

As a quick test, I used an existing 6.6 x64 VM I had on a test server.
‘uname -r’ does return ‘2.6.32-504.el6.x86_64’. Building LIS was
successful.

Questions:
Did someone rebuild the kernel and modify the kernel version string?

Look in the /lib/modules/ directory. Is there a directory named
2.6.32-504.el6.x86_64?
If yes, you can try renaming it to 2632-504el6x86_64, but I believe you
will run into other issues.
Removing the periods from the version string could break some macros used
in building.

Hope this helps,

-Nick Meier
Microsoft Linux Integrated Services team.

From: vinodkumar88 [mailto:[email protected]]
Sent: Monday, January 18, 2016 12:51 AM
To: LIS/lis-next <[email protected]mailto:[email protected]>
Subject: [lis-next] Not able to install LIS on RHEL 6.X (#51)

Hi,

Please help us we are not able to install this LIS on RHEL6x x86_64

]# /rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2632-504el6x86_64/build: No such file or directory
Stop
]#
]# make -C /lib/modules/$(uname -r)/build M=pwd clean
make: *** /lib/modules/2632-504el6x86_64/build: No such file or directory
Stop
]#

]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 66 (Santiago)
]#
]# uname -r
2632-504el6x86_64
]#


Reply to this email directly or view it on GitHub<
https://github.com/LIS/lis-next/issues/51>.


Reply to this email directly or view it on GitHub
#51 (comment).


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-172915175.

from lis-next.

vyadavmsft avatar vyadavmsft commented on September 15, 2024

You need to install kernel-devel package to build LIS from source.

yum install kernel-devel Or download it from ISO.

Thanks
Vivek

from lis-next.

vinodkumar88 avatar vinodkumar88 commented on September 15, 2024

Thank you very much NIck,

My issue has been solved and now LUN's are visible on Linux VM.

Thanks
Vinod Kumar
[email protected]

On Tue, Jan 19, 2016 at 10:39 PM, Nick Meier [email protected]
wrote:

Hi Vinod,

Great - that is progress. I believe the issue you are now running into is
due to a package missing. I believe a group install of the Development
Tools will install all the packages required to build kernel components.
Try the following command, then give building LIS another try:

yum groupinstall “Development Tools”

thanks,

-Nick

From: vinodkumar88 [mailto:[email protected]]
Sent: Tuesday, January 19, 2016 9:52 AM
To: LIS/lis-next [email protected]
Cc: Nick Meier [email protected]
Subject: Re: [lis-next] Not able to install LIS on RHEL 6.X (#51)

Thanks Nick, for the update.

This is My fresh new build OS and there is no any changes with kernel and
OS.

Kernel version is 2.6.32-504.el6.x86_64 (default came with RHEL 6.6
x86_64)

/lib/modules/2.6.32-504.el6.x86_64/build file is present in the operating
system (OS) and this is pointing to the file
/usr/src/kernels/2.6.32-504.el6.x86_64 which is not present.

Please check below command for better understanding.

[root@indusdracmsdb1 hv]# ./rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2.6.32-504.el6.x86_64/build: No such file or
directory. Stop.
[root@indusdracmsdb1 hv]#
[root@indusdracmsdb1 hv]# ls -l /lib/modules/2.6.32-504.el6.x86_64/build
lrwxrwxrwx. 1 root root 46 Mar 5 2015
/lib/modules/2.6.32-504.el6.x86_64/build ->
../../../usr/src/kernels/2.6.32-504.el6.x86_64
[root@indusdracmsdb1 hv]#
[root@indusdracmsdb1 hv]# ls -la /usr/src/kernels/
total 8
drwxr-xr-x. 2 root root 4096 Nov 1 2011 .
drwxr-xr-x. 4 root root 4096 Mar 5 2015 ..
[root@indusdracmsdb1 hv]#

I just want to say that /usr/src/kernels does not have any file or
directory with the name of kernel version i.e. 2.6.32-504.el6.x86_64

I am also facing same issue with RHEL 6.4 and 6.7

Thanks
Vinod Kumar

On Tue, Jan 19, 2016 at 9:33 PM, Nick Meier <[email protected]
mailto:[email protected]>
wrote:

Hi there,

Thank you for the report. The RHEL 6.6 release includes the 2.6.32-504
kernel. The problem statement in the original email shows the path as:
/lib/modules/2632-504el6x86_64/build
Also, uname is returning:
2632-504el6x86_64

The periods are missing. It should be:
/lib/modules/2.6.32-504.el6.x86_64
and uname should be returning:
2.6.32-504.el6.x86_64

As a quick test, I used an existing 6.6 x64 VM I had on a test server.
‘uname -r’ does return ‘2.6.32-504.el6.x86_64’. Building LIS was
successful.

Questions:
Did someone rebuild the kernel and modify the kernel version string?

Look in the /lib/modules/ directory. Is there a directory named
2.6.32-504.el6.x86_64?
If yes, you can try renaming it to 2632-504el6x86_64, but I believe you
will run into other issues.
Removing the periods from the version string could break some macros
used
in building.

Hope this helps,

-Nick Meier
Microsoft Linux Integrated Services team.

From: vinodkumar88 [mailto:[email protected]]
Sent: Monday, January 18, 2016 12:51 AM
To: LIS/lis-next <[email protected]<mailto:
[email protected]>>
Subject: [lis-next] Not able to install LIS on RHEL 6.X (#51)

Hi,

Please help us we are not able to install this LIS on RHEL6x x86_64

]# /rhel6-hv-driver-install
Building Modules
make: *** /lib/modules/2632-504el6x86_64/build: No such file or
directory
Stop
]#
]# make -C /lib/modules/$(uname -r)/build M=pwd clean
make: *** /lib/modules/2632-504el6x86_64/build: No such file or
directory
Stop
]#

]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 66 (Santiago)
]#
]# uname -r
2632-504el6x86_64
]#


Reply to this email directly or view it on GitHub<
https://github.com/LIS/lis-next/issues/51>.


Reply to this email directly or view it on GitHub
#51 (comment).


Reply to this email directly or view it on GitHub<
https://github.com/LIS/lis-next/issues/51#issuecomment-172915175>.


Reply to this email directly or view it on GitHub
#51 (comment).

from lis-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.