SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 21 Feb 2014 03:40:55 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (542 lines)
On 2014/02/21 01:31, David Sommerseth wrote:
> On 20/02/14 13:38, jdow wrote:
>> On 2014/02/20 03:21, David Sommerseth wrote:
>>> On 19/02/14 15:08, jdow wrote:
>>>> On 2014/02/19 01:59, Akemi Yagi wrote:
>>>>> On Tue, Feb 18, 2014 at 9:29 PM, jdow <[log in to unmask]> wrote:
>>>>>> What happened to it? It's really hard to get VirtualBox clients to
>>>>>> work
>>>>>> without
>>>>>> OpenGL when you want to use the extra features. They won't compile
>>>>>> because
>>>>>> OpenGL seems to be missing. And I don't find it in the usual suspect
>>>>>> repos.
>>>>>
>>>>> This is a known issue. You can find a workaround here:
>>>>>
>>>>> https://forums.virtualbox.org/viewtopic.php?f=3&t=58855
>>>>>
>>>>> This and some more useful info are in this CentOS wiki:
>>>>>
>>>>> http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
>>>>>
>>>>> Akemi
>>>>>
>>>>
>>>> Thanks Akemi. I did discover where the ghc_OpenGL files were. Here's the
>>>> story.
>>>> There is a missing kernel file and perhaps a problem in the kernel
>>>> source.
>>>>
>>>> Trying to install the virtual box extensions I ran across a misleading
>>>> error message about OpenGL not compiling. The machine I tried it on
>>>> first
>>>> had OpenGL missing. I finally figured out it had never been configued
>>>> for
>>>> epel. Half the problem was solved. But I got the same error. I traced
>>>> back
>>>> to the build error:
>>>>
>>>> echo;                                                           \
>>>>           echo "  ERROR: Kernel configuration is
>>>> invalid.";               \
>>>>           echo "         include/linux/autoconf.h or
>>>> include/config/auto.conf are missing.";      \
>>>>           echo "         Run 'make oldconfig && make prepare' on kernel
>>>> src to fix it.";  \
>>>>
>>>> So to save time I went looking for the kernel source and attempted
>>>> make oldconfig and make prepare. The latter failed. I am either missing
>>>> something interesting or the kernel source is missing something
>>>> interesting.
>>>>
>>>> [jdow@sl6 2.6.32-431.5.1.el6.x86_64]$ sudo make oldconfig
>>>> scripts/kconfig/conf -o arch/x86/Kconfig
>>>> #
>>>> # configuration written to .config
>>>> #
>>>> [jdow@sl6 2.6.32-431.5.1.el6.x86_64]$ sudo make prepare
>>>> scripts/kconfig/conf -s arch/x86/Kconfig
>>>>     CHK     include/linux/version.h
>>>>     CHK     include/linux/utsrelease.h
>>>>     SYMLINK include/asm -> include/asm-x86
>>>> make[1]: *** No rule to make target `missing-syscalls'.  Stop.
>>>> make: *** [prepare0] Error 2
>>>> [jdow@sl6 2.6.32-431.5.1.el6.x86_64]$
>>>>
>>>>
>>>> So there may be two bugs here.
>>>>
>>>> First the kernel-devel includes do not have the autoconf file.
>>>>
>>>> Second trying to make prepare fails. (So does trying a subsequent "make
>>>> clean".
>>>
>>> Do you have the kernel-devel package installed at all?  I'd try that
>>> before doing manual kernel builds.  I believe that
>>>
>>> And btw ... don't compile things as root (unless explicitly told to by
>>> documentation).  That can completely mess up things, even though the
>>> kernel is probably one of the more safer packages to build.  Doing 'make
>>> install', however, requires root privileges.  But wait for root access
>>> until this point.
>>
>> Kernel-devel is installed as are all the other required items. Somehow I
>> got
>> one of the two virtual machines to work. The other is still
>> semi-unhappy. The
>> 3D stuff won't compile, still.
>>
>> The information Akemi posted is what guided me towards the solution.
>>
>> Re actually compiling the kernel I'm a tad reluctant to do that. But going
>> through make prep is no problem. The process has changed a little since the
>> last time I compiled a kernel to make sure a driver I wanted was installed.
>> I even contributed the fixes to the kernel that made the driver work right,
>> since I was the one of the designers for the data the driver had to parse
>> in order to work right.
>
> Well, then I'm surprised ...
>
> # yum whatprovides "*/include/linux/autoconf.h"
> ...snip...
>
> kernel-debug-devel-2.6.32-279.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.el6.x86_64 : Development package for building
> kernel modules to match the kernel
> Repo        : sl
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.2.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-fastbugs
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.2.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.2.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-fastbugs
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.2.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.5.2.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-fastbugs
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.5.2.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.5.2.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-fastbugs
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.5.2.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.2.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.2.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.0.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.0.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.9.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.9.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.14.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.14.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.9.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.9.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.22.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.22.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.22.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.22.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.6.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.6.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.2.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.2.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.5.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.5.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.19.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.19.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.14.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.14.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.11.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.11.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.11.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.11.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.el6.x86_64 : Development package for building
> kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-431.1.2.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-431.1.2.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.6.2.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.6.2.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.11.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.11.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.11.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.11.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.6.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.6.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.23.2.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.23.2.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.14.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.14.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.19.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.19.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.14.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.14.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.1.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.1.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-431.el6.x86_64 : Development package for building
> kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-431.1.2.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-431.1.2.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-431.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-431.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.23.2.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.23.2.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.6.2.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.6.2.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-431.5.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-431.5.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-279.1.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.1.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.0.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.0.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-431.5.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-431.5.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-debug-devel-2.6.32-358.18.1.el6.x86_64 : Development package for
> building kernel modules to match the debug kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.18.1.el6.x86_64.debug/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-279.5.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-279.5.1.el6.x86_64/include/linux/autoconf.h
>
>
>
> kernel-devel-2.6.32-358.18.1.el6.x86_64 : Development package for
> building kernel modules to match the kernel
> Repo        : sl-security
> Matched from:
> Filename    :
> /usr/src/kernels/2.6.32-358.18.1.el6.x86_64/include/linux/autoconf.h
>
>
> Maybe a wrong include path?
>
>
> --
> kind regards,
>
> David Sommerseth

OK:
[jdow@me2 ~]$ rpm -q kernel-devel
kernel-devel-2.6.32-358.14.1.el6.x86_64
kernel-devel-2.6.32-431.1.2.el6.x86_64
kernel-devel-2.6.32-431.5.1.el6.x86_64

[jdow@me2 ~]$ ls /usr/include/linux/auto*
/usr/include/linux/auto_fs4.h  /usr/include/linux/auto_fs.h

It is in /usr/src/2.6.32-431.5.1.el6.x86_64... But that does not seem to
be on the build path. A link might fix it. Some DRM stuff needed linking,
too.

What can I say?

But, that's only a small problem. The build can, apparently, work around
that with dkms installed. So it's installed on both VMs. (They started out
as the same VM some time ago. One is on the laptop and the other on my main
machine.)

I have to sort out why the script fails to find the kernel development
material. That is probably an Oracle bug, at a guess. But then I need to
figure out what the difference between the two machines is simply because
I don't like unexplained fixes. Somehow I got one to work. I think I did
the same "stuff" to the other. But apparently not. It's puzzling.

I'm not sure why /usr/include/linux is not overridden with a link to the
kernel-devel include files. That seems like a logical thing to do. Otherwise
why have kernel-devel installed at all if it's not automatically placed
on search paths?

(If I get frustrated enough I'll simply copy over the one that works,
rename it (again) and live with it. It's only a test environment.)

{^_^}

ATOM RSS1 RSS2