How to crash Solaris host with Windows 7 guest

Discussions related to using VirtualBox on Solaris hosts.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

How to crash Solaris host with Windows 7 guest

Post by martyscholes »

This is interesting. It has happened twice, but I didn't connect the dots until it happened the second time about 45 minutes ago.

Solaris 11host
VirtualBox 4.1.16 r78094
Windows 7 Ultimate, 32 bit, latest updates applied

By the way, the "About VirtualBox" screen disappears as soon as I type into my web browser. This forces me to memorize all of the stuff for it. Not too cool. Fortunately VBoxManage -v works...

I have attached the machine info and the output from dladm show-vnic. Also attached is the entries from /var/adm/messages which show the failure.

The host becomes completely unresponsive as soon as I start up HP Solution Center (HP's printer management software) from within the Windows 7 guest. I cannot get to the host from the network nor the console. A power cycle causes the host to complain about a mismatch in the boot archive then reboot again. The second reboot succeeds.

Any ideas on how to keep a guest VM from crashing the host? Is there more information I can provide?

Many thanks,
Marty
Attachments
var.adm.messages.txt
Relevant entries from /var/adm/messages
(19.27 KiB) Downloaded 56 times
QW7.showvminfo.txt
Output from VboxManage showvminfo
(3.54 KiB) Downloaded 52 times
dladm.show-vnic.txt
Output from dladam show-vnic
(1.68 KiB) Downloaded 49 times
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

What we need additionally is VBox.log for the VM and cat /var/adm/messages | grep -i vbox output (not just the failing messages).
Oracle Corp.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

Ramshankar wrote:What we need additionally is VBox.log for the VM and cat /var/adm/messages | grep -i vbox output (not just the failing messages).
Attached. Thanks for looking into this. Please let me know what else I can do.

Thanks,
Marty
Attachments
messages_and_VB_Logs.tar.gz
-rw-r--r-- marty/staff 18637 2012-06-06 06:32 ./messages.grep.vbox.txt
-rw------- marty/staff 46175 2012-06-06 01:30 ./.VirtualBox/Quicken W7/Logs/VBox.log
-rw------- marty/staff 48875 2012-06-03 01:30 ./.VirtualBox/Quicken W7/Logs/VBox.log.1
-rw------- marty/staff 80299 2012-05-28 07:54 ./.VirtualBox/Quicken W7/Logs/VBox.log.2
-rw------- marty/staff 69623 2012-05-28 07:50 ./.VirtualBox/Quicken W7/Logs/VBox.log.3
(42.77 KiB) Downloaded 56 times
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

Does this problem happen if you don't use bridged networking?
Oracle Corp.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

Ramshankar wrote:Does this problem happen if you don't use bridged networking?
Thanks for getting back to me. I have not built up the courage to try, mostly because the HP software insists on being on the same subnet as the printer as noted in the following discussions.

viewtopic.php?f=11&t=47453&p=216861#p216019
http://h30434.www3.hp.com/t5/Printer-Al ... -p/1248215

If you want, I can try to start the software on a NAT NIC instead, but we already know the software will fail. I know this used to work. The only things that have changed since it was working are:
1. VirtualBox upgrades
2. Updates to Windows 7 guest OS
3. Probable upgrades to HP client software

Upgrading (2) and/or (3) should not cause the host to crash. Thanks again and let me know if you would like me to test the network in NAT mode.

Thanks,
Marty
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

Unfortunately, I don't have much info here to work with. There is no panic backtraces or cores.

Normally for system hangs we have a few things to try, such as breaking into kmdb/panicking to get a core by generating an NMI or use a dead man timer to trigger such an action. I'm not sure if you can generate an NMI or what kind of setup you have there but since we don't have any other reports of this at this point, unless you're able to try a few things out, I don't have much info I can work on.

Edit /etc/system to include the following lines:

Code: Select all

* Deadman timer after 60 seconds of static lbolt
set snooping=1
set snoop_interval=60000000

* Panic on NMI
set pcplusmp:apic_panic_on_nmi=1
Make sure you have system core dumps enabled, see Solaris section of https://www.virtualbox.org/wiki/Core_dump (you need the dumpadm setup).

Once you have set both of this up, please use the latest VBox (4.1.16). Run a "sync" command to flush out to fs cache to disk (just to be sure) before you test the VM which causes the hang/panic. Hopefully we should get something...
Oracle Corp.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

Thanks for the reply. I will try to run a test tonight.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

I forgot to mention, you will need to reboot your host after making those changes to /etc/system for it to take effect before trying the VM.
Oracle Corp.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

This is strange. After doing some testing last night, the host does not appear actually to crash. Rather, it becomes progressively more unresponsive. I was able to kill the VirtualBox session early enough and everything recovered. I think if I leave it for a minute or so it becomes unresponsive, but never really crashes.

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

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

Some sort of memory or resource leak? Could you let vmstat running and see if it props up anything funny? I assume you're well within the memory limits. If the host begins swapping like crazy in particular situations then it's a good chance it's not going to recover any time soon.
Oracle Corp.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

Ramshankar wrote:Some sort of memory or resource leak? Could you let vmstat running and see if it props up anything funny? I assume you're well within the memory limits. If the host begins swapping like crazy in particular situations then it's a good chance it's not going to recover any time soon.
Thanks for the reply. I was watching for memory, but the effect is rather immediate against a 60GB host with a 30GB ZFS ARC size, so I kind of ruled out memory pressure.

I am not a Dtrace expert at all, but are there any Dtrace hooks I can watch in the kernel driver?

Thanks again,
Marty
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

Ramshankar,

I owe you an apology. More testing reveals that the errors now show up in /var/adm/messages, but the machine does not crash. The only change I am aware of between then and now is that on 6/11 I added 28GB of RAM to the machine.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

What errors are those? Are they physical memory errors from Solaris fault management ... ?
Oracle Corp.
martyscholes
Posts: 202
Joined: 11. Sep 2011, 00:24
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Win 7, Ubuntu, Win XP, Vista, Win 8, Mint, Pear, Several Linux Virtual Appliances

Re: How to crash Solaris host with Windows 7 guest

Post by martyscholes »

Ramshankar wrote:What errors are those? Are they physical memory errors from Solaris fault management ... ?
No, just the errors from the vbox module:

Jun 15 15:00:26 dl585 vboxdrv: [ID 235921 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=0000000005f2d231 uErr=15 cs:rip=001b:05f2d231
Jun 15 15:00:26 dl585 last message repeated 9 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 235425 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=0000000003513038 uErr=15 cs:rip=001b:03513038
Jun 15 15:00:26 dl585 last message repeated 48 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 646711 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=00000000035130ab uErr=15 cs:rip=001b:035130ab
Jun 15 15:00:26 dl585 last message repeated 4 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 413560 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=00000000035130c8 uErr=15 cs:rip=001b:035130c8
Jun 15 15:00:26 dl585 last message repeated 11 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 365994 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=00000000035130e7 uErr=15 cs:rip=001b:035130e7
Jun 15 15:00:26 dl585 last message repeated 3 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 497857 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=0000000003513109 uErr=15 cs:rip=001b:03513109
Jun 15 15:00:26 dl585 last message repeated 147 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 249032 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=00000000035136c4 uErr=15 cs:rip=001b:035136c4
Jun 15 15:00:26 dl585 last message repeated 610 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 432818 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=0000000005f2c304 uErr=15 cs:rip=001b:05f2c304
Jun 15 15:00:26 dl585 last message repeated 99 times
Jun 15 15:00:26 dl585 vboxdrv: [ID 833047 kern.notice] int pgmR0BthPAEPAETrap0eHandler(VMCPU*, RTGCUINT, CPUMCTXCORE*, RTGCPTR, bool*): returns rc=0 pvFault=0000000005f2fbbe uErr=15 cs:rip=001b:05f2fbbe
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: How to crash Solaris host with Windows 7 guest

Post by Ramshankar »

martyscholes wrote:Ramshankar,

I owe you an apology. More testing reveals that the errors now show up in /var/adm/messages, but the machine does not crash. The only change I am aware of between then and now is that on 6/11 I added 28GB of RAM to the machine.
Hm, sorry I don't quite follow, so what is the problem currently? Has the problem somehow corrected itself with only those verbose errors in the log?
Oracle Corp.
Post Reply