From owner-freebsd-x11@FreeBSD.ORG Fri Jul 12 09:02:21 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BAD71E65 for ; Fri, 12 Jul 2013 09:02:21 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8EB9C17D3 for ; Fri, 12 Jul 2013 09:02:21 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id 9so19876401iec.19 for ; Fri, 12 Jul 2013 02:02:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=e+7/ETrnsOQ0d7cWp/fT3isRm3Fg3kLY6PXu0Bz2De0=; b=ckdIFWXlCP4Nw40OcpdzCoQsU3pzmSYpBJfPGVMaMDJi8XocOHv/EELEPzTHaYPPfk QSG9WCkdbcK9PJZm4uIZ8udNfuV+/00jmU6TVcVxsPSEY3Mq3EUhf84Fnc/eszjeakTI GkfGE//P0Ab4l2J4Jjrr9xF1ws7oV6c16pNtuxEonYKi4fakn/RtG1dO6eNjBKPjr9Lx DCRlabHINq9O/WH1ed1KJI1XMtLLOZF2xQCPhNkC8nOaKU7AusctX6Z2kLPDrDhFw+2t ScbMkt3MH4ypPVg6MNN4QsAkeO/fRaW8GPTpA5/zTvxOgrxzM0n7zLGfqV9HW7cZ5LIR vzVA== X-Received: by 10.42.52.6 with SMTP id h6mr12388570icg.5.1373619734935; Fri, 12 Jul 2013 02:02:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.228.161 with HTTP; Fri, 12 Jul 2013 02:01:59 -0700 (PDT) In-Reply-To: References: <1601171.hWXcdG7J9D@notebook.alkar.net> From: "Lundberg, Johannes" Date: Fri, 12 Jul 2013 18:01:59 +0900 Message-ID: Subject: Re: FreeBSD-head hang when shutdown by ACPI with Intel GPU and new Xorg and SandyBridge To: Kevin Oberman X-Gm-Message-State: ALoCoQn6eoZlgPgYHLGXo1Y3IIwSgZ9rCbUqrqz0gLQtpVlnE0sZWlx6snxV09zh0HUQ0L90G9jJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-x11@freebsd.org" , FreeBSD Current X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 09:02:21 -0000 > As the KMS code does not switch the display mode back, once X with KMS starts, you can't get a console back. Is there any solution for this in the works? Johannes Lundberg BRILLIANTSERVICE CO., LTD. On Wed, May 22, 2013 at 5:44 AM, Kevin Oberman wrote: > On Tue, May 21, 2013 at 12:50 PM, Artyom Mirgorodskiy < > artyom.mirgorodsky@gmail.com> wrote: > > > Hi > > More than a month I can not shutdown FreeBSD on my laptop correctly when > > running Xorg with Intel GPU. However reboot work correctly. Shutdown work > > fine if I choose Vesa driver in xorg.conf. So I can run with intel, then > > edit xorg.conf, kill Xorg server and shutdown correctly. If I shut down > > immediately after loading Xorg - everything is fine too. > > Without the text console is difficult to provide any information :( Why > > would still not recover mode when kill Xorg? > > > > PS > > I try to disable RC6 states -without any changes. > > FreeBSD shutdown correctly before January. > > > > I am seeing similar issues on my Sandybridge running Xorg with KMS, but I > see it on 9-Stable. > > The main difference between shutdown and reboot is that shutdown goes > through the rc.d files and issues a 'stop' for each. reboot simply kills > running processes, first by sending SIGTERM and then sending SIGKILL to > those that still live. So something is failing to die and that "something" > is probably X. The system still responds to ICMP ECHOREQUEST (i.e. ping), > but I can't fire up an ssh session. > > As the KMS code does not switch the display mode back, once X with KMS > starts, you can't get a console back. > > Since the system is deadlocked in this state, I suspect something bad is > happening in the KMS code that leaves the system hung. > > I may try to run a firewire console. Never tried it, but it should work. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >