VirtualBox

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#16872 closed defect (fixed)

Kernel wait_queue nomenclature change

Reported by: herbmilleriw Owned by:
Component: host support Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: other Host type: Linux

Description

Per: https://github.com/torvalds/linux/commit/ac6424b981bce1c4bc55675c6ce11bfe1bbfa64f

wait_queue_t has been changed to wait_queue_entry_t as of 4.12.0 final, breaking r0drv/linux/waitqueue-r0drv-linux.h.

Attachments (1)

Fix_opensuse_wait_queue_entry_backported_patch.patch (867 bytes ) - added by Dmitri Chubarov 6 years ago.
Fix_opensuse_wait_queue_entry_backported_patch

Download all attachments as: .zip

Change History (5)

comment:1 by Frank Mehnert, 7 years ago

Summary: Kernel 4.12.0 wait_queue nomenclature changeKernel wait_queue nomenclature change

Thanks for the heads-up but Linux 4.12 does not have this change. I assume it will be part of Linux 4.13.

comment:2 by Frank Mehnert, 7 years ago

Resolution: fixed
Status: newclosed

Actually fixed in 5.1.24.

comment:3 by Dmitri Chubarov, 6 years ago

OpenSUSE 15.0 shipped on May 25 with kernel version 4.12.14-lp150.12.4 that already has this change backported. As a result the version check in r0drv/linux/waitqueue-r0drv-linux.h does not work as expected.

OpenSUSE defines the CONFIG_SUSE_KERNEL macro so this could be used to check for OpenSUSE kernels.

See the attached patch

Last edited 6 years ago by Dmitri Chubarov (previous) (diff)

by Dmitri Chubarov, 6 years ago

Fix_opensuse_wait_queue_entry_backported_patch

comment:4 by Michael Thayer, 6 years ago

Sorry, only just noticed this ticket, a couple of days after I fixed this myself.

https://www.virtualbox.org/changeset/72889/vbox

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use