NetBSD Problem Report #41703

From mark@ecs.vuw.ac.nz  Sun Jul 12 11:26:45 2009
Return-Path: <mark@ecs.vuw.ac.nz>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 327F063B913
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Jul 2009 11:26:45 +0000 (UTC)
Message-Id: <200907121044.n6CAiJmm003937@turakirae.ecs.vuw.ac.nz>
Date: Sun, 12 Jul 2009 22:44:19 +1200 (NZST)
From: mark@ecs.vuw.ac.nz
Reply-To: mark@ecs.vuw.ac.nz
To: gnats-bugs@gnats.NetBSD.org
Subject: hangs during powerdown
X-Send-Pr-Version: 3.95

>Number:         41703
>Category:       kern
>Synopsis:       hangs during powerdown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 12 11:30:00 +0000 2009
>Last-Modified:  Sun Jul 12 14:05:02 +0000 2009
>Originator:     Mark Davies
>Release:        NetBSD 5.0_STABLE
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:


System: NetBSD turakirae.ecs.vuw.ac.nz 5.0_STABLE NetBSD 5.0_STABLE (ECS_WORKSTATION) #15: Fri Jun 26 10:02:00 NZST 2009 mark@turakirae.ecs.vuw.ac.nz:/local/SAVE/build.obj/src/work/5/src/sys/arch/i386/compile/ECS_WORKSTATION i386
Architecture: i386
Machine: i386
>Description:
	Currently on my boxes (running 5.0) I see this:

	Dell Optiplex 745's 755's and 760's - approx 50% of the time "halt -p" 
	will successfully power off, the rest of the time hangs after "acpi0: 
	entering state 5"  (these are all twin cpu machines).

	However Dell Latitude laptop (E6400 and D620, both twin cpus) "halt -p"
	always successfully powers off.
>How-To-Repeat:
	"halt -p", observe

>Fix:
	Joerg Sonnenberger suggested a patch at http://www.netbsd.org/~joerg/cpu.c.diff
	however that results in a 
		panic: cpu_switchto: switching above IPL_SCHED(8)
	on halt.


>Audit-Trail:
From: Soren Jacobsen <snj@pobox.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/41703: hangs during powerdown
Date: Sun, 12 Jul 2009 07:00:59 -0700

 On Jul 12, 2009, at 4:30 AM, mark@ecs.vuw.ac.nz wrote:

 > 	Dell Optiplex 745's 755's and 760's - approx 50% of the time "halt - 
 > p"
 > 	will successfully power off, the rest of the time hangs after "acpi0:
 > 	entering state 5"  (these are all twin cpu machines).

 I see this behavior on a Gigabyte EG45M-DS2H.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.