VirtualBox

Opened 9 years ago

Closed 9 years ago

#13772 closed defect (fixed)

vboxvideo calls removed i/f in linux 3.18: drm_driver.set_busid() -> fixed in 4.3.22 and later releases

Reported by: lasj Owned by:
Component: guest additions Version: VirtualBox 4.3.20
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by Michael Thayer)

Here is the kernel info from linux guest Fedora 21: 3.18.3-201.fc21.x86_64 #1 SMP Mon Jan 19 15:59:31 UTC 2015

[   12.595990] WARNING: CPU: 1 PID: 1044 at drivers/gpu/drm/drm_ioctl.c:143 drm_setversion+0x17e/0x190 [drm]()
[   12.595997] No drm_driver.set_busid() implementation provided by driver [vboxvideo]. Use drm_dev_set_unique() to set the unique name explicitly.
[   12.596001] Modules linked in:
[   12.596004]  nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw vboxsf(OE) snd_intel8x0 snd_ac97_codec joydev iTCO_wdt ac97_bus iTCO_vendor_support snd_seq snd_seq_device snd_pcm ppdev vboxguest(OE) lpc_ich mfd_core snd_timer snd vboxvideo(OE) serio_raw soundcore parport_pc drm parport i2c_piix4 nfsd auth_rpcgss nfs_acl lockd grace sunrpc xfs libcrc32c e1000 ata_generic pata_acpi
[   12.596123] CPU: 1 PID: 1044 Comm: Xorg.bin Tainted: G           OE  3.18.3-201.fc21.x86_64 #1
[   12.596128] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[   12.596132]  0000000000000000 00000000644e0a37 ffff88007947bc98 ffffffff8175da66
[   12.596138]  0000000000000000 ffff88007947bcf0 ffff88007947bcd8 ffffffff81099181
[   12.596142]  ffff88007947bd68 ffff88007947bdf0 ffff8800369b7800 ffff880035f8f180
[   12.596147] Call Trace:
[   12.596157]  [<ffffffff8175da66>] dump_stack+0x46/0x58
[   12.596167]  [<ffffffff81099181>] warn_slowpath_common+0x81/0xa0
[   12.596175]  [<ffffffff810991f5>] warn_slowpath_fmt+0x55/0x70
[   12.596189]  [<ffffffffa020b1de>] drm_setversion+0x17e/0x190 [drm]
[   12.596195]  [<ffffffffa020ab9c>] drm_ioctl+0x2cc/0x680 [drm]
[   12.596218]  [<ffffffffa020b060>] ? drm_noop+0x40/0x40 [drm]
[   12.596226]  [<ffffffff812278f9>] ? do_filp_open+0x49/0xd0
[   12.596233]  [<ffffffff81229fa0>] do_vfs_ioctl+0x2d0/0x4b0
[   12.596240]  [<ffffffff8122a201>] SyS_ioctl+0x81/0xa0
[   12.596248]  [<ffffffff817647a9>] system_call_fastpath+0x12/0x17

Change History (4)

comment:2 by Michael Thayer, 9 years ago

Description: modified (diff)

comment:3 by Michael Thayer, 9 years ago

Can you check whether this fixes it?

Index: src/VBox/Additions/linux/drm/vboxvideo_drm.c
===================================================================
--- src/VBox/Additions/linux/drm/vboxvideo_drm.c	(revision 98068)
+++ src/VBox/Additions/linux/drm/vboxvideo_drm.c	(working copy)
@@ -144,6 +144,12 @@
     .get_map_ofs = drm_core_get_map_ofs,
     .get_reg_ofs = drm_core_get_reg_ofs,
 #endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)
+    /* If this is missing a warning gets printed to dmesg.  We will not
+     * attempt to make kernels work to which the change (915b4d11b) got back-
+     * ported, as the problem is only cosmetic. */
+    .set_busid = drm_pci_set_busid,
+#endif
 # if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0) && !defined(DRM_FOPS_AS_POINTER)
     .fops =
     {

comment:4 by Michael Thayer, 9 years ago

Summary: vboxvideo calls removed i/f in linux 3.18: drm_driver.set_busid()vboxvideo calls removed i/f in linux 3.18: drm_driver.set_busid() -> fixed in 4.3.22 and later releases

No response, the fix is in 4.3.22.

comment:5 by Frank Mehnert, 9 years ago

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

© 2023 Oracle
ContactPrivacy policyTerms of Use