QXL GPU driver fails when changing runlevel w/systemd

Latest response

Host RHEL7; Guest RHEL7

I changed the runlevel from default graphical.target to multi-user.target with systemctl isolate multi-user.target with no problems. However, when I tried to change back to the default, systemctl isolate graphical.target failed with the following message in the serial console:

------------[ cut here ]------------
[93194.684475] WARNING: at drivers/gpu/drm/qxl/qxl_ttm.c:414 qxl_sync_obj_wait+0x182/0x220 [qxl]()
[93194.685270] sync obj 301 still has outstanding releases 0 0 0 262144 1
[93194.685786] Modules linked in: btrfs zlib_deflate raid6_pq xor vfat msdos fat ext4 mbcache jbd2 binfmt_misc tcp_lp uinput bnep bluetooth rfkill fuse ip6t_rpfilter ip6t_REJECT ipt_REJECT 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 iptable_filter ip_tables snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm ppdev snd_timer pcspkr snd serio_raw parport_pc virtio_balloon soundcore i2c_piix4 parport nfsd auth_rpcgss nfs_acl lockd sunrpc xfs libcrc32c ata_generic pata_acpi 8139too qxl virtio_console virtio_blk drm_kms_helper ttm ata_piix libata drm i2c_core 8139cp virtio_pci virtio_ring mii virtio floppy dm_mirror dm_region_hash dm_log dm_mod
[93194.694849] CPU: 0 PID: 4072 Comm: Xorg Tainted: G        W   --------------   3.10.0-229.1.2.el7.x86_64 #1
[93194.695734] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[93194.696216]  ffff8800523df8d0 00000000ba2a6942 ffff8800523df888 ffffffff81603f26
[93194.696909]  ffff8800523df8c0 ffffffff8106e28b 0000000000000001 ffff88013751ab40
[93194.697710]  0000000000000001 ffff88013751ab58 0000000000000000 ffff8800523df928
[93194.698377] Call Trace:
[93194.698666]  [<ffffffff81603f26>] dump_stack+0x19/0x1b
[93194.699111]  [<ffffffff8106e28b>] warn_slowpath_common+0x6b/0xb0
[93194.699804]  [<ffffffff8106e32c>] warn_slowpath_fmt+0x5c/0x80
[93194.700285]  [<ffffffff816085b3>] ? schedule_hrtimeout_range+0x13/0x20
[93194.700854]  [<ffffffffa0148122>] qxl_sync_obj_wait+0x182/0x220 [qxl]
[93194.701381]  [<ffffffffa0167841>] ttm_bo_wait+0xb1/0x1b0 [ttm]
[93194.702506]  [<ffffffffa0169183>] ttm_bo_evict+0x63/0x360 [ttm]
[93194.703145]  [<ffffffffa01695ba>] ttm_mem_evict_first+0x13a/0x1b0 [ttm]
[93194.703757]  [<ffffffffa0169898>] ttm_bo_mem_space+0x268/0x310 [ttm]
[93194.704290]  [<ffffffffa0169da2>] ttm_bo_validate+0x1e2/0x260 [ttm]
[93194.704844]  [<ffffffffa016a08b>] ttm_bo_init+0x26b/0x420 [ttm]
[93194.705366]  [<ffffffffa014a1df>] qxl_bo_create+0x13f/0x1a0 [qxl]
[93194.706002]  [<ffffffffa0149f60>] ? qxl_fbdev_qobj_is_fb+0x30/0x30 [qxl]
[93194.706597]  [<ffffffffa014a959>] qxl_gem_object_create+0x69/0x110 [qxl]
[93194.707442]  [<ffffffffa014aa5c>] qxl_gem_object_create_with_handle+0x5c/0x120 [qxl]
[93194.708172]  [<ffffffffa014dd66>] qxl_alloc_ioctl+0x46/0xc0 [qxl]
[93194.708662]  [<ffffffffa00a6b6c>] drm_ioctl+0x1ec/0x660 [drm]
[93194.709209]  [<ffffffff8109ac45>] ? enqueue_hrtimer+0x25/0x80
[93194.709663]  [<ffffffff8109b59a>] ? __hrtimer_start_range_ns+0x1ca/0x410
[93194.710339]  [<ffffffff811d9a65>] do_vfs_ioctl+0x2e5/0x4c0
[93194.712798]  [<ffffffff8126ef3e>] ? file_has_perm+0xae/0xc0
[93194.713368]  [<ffffffff811d9ce1>] SyS_ioctl+0xa1/0xc0
[93194.713769]  [<ffffffff8160ec99>] ? do_async_page_fault+0x29/0xe0
[93194.714387]  [<ffffffff81613da9>] system_call_fastpath+0x16/0x1b
[93194.715199] ---[ end trace 9a02bcd681aa5058 ]---
[93194.715648] [TTM] Failed to expire sync object before buffer eviction
[93194.716390] qxl 0000:00:02.0: object_init failed for (262144, 0x00000001)
[93194.717411] [drm:qxl_gem_object_create] *ERROR* Failed to allocate GEM object (261140, 1, 4096, -12)
[93194.718255] [drm:qxl_alloc_ioctl] *ERROR* qxl_alloc_ioctl: failed to create gem ret=-12

Responses