From owner-freebsd-stable@FreeBSD.ORG Mon May 16 19:59:12 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 503DE16A4CE for ; Mon, 16 May 2005 19:59:12 +0000 (GMT) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9206743D76 for ; Mon, 16 May 2005 19:59:11 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c211-30-75-229.belrs2.nsw.optusnet.com.au [211.30.75.229]) j4GJx0pW012118 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 17 May 2005 05:59:01 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1])j4GJx0UO059284; Tue, 17 May 2005 05:59:00 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.13.1/8.13.1/Submit) id j4GJwxsN059283; Tue, 17 May 2005 05:58:59 +1000 (EST) (envelope-from peter) Date: Tue, 17 May 2005 05:58:59 +1000 From: Peter Jeremy To: Elliot Finley Message-ID: <20050516195859.GA59189@server.vk2pj.dyndns.org> References: <001801c55a14$609720d0$37cba1cd@emerytelcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001801c55a14$609720d0$37cba1cd@emerytelcom.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: 5.4-RC2 freezing - ATA related? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 19:59:12 -0000 On Mon, May 16, 2005 at 06:40:01AM -0600, Elliot Finley wrote: >The system freezes, but isn't totally dead. It'll still respond to pings, >the screensaver still functions, but it won't respond to a CAD at the >console. But if I press 'Enter' at the console, it'll give me a 'login:' >prompt, but after entering the username, it never comes back with the >'password:' prompt. ... >On my lightly loaded systems, it happens rarely. On my mailserver (fairly >heavy disk load), it happens quite frequently. This could equally be a filesystem deadlock (race-to-root) rather than something in the ATA controller. Do you know if it happens gradually (starts with one or two non-responsive, unkillable processes and gets worse until nothing happens)? >How can I troubleshoot this? Re-compile the kernel with: options KDB options DDB makeoptions DEBUG=-g and ensure you have a "dumpdev" in /etc/rc.conf. When you get a lockup, drop to DDB (Ctrl-Alt-ESC) and run "show lockedvnods", "ps" and "call doadump()". If you post the output (a serial console will help here) someone might be able to provide more pointers. (The crashdump will help with later debugging). Note: If you don't have another FreeBSD system handy, a hard copy of ddb(4) will be very handy if you want to play around in DDB. -- Peter