From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6FD1E1381F3 for ; Fri, 4 Oct 2013 12:31:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 862BCE0AD3; Fri, 4 Oct 2013 12:31:43 +0000 (UTC) Received: from sam.metaphysis.net (sam.metaphysis.net [85.10.207.80]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 680AFE0A63 for ; Fri, 4 Oct 2013 12:31:42 +0000 (UTC) Received: from p4fc375f3.dip0.t-ipconnect.de ([79.195.117.243] helo=[192.168.7.7]) by sam.metaphysis.net with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1VS4Xk-0003WL-9V for gentoo-user@lists.gentoo.org; Fri, 04 Oct 2013 14:31:40 +0200 Message-ID: <524EB521.1070802@metaphysis.net> Date: Fri, 04 Oct 2013 14:31:29 +0200 From: =?UTF-8?B?QW5kcmVhcyBQcmllw58=?= Organization: metaphysis.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131002 Thunderbird/17.0.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Switch to VT1 on shutdown fails with mesa >= 9.1 References: <524EA464.50108@metaphysis.net> <524EAA33.3060707@gmail.com> In-Reply-To: <524EAA33.3060707@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 4a31df19-d093-471e-97b6-4742d3e650c7 X-Archives-Hash: 703452709cf797d0df5e20e16d6d57b9 On 04.10.2013 13:44, Alan McKinnon wrote: > On 04/10/2013 13:20, Andreas Prieß wrote: >> Since I don't know the cause and didn't find a way to debug this, here >> are the symptoms: >> >> Ever since media-libs/mesa >= 9.1 went stable I had the problem, that >> the switch from Xfce on VT7 back to VT1 on shutdown fails. The screen >> goes black and does not show anything, but the system halts as normal. >> It is not possible to switch to VT1 by keyboard while the shutdown is >> still in progress when this has happened. >> >> I can't find anything in the Xorg or other log files according to this >> problem. Can't find anything related in Gentoo bugzilla or searching the >> web... >> >> The problem always disappeared by downgrading to mesa < 9.1, but that >> now requires other packages to be downgraded too, so I'd like to resolve >> this. >> >> It is an AMD64 system with an ATI Barts PRO [Radeon HD 6850] using KMS, >> desktop session with Xfce started by x11-misc/lightdm. >> >> Any hints on how to debug this problem would be highly appreciated. > > I've had a few things similar tot his happen to me over the years. > Strangely, each time it has been framebuffer and related settings in the > kernel config! (mostly incompatible options selected) > > What do you have in your kernel config? The kernel is manually compiled from gentoo hardened-sources-3.11.3 with PAX and GRSEC enabled for desktop system, RBAC disabled. (The system runs stable packages with the kernel being one of very few exceptions.) In the "Graphics support" section just two things are enabled manually, the rest is automatically selected: CONFIG_DRM and CONFIG_DRM_RADEON. This results in the following (unset options shortened): # Graphics support # CONFIG_AGP is not set CONFIG_VGA_ARB=y CONFIG_VGA_ARB_MAX_GPUS=16 # CONFIG_VGA_SWITCHEROO is not set CONFIG_DRM=y CONFIG_DRM_KMS_HELPER=y # CONFIG_DRM_LOAD_EDID_FIRMWARE is not set CONFIG_DRM_TTM=y # I2C encoder or helper chips CONFIG_DRM_RADEON=y # CONFIG_DRM_RADEON_UMS is not set CONFIG_HDMI=y CONFIG_FB=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y # Frame buffer hardware drivers # CONFIG_BACKLIGHT_LCD_SUPPORT is not set CONFIG_BACKLIGHT_CLASS_DEVICE=y # Console display driver support CONFIG_VGA_CONSOLE=y # CONFIG_VGACON_SOFT_SCROLLBACK is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set # CONFIG_LOGO is not set Anything else relevant in the kernel?