Mouse integration does not work with Linux 4.8 guest without I/O APIC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Virtualbox |
Expired
|
Medium
|
|||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
virtualbox (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My host and guest is Ubuntu 16.10 64-bit.
I can't use my mouse to click anything inside the Ubuntu (Unity) 16.10 guest. A workaround is to (install if necessary and) select the older yakkety Linux 4.4 kernel from the grub boot screen in the guest.
Or open the VM Settings. Switch to the System tab and make sure "Enable I/O APIC" is turned on. This setting is recommended by VirtualBox:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: virtualbox 5.1.6-dfsg-2
ProcVersionSign
Uname: Linux 4.8.0-17-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Oct 3 01:53:20 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-08-11 (52 days ago)
InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160811)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: virtualbox
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in virtualbox (Ubuntu): | |
importance: | High → Critical |
description: | updated |
description: | updated |
Changed in virtualbox (Ubuntu): | |
importance: | Critical → Undecided |
summary: |
- Mouse integration does not work with Linux 4.8 guest + Mouse integration does not work with Linux 4.8 guest without I/O/APIC |
description: | updated |
description: | updated |
summary: |
- Mouse integration does not work with Linux 4.8 guest without I/O/APIC + Mouse integration does not work with Linux 4.8 guest without I/O APIC |
tags: | added: bot-stop-nagging |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in virtualbox (Ubuntu): | |
status: | New → Confirmed |
Changed in virtualbox: | |
importance: | Unknown → Medium |
status: | Unknown → Expired |
Description of problem:
There is a recent regression in the Linux 4.7 kernel which prevents other dvices from proper working if they share the IRQ9 (the ACPI IRQ). This happens only on systems without I/O-APIC because if the I/O-APIC is present, it's not necessary to share IRQ9.
This is a follow-up of https:/ /www.virtualbox .org/ticket/ 15913 which is NOT a VirtualBox bug because we are able to reproduce the problem on real hardware. The problem happens more frequently with VirtualBox because for 32-bit guests we don't enable the I/O-APIC. Enabling the I/O-APIC for affected guests makes the problem go away.
Version-Release number of selected component (if applicable):
kernel-4.7.2-201.
How reproducible:
Boot Fedora 24 with the affected kernel on a system without an I/O-APIC. Passing 'noapic' as kernel parameter on a system with I/O-APIC will probably have the same effect. Then check if IRQ9 is used by ACPI and shared with another device. In our case it was the uhci_hcd and Linux couldn't detect corresponding USB devices. It is much easier to use VirtualBox and boot an up-to-date Fedora 24 guest (with Linux 4.7), disable the I/O-APIC and install the Guest Additions. IRQ9 will then be most likely shared with the VirtualBox VMM Device and actions taken on that device, for example using a shared folder, will not work (i.e. hang).
The kernel also prints the following message: "ACPI: No IRA available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off".
Steps to Reproduce:
1. Boot Fedora 24 with I/O-APIC disabled, either in a VM or pass 'noapic' as kernel parameter
2. Check that IRQ9 is shared between ACPI and another device
3. Check that the shared device on IRQ9 does not work properly
Actual results:
The shared device does not properly work. E.g. no USB device detected if the device is an USB driver or shared folders hang if the device is the VBox VMM device and the Guest Additions are installed.
Expected results:
The device which uses IRQ9 together with ACPI should work properly. This is no problem with Linux 4.6.
Additional info: /www.virtualbox .org/ticket/ 15913
https:/
Linux 4.7 did a lot of ACPI rework and I guess this was not properly tested on systems without I/O-APICs.