From owner-freebsd-stable@FreeBSD.ORG Thu Oct 7 16:38:01 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 F2960106566B for ; Thu, 7 Oct 2010 16:38:00 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id 5DEBE8FC23 for ; Thu, 7 Oct 2010 16:38:00 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id 2F38B1D008; Thu, 7 Oct 2010 18:19:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=3TZzhLY +wWPPoUC7c0zn4cgXVX0=; b=WpoB94ZascXl/dhZ+mjPEcG7S4j1uNLwnEzxOYI BOMLqf4iDGIDsNpelSzbJfPfSJuAXF1Nf/uCaxjl7QboT3LiBX/M16niQrv9i8Jy kUneF2tnV9+p6lD64g5CFqFzarjYZDPP8sZlgSvCy6g9Yf/EYPp+TSZvcdSiMD4i 5Cio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=J 3pNDh5ObRuVt+aRqyJfrDI0GLK806Ol6syNbIoP6tbuUUyHS9tPuxvlmKYYpnS5N UXn0ljdZZXQZ2o+qZm+plwdQQUJXnlwWCkj5zD/T3O8xbCqjuhiViS3i8lZofUHb VCvYFFU3N0a6qoJ6Z0lP9uOFeDnqm+PUbBmWbBU3qY= Received: from [172.16.2.182] (syn.hq.ismobile.com [172.16.2.182]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id 801211CDFE; Thu, 7 Oct 2010 18:19:48 +0200 (CEST) Date: Thu, 07 Oct 2010 18:19:48 +0200 From: Goran Lowkrantz To: John Hay , freebsd-stable@freebsd.org Message-ID: In-Reply-To: <20101007155042.GA88362@zibbi.meraka.csir.co.za> References: <20101007121558.GA70199@zibbi.meraka.csir.co.za> <20101007155042.GA88362@zibbi.meraka.csir.co.za> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: zfs hang in zio->io_cv) with dd read 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: Thu, 07 Oct 2010 16:38:01 -0000 --On October 7, 2010 17:50:42 +0200 John Hay wrote: > On Thu, Oct 07, 2010 at 02:35:31PM +0200, Ivan Voras wrote: >> On 10/07/10 14:15, John Hay wrote: >> > Hi, >> > >> > I got hold of a SunFire X4500 with 48 X 500G disks and thought to try >> > FreeBSD 8-stable with zfs on it. >> > >> > I have setup the two boot disks in a zfs mirror and then the rest in >> > a pool of 6 X raidz2 of 7 disks each. >> > >> > I have created a 10G file with dd in the second pool, but if I try to >> > read it with dd, dd will hang in "zio->io_cv)" according to ^T. This >> > happens everytime. The first time I saw messages about an interrupt >> > storm, so I have put "hw.intr_storm_threshold=10000" in >> > /etc/sysctl.conf. According to "systat -vm 1" there is atapci for 2-3 >> > seconds and then it is quiet. >> >> There are two things you could try: 1) use the AHCI driver >> (ahci_load="YES" in /boot/loader.conf) and 2) disable superpages, they >> don't get along on a few models of Opterons (vm.pmap.pg_ps_enabled=0 in >> /boot/loader.conf). > > ahci does not grab them. According to the ahci man page, it can handle > Marvell 88SX61xx, while these are MV88SX6081 according to pciconf -lcv: > > atapci0@pci0:1:1:0: class=0x010000 card=0x11ab11ab chip=0x608111ab > rev=0x09 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo > Technology Ltd)' device = 'MV88SX6081 8-port SATA II PCI-X > Controller' > class = mass storage > subclass = SCSI > cap 01[40] = powerspec 2 supports D0 D3 current D0 > cap 05[50] = MSI supports 1 message, 64 bit > cap 07[60] = PCI-X 64-bit supports 133MHz, 512 burst read, 4 split > transactions Then try mvs_load="YES" mvs0@pci0:6:2:0: class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = 'MV88SX6081 8-port SATA II PCI-X Controller' class = mass storage subclass = SCSI mvs1@pci0:5:1:0: class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = 'MV88SX6081 8-port SATA II PCI-X Controller' class = mass storage subclass = SCSI > > I have also set vm.pmap.pg_ps_enabled=0 in loader.conf, but that did not > make a difference either. :-( > > Once dd hang in that "zio->io_cv)" state the rest of the machine is ok > and everything works as long as you stay away from the directory where > the file is that you dd from. > > There are no messages in dmesg or /var/log/messages. > > John > -- > John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" /glz