From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 28 15:02:30 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3652F1065672; Wed, 28 Apr 2010 15:02:30 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 63B7E8FC16; Wed, 28 Apr 2010 15:02:29 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id d26so961965eyd.9 for ; Wed, 28 Apr 2010 08:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=nvzxeErbDJ1abb+MzWkMLq01wcvB3SVX4DJs9cxFV5w=; b=hBOdN8tmVYPADzyv3CerBDvX6vN6wudOdLG8C6zRCnjkYpLXr6wvv/pLhmNFBQ7yt3 73fFWUUH41eBq5jUuDOWZehcX32fMHtdjlC9MGKCZn8W12kX5f82VPKBwmRS2PV+Masf w2qcJyjauZLiMCwa+z94k3I8kwaA6UkF9ukyE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=VfaKdZcrLrsY2CUdlxha4ynm1Bpt8IUpQz9QgPCvAD4nV24nH9RsvBcxRQKYlbaemD qgfLH7RTYFAaSAMkQdG76Y1VApV8pzl7qJ0dOJzD+PB4jU+AVZRMsh8C5qsi+IhYRiSb s4WiPFIlkOQr9pde7QXAggTWp7ZJ9/QAmDetI= Received: by 10.103.69.16 with SMTP id w16mr4189174muk.61.1272466940687; Wed, 28 Apr 2010 08:02:20 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 12sm27509824muq.33.2010.04.28.08.02.18 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Apr 2010 08:02:19 -0700 (PDT) Sender: Alexander Motin Message-ID: <4BD84DED.2060209@FreeBSD.org> Date: Wed, 28 Apr 2010 18:02:05 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Andy Farkas References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org, Scott Long , freebsd-stable@freebsd.org Subject: Re: MFC of "Large set of CAM improvements" breaks I/O to Adaptec 29160 SCSI controller X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 15:02:30 -0000 Andy Farkas wrote: > RELENG_8 csup'd with date=2010.02.14.00.00 works perfectly for days. > > RELENG_8 csup'd with date=2010.02.15.00.00 dead-locks the disk I/O > subsystem. Network still operational but anything needing disk hangs. > Power-cycle required. > > kernel config is GENERIC with KDB, DDB and BREAK_TO_DEBUGGER options added. > > hardware: > ahc0: port 0x4000-0x40ff mem > 0xefa00000-0xefa00fff irq 16 at device 0.0 on pci10 > ahc0: [ITHREAD] > aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs > > da0: Fixed Direct Access SCSI-3 device > da1: Fixed Direct Access SCSI-3 device > > > The dead-lock can happen at any time, but I can provoke it by running > a bonnie++ disk test. It happens doing rm -rf /usr/obj/usr and it has > happened doing a make installworld. It can survive a make buildworld > (the system runs normally until it decides to dead-lock). > > The box (HP ProLiant ML 110) has 2 scsi disks and 4 sata disks. The > 2010.02.15 kernel will run perfectly for days on the SATA disks. *Only* > when the scsi disks are accessed will the system dead-lock. Note that > the SATA disks do not work either if the system has dead-locked. > > I can provide more details and a vmcore.0 if anyone is interested. I have some 29160N locally and I'll try to reproduce this. -- Alexander Motin