I am running the following kernel because the one installed with the new 13.1 DVD did not like the AMD video card.
linux-aa3c:/usr/src/linux # uname -aLinux linux-aa3c 3.11.6-1.gf7498bf-desktop #1 SMP PREEMPT Sat Oct 19 13:21:13 UTC 2013 (f7498bf) x86_64 x86_64 x86_64 GNU/Linux
I try to run virtualbox and get this error
linux-aa3c:~ # cat /var/log/vbox-install.logUninstalling modules from DKMS
removing old DKMS module vboxhost version 4.2.18
------------------------------
Deleting module version: 4.2.18
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.2.18/source ->
/usr/src/vboxhost-4.2.18
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:184: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /usr/src/linux modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
WARNING: Symbol version dump /usr/src/linux-3.11.6-4/Module.symvers
is missing; modules will have no dependencies and modversions.
make -f scripts/Makefile.build obj=/tmp/vbox.0
/tmp/vbox.0/Makefile:184: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.8/include -I/usr/src/linux-3.11.6-4/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-3.11.6-4/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.11.6-4/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.11.6-4/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mno-sse -mpreferred-stack-boundary=3 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/usr/src/linux/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
In file included from <command-line>:0:0:
/usr/src/linux-3.11.6-4/include/linux/kconfig.h:4:32: fatal error: generated/autoconf.h: No such file or directory
#include <generated/autoconf.h>
^
compilation terminated.
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
I run make oldconfig… as suggested and get the same error.
I have tried re-installing kernel source via yast.
I have tried installing “kernel-desktop-base” not sure what that is exactly but it mentions modules in the description. When I try this it wants to deinstall the desktop kernel???
Any ideas for what to do next?
Where do you have this kernel from?
You should find kernel-desktop-devel there as well, which is what I think you are missing.
I run make oldconfig… as suggested and get the same error.
Yeah, but did you run “make prepare” as well, as suggested?
I have tried installing “kernel-desktop-base” not sure what that is exactly but it mentions modules in the description. When I try this it wants to deinstall the desktop kernel???
DO NOT install kernel-desktop-base!
It is a stripped down version of kernel-desktop (that’s why zypper wants to deinstall that) with most of the drivers/modules missing.
Most likely you won’t be able to boot your system with that.
And why don’t you just try the virtualbox packages included in 13.1?
The virtualbox-host-kmp-desktop should work with your slightly older 3.11.6-1 kernel as well I think.
I had the kernel stable repo enabled in 12.3 and it was the last one that would work with my AMD 13.4 driver. I wonder if it was on the DVD too?
According to yast2, this is already installed. I could try a re-install.
Yeah, but did you run “make prepare” as well, as suggested?
Yes I did, that was the …implied part of thread.
DO NOT install kernel-desktop-base!
It is a stripped down version of kernel-desktop (that’s why zypper wants to deinstall that) with most of the drivers/modules missing.
Most likely you won’t be able to boot your system with that.
This is making sense now because It was installed by default with the upgrade and I had to slip back to another kernel and then remove it and reboot, maybe this has messed some things up.
And why don’t you just try the virtualbox packages included in 13.1?
The virtualbox-host-kmp-desktop should work with your slightly older 3.11.6-1 kernel as well I think.
I always just get it from Oracle and then re-compile modules when new kernel is installed. It has never failed in the past couple years.
Is your suggestion to install it anew via another source to correct this problem?
Well, AMD support for the 3.11.6 kernel still takes some time AFAIK.
Is your suggestion to install it anew via another source to correct this problem?
Yes.
The openSUSE packages contain a pre-compiled kernel module, so you don’t have to compile it yourself.
And 4.2.18 is included with openSUSE 13.1.
So just enter YaST->Software Management and install those packages:
virtualbox
virtualbox-qt
virtualbox-host-kmp-desktop
But uninstall the Oracle version first.
As I said, I’m not 100% sure that it works since you don’t use the standard kernel, but I think it will (your kernel is from the 3.11 series anyway).
If it doesn’t, you can always go back to the Oracle version again…
Of course not, but it doesn’t work now anyway, does it?
So if you succeed with the openSUSE packages it would be a win, if not you loose nothing, right?
You don’t have to uninstall your currently installed kernel headers of course.
Oh wait, I probably just need to add back the kernel stable repo and get the older src/headers/modules.
No. The kernel stable repo already contains kernel 3.12…
Apparently the makerpm-amd script has been fixed for 13.1 now, so you could try to install the latest fglrx Beta driver on 13.1 and update to the standard kernel.
That is good to know but I will probably just wait a while.
I did try this last week and the driver/build still failed, I wonder when the script was updated.
There are other issues as well because I am using Radeon HD6670 which is not supported by the new driver, I think I am to use AMD 13.4.
|The AMD Catalyst™ 13.11 Beta V6 Driver for Linux is compatible with the following AMD products.
|
[TABLE=“class: ms-rteTable-default, width: 100%”]
[TR]
[TD]AMD Desktop Product Family Compatibility||
|AMD Radeon™ R9 290 Series|AMD Radeon™ HD 7400 Series|
|AMD Radeon™ R9 280X|AMD Radeon™ HD 7300 Series |
|AMD Radeon™ R9 270X|AMD Radeon™ HD 7000 Series |
|AMD Radeon™ R7 260X|AMD Radeon™ HD 6900 Series |
|AMD Radeon™ R7 250|AMD Radeon™ HD 6800 Series |
|AMD Radeon™ R7 240|AMD Radeon™ HD 6700 Series |
|AMD Radeon™ HD 8900 Series|AMD Radeon™ HD 6600 Series|
Thanks Malcolm. I’m probably missing something obvious but I cannot see how the use of Sebastian’s script obviates the
absent kernel-headers dependency.
On a side-note, is it not feasible to have the proprietary AMD/NVIDIA repositories ready at the time of release? This
way, installers do not have worry about these problems by running post-install scripts along the lines of:
sh-4.2$ zypper ar -f http://geeko.ioda.net/mirror/amd-fglrx/openSUSE_13.1/ "amd"
…or…
sh-4.2$ zypper ar -f ftp://download.nvidia.com/opensuse/13.1/ "nvidia"
Thanks Malcolm. I’m probably missing something obvious but I cannot see
how the use of Sebastian’s script obviates the absent kernel-headers
dependency.
On a side-note, is it not feasible to have the proprietary AMD/NVIDIA
repositories ready at the time of release? This way, installers do not
have worry about these problems by running post-install scripts along
the lines of:
Hi
Running the script pulls in all the requires for creating/installing
the rpm and systemd rebuild service. The kernel headers are in the
kernel-devel-flavor packages AFAIK.
The AMD community one was being worked on and has been fixed…not bad
IMHO!
Ask Nvidia or AMD why they can’t have it ready in a proper repo?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Thanks Malcolm. For me the rpm generatated by the script fails to install properly.
Rebuild the fglrx kernel module ...
Used CPUs/Cores for compilation => 4 ]
********************************************************************************
* *
* Kernel: 3.11.6-4-desktop *
* Source: /lib/modules/3.11.6-4-desktop/build *
* Include: /lib/modules/3.11.6-4-desktop/source/include *
* *
********************************************************************************
file /lib/modules/3.11.6-4-desktop/source/include/../arch/x86/include/asm/compat.h says:COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
/usr/src/kernel-modules/fglrx/2.6.x /home/user/Downloads
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make: Entering directory `/usr/src/linux-3.11.6-4-obj/x86_64/desktop'
LD /usr/src/kernel-modules/fglrx/2.6.x/built-in.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_acpi.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_agp.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_debug.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_ioctl.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_io.o
In file included from /usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:198:0:
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetInitKerPte':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2636:5: note: in expansion of macro 'PGD_PRESENT'
PGD_PRESENT(pgd_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2639:5: note: in expansion of macro 'PUD_PRESENT'
PUD_PRESENT(pud_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2644:5: note: in expansion of macro 'PMD_PRESENT'
PMD_PRESENT(pmd_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageTableByVirtAddr':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2703:5: note: in expansion of macro 'PGD_PRESENT'
PGD_PRESENT(pgd_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2708:5: note: in expansion of macro 'PUD_PRESENT'
PUD_PRESENT(pud_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2714:5: note: in expansion of macro 'PMD_PRESENT'
PMD_PRESENT(pmd_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c: In function 'KCL_GetPageSizeByVirtAddr':
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:89:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2772:5: note: in expansion of macro 'PGD_PRESENT'
PGD_PRESENT(pgd_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:99:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2777:5: note: in expansion of macro 'PUD_PRESENT'
PUD_PRESENT(pud_p);
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.h:122:9: warning: return makes integer from pointer without a cast [enabled by default]
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
^
/usr/src/kernel-modules/fglrx/2.6.x/firegl_public.c:2783:5: note: in expansion of macro 'PMD_PRESENT'
PMD_PRESENT(pmd_p);
^
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_pci.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_str.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_iommu.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl.o
CC [M] /usr/src/kernel-modules/fglrx/2.6.x/kcl_wait.o
LD [M] /usr/src/kernel-modules/fglrx/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/kernel-modules/fglrx/2.6.x/fglrx.mod.o
LD [M] /usr/src/kernel-modules/fglrx/2.6.x/fglrx.ko
make: Leaving directory `/usr/src/linux-3.11.6-4-obj/x86_64/desktop'
make: Entering directory `/usr/src/linux-3.11.6-4-obj/x86_64/desktop'
INSTALL /usr/src/kernel-modules/fglrx/2.6.x/fglrx.ko
DEPMOD 3.11.6-4-desktop
make: Leaving directory `/usr/src/linux-3.11.6-4-obj/x86_64/desktop'
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
/home/user/Downloads
Calling 'depmod -a 3.11.6-4-desktop' this may take a while...
Summary report:
================================================================================
Kernel => 3.11.6-4-desktop
Detected => RPM package
Build => OK ]
Install => OK ]
OK ]
Check for activated fglrx rebuild init script ...
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
OK ]
Finish! Please restart your computer and have a lot of fun! ;-)
linuxpc:/home/user/Downloads #
On Wed 20 Nov 2013 06:06:02 PM CST, flymail wrote:
malcolmlewis;2599319 Wrote:
>
> Hi
> Running the script pulls in all the requires for creating/installing
> the rpm and systemd rebuild service. The kernel headers are in the
> kernel-devel-flavor packages AFAIK.
>
Thanks Malcolm. For me the rpm generatated by the script fails to
install properly.
OK ]
Finish! Please restart your computer and have a lot of fun!
Those are just warnings, reboot and enjoy…
malcolmlewis;2599319 Wrote:
>
> Ask Nvidia or AMD why they can’t have it ready in a proper repo?
>
Rhetorical question I guess.
Yup
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
Certainly. I was referring to the repeated instances of:
return PAGING_FAULT_SIGBUS_INT; /* Something bad happened; generate SIGBUS */ \
Of course the proof of the pudding is in the eating. Did the driver actually install correctly?
sh-4.2$ fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 155 (ATIFGLEXTENSION)
Minor opcode of failed request: 66 ()
Serial number of failed request: 13
Current serial number in output stream: 13
sh-4.2$
Cigar. Absence. Of.
I attributed the failed driver installation to the repeated instances of `Something bad happened’. Perhaps I’m wrong.
But installation of the propietary AMD drivers on openSUSE 13.1 appears to be a mess and it would be good to hear from
anyone who has actually succeeded.
On Wed 20 Nov 2013 06:38:15 PM CST, flymail wrote:
I attributed the failed driver installation to the repeated instances
of `Something bad happened’. Perhaps I’m wrong. But installation of the
propietary AMD drivers on openSUSE 13.1 appears to be a mess and it
would be good to hear from anyone who has actually succeeded.
Hi
I succeeded without issues with my HD7340 GPU, wonder if it is card
related?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
On 2013-11-20, malcolmlewis <malcolmlewis@no-mx.forums.opensuse.org> wrote:
> Hi
> I succeeded without issues with my HD7340 GPU, wonder if it is card
> related?
I hope not. It’s definitely not obsolete (HD7990), and installed fine on openSUSE 12.3 with the 13.8 Beta driver.