From owner-freebsd-sparc64@FreeBSD.ORG Sun Oct 12 04:09:11 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A56A882C for ; Sun, 12 Oct 2014 04:09:11 +0000 (UTC) Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 667D4F37 for ; Sun, 12 Oct 2014 04:09:11 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id le20so4404238vcb.26 for ; Sat, 11 Oct 2014 21:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dsN403lzHTwk5J3jvmJPYFcG6EabEf8oWlkZMZtjrSU=; b=O9J4yYnUb9vMj24rtFJ2q7LCYgGkCjbDIsa7QdsEVs3MN5+UmHM8TcdqtVY6gV/fQB MFTI4HiQnN1tmfIaMvH54v4fXt9+bcLKVTE4EqexoWXdHh4l2Kb3UmEHwSLax4P1P+mK n5q/mrtepB6yECxFm7I6LU6gvnmp9g7fUjF4T9BSYre+I1m3TP19gvXeJM14gMiEDLkb gXZqWLUwl2ZYYKtRGmy/kNs7ugyN+PXpIlg/fK/H+nLby4d6MF+jEMuiR62wPsofxNRj rx8NB2O1ERX3+TsjVdt0UYfIBzn9qR0eaG3x3UPj1QnAq6b1HI2XG5IOroDQDx/Tg5Rh Daqg== MIME-Version: 1.0 X-Received: by 10.52.137.176 with SMTP id qj16mr10379707vdb.26.1413086950331; Sat, 11 Oct 2014 21:09:10 -0700 (PDT) Received: by 10.31.156.140 with HTTP; Sat, 11 Oct 2014 21:09:10 -0700 (PDT) Date: Sun, 12 Oct 2014 00:09:10 -0400 Message-ID: Subject: silicon image 3124 data corruption with siis driver (10.0 RELEASE, GENERIC) From: David Cross To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2014 04:09:11 -0000 Recently got a silicon image 3124 card to upgrade my Sun Ultra 10 to let it support SATA drives effectively. Put the card in and gave a couple of tests. fscked a 1T filesystem with ~30 million files. No problems, mounted the filesystem and did a checksum of a subdirectory to hundreds of FS errors (looking for blocks well outside of the partition). Unmounted, redid fsck. fine. Redid fsck while doing a 'dd if=/dev/ada1 of=/dev/null' and the fsck instantly died with unexpected errors. Next I did a 'dd if=/dev/ada1 bs=126b count=8192 | sha256' got an answer, re-ran it and got the same answer. reran again while running another dd if=/dev/ada1 bs=126b of=/dev/null in a different terminal and received a different sha256 sum. Kept repeating it and getting different answers. Killed the background dd and received the first answer again. Tried with and without MSI; also tried to fall back and use the ata-siliconimage driver, that one fails to attach (I believe its failing on the LINEAR map, but very hard to tell given there isn't a specific error message in that part of the driver). I repeated this with 2 different cards in an U10 and a U5; these are stock machines, nothing else in them other than this card; I can get a boot verbose later, but this is really a vanilla config.