VirtualBox problem with UEFI kernel
VirtualBox problem with UEFI kernel
Hi, I am trying to use Virtualbox on Porteus v2.1 with uefi-kernel. I have built virtualbox module . When I start vm, virtual box crashes. I get an error like that: http://zarelli.files.wordpress.com/2011/02/vmissue2.png
What might be the problem? I have built module two times, but did not work.
What might be the problem? I have built module two times, but did not work.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: VirtualBox problem with UEFI kernel
Please download this file.
Replace the file in /opt/porteus-scripts/gtk-easy-build
If you receive the same error report back. The kernel module is not being built/started.
Replace the file in /opt/porteus-scripts/gtk-easy-build
If you receive the same error report back. The kernel module is not being built/started.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
Re: VirtualBox problem with UEFI kernel
Is this the same script here: http://forum.porteus.org/viewtopic.php? ... 033#p21300? If yes, I have tried it but it did not work.brokenman wrote:Please download this file.
Replace the file in /opt/porteus-scripts/gtk-easy-build
If you receive the same error report back. The kernel module is not being built/started.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: VirtualBox problem with UEFI kernel
since you are using custom kernel - did you make correct symlinks in /lib/modules/`uname -r`/build and /lib/modules/`uname -r`/source pointing to your custom kernel headers?
please upload your Vbox module somewhere.
please upload your Vbox module somewhere.
Please add [Solved] to your thread title if the solution was found.
Re: VirtualBox problem with UEFI kernel
Hi fanthom, No I did not change anyting in the uefi-kernel module.fanthom wrote:since you are using custom kernel - did you make correct symlinks in /lib/modules/`uname -r`/build and /lib/modules/`uname -r`/source pointing to your custom kernel headers?
please upload your Vbox module somewhere.
You can download the virtualbox module from http://rapidshare.com/share/9921B9C8FF9 ... 3F59210A94
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: VirtualBox problem with UEFI kernel
this VirtualBox is compiled against '3.11.4-porteus' kernel and we never shipped such version so you must be using a custom kernel.
anyway - this module looks ok to me but you must be booting with 3.11.4-porteus kernel and not any other. please put it into /porteus/modules and after reboot run 'lsmod' command to check if vboxdrv kernel module is loaded. if not then run following commands manually:
and look for error messages.
if you wont be able to solve this issue yourself then please link raport generated by 'xpsinfo' utility.
anyway - this module looks ok to me but you must be booting with 3.11.4-porteus kernel and not any other. please put it into /porteus/modules and after reboot run 'lsmod' command to check if vboxdrv kernel module is loaded. if not then run following commands manually:
Code: Select all
/sbin/modprobe vboxdrv
/sbin/modprobe vboxnetadp
/sbin/modprobe vboxnetflt
if you wont be able to solve this issue yourself then please link raport generated by 'xpsinfo' utility.
Please add [Solved] to your thread title if the solution was found.
Re: VirtualBox problem with UEFI kernel
I have built this kernel according to this post from brokenman:
http://forum.porteus.org/viewtopic.php? ... 212#p17496
I cannot use default porteus kernel because I am using UEFI (Also I have tried default kernel but when I boot keyboard and mouse did not work (I tried different keyboards and mice), so I could not check if everything is ok or not, so I decided to use this kernel.)
modprobe did not work and I get this error for both of the commands: (modprobe: ERROR: could not insert vboxdrv/vboxnetadp/vobxnetflt: Exec format error.)
You can check the report from here: http://rapidshare.com/share/14FB848C5A2 ... 0631437999
Thanks for your help.
http://forum.porteus.org/viewtopic.php? ... 212#p17496
I cannot use default porteus kernel because I am using UEFI (Also I have tried default kernel but when I boot keyboard and mouse did not work (I tried different keyboards and mice), so I could not check if everything is ok or not, so I decided to use this kernel.)
modprobe did not work and I get this error for both of the commands: (modprobe: ERROR: could not insert vboxdrv/vboxnetadp/vobxnetflt: Exec format error.)
You can check the report from here: http://rapidshare.com/share/14FB848C5A2 ... 0631437999
Thanks for your help.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: VirtualBox problem with UEFI kernel
'exec format error' means kernel mismatch - running kernel is different than the modules you are trying to modprobe. please run 'dmesg' command for more info.
do you still have sources from the compilation of your 3.11.4 kernel somewhere? if yes then please correct following symlinks:
/
(point them to your custom kernel sources) and create new Vbox module.
if not then you'll have to compile the kernel once again to recreate sources. do not delete them as may be needed when compiling external kernel modules.
good luck!
btw: please remove 'nomodeset' cheatcode as Ivy Bridge GPU is fully supported in porteus-2.1 (VESA driver must be a pain to use).
do you still have sources from the compilation of your 3.11.4 kernel somewhere? if yes then please correct following symlinks:
/
Code: Select all
lib/modules/3.11.4-porteus/build
/lib/modules/3.11.4-porteus/source
/usr/src/linux
if not then you'll have to compile the kernel once again to recreate sources. do not delete them as may be needed when compiling external kernel modules.
good luck!
btw: please remove 'nomodeset' cheatcode as Ivy Bridge GPU is fully supported in porteus-2.1 (VESA driver must be a pain to use).
Please add [Solved] to your thread title if the solution was found.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: VirtualBox problem with UEFI kernel
Are you using the vmlinuz file from the script that i supplied? The script will download vmlinuz, initrd.xz and a new 000-kernel.xzm. Make sure you are using only the files downloaded from the script and not mixing one file with other files from porteus. When i compiled this kernel (from memory) it was 3.11.4
I cannot use default porteus kernel because I am using UEFI
In fact fanthom has compiled in everything needed in the kernel in the v3.0rc1 release. I am using it now on UEFI. You will still need the refind bootloader. In short you can use the v3.0rc1 release that is on our server and replace what you have in your current install (vmlinuz, initrd.xz and 000-kernel). The vmlinuz and initrd.xz will reside at /mnt/sdXy/EFI/something. The 000-kernel must go in the porteus folder to replace the one you have. After rc2 is out i will write an installer for UEFI.
I cannot use default porteus kernel because I am using UEFI
In fact fanthom has compiled in everything needed in the kernel in the v3.0rc1 release. I am using it now on UEFI. You will still need the refind bootloader. In short you can use the v3.0rc1 release that is on our server and replace what you have in your current install (vmlinuz, initrd.xz and 000-kernel). The vmlinuz and initrd.xz will reside at /mnt/sdXy/EFI/something. The 000-kernel must go in the porteus folder to replace the one you have. After rc2 is out i will write an installer for UEFI.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- White ninja
- Posts: 7
- Joined: 14 Jul 2014, 15:00
- Distribution: porteus x86-amd64
- Location: mauritius
how to yodate kernel headers 3.12.4 ?
Hi everybody !
Since one week , i am fighting to install vboz add on my Porteus Vm 3.0 Rc and I always get "modprobe vbox guest failed " !
I don't know how to upgrade my kernel headers for 3.12.4 ( uname -r command) !
So HHHeeeeeeeeeeeeeeeellllllllllllpppppppppppppppppp !
But again thank you so much for this marvelous distribution so small but SO POWERFUL !
Caron
p.s : I am writing to you via my Porteus Vm running on a huawei internet dongle on my Mint 17 Quiana host !
Caron

Since one week , i am fighting to install vboz add on my Porteus Vm 3.0 Rc and I always get "modprobe vbox guest failed " !

I don't know how to upgrade my kernel headers for 3.12.4 ( uname -r command) !

So HHHeeeeeeeeeeeeeeeellllllllllllpppppppppppppppppp !
But again thank you so much for this marvelous distribution so small but SO POWERFUL !
Caron
p.s : I am writing to you via my Porteus Vm running on a huawei internet dongle on my Mint 17 Quiana host !
Caron
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: VirtualBox problem with UEFI kernel
Upgrade to the latest Porteus v3.0 which has all the necessary kernel modules built in (make sure you choose 05-devel option when building your ISO. Boot up and make sure you have an internet connection. From the system menu choose the vbox builder and follow the instructions. Let us know how it goes.
I will make a video on making a vbox UEFI setup soon.
I will make a video on making a vbox UEFI setup soon.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.