From owner-freebsd-mobile@FreeBSD.ORG Mon Dec 1 15:27:50 2014 Return-Path: Delivered-To: freebsd-mobile@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 E6F0F594 for ; Mon, 1 Dec 2014 15:27:50 +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 724F3CDF for ; Mon, 1 Dec 2014 15:27:50 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id a1so6178074wgh.5 for ; Mon, 01 Dec 2014 07:27:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=sFZ8GLTXNi9lT4xt/cjlAoaexVWnFZnA7jjt4rfTk2Y=; b=VyY8XLAuLd4+lfIODvXOqPOBRA20ORMS8PmHRrdxx49ESdyWsVEDzrWvxZT68yELAL JymXaj9ubnUAYl4+kZwV0g4Ai+XaVXt1G1QfpenxSjMGl7BZZn28slynKNwpanKF617e 8YmQ6IBSwcQCix5SQ5E8wRcGwaapvTfpsY7k0dzGuJwlrAdeTsXjcF8vH5fCq9n/U2he pW7olb6g5uQKOJWAm/7ZxUWq33Bbd/2V0o1tkkiklUfnQgJK8JBtGEKCP9UjTJg3y+2I IW2PyGH/2E2eBYeCQ+1dfw3OEth1SyB3z6aFPphkXqC/k14x2Z/5AQFzwJNvhIocR3Y5 VF3w== MIME-Version: 1.0 X-Received: by 10.180.83.98 with SMTP id p2mr83896264wiy.20.1417447668809; Mon, 01 Dec 2014 07:27:48 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.195 with HTTP; Mon, 1 Dec 2014 07:27:48 -0800 (PST) In-Reply-To: References: <54707D0A.2060502@peercorpstrust.org> <54709DAF.5050406@shurik.kiev.ua> <54782046.20804@shurik.kiev.ua> Date: Mon, 1 Dec 2014 07:27:48 -0800 X-Google-Sender-Auth: 4RajiyDd1uD5x2N7uI3EWOVa1Ak Message-ID: Subject: Re: Best experience with Thinkpad suspend/resume From: Adrian Chadd To: isdtor Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 15:27:51 -0000 Hm, okay. I think you're seeing something with -HEAD that someone else has - my recent fixes to powersave has exposed some other bugs in suspend/resume and one of the bugs is the screen not powering up. Just to validate - this is with -head, right? -a On 1 December 2014 at 06:32, isdtor wrote: > Where do I start ... > > I have configured lid-close support and added all three modules to > loader.conf. After reboot, acpi_video is not loaded, but it loads > manually with this message > > acpi_video0: on vgapci0 > CPU0: local APIC error 0x80 > > I get the same error message when I close the lid, and again when I > open, but no suspend. Then I tried kldunload acpi_video and got > > Fatal trap 12: page fault while in kernel mode > cpuid = 2; apic id = 02 > fault virtual address = 0x20 > faulty code = supervisor read data, page not present > instruction pointer = 0x20:0xffffffff82e25bb3 > stack pointer = 0x28:0xfffffe01118777b0 > frame pointer = 0x28:0xfffffe01118777d0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 1051 (kldunload) > [ thread pid 1051 tid 100155 ] > Stopped at acpi_video_vo_destroy+0xd3: movq 0x20(%rcx),%rdx > db> > > acpiconf -s3 works, but the screen doesn't come back after resume. > That is after manual loading of acpi_video. /var/log/messages shows > > Dec 1 14:26:08 host kernel: acpi_video0: on vgapci0 > Dec 1 14:26:08 host kernel: CPU0: local APIC error 0x80 > Dec 1 14:27:18 host acpi: suspend at 20141201 14:27:18 > Dec 1 14:27:22 host kernel: uhub0: at usbus0, port 1, addr 1 (disconnected) > Dec 1 14:27:40 host kernel: uhub1: at usbus1, port 1, addr 1 (disconnected) > Dec 1 14:27:40 host kernel: ugen1.2: at usbus1 (disconnected) > Dec 1 14:27:40 host kernel: uhub3: at uhub1, port 1, addr 2 (disconnected) > Dec 1 14:27:40 host kernel: ugen1.3: at usbus1 (disconnected) > Dec 1 14:27:40 host kernel: ums0: at uhub3, port 2, addr 3 (disconnected) > Dec 1 14:27:40 host kernel: ugen1.4: at usbus1 (disconnected) > Dec 1 14:27:40 host kernel: ugen1.5: > at usbus1 (disconnected) > Dec 1 14:27:40 host kernel: uhub2: at usbus2, port 1, addr 1 (disconnected) > Dec 1 14:27:40 host kernel: ugen2.2: at usbus2 (disconnected) > Dec 1 14:27:40 host kernel: uhub4: at uhub2, port 1, addr 2 (disconnected) > Dec 1 14:27:40 host kernel: pcib0: failed to set ACPI power state D2 > on \_SB_.PCI0: AE_BAD_PARAMETER > Dec 1 14:27:40 host kernel: acpi0: cleared fixed power button status > Dec 1 14:27:40 host kernel: em0: link state changed to DOWN > Dec 1 14:27:40 host kernel: xhci0: 32 byte context size. > Dec 1 14:27:40 host kernel: xhci0: Port routing mask set to 0xffffffff > Dec 1 14:27:40 host kernel: uhub0: <0x8086 XHCI root HUB, class 9/0, > rev 3.00/1.00, addr 1> on usbus0 > Dec 1 14:27:40 host kernel: uhub1: rev 2.00/1.00, addr 1> on usbus1 > Dec 1 14:27:40 host kernel: uhub2: rev 2.00/1.00, addr 1> on usbus2 > Dec 1 14:27:40 host kernel: uhub0: 8 ports with 8 removable, self powered > Dec 1 14:27:40 host acpi: resumed at 20141201 14:27:40 > Dec 1 14:27:40 host kernel: uhub2: 3 ports with 3 removable, self powered > Dec 1 14:27:40 host kernel: uhub1: 3 ports with 3 removable, self powered > Dec 1 14:27:41 host kernel: em0: link state changed to UP > Dec 1 14:27:41 host dhclient: New IP Address (em0): 157.95.24.91 > Dec 1 14:27:41 host dhclient: New Subnet Mask (em0): 255.255.255.0 > Dec 1 14:27:41 host dhclient: New Broadcast Address (em0): 157.95.24.255 > Dec 1 14:27:41 host dhclient: New Routers (em0): 157.95.24.251 > Dec 1 14:27:41 host kernel: ugen2.2: at usbus2 > Dec 1 14:27:41 host kernel: uhub3: class 9/0, rev 2.00/0.00, addr 2> on usbus2 > Dec 1 14:27:41 host kernel: ugen1.2: at usbus1 > Dec 1 14:27:41 host kernel: uhub4: class 9/0, rev 2.00/0.00, addr 2> on usbus1 > Dec 1 14:27:42 host kernel: uhub4: 6 ports with 6 removable, self powered > Dec 1 14:27:43 host kernel: uhub3: 8 ports with 8 removable, self powered > Dec 1 14:27:43 host kernel: ugen1.3: at usbus1 > Dec 1 14:27:43 host kernel: ums0: class 0/0, rev 1.10/9.01, addr 3> on usbus1 > Dec 1 14:27:43 host kernel: ums0: 5 buttons and [XYZT] coordinates ID=1 > Dec 1 14:27:44 host kernel: ugen1.4: at usbus1 > Dec 1 14:27:44 host root: Unknown USB device: vendor 0x147e product > 0x2020 bus uhub4 > Dec 1 14:27:44 host kernel: ugen1.5: at usbus1 > Dec 1 14:27:44 host root: Unknown USB device: vendor 0x04f2 product > 0xb2ea bus uhub4 > Dec 1 14:27:44 host root: Unknown USB device: vendor 0x04f2 product > 0xb2ea bus uhub4 > > > The machine is set to discrete graphics in the bios. > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"