Virtualbox-4.3.0 - multiple hard crashes

Discussions related to using VirtualBox on Linux hosts.
Locked
daveparrish
Posts: 3
Joined: 24. Mar 2011, 18:52
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: CentOS, Ubuntu, Debian, Windows

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by daveparrish »

Ah, I see.
skoehler wrote:the CONFIG_PREEMPT_* settings are controlled by the option "Preemption Model" under "Processor Type and Features" in the kernel's menuconfig. I switched from "Preemptible Kernel (Low-latency Desktop)" to "Voluntary Kernel Preemption (Desktop)". The CONFIG_PREEMPT_* settings now match what Ramshankar posted above about the Ubuntu kernel.
I will let you know, whether I experience the host crash with virtualbox 4.3 again.
Unfortunately I cannot test the settings right now. I will give it another try as soon as I get the chance.
MD25
Posts: 3
Joined: 26. Nov 2013, 14:23

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MD25 »

skoehler wrote: And that is OpenSUSE's default kernel? Or did you configure/compile it yourself?
I did not make any modification to the default opensuse desktop Kernel.
giamat86
Posts: 1
Joined: 28. Nov 2013, 15:27

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by giamat86 »

Good Morning at all.
I've the same problem with OpenSuse 13.1 x64 with kernel 3.11.6-4-desktop (host) and Virtualbox 4.3.2 with Win7 x64 (guest).
The output of "uname -a" command is:
Linux lgiamat.site 3.11.6-4-desktop #1 SMP PREEMPT Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux
.
And the output of "zcat /proc/config.gz > config.txt" command is attached..
I've checked 2D video accelerator but not 3D video accelerator is checked, and only one VCPU.
I hope which this info will help you to resolve..
Attachments
config.txt.zip
(35.19 KiB) Downloaded 11 times
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by Ramshankar »

I found one issue which only happens on such fully preemptible kernels. I cannot yet say if this is what the cause of the host crashes are, but might be able to put out a test build once the fix is in.
Oracle Corp.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by Ramshankar »

Update: It seems release builds are affected too. There might be corruption of TSC AUX MSR on fully preemptible linux kernels. Fix is coming soon, hopefully it -is- the cause of the issues being reported here.
Oracle Corp.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by Ramshankar »

An attempted fix is in 4.3.4, feel free to give it a whirl.
Oracle Corp.
saintdev
Posts: 6
Joined: 5. Nov 2013, 07:28

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by saintdev »

Ramshankar wrote:An attempted fix is in 4.3.4, feel free to give it a whirl.
Well, I was able to successfully update my Arch guest that was locking up the host when I would attempt to update it with 4.3.4. I even ran stress for a bit and no host kernel panic yet. :D

I think you may have got it! Thanks for looking into this and attempting a fix. I won't be able to do any extended testing anytime soon, so someone else from this thread will need to report back to make sure.
MarkKnecht
Posts: 54
Joined: 14. Feb 2010, 22:34
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: Win 7, Win XP, Gentoo 32-bit

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MarkKnecht »

Well, good news so far. I'm currently running virtualbox-4.3.4 under gentoo-sources-3.10.21 with the following PREEMPT settings:

mark@c2RAID6 ~ $ zcat /proc/config.gz | grep PREEMPT
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_DEBUG_PREEMPT=y
mark@c2RAID6 ~ $

It's been running for about 2 days now with no problems so for me at least this is a big step forward.

I'd like to say both thank you to all who posted here as well as express my appreciation to the Oracle/Virtualbox developers who worked to fix this.

I'll of course report back if I run into any problems but for now all seems good.

Cheers,
Mark
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by Ramshankar »

Good. Thanks for the feedback!
Oracle Corp.
MarkKnecht
Posts: 54
Joined: 14. Feb 2010, 22:34
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: Win 7, Win XP, Gentoo 32-bit

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by MarkKnecht »

Things are still good for me but unfortunately there are other Gentoo users reporting problems in the Gentoo bug system with 4.3.4 so this may not be totally solved yet.
rtrubshaw11
Posts: 5
Joined: 9. Dec 2013, 11:59

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by rtrubshaw11 »

I have a similar problem I think.

I attempted an "upgrade" from 4.2.18 to 4.3.4 and immediately experienced a problem with my Windows Server 2003 (32bit) guest O/S.

My host system is CentOS 6.5 running on a Dell Optilex 740 with AMD 64bit processor of some kind (can't remember which) and 7GB of RAM

I had recently updated a different system that I run a Windows XP guest without problems (same host O/S, but Dell Latitude 630 laptop), so I was flummoxed when my Win2K3 system had problems.

Symptoms were virtualbox processes running at 100%, host system completely unresponsive until VirtualBox died (spontaneously)*, guest O/S appeared to boot without problems until entering the "starting networks" phase of the boot process.

Tried twice, but since this system is the Domain Controller and mail server for my own windows network and I couldn't afford the time to do any diagnosis, I downgraded to 4.2.20 and continued - without problem - from there.

(*Looking at the logs it appears that it was the host kernel that "restarted" spontaneously - which is not something that I have ever seen before; not something that I even knew was possible - not that that says much. Attaching the relevant part of the console log)

If I get time I'll try setting up another Win2K3 Server installation on my Latitude (same O/S, but different processor though) and see if the problem recurs otherwise it will be a quiet weekend sometime after Christmas before I can try something on my "live" system...

Hope this is some help. [Also attached two VBoxSvc log files but they don't appear to show anything untoward(there is an error but it is both log files), one is for 4.3.4 and the other is 4.2.20]

[Edit: Add VM config information from VBoxManage list vms --long]

Code: Select all

Name:            emerald
Groups:          /
Guest OS:        Red Hat
UUID:            62e56335-d547-4918-bfc8-4f6bdf5195e7
Config file:     /home/VirtualBoxVMs/emerald/emerald.vbox
Snapshot folder: /home/VirtualBoxVMs/emerald/Snapshots
Log folder:      /home/VirtualBoxVMs/emerald/Logs
Hardware UUID:   62e56335-d547-4918-bfc8-4f6bdf5195e7
Memory size:     4096MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
PAE:             on
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
State:           running (since 2013-12-08T23:12:11.957000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE Controller (1, 0): Empty
SATA Controller (0, 0): /home/VirtualBoxVMs/emerald/emerald.vdi (UUID: dbdf7b58-58b9-49fa-968d-efdbc7a6ef89)
NIC 1:           MAC: 080027240282, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: PulseAudio, Controller: AC97)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode:  disabled
VRDE:            enabled (Address 0.0.0.0, Ports 5100, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
Video redirection: disabled
VRDE property: TCP/Ports  = "5100"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = <not set>
VRDE property: Security/ServerCertificate = <not set>
VRDE property: Security/ServerPrivateKey = <not set>
VRDE property: Security/CACertificate = <not set>
VRDE property: Audio/RateCorrectionMode = <not set>
USB:             enabled
EHCI:            disabled

USB Device Filters:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

Description:
CentOS webserver, 32bit, 4Gb, 200Gb production and development
Guest:

Configured memory balloon size:      0 MB


Name:            zircon
Groups:          /
Guest OS:        Windows 2003
UUID:            f5b69d20-6683-44f7-846d-e638c11d5a06
Config file:     /home/VirtualBoxVMs/zircon/zircon.vbox
Snapshot folder: /home/VirtualBoxVMs/zircon/Snapshots
Log folder:      /home/VirtualBoxVMs/zircon/Logs
Hardware UUID:   f5b69d20-6683-44f7-846d-e638c11d5a06
Memory size:     1536MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
PAE:             off
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
State:           running (since 2013-12-08T23:28:27.196000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE Controller (0, 0): /home/VirtualBoxVMs/zircon/zircon.vdi (UUID: 9a90ca83-1481-4cef-835f-40a72f1d5949)
IDE Controller (1, 0): Empty
NIC 1:           MAC: 0800271F5A3C, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: 82543GC, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          I/O base: 0x03f8, IRQ: 4, attached to device '/dev/ttyS0'
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: PulseAudio, Controller: AC97)
Clipboard Mode:  Bidirectional
Drag'n'drop Mode:  disabled
VRDE:            enabled (Address 0.0.0.0, Ports 5200, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
Video redirection: disabled
VRDE property: TCP/Ports  = "5200"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = <not set>
VRDE property: Security/ServerCertificate = <not set>
VRDE property: Security/ServerPrivateKey = <not set>
VRDE property: Security/CACertificate = <not set>
VRDE property: Audio/RateCorrectionMode = <not set>
USB:             enabled
EHCI:            enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             Iomega External HD
VendorId:         059b
ProductId:        027d
Revision:         0000
Manufacturer:     Iomega
Product:          External HD
Remote:           0
Serial Number:    551F02E3

Bandwidth groups:  <none>

Shared folders:  <none>

Description:
Windows Primary Domain Controller and Exchange server for xxxxxxxxx
Guest:

Configured memory balloon size:      0 MB
[Edit2: Just noticed that Win2K3 system has PAE off, not sure if that is significant - but it is certainly not what I was expecting... (though maybe a consequence of my reducing the memory size from 3GB to 1.5GB about 6 months ago?)
Attachments
VBoxSVC-1.log
Previous logfile 4.3.4
(1.74 KiB) Downloaded 12 times
VBoxSVC.log
Latest logfile 4.2.20
(1.7 KiB) Downloaded 8 times
console.zip
Console log filtered out named/fail2ban lines.
(27.47 KiB) Downloaded 9 times
Last edited by noteirak on 9. Dec 2013, 13:48, edited 1 time in total.
Reason: Added code markup
cac
Posts: 18
Joined: 5. Feb 2008, 17:38
Contact:

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by cac »

Hello
To solve my issue i back to 4.18 VT-x dont work on version 4.3.4. for Windows Xp guest.
Too much regression in this version, I drop and I'm back to a working version.
Best Regards
unmanifest
Posts: 2
Joined: 12. Jun 2014, 05:24

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by unmanifest »

cac wrote:Hello
To solve my issue i back to 4.18 VT-x dont work on version 4.3.4. for Windows Xp guest.
I am new to this forum, thus unsure if necrobumping is frowned upon/discouraged. If that is the case, advance apologies - I couldn't find a more relevant thread with the exact same problem.

This thread seems to have gone cold for a while. Are people not having the same problems any more? I was a fairly regular VBox user till a few months ago. I just got back to using it again - started with 4.3.10 and then tried 4.3.12. I'm running a CentOS6.5 guest on a Debian host. I've had multiple hard crashes of the host (host completely freezes up - needs a hard reset of the server etc.). I read through the entire thread and tried the various permutations save recompiling the kernel on the host or changing the number of guest CPUs. But I clearly saw crashes w/ a single VCPU. I also tried to move to 4.2.18 (deb obtained from virtualbox dot org) - but even that took down the host. As people have pointed out, there is no useful info in /var/log/messages. The only stuff I see, is on the server console, some messages all seemingly related to VBoxNetFilter and VBoxService (I am 'paraphrasing' the exact words but hope you get the idea). Find my kconfig and uname information below. Any help appreciated. Thanks.

$ zcat /proc/config.gz | grep PREEMPT
# CONFIG_PREEMPT_RCU is not set
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
$ uname -a
Linux <edited> 3.10.14 #17 SMP Thu Oct 3 15:05:23 CEST 2013 x86_64 GNU/Linux
m407
Posts: 1
Joined: 16. Aug 2014, 09:20

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by m407 »

I'm also still experiencing problems with 4.3.14. Win7 guests hangs system on my home machine and on my office machine guest just dies some times. For now I'm using 4.2.18 from openSUSE OSS repository.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Virtualbox-4.3.0 - multiple hard crashes

Post by mpack »

Old thread discussing an old issue. Locking it.

If you have an issue with a current version (latest or stable branches) then start a new topic and provide Minimum information needed for assistance.
Locked