Kernel panic during vboxsf umount in my VM

Discussions about using Linux guests in VirtualBox.
Post Reply
hamelg
Posts: 9
Joined: 22. Apr 2009, 21:16
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: windows & linux

Kernel panic during vboxsf umount in my VM

Post by hamelg »

Hello,

after a recent linux kernel upgrade to 3.6.9, my vm crashes at each shutdown when umounting filesystem.
virtualbox version 4.2.4 running on windows 7 host.

Image
hamelg
Posts: 9
Joined: 22. Apr 2009, 21:16
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: windows & linux

Re: Kernel panic during vboxsf umount in my VM

Post by hamelg »

manually umount all vboxsf fs before shutdown fixes the issue.
may I fill a bug report ?
hamelg
Posts: 9
Joined: 22. Apr 2009, 21:16
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: windows & linux

Re: Kernel panic during vboxsf umount in my VM

Post by hamelg »

steps to reproduce on windows or linux host :

1. Create a VM : type Linux, Version ArchLinux
2. install the OS : https://wiki.archlinux.org/index.php/Installation_Guide
3. Configure a virtualbox shared folder with Auto-mount and permanent box checked
4. startup the VM and check that shared folder is mounted
5. poweroff the VM
6. VM crashes while umounting the fs type vboxsf in the vobxsf module at sf_remount_fs() in systemd-shutdown process.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Kernel panic during vboxsf umount in my VM

Post by Perryg »

I would suggest not using the auto-mount and instead create a manual mount. You can place this in the /etc/rc.local, or equivalent if you want it mounted at boot.
hamelg
Posts: 9
Joined: 22. Apr 2009, 21:16
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: windows & linux

Re: Kernel panic during vboxsf umount in my VM

Post by hamelg »

Perryg wrote:I would suggest not using the auto-mount and instead create a manual mount. You can place this in the /etc/rc.local, or equivalent if you want it mounted at boot.
Yes, it is a possible workaround, but it's a bug. I'm going to fill a public bug report.
Post Reply