VirtualBox

Opened 15 years ago

Closed 15 years ago

#3981 closed defect (fixed)

vbi module panic on opensolaris kernel build 114 and newer => Fixed in SVN

Reported by: Juergen Keil Owned by:
Component: host support Version: VirtualBox 2.2.2
Keywords: Cc:
Guest type: Solaris Host type: Solaris

Description

With the putback for bug 6565817 "sigwait can't wait for SIGTSTP" the Solaris kernel data structure kthread_t was modified. http://bugs.opensolaris.org/view_bug.do?bug_id=6565817

The vbi kernel module distributed with VirtualBox 2.2.2 seems to access data in kthread_t using the old offsets, so that it panics when we run on a build 114 (or newer) kernel. To reproduce the problem, try to start a virtualbox guest on an opensolaris build 114 (or newer) host.

Panic information:

> ::status
debugging crash dump vmcore.0 (32-bit) from max
operating system: 5.11 snv_115_jk (i86pc)
panic message:
BAD TRAP: type=e (#pf Page fault) rp=b5104bf4 addr=4 occurred in
module "vbi" due to a NULL pointer dereference
dump content: kernel pages only

> $C
b5104c54 vbi_user_map+0x11(b5104c84, 1, bf85b2c0, 1000)
b5104c94 rtR0MemObjNativeMapUser+0xc8(b5104cc4, aa5961a8, ffffffff, 1000, 1, 0)
b5104cd4 RTR0MemObjMapUser+0xb8(bf2f0c28, aa5961a8, ffffffff, 0, 1, 0)
b5104d34 SUPR0GipMap+0x1be()
b5104d94 supdrvIOCtl+0x391(c0185614, ab3838e0, bf2f0c10, b5104dbc)
b5104e14 VBoxDrvSolarisIOCtl+0xf1()
b5104e44 cdev_ioctl+0x31(4b40000, c0185614, 8045cd0, 102003, bf037a90, b5104f00)
b5104e74 spec_ioctl+0x6b(c89ef680, c0185614, 8045cd0, 102003,
bf037a90, b5104f00)
b5104ec4 fop_ioctl+0x49(c89ef680, c0185614, 8045cd0, 102003, bf037a90, b5104f00)
b5104f84 ioctl+0x171()
b5104fac sys_sysenter+0x106()

> vbi_user_map::dis
vbi_user_map:                   pushl  %ebp
vbi_user_map+1:                 movl   %esp,%ebp
vbi_user_map+3:                 subl   $0x14,%esp
vbi_user_map+6:                 call   +0x6021c85       <threadp>
vbi_user_map+0xb:               movl   0xdc(%eax),%eax
vbi_user_map+0x11:              movl   0x4(%eax),%eax
vbi_user_map+0x14:              movl   %eax,-0x8(%ebp)

Attachments (1)

vboxkern_20090513.zip (17.5 KB ) - added by Ramshankar Venkataraman 15 years ago.
VirtualBoxKern package for Nevada 114+ for VBox 2.2.2

Download all attachments as: .zip

Change History (5)

comment:1 by Frank Mehnert, 15 years ago

Summary: vbi module panic on opensolaris kernel build 114 and newervbi module panic on opensolaris kernel build 114 and newer => Fixed in SVN

Fixed in SVN.

by Ramshankar Venkataraman, 15 years ago

Attachment: vboxkern_20090513.zip added

VirtualBoxKern package for Nevada 114+ for VBox 2.2.2

comment:2 by Ramshankar Venkataraman, 15 years ago

Until we release the next version of VirtualBox with the updated kernel module included I've attached the updated one here for those using Nevada 114 or above. (This is only required if you're using VirtualBox 2.2.2 on Nevada 114 or above).

To install unzip the file, close all VirtualBox completely (including VMs, and frontends). Then pkgrm SUNWvboxkern and install the new one here.

Any "Cannot unload: Busy" errors you get, reboot the host to make sure the new one is loaded.

comment:3 by zebra, 15 years ago

Under b114, I have done as suggested (it took a reboot to force unload), and now things seem to be functional again.

I tested the on disk format upgrade, additionally, where the VM images reside, in an on the fly upgrade to zpool on disk format version 15. All is working correctly.

Thanks!

z

comment:4 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use