From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 30 18:26:36 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79B951065695 for ; Thu, 30 Sep 2010 18:26:36 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 00CD98FC1A for ; Thu, 30 Sep 2010 18:26:35 +0000 (UTC) Received: by bwz15 with SMTP id 15so2131487bwz.13 for ; Thu, 30 Sep 2010 11:26:34 -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:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=qk397ocKtPchNJbDQE9pNnSdMleCsWdeDDQJAUOCJhY=; b=WSQq+tPBPRsftkkFXaGlTloTftaRRqEs/fBzVIy4LD1kTM+1mNw63QbkxXhcjfCFXq gnet9wbkwhPj1n+auqe1UEm5cRMBbjPNsxXdO3YN2qAJnadcuRSXU7Ea9XCI6b3sV8nZ cj4LeXfbc+700xVPPV6zu0iPiiEv28g0J6UCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=gyJcOE4B8jQuRvZDPHv56yqJME3WVOJEUkT5gc6o7J4p/8xssbHmw1A3fXCCZC49RL 9grEpEMWPn/6jNCdH81FgBDD1Dtyq16vfZhiCmYrd6OAoIyo+GQ2YZ1mJrBKKs3EWSn4 Znn+7YTQKV00HUzTuwve1vVXVMhZGLGDYBZ8E= Received: by 10.204.82.137 with SMTP id b9mr3027012bkl.127.1285871194698; Thu, 30 Sep 2010 11:26:34 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id x13sm165267bki.12.2010.09.30.11.26.32 (version=SSLv3 cipher=RC4-MD5); Thu, 30 Sep 2010 11:26:33 -0700 (PDT) Sender: Alexander Motin Message-ID: <4CA4D64A.9020807@FreeBSD.org> Date: Thu, 30 Sep 2010 21:26:18 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Karl Pielorz , freebsd-hackers@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: 8.1-R - Marvell 88SX6081 SATA controller via mvs = lots of errors X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 18:26:36 -0000 Hi. Karl Pielorz wrote: > I just switched my 8.1-R/amd64 (dual Opteron) system from ATA over to > the new mvs driver, and started seeing a whole bunch of errors (which > appear to have hosed one of my zfs volumes during a scrub) - anyone know > what the following errors actually mean? > > The machine has 2 * 88SX6081's in it: > > " > Sep 28 19:58:49 kernel: mvs0: port > 0x3000-0x30ff mem 0xd0100000-0xd01fffff,0xd0400000-0xd07fffff irq 24 at > device 4.0 on pci17 > Sep 28 19:58:49 kernel: mvs0: Gen-II, 8 3Gbps ports, Port Multiplier > ... > Sep 28 19:58:49 kernel: mvs1: port > 0x4000-0x40ff mem 0xd0c00000-0xd0cfffff,0xd0800000-0xd0bfffff irq 28 at > device 4.0 on pci18 > Sep 28 19:58:49 kernel: mvs1: Gen-II, 8 3Gbps ports, Port Multiplier > supported > " > > Under 7.2 they ran fine, with the ATA driver. I use ZFS on this machine > - and both pools were scrubbed before the upgrade (and backed up > fortunately!). > > > With the mvs driver, during a scrub of the main volume, I see: > > " > Sep 29 08:56:13 kernel: mvsch12: EMPTY CRPB 6 (->14) 1 4000 > Sep 29 08:56:13 kernel: mvsch12: EMPTY CRPB 7 (->14) 0 4000 > Sep 29 08:56:13 kernel: mvsch12: EMPTY CRPB 8 (->14) 2 4000 > " > > [repeated a lot - interspersed with zfs reporting problems with files, > on all the devices in the pool] > > I then also get a whole bunch of: > > " > Sep 29 08:56:56 kernel: mvsch0: Timeout on slot 1 > Sep 29 08:56:56 kernel: mvsch0: iec 02000000 sstat 00000123 serr > 00000000 edma_s 00001020 dma_c 00000000 dma_s 00000000 rs 00000006 statu > s 40 > Sep 29 08:56:56 kernel: mvsch0: ... waiting for slots 00000004 > Sep 29 08:56:56 kernel: mvsch12: Timeout on slot 5 > Sep 29 08:56:56 kernel: mvsch12: iec 02000000 sstat 00000123 serr > 00000000 edma_s 00001121 dma_c 00000000 dma_s 00000000 rs 00000028 stat > us 40 > " "EMPTY CRPB" error means that controller reported completion for command slot that driver counted as empty at the moment. Can't say if it is hardware or driver issue. Timeouts could be related but I am not sure what is the reason and what is consequence here. It could help if you send me full log of those messages to create full picture. -- Alexander Motin