From owner-freebsd-stable@FreeBSD.ORG Fri Mar 12 21:52:33 2010 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 3F663106566C; Fri, 12 Mar 2010 21:52:33 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id 7488B8FC16; Fri, 12 Mar 2010 21:52:32 +0000 (UTC) Received: by fxm23 with SMTP id 23so1688832fxm.3 for ; Fri, 12 Mar 2010 13:52:31 -0800 (PST) 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=NV8tJFdp2BUjPxtwWpup2plB6nu8xJsEpuJRVbWmCy0=; b=VnfcaRrEPFriydgFxiWF7V+R80N2c1OPZYRHoAYFkKL7wZsaM8jHbezk5At23Zd3kE rPCrp2YTQnYGmucdgXtchDUryXvubqWbDu8zJS9S0FqJLCzXMnjQyrI9pra7w5YFzSCu +ovLWS3GnH0CsEO8aOHV24uZTFnBYNGD2PjqY= 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=OksR/9/dQBtaAWqlAEjI78JLrOsPB/jtcqhxs2GEDPbePEySim+rmkz9wCR1QHyWBw vtXARDVTKiVHCscuy6EH57nIIJDuheHwYe4pbo2MatW89bWVr5HAD/+5eNmoRGpdaMpH FZzQzj34kp4Nv7sXgscMm4C79oNSVIevKLLx4= Received: by 10.223.143.18 with SMTP id s18mr1651141fau.64.1268430751344; Fri, 12 Mar 2010 13:52:31 -0800 (PST) Received: from mavbook.mavhome.dp.ua (s224.GtokyoFL6.vectant.ne.jp [222.228.90.224]) by mx.google.com with ESMTPS id 16sm1342126fxm.7.2010.03.12.13.52.29 (version=SSLv3 cipher=RC4-MD5); Fri, 12 Mar 2010 13:52:30 -0800 (PST) Sender: Alexander Motin Message-ID: <4B9AB799.6070906@FreeBSD.org> Date: Fri, 12 Mar 2010 23:52:25 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Kai Gallasch References: <20100311133916.42ba69b0@orwell.free.de> <20100312115028.GG1819@garage.freebsd.pl> <4B9A8A27.8050608@FreeBSD.org> <20100312222659.0198dd03@orwell.free.de> In-Reply-To: <20100312222659.0198dd03@orwell.free.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, Pawel Jakub Dawidek , freebsd-stable@FreeBSD.org Subject: Re: proliant server lockups with freebsd-amd64-stable (2010-03-10) 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: Fri, 12 Mar 2010 21:52:33 -0000 Kai Gallasch wrote: > Am Fri, 12 Mar 2010 20:38:31 +0200 > schrieb Alexander Motin : >> Pawel Jakub Dawidek wrote: >>> I was analizing similar problem as potential ZFS bug. It turned out >>> to be bug in ciss(4) and I believe mav@ (CCed) has fix for that. >> That my patch is already at 8-STABLE since r204873 of 2010-03-08. Make >> sure you have it. > > Updating collection src-all/cvs > .. > .. > Edit src/sys/dev/ciss/ciss.c > Edit src/sys/dev/ciss/cissvar.h > > Didn't have it! Must have been just a few hours I missed it, > when I built the last kernel. So I will rebuild my kernel and > give it a spin later on. > >> In this case trap stopped process at ciss_get_request(), which indeed >> called holding cissmtx lock. But there is no place to sleep or loop >> there, so may be it was just spontaneous. With bugs I was fixing there >> was a chance to loop indefinitely between ciss and CAM on resource >> constraint. That increases chance for such situation to be caught. >> >> You may try also look what's going on with `top -HS` and `systat -vm >> 1`. > > FYI. Without your patch of ciss.c and cissvar.h a lockup with top -HS > and systat -vm running gives following information below. Is there a > pattern visible relating to your patch of the ciss driver? May be. You should try, -- Alexander Motin