From owner-freebsd-acpi@FreeBSD.ORG Tue May 29 16:16:50 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 E5E4216A468 for ; Tue, 29 May 2007 16:16:50 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id 780BD13C4C9 for ; Tue, 29 May 2007 16:16:50 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1550965mue for ; Tue, 29 May 2007 09:16:49 -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=BesZIlyk5cthH7r0UTh5l+2F5v7qMwprNdJeD+HZu67+7vwrKN7djWur+0rcERXzojNsjDPHmx/yH/kAngU3sWlRSUDOcR4PSigkk6mlPMzZBT++hQUhnIWekoZVYMS1fwkZXpIZ8xUtTeV2hbjoIEtFgZtrc3Jly1kQeuHQqQ8= 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=H2wHc0iiFaio8U9xRqFTby4dVJRiwYQUaxO9X3YdHYHC5tffTp6auLCc2IAnOfpzaysywyO09HVdZaNesH9/DLzddbrhHDOzMsCJ9rKs9qCNENcRwG69lp+ziZCeME67sRnLCLQEL6WV7y8cD3MTVyIRLkWr3Gv7Q0L69mgTjzs= Received: by 10.82.163.13 with SMTP id l13mr12930237bue.1180455405893; Tue, 29 May 2007 09:16:45 -0700 (PDT) Received: by 10.82.151.12 with HTTP; Tue, 29 May 2007 09:16:45 -0700 (PDT) Message-ID: <24393ae80705290916i7962bfaak62ea867494d2e77b@mail.gmail.com> Date: Tue, 29 May 2007 12:16:45 -0400 From: "Andrey Shuvikov" To: freebsd-acpi@freebsd.org In-Reply-To: <200705291137.49772.jhb@freebsd.org> 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> 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: Tue, 29 May 2007 16:16:51 -0000 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?