From owner-freebsd-stable@FreeBSD.ORG Thu Jul 9 18:25:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FC1D10656A8 for ; Thu, 9 Jul 2009 18:25:45 +0000 (UTC) (envelope-from thomas@ronner.org) Received: from mail.knopje.net (mail.knopje.net [213.214.107.232]) by mx1.freebsd.org (Postfix) with ESMTP id 331BC8FC0A for ; Thu, 9 Jul 2009 18:25:45 +0000 (UTC) (envelope-from thomas@ronner.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.knopje.net (Postfix) with ESMTP id 712A138128; Thu, 9 Jul 2009 20:25:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at knopje.net Received: from mail.knopje.net ([127.0.0.1]) by localhost (hal.knopje.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ig9WbusHNDg7; Thu, 9 Jul 2009 20:25:44 +0200 (CEST) Received: from [192.168.28.109] (48-251.surfsnel.dsl.internl.net [145.99.251.48]) by mail.knopje.net (Postfix) with ESMTP id 09809380FC; Thu, 9 Jul 2009 20:25:43 +0200 (CEST) Message-ID: <4A563627.7040407@ronner.org> Date: Thu, 09 Jul 2009 20:25:43 +0200 From: Thomas Ronner User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Andriy Gapon References: <1247085058.6197.18.camel@bugstore> <4A55F96B.6070303@icyb.net.ua> <4A560E2F.1050906@ronner.org> <4A5626FC.5000306@ronner.org> <4A562A4A.2000201@icyb.net.ua> In-Reply-To: <4A562A4A.2000201@icyb.net.ua> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: ZFS: zpool scrub lockup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 18:25:45 -0000 Andriy Gapon wrote: > For watchdog to fire it first needs to be enabled, e.g. by starting watchdogd. > Try to run /etc/rd.d/watchdogd onestart before zfs start and then wait for about > 16 seconds (default timeout). I tried this. When only running 'watchdog' (without starting the daemon) it enters the debugger in 16 seconds. The only way to continue is issuing the 'watchdog' debugger command (I presume this disables the watchdog?), followed by 'c'. But when re-enabling the watchdog by running /etc/rc.d/watchdogd start (I already added watchdogd to rc.conf) > If that doesn't help, then it seems that the only option would be debugging via > serial console. Or manually generating NMI, if your system has an NMI > button/switch/jumper. No, I don't have a manual NMI thingy. Is this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-gdb.html (10.6 On-Line Kernel Debugging Using Remote GDB) the debugging via serial console you're referring to? Thanks, Thomas