From owner-freebsd-current@FreeBSD.ORG Wed Feb 3 17:40:13 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5CB11065692 for ; Wed, 3 Feb 2010 17:40:13 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 4351B8FC15 for ; Wed, 3 Feb 2010 17:40:12 +0000 (UTC) Received: by fxm10 with SMTP id 10so1493438fxm.3 for ; Wed, 03 Feb 2010 09:40:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=jmccCo5vwRlqeFRUTdsT/loN/pata7Eb+v6rH5FMWfI=; b=ezm/9Bx6BUYc26vB5fjosYe17tv0WjM8JFUeHl324J+10x1GoR/qLeKNTMqohiC3Eg Qeny6EnT+bwb+BezniTk3bYhLCxCiCteuRlFjEyRANB7klXFzR+qntV9prW8hCruUtQB uLYRd7n7QERLeIajuRkWsxbsOctAYvmjWDYxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=YQBOcqxg9wOKoX79iRGj8hHQY0D9tdsXvlSJWnzxQZmPxZ/iGtAhk1V4zQufW9nvwY twOlHZ2d1dSBzFwqZJn/3W3DGft5mYGn1kq2ufEaB6N4zk0gAf9vEXGJ282JJMJb0kjB Rvr6eua34vM9CDYctcZ2NkliSfQ7HBVm1oNxo= Received: by 10.87.62.39 with SMTP id p39mr360185fgk.9.1265218812011; Wed, 03 Feb 2010 09:40:12 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 14sm3321691fxm.15.2010.02.03.09.40.10 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 09:40:10 -0800 (PST) Sender: Alexander Motin Message-ID: <4B69B4F6.1090608@FreeBSD.org> Date: Wed, 03 Feb 2010 19:40:06 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: David Wolfskill , FreeBSD-Current References: <20100203144037.GA32250@bunrab.catwhisker.org> In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Subject: Re: "shutdown -p": (noperiph:aacp0:0:6:0): Device power down failed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 17:40:13 -0000 David Wolfskill wrote: > On Wed, Feb 03, 2010 at 06:40:37AM -0800, David Wolfskill wrote: >> Just updated my build machine from r203376 to r203425, which seeme dto >> go well, but after I issued "shutdown -p now" (as I leave the machine >> off when it's not in use), I saw the following on the serial console: >> >> Uptime: 1m45s >> (noperiph:aacp0:0:0:0): Device power down failed >> (noperiph:aacp0:0:1:0): Device power down failed >> (noperiph:aacp0:0:2:0): Device power down failed >> (noperiph:aacp0:0:3:0): Device power down failed >> (noperiph:aacp0:0:6:0): Device power down failed >> Kernel page fault with the following non-sleepable locks held: >> exclusive sleep mutex AAC I/O lock (AAC I/O lock) r = 0 (0xc56f2130) locked @ /usr/src/sys/dev/aac/aac.c:844 >> KDB: stack backtrace: >> db_trace_self_wrapper(c0ca2cb6,e9aefb14,c08d68a5,c0c48d6b,34c,...) at db_trace_self_wrapper+0x26 >> ... >> I'll leave the machine in that state so I can poke at it, if there's >> interest in figuring out what's wrong. My laptop is a bit behind >> the build machine at the moment -- it's just started building the >> stable/8 kernel -- but I expect to be building head on it soon, and >> I'll report if anything interesting turns up. That was my change r203420. `sysctl kern.cam.power_down=0` should disable new behavior. It can be a bug of aac driver. Is it repeatable each time at the same place? > Tried the same experiment with the laptop; didn't get the above failure, > but am seeing many (as in "hundreds") of > > atapi_poll called! > atapi_poll called! This looks like atapicam misfeature. I'll look on it. -- Alexander Motin