[Bug 67813] [HSW bisected]igt/module_reload causes [drm:hsw_unclaimed_reg_check] *ERROR* Unclaimed write to 44004 and system hang with headless, with power well disabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 28 12:29:10 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=67813

--- Comment #40 from Ville Syrjala <ville.syrjala at linux.intel.com> ---
(In reply to comment #39)
> (In reply to comment #38)
> > I did some more investigation, and it seems the Kernel gets stuck on an
> > infinite loop that keeps calling VGA. I added some printks, and I at the
> > moment we do the "echo 0" to the bind file
> 
> (accidentally hit the "Save Changes" button)
> 
> I did some more investigation, and it seems the Kernel gets stuck on an
> infinite loop that keeps calling VGA functions. I added some printks, and at
> the moment we do the "echo 0" to the bind file, we keep printing this
> forever:
> 
> [  431.878277] === write_vga
> [  431.878278] === vgacon_set_cursor_size
> [  431.878297] [drm:intel_uncore_check_errors] *ERROR* Unclaimed register
> before interrupt
> [  431.878331] === vgacon_cursor  
> [  431.878332] === vgacon_restore_screen
> [  431.878332] === write_vga  
> [  431.878333] === vgacon_set_cursor_size  
> [  431.878373] === vgacon_dummy
> [  431.878373] === vgacon_scroll  
> [  431.878374] === vgacon_restore_screen  
> [  431.878374] === vgacon_scrollback_update  
> [  431.878435] === vga_set_mem_top  
> [  431.878435] === write_vga  
> [  431.878439] === vgacon_dummy  
> [  431.878440] === vgacon_scroll
> [  431.878440] === vgacon_restore_screen  
> [  431.878440] === vgacon_scrollback_update  
> [  431.878501] === vga_set_mem_top  
> [  431.878502] === write_vga  
> [  431.878503] === vgacon_cursor  
> [  431.878503] === vgacon_restore_screen  
> [  431.878504] === write_vga  
> [  431.878505] === vgacon_set_cursor_size  
> [  431.878524] [drm:intel_uncore_check_errors] *ERROR* Unclaimed register
> before interrupt
> [  431.878559] === vgacon_cursor  
> [  431.878559] === vgacon_restore_screen  
> [  431.878559] === write_vga  
> [  431.878560] === vgacon_set_cursor_size
> [  431.878601] === vgacon_dummy  
> [  431.878601] === vgacon_scroll 
> 

That just looks like normal vgacon activity when stuff changes on the screen.

The momement you unbind fbcon, vgacon takes over again. The  But if the legacy
resources aren't enabled you get the unclaimed register errors.

Either we'd need to restore the hardware to a state where VGA actually works,
or vgacon shouldn't be allowed to rebind after someone has clobbered the state.
I'd go for the latter since it seems easier. Maybe there was a patch already
somewhere. Also restoring the hardware state could happen only at driver unload
time, and by that time vgacon has already kicked in. So even in that case we'd
need to prevent vgacon from taking over before the hardware state has been
restored.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20131128/b3c6a12b/attachment.html>


More information about the intel-gfx-bugs mailing list