NetBSD Problem Report #45034

From www@NetBSD.org  Thu Jun  9 14:55:59 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 218E363C797
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  9 Jun 2011 14:55:59 +0000 (UTC)
Message-Id: <20110609145558.6932163BA4F@www.NetBSD.org>
Date: Thu,  9 Jun 2011 14:55:58 +0000 (UTC)
From: oscarmolin@gmail.com
Reply-To: oscarmolin@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Satalink driver downgrades from DMA to PIO 4 from soft errors (sandpoint/PowerPc)
X-Send-Pr-Version: www-1.0

>Number:         45034
>Category:       kern
>Synopsis:       Satalink driver downgrades from DMA to PIO 4 from soft errors (sandpoint/PowerPc)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 09 15:00:00 +0000 2011
>Last-Modified:  Tue Jun 14 16:25:01 +0000 2011
>Originator:     Oscar Molin
>Release:        NetBSD 5.99.52 (GENERIC) #0: Sun May 29 10:35:38 UTC 2011
>Organization:
>Environment:
NetBSD netcube 5.99.52 NetBSD 5.99.52 (GENERIC) #0: Sun May 29 10:35:38 UTC 2011  builds@b8.netbsd.org:/home/builds/ab/HEAD/sandpoint/201105290240Z-obj/home/builds/ab/HEAD/src/sys/arch/sandpoint/compile/GENERIC sandpoint
>Description:
When performing large file transfers (tested over NFS) onto harddrives attached to silicon image 3512 controller, soft errors occur and causes the satalink driver to downgrade from DMA to PIO 4 mode, causing big performance penalty.

This has been tested with all for available SATA channels (my system has  2x2-port controllers) and with different harddrives and SATA cables.

After rebooting, the harddrives function at full speed again but when large transfers are started, soft errors occur after a short while.

No data corruption ever occurs, and the problem doesn't appear under Linux.
>How-To-Repeat:
Transfer large file to harddrive over NFS (probably other means aswell)
>Fix:

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: kern/45034: Satalink driver downgrades from DMA to PIO 4 from
 soft errors (sandpoint/PowerPc)
Date: Tue, 14 Jun 2011 18:22:23 +0200

 On Thu, Jun 09, 2011 at 03:00:01PM +0000, oscarmolin@gmail.com wrote:
 > When performing large file transfers (tested over NFS) onto harddrives attached to silicon image 3512 controller, soft errors occur and causes the satalink driver to downgrade from DMA to PIO 4 mode, causing big performance penalty.
 > 
 > This has been tested with all for available SATA channels (my system has  2x2-port controllers) and with different harddrives and SATA cables.
 > 
 > After rebooting, the harddrives function at full speed again but when large transfers are started, soft errors occur after a short while.

 please give more details about the error (the kernel messages for
 example)

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.