Ticket #8336 (new defect)
Guest Additions kernel modules not bitness clean (32bit userspace on 64bit kernel) -> won't fix for now
Reported by: | likewhoa | Owned by: | |
---|---|---|---|
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
Change History
Changed 8 years ago by likewhoa
-
attachment
Gentoo32UL-2011-02-13-12-55-57.log
added
comment:2 Changed 8 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:4 Changed 6 years ago by frank
- Component changed from other to guest additions
- Description modified (diff)
Changed 3 years ago by ccabessa
-
attachment
add-compat_ioctl-for-32bit-userland.patch
added
add-compat_ioctl-for-32bit-userland
comment:5 Changed 3 years 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 3 years 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.
comment:7 Changed 3 years ago by ptomato
Nonetheless, this patch works surprisingly well for me on VirtualBox 5.0.14 (with the appropriate name change for the functions.) I've been using it for a few weeks and all the guest additions except for the shared clipboard seem to function now.
vbox.log