Bug 157290 - emulators/virtualbox-ose: When I start virtual machine, kernel panics
Summary: emulators/virtualbox-ose: When I start virtual machine, kernel panics
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 10:30 UTC by Oleksii Krykun
Modified: 2011-06-03 12:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Krykun 2011-05-24 10:30:11 UTC
I upgraded virtualbox-ose from 3.2.12 to 4.0.8.
3.2.12 worked fine.
Now I try to start any virtual machine, kernel panic is generated.
I can see messages like following:

May 23 15:09:30 apu6159 kernel: Fatal trap 12: page fault while in user mode
May 23 15:09:30 apu6159 kernel: cpuid = 0; apic id = 00
May 23 15:09:30 apu6159 kernel: fault virtual address   = 0x32fc9000
May 23 15:09:30 apu6159 kernel: fault code              = user write, page not present
May 23 15:09:30 apu6159 kernel: instruction pointer     = 0x33:0x32081ced
May 23 15:09:30 apu6159 kernel: stack pointer           = 0x3b:0xbf7b9b40
May 23 15:09:30 apu6159 kernel: frame pointer           = 0x3b:0xbf7b9bb8
May 23 15:09:30 apu6159 kernel: code segment            = base rx0, limit 0xfffff, type 0x1b
May 23 15:09:30 apu6159 kernel: = DPL 3, pres 1, def32 1, gran 1
May 23 15:09:30 apu6159 kernel: processor eflags        = interrupt enabled, resume, IOPL = 0
May 23 15:09:30 apu6159 kernel: current process         = 15529 (VirtualBox)
May 23 15:09:30 apu6159 kernel: trap number             = 12
May 23 15:09:30 apu6159 kernel: panic: page fault
May 23 15:09:30 apu6159 kernel: cpuid = 0
May 23 15:09:30 apu6159 kernel: Uptime: 4d0h28m0s
May 23 15:09:30 apu6159 kernel: Physical memory: 2027 MB
May 23 15:09:30 apu6159 kernel: Dumping 283 MB: 268 252 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12

How-To-Repeat: start any virtual machine
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-05-25 03:35:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vbox

Fix synopsis and assign.
Comment 2 xxllxrvt 2011-05-25 20:26:42 UTC
I can second that. I was also trying to run virtualbox 4.0.8 on FreeBSD 
7.2, and in my case the machine froze immediately, rebooting after a 
couple of seconds. No core dump was produced.

The reboot on this laptop was so "hard" that the BIOS password prompt 
appeared although it is set to only show on a cold boot, not on a reboot.

I am now happily running 3.2.12_1 again.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-06-02 18:02:36 UTC
decke       2011-06-02 17:02:22 UTC

  FreeBSD ports repository

  Modified files:
    emulators/virtualbox-ose-kmod Makefile 
  Added files:
    emulators/virtualbox-ose-kmod/files 
                                        patch-src-VBox-Runtime-r0drv-freebsd-sleepqueue-r0drv-freebsd.h 
  Log:
  - Fix panic: spin lock held too long on FreeBSD 7.x
  - Bump PORTREVISION
  
  PR:             ports/157290
  Submitted by:   Alexander Eichner <Alexander.Eichner@oracle.com>
  Reported by:    Oleksii Krykun <kryol@bigmir.net>,
                  Martin Birgmeier <xxllxrvt@aon.at>,
                  Peter Klett <peter@netkey.at>
  
  Revision  Changes    Path
  1.30      +1 -0      ports/emulators/virtualbox-ose-kmod/Makefile
  1.1       +12 -0     ports/emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd-sleepqueue-r0drv-freebsd.h (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Bernhard Froehlich freebsd_committer freebsd_triage 2011-06-02 18:05:43 UTC
State Changed
From-To: open->feedback

I just committed a fix to virtualbox-ose-kmod that should fix this. Please test it and report back. Thx!
Comment 5 Bernhard Froehlich freebsd_committer freebsd_triage 2011-06-03 12:28:21 UTC
State Changed
From-To: feedback->closed

Peter Klett reported success with 7.4-RELEASE and the committed patch. 
Thanks!