From owner-freebsd-questions@FreeBSD.ORG Sat Jun 2 04:12:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2AFF916A41F for ; Sat, 2 Jun 2007 04:12:54 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id AEFCC13C4BD for ; Sat, 2 Jun 2007 04:12:53 +0000 (UTC) (envelope-from mr.hyro@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so779771mue for ; Fri, 01 Jun 2007 21:12:52 -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=p/mab3FI0CiD4VCDmt9NsZ5b4bE6IuEaEh8nefwI9FGTuM8OWR49s/UxIZjINdDizHPC3AS8/B9+XL/KofYSI7l8kjPFH4PmTkWmpQMuwPQn4zAOQvB/Wj6DznEBUNprsCx9jKXHkjQ1dsJNM8+IVCN4S/ywj15P2odMyINK6gM= 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=p2ebACf+pZEF3LdppoViHMU3AyVRei7BbXTKlxfrTFpCDKWCvBcHxFMFpq5ZpwRwcvuNaLGiMHKz0wBEvzhXK6IqJRYkNMBrdk1VV3G4agsIPi6DJNZDfGXI5NG1+NanXUjBi2jl/2kmhKk7BHC9opUCIhGfjI5IBjkcOTQHj6o= Received: by 10.82.152.16 with SMTP id z16mr2578828bud.1180757572529; Fri, 01 Jun 2007 21:12:52 -0700 (PDT) Received: by 10.82.151.12 with HTTP; Fri, 1 Jun 2007 21:12:52 -0700 (PDT) Message-ID: <24393ae80706012112s2ac79efcued91a9961d76c4d6@mail.gmail.com> Date: Sat, 2 Jun 2007 00:12:52 -0400 From: "Andrey Shuvikov" To: freebsd-questions@freebsd.org In-Reply-To: <24393ae80705280954y2abd61aav86ede5672674ae27@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: <24393ae80705280954y2abd61aav86ede5672674ae27@mail.gmail.com> Subject: Re: Computer hangs on reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 04:12:54 -0000 On 5/28/07, Andrey Shuvikov wrote: > Hi, > > I posted this question originally to freebsd-acpi list but without > much luck. Besides I'm not sure it's ACPI problem. > > I have a computer with SIS630E-based PCChips motherboard (M787CL+) and > FreeBSD 6.2 (lately I upgraded to RELENG_6, but it didn't help). The > problem is that when I try to reboot it just hangs. The last line I > see on the screen is "Rebooting...", then some vertical lines move > across the screen (maybe video mode switch or something like that), > and that's it. > > 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"); > > Then the last two lines I see on the screen when I try to reboot are: > > cpu_reset_real(): before keyboard reset > c > > Also I tried to set BROKEN_KEYBOARD_RESET option but nothing changed > (except I didn't see these debugging messages, obviously). > > The dmesg is at http://mysite.verizon.net/mr_hyro/acpi/dmesg.txt > > Booting with ACPI disabled doesn't help, neither does setting > hw.acpi.disable_on_reboot and hw.acpi.handle_reboot to 1 (either one > or both). > > Does anybody know how to fix this? > > Thank you, > Andrey > 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