From nobody@FreeBSD.org  Sun Feb 19 00:35:09 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 7FFDD106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Feb 2012 00:35:09 +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 6C24D8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Feb 2012 00:35:09 +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 q1J0Z9gY048416
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 Feb 2012 00:35:09 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1J0Z9JH048415;
	Sun, 19 Feb 2012 00:35:09 GMT
	(envelope-from nobody)
Message-Id: <201202190035.q1J0Z9JH048415@red.freebsd.org>
Date: Sun, 19 Feb 2012 00:35:09 GMT
From: Tim M <tim.matthews7@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: shutdown failing since upgrade to 9
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165284
>Category:       kern
>Synopsis:       shutdown failing since upgrade to 9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 19 00:40:01 UTC 2012
>Closed-Date:    
>Last-Modified:  Thu Feb 23 06:53:11 UTC 2012
>Originator:     Tim M
>Release:        9.0-STABLE FreeBSD
>Organization:
-
>Environment:
9.0-STABLE FreeBSD amd64
>Description:
Shutdown starts, syncing disks part succeeds, final power off should then occur, lots of messages appear on the screen regarding uhub (similar to startup messages perhaps), computer powers off then powers back on. Was not occurring on 8.2 and appeared only once upgraded to 9. I cannot get the full output of the messages but it appears as if some code change to relating to usb is preventing shutdown from completing.
>How-To-Repeat:
Attempt to shutdown.
>Fix:


>Release-Note:
>Audit-Trail:

From: Andriy Gapon <avg@FreeBSD.org>
To: bug-followup@FreeBSD.org, tim.matthews7@gmail.com
Cc:  
Subject: Re: kern/165284: shutdown failing since upgrade to 9
Date: Sun, 19 Feb 2012 10:46:17 +0200

 This looks like possibly an issue with improper Wakeup-On-LAN configuration on
 your network interface.  Could you please double-check this theory?
 
 -- 
 Andriy Gapon

From: Tim Matthews <tim.matthews7@gmail.com>
To: bug-followup@freebsd.org, Andriy Gapon <avg@freebsd.org>
Cc:  
Subject: Re: kern/165284: shutdown failing since upgrade to 9
Date: Mon, 20 Feb 2012 15:28:48 +1300

 --047d7b2ee3fbefc5eb04b95c0d16
 Content-Type: text/plain; charset=ISO-8859-1
 
 I've just realized I can get a successful shutdown by disabling PME in the
 BIOS. Not sure if this is considered a solution or mere workaround though.
 
 Thanks for your help.
 
 --047d7b2ee3fbefc5eb04b95c0d16--

From: Tim Matthews <tim.matthews7@gmail.com>
To: bug-followup@freebsd.org, Andriy Gapon <avg@freebsd.org>
Cc:  
Subject: Re: kern/165284: shutdown failing since upgrade to 9
Date: Mon, 20 Feb 2012 15:04:50 +1300

 --047d7b2ee3fb39491604b95bb843
 Content-Type: text/plain; charset=ISO-8859-1
 
 None of the wired ethernet sockets are used or even have a cable in. I
 tried shutting down without my usb wifi and it still failed in the same way.
 
 --047d7b2ee3fb39491604b95bb843--

From: Andriy Gapon <avg@FreeBSD.org>
To: Tim Matthews <tim.matthews7@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/165284: shutdown failing since upgrade to 9
Date: Mon, 20 Feb 2012 11:31:46 +0200

 on 20/02/2012 04:28 Tim Matthews said the following:
 > I've just realized I can get a successful shutdown by disabling PME in the BIOS.
 > Not sure if this is considered a solution or mere workaround though.
 > 
 > Thanks for your help.
 
 For the future references can you please let us know the exact names/placement
 of the option(s) that you tweaked in the BIOS?
 A digital camera screenshot would be nice too.
 Thank you!
 -- 
 Andriy Gapon

Date: Mon, 20 Feb 2012 23:48:28 +1300
Message-ID: <CAOjQODq2hhU3pWWcqxHsEvpBy=1jUza8kgpNLvTn157HFGTrCg@mail.gmail.com>
Subject: Re: kern/165284: shutdown failing since upgrade to 9
From: Tim Matthews <tim.matthews7@gmail.com>
To: Andriy Gapon <avg@freebsd.org>, bug-followup@freebsd.org

On Mon, Feb 20, 2012 at 10:31 PM, Andriy Gapon <avg@freebsd.org> wrote:
> For the future references can you please let us know the exact
> names/placement
> of the option(s) that you tweaked in the BIOS?
> A digital camera screenshot would be nice too.
> Thank you!
> --
> Andriy Gapon
>

Under 'Power Management Setup' , set 'PME Event Wake Up' to 'Disabled'

[bugmeister note: due to size, images moved to the following:

http://people.freebsd.org/~linimon/tmp/IMG00142.jpg
http://people.freebsd.org/~linimon/tmp/IMG00143.jpg
http://people.freebsd.org/~linimon/tmp/IMG00145.jpg

]

From: Andriy Gapon <avg@FreeBSD.org>
To: Tim Matthews <tim.matthews7@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/165284: shutdown failing since upgrade to 9
Date: Mon, 20 Feb 2012 13:21:28 +0200

 on 20/02/2012 12:48 Tim Matthews said the following:
 > 
 > Under 'Power Management Setup' , set 'PME Event Wake Up' to 'Disabled'
 
 Google shows that people had this problem with other operating systems too, e.g.:
 http://www.cableforum.co.uk/board/12/13534-pc-powers-itself-on.html
 https://groups.google.com/group/alt.comp.hardware.pc-homebuilt/browse_thread/thread/1f69d6a467ca4768/a800fc7c30958e98?hl=en
 
 -- 
 Andriy Gapon
>Unformatted:
