From owner-freebsd-stable@FreeBSD.ORG Wed May 18 12:43:44 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 52D4616A4CE; Wed, 18 May 2005 12:43:44 +0000 (GMT) Received: from postmaster.etv.net (postmaster.etv.net [208.14.190.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id A112443D9B; Wed, 18 May 2005 12:43:43 +0000 (GMT) (envelope-from efinleywork@efinley.com) Received: from work.efinley.com ([205.161.203.55] helo=elliotdevelop) by postmaster.etv.net with smtp (Exim 4.50 (FreeBSD)) id 1DYNth-000Jul-Dr; Wed, 18 May 2005 06:43:37 -0600 Message-ID: <042501c55ba7$360fac30$37cba1cd@emerytelcom.com> From: "Elliot Finley" To: "Peter Jeremy" References: <001801c55a14$609720d0$37cba1cd@emerytelcom.com> <20050516195859.GA59189@server.vk2pj.dyndns.org> Date: Wed, 18 May 2005 06:43:37 -0600 Organization: Emery Telcom MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 cc: freebsd-stable@freebsd.org cc: sos@freebsd.org Subject: Re: 5.4-RC2 freezing - ATA related? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Elliot Finley List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 12:43:44 -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). Had the system lock up again. This is with the new ATA mkIII patches on http://people.freebsd.org/~sos/ATA. I didn't get the crashdump (forgot to set dumpdev), but I did get 'ps' and 'show lockedvnods' output from DDB. The output is in the form of screenshots combined into a single .pdf which can be accessed here http://www.efinley.com/Binder1.pdf I hope this is helpful, I'll get a crashdump next time (probably tomorrow morning). Elliot