From owner-freebsd-stable@FreeBSD.ORG Thu Oct 2 20:52:51 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1DF0EF7 for ; Thu, 2 Oct 2014 20:52:51 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 807BBF68 for ; Thu, 2 Oct 2014 20:52:51 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id l18so1389909wgh.29 for ; Thu, 02 Oct 2014 13:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; bh=QQhBFPyZU7vlhg8ZFTPAk3Fu80p9qEMh9uFrCTTwZ5I=; b=A9seZgqTmrE8qTUhAIIjc+vtG0yrbjTotXPjSzMBiLWfN4r5zCJ7vX9Y1pa/wSycN9 ewYMUYuSAvlACkdJnxe757Iw6MEZTbyGMSFJNrC/6rw44dbC3ZTBtCa97fNN8t5LTZ2y SAFCdn6YNKoCh8Yc9gbHGjBXYXkdZDM0Son+V862X4RUGXB7vG9t94JM2pcehtX1Lbm4 fNrhyOpl+fcbEzeiem9iRIwopn3kbckKKGe0SXoyWHrIhAV/JhhYaIzWbu/n+XxegemB l60rWl15jHS3HZC5EzkCfSEnt/jJ3zaq5Th2T3Alvq1Yz35d9Y2Hxwltoc7LTlmo2d15 HPQA== X-Received: by 10.180.20.69 with SMTP id l5mr7150265wie.45.1412283169855; Thu, 02 Oct 2014 13:52:49 -0700 (PDT) Received: from localhost (rainbowwarrior.torservers.net. [77.247.181.164]) by mx.google.com with ESMTPSA id ul1sm5784592wjc.9.2014.10.02.13.52.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Oct 2014 13:52:49 -0700 (PDT) From: marekrud@gmail.com To: Kevin Oberman Subject: Re: vt does not resume properly after zzz In-Reply-To: References: <864mvqfabt.fsf@gmail.com> Date: Thu, 02 Oct 2014 22:52:44 +0200 Message-ID: <86vbo2tcrn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD-STABLE Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 20:52:52 -0000 Kevin Oberman writes: > On Mon, Sep 29, 2014 at 1:20 PM, wrote: > >> Hi all, >> >> I have configured vt by adding `kern.vty=vt' to /boot/loader.conf. >> >> After suspending the system using zzz and resuming, I can only see black >> screen. The system seem to be running, but the display is off. I was >> able to reproduce it on two different computers running 10.1-BETA2 and >> 10.1-BETA3. >> >> Is there a simple way to fix it? Should I report it to Bugzilla? >> >> Thank you for help! >> >> Marek >> > > Since it works fine for me and, I presume, for many others, a bit more > information would help. > > 1. Does syscons work after resume? Yes. > 2. Does the system run a graphics interface or is it text only? If so, does > the problem show up in both modes? In the default graphical mode (hw.vga.textmode not set), the display seem to be off. If I set hw.vga.textmode=1, then I get kernel panic right after calling zzz. > 3. WITH_NEW_XORG? (I am pretty sure it is, but confirmation would be good.) I'm not sure, where to check it. I did not modify it, so should be the default from 10.1-BETA. > 4. What driver? The default, probably vesa (?) > 5. What graphics system? > 6. What type of system? (This stuff is tied closely to BIOS, so exact > hardware is significant.) Both are laptops: - Lenovo with Radeon HD 8240 (I think, this card is unsupported by the ati driver) - DELL M1330 with Intel graphics card (Xorg used to work with intel driver) > 7. Contents of /etc/make.conf, /etc/src.conf, /boot/loader.conf, and > /etc/sysctl.conf /boot/loader.conf: geom_eli_load="YES" geli_ada0p3_keyfile0_load="YES" geli_ada0p3_keyfile0_type="ada0p3:geli_keyfile0" geli_ada0p3_keyfile0_name="ZZZ" zfs_load="YES" vfs.root.mountfrom="zfs:zroot" kern.vty=vt /etc/sysctl.conf kern.coredump=0 /etc/make.conf, /etc/src.conf don't exist. > 8. Contents of messages log at the time of the suspend and resume Oct 2 22:43:51 thinkpad devd: Executing '/etc/rc.suspend acpi 0x03' Oct 2 22:43:51 thinkpad acpi: suspend at 20141002 22:43:51 Oct 2 22:43:55 thinkpad kernel: uhub0: at usbus0, port 1, addr 1 (disconnected) Oct 2 22:43:55 thinkpad kernel: uhub2: at usbus1, port 1, addr 1 (disconnected) Oct 2 22:44:06 thinkpad kernel: uhub1: at usbus2, port 1, addr 1 (disconnected) Oct 2 22:44:06 thinkpad kernel: uhub3: at usbus3, port 1, addr 1 (disconnected) Oct 2 22:44:06 thinkpad kernel: uhub4: at usbus4, port 1, addr 1 (disconnected) Oct 2 22:44:06 thinkpad kernel: ugen4.2: at usbus4 (disconnected) Oct 2 22:44:06 thinkpad kernel: acpi0: cleared fixed power button status Oct 2 22:44:06 thinkpad kernel: ACPI Error: No handler or method for GPE02, disabling event (20130823/evgpe-840) Oct 2 22:44:06 thinkpad kernel: re0: link state changed to DOWN Oct 2 22:44:06 thinkpad kernel: xhci0: 32 byte context size. Oct 2 22:44:06 thinkpad kernel: uhub0: on usbus4 Oct 2 22:44:06 thinkpad kernel: uhub1: on usbus2 Oct 2 22:44:06 thinkpad kernel: uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Oct 2 22:44:06 thinkpad kernel: uhub3: on usbus1 Oct 2 22:44:06 thinkpad kernel: uhub4: on usbus3 Oct 2 22:44:06 thinkpad kernel: uhub2: 4 ports with 4 removable, self powered Oct 2 22:44:06 thinkpad kernel: uhub3: 4 ports with 4 removable, self powered Oct 2 22:44:06 thinkpad kernel: uhub4: 4 ports with 4 removable, self powered Oct 2 22:44:06 thinkpad devd: Executing '/etc/rc.resume acpi 0x03' Oct 2 22:44:06 thinkpad acpi: resumed at 20141002 22:44:06 Oct 2 22:44:06 thinkpad kernel: re0: link state changed to UP Oct 2 22:44:06 thinkpad devd: Executing '/etc/rc.d/dhclient quietstart re0' Oct 2 22:44:07 thinkpad kernel: uhub0: 4 ports with 4 removable, self powered Oct 2 22:44:07 thinkpad kernel: uhub1: 4 ports with 4 removable, self powered Oct 2 22:44:07 thinkpad dhclient: New IP Address (re0): ZZZ Oct 2 22:44:07 thinkpad dhclient: New Subnet Mask (re0): ZZZ Oct 2 22:44:07 thinkpad dhclient: New Broadcast Address (re0): ZZZ Oct 2 22:44:07 thinkpad dhclient: New Routers (re0): ZZZ Oct 2 22:44:08 thinkpad kernel: ugen4.2: at usbus4 Oct 2 22:44:08 thinkpad devd: Executing '/usr/local/etc/rc.d/webcamd start ugen4.2' Oct 2 22:44:08 thinkpad devd: Executing '/usr/local/etc/rc.d/webcamd start ugen4.2' Oct 2 22:44:08 thinkpad devd: Executing 'logger Unknown USB device: vendor 0x5986 product 0x0299 bus uhub0' Oct 2 22:44:09 thinkpad root: Unknown USB device: vendor 0x5986 product 0x0299 bus uhub0 Oct 2 22:44:09 thinkpad devd: Executing 'logger Unknown USB device: vendor 0x5986 product 0x0299 bus uhub0' Oct 2 22:44:09 thinkpad root: Unknown USB device: vendor 0x5986 product 0x0299 bus uhub0 Oct 2 22:44:09 thinkpad devd: Executing 'logger Unknown USB device: vendor 0x5986 product 0x0299 bus uhub0' Oct 2 22:44:09 thinkpad root: Unknown USB device: vendor 0x5986 product 0x0299 bus uhub0 > 9. If not using GENERIC, your configuration file. Yes > 10. After the resume, is the system accessible over the network? Yes > 11. Is the display working but the backlight not on? Try looking at the > screen in bright light and see if you can see anything on the screen The display looks really off. > I'm probably missing a few things, but those will at least help narrow it > down. Thank you! I'll be glad for any further feedback. Marek > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com