kernel panic in host with kernel 3.16.x and linux guest

Discussions related to using VirtualBox on Linux hosts.
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

where is the non-sense ?

in archlinux we have 2 methods for loading the kernel modules ( vboxdrv, vboxnetadp and vboxnetflt ) :

1) load manually the kernel modules with the modprobe command before running virtualbox

2) or set them in a /etc/modules-load.d/virtualbox.conf file in order to load them automatically at each boot

I prefer to use the manual method because I don't use everyday virtualbox
towo2099
Volunteer
Posts: 362
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Android, Linux

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by towo2099 »

I don't know, what arch do, but in debian modprobe vboxdrv is enougth, because the other modules are loaded by vboxdrv.
VaMpir
Posts: 1
Joined: 19. Aug 2014, 17:35

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by VaMpir »

This bug also appears with Windows 7 x64 guest. I found 2 cases when it happens:
1. right after Windows starts (before login).
2. when installing a new OS on the first stage (just after selecting target disk, etc.)

(sorry for my English)
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

very interresting, so all type of guest can have this bug
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

in the french forum of archlinux we found that moving the virtual machine to "/home" instead of using a fuse filesystem ( like an usb harddrive NTFS ) can solve the bug,

so it's seems that if the virtual machine is located in a partition mounted like a fuse filesystem ( ntfs partition for example ) then a freeze or a kernel panic can occur with kernel 3.16.x,

and more important : the bug occurs also with the official binary of virtualbox
Malus
Posts: 16
Joined: 9. Oct 2013, 02:11

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Malus »

Hi, the same here, with the kernel 3.16.1 (Archinux kDE desktop). I have a doubt the problem is the kernel, who has built the package for archlinux or a bug in virtualbox (3.14) that not working well with the kernel version 3.16.1.


The Kernel

[alkde1974g@archkde ~]$ uname -r
3.16.1-1-ARCH
Virtualbox
[alkde1974g@archkde ~]$ pacman -Qi virtualbox
Nombre : virtualbox
Versión : 4.3.14-3
Descripción : Powerful x86 virtualization for enterprise as well as home use
Arquitectura : x86_64
URL : http://virtualbox.org
Licencias : GPL custom
Grupos : Nada
Provee : Nada
Depende de : curl libpng libvpx libxcursor libxinerama libxml2 libxmu sdl
shared-mime-info virtualbox-host-modules
Dep. opcionales : qt4: VirtualBox GUI support[instalado]
vde2: Virtual Distributed Ethernet support[instalado]
virtualbox-guest-iso: Guest Addiotions CD image[instalado]
virtualbox-ext-vnc: VNC server support[instalado]
virtualbox-sdk: Developer kit
virtualbox-host-dkms: Host kernel source modules for non-stock kernels
net-tools: Host-only or bridged networking support[instalado]
Requerido por : virtualbox-ext-vnc
Opcional Para : Nada
En conflicto con : virtualbox-ose
Reemplaza a : virtualbox-ose
Tamaño instalado : 80298,00 KiB
Empaquetador : Sébastien Luttringer <seblu@seblu.net>
Fecha de compilación : mar 05 ago 2014 01:39:01 CEST
Fecha de instalación : sáb 23 ago 2014 09:43:21 CEST
Motivo de la instalación: Instalado explícitamente
Script de instalación: Sí
Validado Por : Firma
virtualbox-host-modules
[alkde1974g@archkde ~]$ pacman -Qi virtualbox-host-modules
Nombre : virtualbox-host-modules
Versión : 4.3.14-5
Descripción : Host kernel modules for VirtualBox
Arquitectura : x86_64
URL : http://virtualbox.org
Licencias : GPL
Grupos : Nada
Provee : Nada
Depende de : linux>=3.16 linux<3.17
Dep. opcionales : Nada
Requerido por : virtualbox
Opcional Para : Nada
En conflicto con : virtualbox-modules
Reemplaza a : virtualbox-modules
Tamaño instalado : 167,00 KiB
Empaquetador : Evangelos Foutras <evangelos@foutrelis.com>
Fecha de compilación : lun 04 ago 2014 11:52:32 CEST
Fecha de instalación : sáb 23 ago 2014 09:43:16 CEST
Motivo de la instalación: Instalado como dependencia de otro paquete
Script de instalación: Sí
Validado Por : Firma

Thanks
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

@Malus : where is located your virtual machine ?

in a ntfs partition ?

or an ext4 partition ?

it seems that the bug occurs when the virtual machine ( the vdi file ) is located on an ntfs partition ( or a fuse filesystem type ) and if a kernel 3.16.x is used
Malus
Posts: 16
Joined: 9. Oct 2013, 02:11

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Malus »

Potomac wrote:@Malus : where is located your virtual machine ?

in a ntfs partition ?

or an ext4 partition ?

it seems that the bug occurs when the virtual machine ( the vdi file ) is located on an ntfs partition ( or a fuse filesystem type ) and if a kernel 3.16.x is used
Hi,my V.M is in a external USB Hard Drive ( NTFS).
Disco /dev/sdb: 1000.2 GB, 1000204885504 bytes
255 cabezas, 63 sectores/pista, 121601 cilindros, 1953525167 sectores en total
Unidades = sectores de 1 * 512 = 512 bytes
Tamaño de sector (lógico / físico): 512 bytes / 512 bytes
Tamaño E/S (mínimo/óptimo): 512 bytes / 512 bytes
Identificador del disco: 0xca531023

Dispositivo Inicio Comienzo Fin Bloques Id Sistema
/dev/sdb1 2048 1953521663 976759808 7 HPFS/NTFS/exFAT
Best Regards.
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

ok,

so it's confirm that the bug occurs if the virtual machine is located on a ntfs partition and if a kernel 3.16.x is used,

I hope a solution will be found soon
Malus
Posts: 16
Joined: 9. Oct 2013, 02:11

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Malus »

Potomac wrote:I hope a solution will be found soon
I hope the next virtualbox-host-modules update fix the issue. Do you think @Potomac ?

Best Regards.
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

I don't know, because the bug could be also in the virtualbox source code, and not only on virtualbox-host-modules,

the bug could be also on the ntfs-3g program or in the kernel 3.16.x
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

you can to try to build a package "kernel 3.17rc1-1" :

https://aur.archlinux.org/packages/linux-mainline/

it's easy with "makepkg" in archlinux, maybe they have already fixed the bug in 3.17.x branch mainline
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

I can also reproduce the bug by using "qemu/kvm" instead of virtualbox,

so there is a real problem in the kernel 3.16 related to "fuse filesystem", I created a bugreport here :

https://bugzilla.kernel.org/show_bug.cgi?id=82951
thetazerlaser
Posts: 1
Joined: 4. Nov 2014, 22:32

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by thetazerlaser »

I'm having this problem on a Gentoo host with kernel 3.16 and vbox 4.3.18
Potomac
Posts: 16
Joined: 18. Aug 2014, 04:01
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: archlinux i686

Re: kernel panic in host with kernel 3.16.x and linux guest

Post by Potomac »

the solution is to use kernel 3.17, with this version of the kernel the bug is gone :

https://bugzilla.kernel.org/show_bug.cgi?id=82951#c12
Post Reply