kern/123140: [smp] SMP boot causes slow KB, ATA drives not detected

Bob Frazier bobf at mrp3.com
Thu May 1 02:00:10 UTC 2008


The following reply was made to PR kern/123140; it has been noted by GNATS.

From: Bob Frazier <bobf at mrp3.com>
To: bug-followup at FreeBSD.org
Cc: gavin at 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<ATA_MASTER>
 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--


More information about the freebsd-bugs mailing list