+++ This bug was initially created as a clone of Bug #1450725 +++ Description of problem: RHGB screen flickers 3 times, then freezes. Unable to escape. Version-Release number of selected component (if applicable): 4.12.0-0.rc0.git7.1.fc27.x86_64 How reproducible: 100% Steps to Reproduce: 1. Boot that kernel version. Actual results: Freeze on RHGB screen. No error. Not responsive to any keys. Unable to drop to shell. Expected results: Should boot normally. Additional info: 4.12.0-0.rc0.git2.1.fc27.x86_64 worked fine. Removing rhgb from kernel parameters gets the system to boot, but it cuts off the right and bottom third of the screen. Tried enforcing=0. No effect. --- Additional comment from Joseph D. Wagner on 2017-05-15 14:10:47 EDT --- This problem persists on 4.12.0-0.rc0.git9.1.fc27.x86_64 --- Additional comment from Joseph D. Wagner on 2017-05-21 18:47:11 EDT --- This appears to be a problem with the QXL driver. When I set the VM to use VGA, it boots normally. This problem persists on 4.12.0-0.rc1.git4.1.fc27.x86_64. --- Additional comment from Joseph D. Wagner on 2017-06-02 13:57:00 EDT --- It's improving, but it still isn't fixed. Now on kernel-4.12.0-0.rc3.git0.2.fc27.x86_64. Successfully boots without crashing. However, the screen doesn't refresh the windows or buttons until I move the mouse over the button/window/widget/etc. Also, I can't change/adjust the screen resolution. Works ok on VGA, but not QXL. If I boot into the previous kernel version kernel-4.12.0-0.rc0.git2.1.fc27.x86_64, then QXL works fine; the only difference being the version of kernel select at boot time. --- Additional comment from Joseph D. Wagner on 2017-06-03 19:29:27 EDT --- More information. I got one crash report that cited: drivers/gpu/drm/ttm/ttm_bo_util.c:589 [qxl] --- Additional comment from Joseph D. Wagner on 2017-06-16 14:04:08 EDT --- Problem still exists on 4.12.0-0.rc5.git0.1.fc27.x86_64.
On Fedora 26 Beta, I cannot get the system to boot using the QXL driver on kernel-4.11.5-300.fc26.x86_64, but the VGA driver works ok. When booting into previous kernel-4.11.0-2.fc26.x86_64, both the QXL and VGA drivers work fine.
Can you reproduce this? If so, I request that this be a Beta blocker, because it prevents the system from booting.
It appears the bug is not in drivers/gpu/drm/ttm/ttm_bo_util.c:589, but rather this section of code is being called by the function with the bug in it. Here is the relevant context from the ttm_bo_util.c file: int ttm_bo_kmap(struct ttm_buffer_object *bo, unsigned long start_page, unsigned long num_pages, struct ttm_bo_kmap_obj *map) { struct ttm_mem_type_manager *man = &bo->bdev->man[bo->mem.mem_type]; unsigned long offset, size; int ret; BUG_ON(!list_empty(&bo->swap));
Can you attach the kernel backtrace you saw?
Created attachment 1289763 [details] oops-2017-05-21-12:55:46-730-0
Created attachment 1289764 [details] oops-2017-06-03-16:25:15-717-0.tar.gz
Hello, I don't know if this helps I think I see the same problem with -kernel-4.11.5-300.fc26.x86_64 -kernel-4.11.6-301.fc26.x86_64 While kernel-4.11.4-300.fc26.x86_64 boots ok. here is a log when it fails: https://ao.lpp.polytechnique.fr/s/GU7jKwRy3idPG44
After upgrading to the latest RPMS, I can no longer reproduce the problem in any kernel version on Fedora 26 Beta. As far as I can tell, whatever was triggering it was fixed. FYI, I can still reproduce the problem in the 4.12.x series in rawhide.
We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. The kernel moves very fast so bugs may get fixed as part of a kernel update. Due to this, we are doing a mass bug update across all of the Fedora 26 kernel bugs. Fedora 26 has now been rebased to 4.15.4-200.fc26. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 27, and are still experiencing this issue, please change the version to Fedora 27. If you experience different issues, please open a new bug report for those.
I believe this only applied to f26 when it was rawhide.
Thanks for confirming. I'm going to go ahead and close the bug.