From owner-freebsd-stable@FreeBSD.ORG Tue Dec 15 20:05:20 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 979E6106566B for ; Tue, 15 Dec 2009 20:05:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 287658FC18 for ; Tue, 15 Dec 2009 20:05:19 +0000 (UTC) Received: by fxm27 with SMTP id 27so273543fxm.3 for ; Tue, 15 Dec 2009 12:05:19 -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=6qXyPioaQ4wQRRS6O2P6X9JVLTik3ej2upWVedTsxDU=; b=BLfM3SACzXpL8BXlj3cIWbYi2tAvdRRckN9aLe8qY/nq7yrKl8p9ZaQiEme1vYS3/7 KQ4pR/Ey1QhCy6cRt38ZSVUtMWIEeEdFai9wayu5Zc6/pFe9txIq7V3rrJL/ZrkX0rek lpBW8GeVSRbl6ZPTYfdOhGArjbuBr4/TkzRgw= 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=dR/0W1utSR6DAKMqF8DzpsH4PDyp9pA8/vWCADxqh7LYI9ClP9HGzCtLbLS2dsRvnU udAxJKeKiferffZHLqg35SsP+bBIoL3O5xhBbmamDK4h5rfLDy+LCs+QP5uRnDHlJ3fk dXH5RggddQSy9duA2d6XQ1yvR7csZPbJFCzHw= Received: by 10.223.22.81 with SMTP id m17mr1106052fab.28.1260906066758; Tue, 15 Dec 2009 11:41:06 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 14sm68451fxm.3.2009.12.15.11.41.05 (version=SSLv3 cipher=RC4-MD5); Tue, 15 Dec 2009 11:41:06 -0800 (PST) Sender: Alexander Motin Message-ID: <4B27E64F.2080804@FreeBSD.org> Date: Tue, 15 Dec 2009 21:41:03 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Oliver Lehmann References: <20091215182300.929c7a9c.lehmann@ans-netz.de> In-Reply-To: <20091215182300.929c7a9c.lehmann@ans-netz.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org Subject: Re: problems with SATA controller after recent RELENG_8 upgrade 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: Tue, 15 Dec 2009 20:05:20 -0000 Oliver Lehmann wrote: > I've just upgraded my 8 from around the 6th of december 2 days ago. Now > the system won't boot up. When it is going to mount the rootfs, it > receives some ICRC error and the harddisk gets accessed massivly. The the > error shown on the screenshot is repeating and repeating. Apart from my > custom kernel I also compiled and tried the GENERIC kernel with some > additional modules (ipfw, dummynet, smb, intpm, pcfclock - nothing which > should interfear) > The filesystem is labeled with glabel/tunefs. > > Could you advise me what to do next? Right now I'm using the old kernel... > > Screenshot (where I tried to reach at least single user): > > http://pics.pofo.de/gallery/v/misc/P1090111.JPG.html Looks like it was working first, until something happened. I've reread all Promise related changes and don't see problem there. The only idea I have is that it could be larger transfer, which was not used before. Try to apply this patch to get limitation back for these controllers: --- ata-promise.c.prev 2009-12-15 21:35:43.000000000 +0200 +++ ata-promise.c 2009-12-15 21:35:24.000000000 +0200 @@ -957,6 +957,7 @@ ata_promise_mio_dmainit(device_t dev) ata_dmainit(dev); /* note start and stop are not used here */ ch->dma.setprd = ata_promise_mio_setprd; + ch->dma.max_iosize = 65536; } -- Alexander Motin