From nobody@FreeBSD.org  Mon Apr  9 23:06:20 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 547BE106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Apr 2012 23:06:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 279368FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Apr 2012 23:06:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q39N6JL6052970
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 9 Apr 2012 23:06:19 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q39N6JKP052969;
	Mon, 9 Apr 2012 23:06:19 GMT
	(envelope-from nobody)
Message-Id: <201204092306.q39N6JKP052969@red.freebsd.org>
Date: Mon, 9 Apr 2012 23:06:19 GMT
From: RX <rx@sigint.ws>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Inability to reboot system
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166806
>Category:       kern
>Synopsis:       Inability to reboot system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 09 23:10:15 UTC 2012
>Closed-Date:    
>Last-Modified:  Tue May 15 02:50:01 UTC 2012
>Originator:     RX
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD Dell-R815 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Cannot reboot the system.  Last message seen on the console is "Uptime: 1d2h33m".  At this time the keyboard is unresponsive and a physical power cycle is needed to complete the reboot.

Hardware is:

Dell R815, Four AMD 12 Core CPUs, 64GB RAM.


>How-To-Repeat:
Use Dell r815.

>Fix:


>Release-Note:
>Audit-Trail:

From: Attilio Rao <attilio@freebsd.org>
To: bug-followup@FreeBSD.org, rx@sigint.ws
Cc:  
Subject: Re: kern/166806: Inability to reboot system
Date: Sat, 21 Apr 2012 02:17:01 +0100

 Are you eventually able to make some tests on that machine if I send
 you some instruction/patches? Is the problem 100% reproducible?
 Can you try by starting with showing "sysctl hw.acpi.handle_reboot"
 and force it to 0 (and see what happens)?

From: RX <rx@sigint.ws>
To: Attilio Rao <attilio@freebsd.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/166806: Inability to reboot system
Date: Mon, 30 Apr 2012 17:30:47 -0700

 On Apr 20, 2012, at 6:17 PM, Attilio Rao wrote:
 
 > Are you eventually able to make some tests on that machine if I send
 > you some instruction/patches? Is the problem 100% reproducible?
 > Can you try by starting with showing "sysctl hw.acpi.handle_reboot"
 > and force it to 0 (and see what happens)?
 
 
 Hello Attillio,
 
 I have hardware dedicated to resolving this problem.
 
 The problem is 100% reproducible.
 
 The sysctl you asked for is already set to zero.
 
 sysctl -a |grep handle_reboot
 hw.acpi.handle_reboot: 0
 
 --RX
 

From: Attilio Rao <attilio@freebsd.org>
To: RX <rx@sigint.ws>
Cc: bug-followup@freebsd.org
Subject: Re: kern/166806: Inability to reboot system
Date: Tue, 1 May 2012 16:29:19 +0100

 2012/5/1, RX <rx@sigint.ws>:
 > On Apr 20, 2012, at 6:17 PM, Attilio Rao wrote:
 >
 >> Are you eventually able to make some tests on that machine if I send
 >> you some instruction/patches? Is the problem 100% reproducible?
 >> Can you try by starting with showing "sysctl hw.acpi.handle_reboot"
 >> and force it to 0 (and see what happens)?
 >
 >
 > Hello Attillio,
 >
 > I have hardware dedicated to resolving this problem.
 >
 > The problem is 100% reproducible.
 >
 > The sysctl you asked for is already set to zero.
 >
 > sysctl -a |grep handle_reboot
 > hw.acpi.handle_reboot: 0
 
 Can you try to update your BIOS to latest available version and see if
 handle_reboot changes its value?
 
 Thanks,
 Attilio
 
 
 -- 
 Peace can only be achieved by understanding - A. Einstein

From: RX <rx@sigint.ws>
To: Attilio Rao <attilio@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/166806: Inability to reboot system
Date: Wed, 02 May 2012 11:34:58 +0000

 On 05/01/12 15:29, Attilio Rao wrote:
 > Can you try to update your BIOS to latest available version and see if 
 > handle_reboot changes its value? Thanks, Attilio 
 
 The system is already running the current bios version, 2.3.0.
 
 What relation does handle_reboot have here ?  All systems I've checked 
 have this set to '0'.
 
 --RX
 

From: Attilio Rao <attilio@freebsd.org>
To: RX <rx@sigint.ws>
Cc: bug-followup@freebsd.org
Subject: Re: kern/166806: Inability to reboot system
Date: Sat, 12 May 2012 17:18:11 +0100

 2012/5/2 RX <rx@sigint.ws>:
 > On 05/01/12 15:29, Attilio Rao wrote:
 >>
 >> Can you try to update your BIOS to latest available version and see if
 >> handle_reboot changes its value? Thanks, Attilio
 >
 >
 > The system is already running the current bios version, 2.3.0.
 >
 > What relation does handle_reboot have here ? =C2=A0All systems I've check=
 ed have
 > this set to '0'.
 
 It means that your ACPI FADT doesn't likely have RESET_REG on.
 However, maybe you don't even get to the cpu stopping part, can you
 apply the following patch and tell me if you see more output before to
 stop?
 http://www.freebsd.org/~attilio/shutdowncheck.patch
 
 Also do you have a serial console you can use on any of those machines?
 
 Attilio
 
 
 --=20
 Peace can only be achieved by understanding - A. Einstein

From: RX <rx@sigint.ws>
To: Attilio Rao <attilio@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: kern/166806: Inability to reboot system
Date: Mon, 14 May 2012 17:42:36 -0700

 On May 12, 2012, at 9:18 AM, Attilio Rao wrote:
 
 > It means that your ACPI FADT doesn't likely have RESET_REG on.
 > However, maybe you don't even get to the cpu stopping part, can you
 > apply the following patch and tell me if you see more output before to
 > stop?
 > http://www.freebsd.org/~attilio/shutdowncheck.patch
 
 Thanks.  Both checkpoints are reached.  The last line is "Rebooting...".
 
 
 > Also do you have a serial console you can use on any of those machines?
 
 I'll make it happen.
 
 --RX
 
 
 

From: RX <rx@sigint.ws>
To: Attilio Rao <attilio@freebsd.org>,
 bug-followup@freebsd.org
Cc:  
Subject: Re: kern/166806: Inability to reboot system
Date: Mon, 14 May 2012 19:45:11 -0700

 While working at setting up the serial console I noticed the system will =
 reboot at the boot menu by hitting option #3.
 
 --RX
 
>Unformatted:
