VirtualBox

Ticket #8336 (new defect)

Opened 5 years ago

Last modified 5 weeks ago

Guest Additions kernel modules not bitness clean (32bit userspace on 64bit kernel) -> won't fix for now

Reported by: likewhoa Owned by:
Priority: major Component: guest additions
Version: VirtualBox 4.0.2 Keywords: mouse,cursor
Cc: Guest type: Linux
Host type: Linux

Description (last modified by frank) (diff)

When booting a 64bit kernel inside a 32ul, the mouse integration fails with

from Xorg.0.log

[    81.214] (EE) VBoxVideo(0): Unable to determine whether the virtual machine supports mouse
pointer integration - request initialization failed with return code -2

from dmesg

ioctl32(X:17150): Unknown cmd fd(9) cmd(c0245603){t:'V';sz:36} arg(ffc487ec) on 
                           /dev/vboxguest

Attachments

Gentoo32UL-2011-02-13-12-55-57.log Download (51.6 KB) - added by likewhoa 5 years ago.
vbox.log
dmesg Download (4.6 KB) - added by likewhoa 5 years ago.
dmesg|grep vbox; output
glxinfo Download (27.9 KB) - added by likewhoa 5 years ago.
glxinfo
Xorg.0.log Download (52.4 KB) - added by likewhoa 5 years ago.
Xorg.0.log
add-compat_ioctl-for-32bit-userland.patch Download (1.4 KB) - added by ccabessa 5 weeks ago.
add-compat_ioctl-for-32bit-userland

Change History

Changed 5 years ago by likewhoa

vbox.log

Changed 5 years ago by likewhoa

dmesg|grep vbox; output

Changed 5 years ago by likewhoa

glxinfo

Changed 5 years ago by likewhoa

Xorg.0.log

comment:1 Changed 5 years ago by likewhoa

Just to add this is somewhat related to Tickets: #3345

comment:2 Changed 5 years ago by michael

  • Summary changed from Guest Additions video and mouse integration fail to function inside 32ul with a 64bit kernel to Guest Additions kernel modules not bitness clean (32bit userspace on 64bit kernel) -> won't fix for now

This is not something that we will be able to resolve in the near future, as the Guest Additions kernel code is not 32bit/64bit clean, and unfortunately the issue isn't important enough to justify the review of the code that would be needed to fix that just now.

comment:3 Changed 5 years ago by michael

  • Description modified (diff)

comment:4 Changed 3 years ago by frank

  • Component changed from other to guest additions
  • Description modified (diff)

Changed 5 weeks ago by ccabessa

add-compat_ioctl-for-32bit-userland

comment:5 Changed 5 weeks ago by ccabessa

FYI with the patch add-compat_ioctl-for-32bit-userland.patch I've succeed to run a 32bit userspace on a 64bit kernel. I use a simple tool based on vbox api to mount a shared folder and use vboxproperty. Using the 64bit data structure (-DRT_ARCH_AMD64,-DVBOX_WITH_64_BITS_GUESTS) this works well.

comment:6 Changed 5 weeks ago by frank

This patch works probably for a number of interfaces but as written above, a revision of all guest interfaces is necessary. You tested only a subset of the interfaces.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use