VirtualBox

Opened 14 years ago

Closed 5 years ago

#8336 closed defect (wontfix)

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

Reported by: Fernando 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 Mehnert)

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 (5)

Gentoo32UL-2011-02-13-12-55-57.log (51.6 KB ) - added by Fernando 14 years ago.
vbox.log
dmesg (4.6 KB ) - added by Fernando 14 years ago.
dmesg|grep vbox; output
glxinfo (27.9 KB ) - added by Fernando 14 years ago.
glxinfo
Xorg.0.log (52.4 KB ) - added by Fernando 14 years ago.
Xorg.0.log
add-compat_ioctl-for-32bit-userland.patch (1.4 KB ) - added by Cédric Cabessa 9 years ago.
add-compat_ioctl-for-32bit-userland

Download all attachments as: .zip

Change History (13)

by Fernando, 14 years ago

vbox.log

by Fernando, 14 years ago

Attachment: dmesg added

dmesg|grep vbox; output

by Fernando, 14 years ago

Attachment: glxinfo added

glxinfo

by Fernando, 14 years ago

Attachment: Xorg.0.log added

Xorg.0.log

comment:1 by Fernando, 14 years ago

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

comment:2 by Michael Thayer, 14 years ago

Summary: Guest Additions video and mouse integration fail to function inside 32ul with a 64bit kernelGuest 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 by Michael Thayer, 14 years ago

Description: modified (diff)

comment:4 by Frank Mehnert, 12 years ago

Component: otherguest additions
Description: modified (diff)

by Cédric Cabessa, 9 years ago

add-compat_ioctl-for-32bit-userland

comment:5 by Cédric Cabessa, 9 years ago

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 by Frank Mehnert, 9 years ago

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 by ptomato, 9 years ago

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.

comment:8 by Michael Thayer, 5 years ago

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette