Bug 101261 - Radeon - Kernel warning when driver is unbound from secondary GPU
Summary: Radeon - Kernel warning when driver is unbound from secondary GPU
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-09 08:05 UTC by Beau V.C. Bellamy
Modified: 2016-03-23 18:34 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.0.7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg output (105.08 KB, application/octet-stream)
2015-07-09 08:05 UTC, Beau V.C. Bellamy
Details
Script to unbind and start VM (1.05 KB, application/x-shellscript)
2015-07-09 08:06 UTC, Beau V.C. Bellamy
Details

Description Beau V.C. Bellamy 2015-07-09 08:05:23 UTC
Created attachment 182281 [details]
dmesg output
Comment 1 Beau V.C. Bellamy 2015-07-09 08:06:12 UTC
Created attachment 182291 [details]
Script to unbind and start VM
Comment 2 Beau V.C. Bellamy 2015-07-09 08:19:03 UTC
When unbinding the radeon driver from a second GPU in order to bind to the vfio-pci driver (so it can be used on a virtual machine), the linux kernel will display several warnings.  It looks like some resources may be double-freed.  The GPU will otherwise work flawlessly in the VM with full acceleration on the stock AMD windows drivers.

This actually shows up on all kernels that I've tried: 4.1.0, 3.19, 3.18, etc.

I'm not sure it's related, but the first GPU when running X on the host will have some difficulties getting OpenGL working (I have a routine that involves a dance with glxgears and firefox) and will work for some time and then take the entire system down hard.  If I avoid anything OpenGL/DRM, the system will run indefinitely.

Note You need to log in before you can comment on or make changes to this bug.