From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 2 04:12:16 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B308316A41F for ; Sat, 2 Jun 2007 04:12:16 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id 42AC113C46C for ; Sat, 2 Jun 2007 04:12:16 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so779611mue for ; Fri, 01 Jun 2007 21:12:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AdPa+Nrw9QKO7tWP5HgE272kMHqt0KGW2rllky8ThnrINo7KFJy6BRnu1dcqCOZWilTvyxGNUA7QrTvL1fTtuvBxHZkiWlqBOhX5zrMoCxkLA5pvAoZ06nNmgNquME+FeQBk4t7Z14bec/EDb5zemT2uTxAYrnAo7MF8w0TsIFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sYi5Yw/f3Ykzgr+DZ0lG0BFvGsNQ7uOKr2zek6BsYCu9KtaT8C/wcP5aS9Cay3sVtIx0w/GfWkW41Xi3VyOekDh8qlXRQky4KV+37snwe8zt78EsFYRdAf+3YK9r5oJoLbTl1dn9KfWlVJssNehStq89y6SQWZSRh0GJgzIAyro= Received: by 10.82.134.12 with SMTP id h12mr2574075bud.1180757534973; Fri, 01 Jun 2007 21:12:14 -0700 (PDT) Received: by 10.82.151.12 with HTTP; Fri, 1 Jun 2007 21:12:14 -0700 (PDT) Message-ID: <24393ae80706012112he0e2a96x1e0da9e8f5f6d1b0@mail.gmail.com> Date: Sat, 2 Jun 2007 00:12:14 -0400 From: "Andrey Shuvikov" To: freebsd-acpi@freebsd.org In-Reply-To: <24393ae80705290916i7962bfaak62ea867494d2e77b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <24393ae80705172026u6194f11esc525d52470aa71f9@mail.gmail.com> <200705251706.23021.jhb@freebsd.org> <24393ae80705261014y7fd9ffc2qff2743915d97f01c@mail.gmail.com> <200705291137.49772.jhb@freebsd.org> <24393ae80705290916i7962bfaak62ea867494d2e77b@mail.gmail.com> Subject: Re: Computer hangs on reboot X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 04:12:16 -0000 On 5/29/07, Andrey Shuvikov wrote: > On 5/29/07, John Baldwin wrote: > > On Saturday 26 May 2007 01:14:52 pm Andrey Shuvikov wrote: > > > I tried to add some debug output to cpu_reset_real() code: > > > > > > printf("cpu_reset_real(): before keyboard reset\n"); > > > outb(IO_KBD + 4, 0xFE); > > > printf("cpu_reset_real(): after keyboard reset\n"); > > > > > > The last two lines I see on the screen when I try to reboot are: > > > > > > cpu_reset_real(): before keyboard reset > > > c > > > > > > So the computer is halted but doesn't go to reboot. > > > > So what if you disable the keyboard reset and let the other methods happen? > > > > -- > > John Baldwin > > > > I tried to set BROKEN_KEYBOARD_RESET option but nothing changed > (except that I didn't see these debugging messages, obviously). Is it > possible that keyboard controller issues the reset signal but the CPU > waits for something? Or reset pin is disabled somehow? > Tried to investigate further... Added code to print keyboard controller output port to make sure A20 is open. Got 0x0B. Does it mean that A20 is really open? If A20 is controlled by some kind of "Fast A20" option, will keyboard controller still show the right status? And what else can I check? Thanks, Andrey