Skip to contentSkip to conversation

Bug#768157: machine hangs when loading cirrus with modeset=1 while booted with vga=791

DISCUSSION Ben Hutchings 1 participant 1 message Nov 5, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Control: tag -1 upstream confirmed

Quoted 11 lines · Evgeni Golov

Package: src:linux
Version: 3.16.7-1
Severity: normal

Hi,

while testing the new Grml release, I noticed an interesting hang of QEMU when the machine is booted. The initial testing was done using [1] in QEMU from Sid (2.1+dfsg-5), but I also could reproduce it with the same QEMU and a fresh Jessie install with both, 3.16.5-1 and 3.16.7-1.

Quoted 7 lines

To reproduce:
* boot a fresh Jessie with 3.16 kernel in QEMU and vga=791 as bootparam
* modprobe cirrus modeset=1
* machine hangs

I am not sure this will happen on real cirrus HW, as I don't have any, but QEMU is quite widespread and cirrus is the default VGA driver.

[...]

The cirrus KMS driver only binds to QEMU Cirrus devices, not real hardware. It has been working for me, but I can reproduce the apparent hang with the 'vga=791' parameter.

It's not actually hanging, though - using a serial console, I see the error messages:

[    1.976874] [drm:cirrus_vram_init] *ERROR* can't reserve VRAM
[    1.978067] cirrus 0000:00:02.0: Fatal error during GPU init: -6

and I can log in there. But, as the driver detects this error after the point of no return (remove_conflicting_framebuffers()), the display remains broken.

Ben.

Signature · 2 lines
Ben Hutchings
The program is absolutely right; therefore, the computer must be wrong.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel