From: Ben Hutchings Subject: Re: Bug#768157: machine hangs when loading cirrus with modeset=1 while booted with vga=791 Date: Wed, 05 Nov 2014 21:07:46 +0000 Message-ID: <1415221666.3398.22.camel@decadent.org.uk> References: <20141105140240.2073.58265.reportbug@Jessie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0897367743==" Return-path: Received: from shadbolt.e.decadent.org.uk (shadbolt.e.decadent.org.uk [88.96.1.126]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E50C6EB4C for ; Wed, 5 Nov 2014 13:08:02 -0800 (PST) In-Reply-To: <20141105140240.2073.58265.reportbug@Jessie> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Evgeni Golov , 768157@bugs.debian.org Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0897367743== Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-EnKp7j7TjtqFt7vfP5wc" --=-EnKp7j7TjtqFt7vfP5wc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Control: tag -1 upstream confirmed On Wed, 2014-11-05 at 15:02 +0100, Evgeni Golov wrote: > Package: src:linux > Version: 3.16.7-1 > Severity: normal >=20 > Hi, >=20 > 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 fro= m Sid > (2.1+dfsg-5), but I also could reproduce it with the same QEMU and a fres= h > Jessie install with both, 3.16.5-1 and 3.16.7-1. >=20 > To reproduce: > * boot a fresh Jessie with 3.16 kernel in QEMU and vga=3D791 as bootparam > * modprobe cirrus modeset=3D1 > * machine hangs >=20 > I am not sure this will happen on real cirrus HW, as I don't have any, bu= t 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=3D791' 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. --=20 Ben Hutchings The program is absolutely right; therefore, the computer must be wrong. --=-EnKp7j7TjtqFt7vfP5wc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIVAwUAVFqRqOe/yOyVhhEJAQq3xQ//SgfNJVcbnmy++M64EDldoFmsf13oTdc2 pcqvKdsxv1p9Adv5LpM4CvrKedPNxZWfwPTf2ibba8Wm1batvf5y6HJDbKIpZZrW HSpfPKd6mkXog+0m1gyZBOnG1taODkLUkZgKbKP9pFGhSVfp5CNz/bMRz/1aKeI1 jGKfPkCCV//rDSHGWABx/QJt5Z47zth27rlkBSlpRyBunnZo3k0rGK1yjbxRhS1t tf64RJkGY6OieF8RrGOV83r4jVPLK4Xp0huZ2uBdp7pR7CW+jwtrVHVTREoaYXY9 x8Ovprl/MqJG4iRNpzU068584qHsk3JAtSCDATSbuU6yEQoJ2iboiAS2anzfQQVM XbHkTaQAknbC63eUvRLGB2H5FuODFwMsSB0M9A/oXeHe7Fd9016+fa3OQsbujWL3 4MU4hUeC/6UGocIEsXu8RgIno1+5nF9F2d0KNbp4gd/H2D4RaB6takYU0oOCXnET gHO2Krty+Yut/w8DGLf/W5w5PbpNcurt2ObwxO3c+hcaCt0N+ie4Zl7g6dW6LzO+ hDV2t03VDga6EgK/+srp+1GzUTwPb6aJWxE6Ehf/R1Wylxssef7/COD+mPjhVqg7 tnVGG/DEPua5o3lac9/M96PZ9GnZ2YABJVTPYp2du8GsQnLI0gVmJ8W4BFxlDk5H PEFxYaMWiVI= =MAUi -----END PGP SIGNATURE----- --=-EnKp7j7TjtqFt7vfP5wc-- --===============0897367743== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0897367743==--