From owner-freebsd-bugs@FreeBSD.ORG Thu May 1 02:00:10 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C49AC1065687 for ; Thu, 1 May 2008 02:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB9B58FC0C for ; Thu, 1 May 2008 02:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4120A1j017527 for ; Thu, 1 May 2008 02:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4120AWV017526; Thu, 1 May 2008 02:00:10 GMT (envelope-from gnats) Date: Thu, 1 May 2008 02:00:10 GMT Message-Id: <200805010200.m4120AWV017526@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bob Frazier Cc: Subject: Re: kern/123140: [smp] SMP boot causes slow KB, ATA drives not detected X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Frazier List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 02:00:10 -0000 The following reply was made to PR kern/123140; it has been noted by GNATS. From: Bob Frazier To: bug-followup@FreeBSD.org Cc: gavin@FreeBSD.org Subject: Re: kern/123140: [smp] SMP boot causes slow KB, ATA drives not detected Date: Wed, 30 Apr 2008 19:52:41 -0700 This is a multi-part message in MIME format. --------------000708010602050809070505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit re-compiled kernel with latest (7-RELEASE) source, and added debugging to kernel to troubleshoot locks. Here's a snapshot of the requested information. --------------000708010602050809070505 Content-Type: text/plain; name="log4.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="log4.txt" ata2: SATA connect time=0ms ata2: reset tp1 mask=01 ostat0=58 ostat1=00 ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata2: reset tp2 stat0=50 stat1=00 devices=0x1 ata2: reinit done .. KDB: enter: manual escape to debugger [thread pid 22 tid 100021 ] Stopped at kdb_enter_why+0x3a: movl $0,kdb_why db> show alllocks Process 22 (swi6: Giant taskq) thread 0xc522e220 (100021) exclusive sleep mutex Giant r = 0 (0xc0bcc3f0) locked @ /usr/src/sys/kern/kern_intr.c:1035 db> show lock 0xc0bcc3f0 class: sleep mutex name: Giant flags: {DEF, RECURSE} state: {OWNED, CONTESTED} owner: 0xc522e220 (tid 100021, pid 22, "swi6: Giant taskq") db> show locktree db> show allchains chain 1: thread 100007 (pid 16, swi4: clock sio) blocked on lock 0xc0bcc3f0 (sleep mutex) "Giant" thread 100021 (pid 22, swi6: Giant taskq) running on CPU 0 --------------000708010602050809070505--