From owner-freebsd-hardware@FreeBSD.ORG Sun Apr 2 15:32:12 2006 Return-Path: X-Original-To: hardware@freebsd.org Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5637116A400; Sun, 2 Apr 2006 15:32:12 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA1A843D46; Sun, 2 Apr 2006 15:32:11 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k32FWBkM024291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 2 Apr 2006 11:32:11 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.6/8.13.6/Submit) id k32FWAN5024290; Sun, 2 Apr 2006 11:32:10 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: stable@freebsd.org, hardware@freebsd.org, sos@freebsd.org Date: Sun, 2 Apr 2006 10:32:10 -0500 User-Agent: KMail/1.8.2 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: Subject: problems with an SATA drive on nVidia3 controller X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2006 15:32:12 -0000 Hello! We have an amd64 machine with an nVidia3 SATA controller on motherboard. The drive just came from the manufacturer and the self-tests initiated via smartctl show no problems: atapci1: port 0xcc00-0xcc07,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xbc00-0xbc0f,0xb800-0xb87f irq 22 at device 10.0 on pci0 ata2: on atapci1 ata3: on atapci1 ad6: 238475MB at ata3-master SATA150 Yet even newfs-ing it leads to DMA errors and the drive is unusable: % newfs -f 8192 -b 65536 /dev/ad6 /dev/ad6: 238475.2MB (488397168 sectors) block size 65536, fragment size 8192 using 81 cylinder groups of 2969.06MB, 47505 blks, 95232 inodes. super-block backups (for fsck -b #) at: 256, 6080896, 12161536, 18242176, 24322816, 30403456, 36484096, 42564736, 48645376, 54726016, 60806656, 66887296, 72967936, 79048576, 85129216, 91209856, 97290496, 103371136, 109451776, 115532416, 121613056, 127693696, 133774336, 139854976, 145935616, 152016256, 158096896, 164177536, 170258176, 176338816, 182419456, 188500096, 194580736, 200661376, 206742016, 212822656, 218903296, 224983936, 231064576, 237145216, 243225856, 249306496, 255387136, 261467776, 267548416,newfs: wtfs: 262144 bytes at sector 273629056: Input/output error % atacontrol reinit ata3 Master: ad6 Serial ATA v1.0 Slave: no device present % newfs -f 8192 -b 65536 /dev/ad6 /dev/ad6: 238475.2MB (488397168 sectors) block size 65536, fragment size 8192 using 81 cylinder groups of 2969.06MB, 47505 blks, 95232 inodes. super-block backups (for fsck -b #) at: 256, 6080896, 12161536, 18242176, 24322816, 30403456, 36484096, 42564736, 48645376, 54726016, 60806656, 66887296, 72967936, 79048576, 85129216, 91209856, 97290496, 103371136, 109451776, 115532416, 121613056, 127693696, 133774336, 139854976, 145935616, 152016256, 158096896, 164177536, 170258176, 176338816, 182419456, 188500096, 194580736, 200661376, 206742016, 212822656, 218903296, 224983936, 231064576, 237145216, 243225856, 249306496, 255387136, 261467776, 267548416,newfs: wtfs: 262144 bytes at sector 273629056: Input/output error After each such attempt, the kernel complains loudly: [...] ad6: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=249306496 ad6: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=261467776 ad6: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=273629312 ad6: FAILURE - WRITE_DMA48 status=51 error=10 LBA=273629312 Is this controller working for others? We connected the disk to it in preference to the Silicon Image connectors, which are also present on-board, because SI has poor reputation :-( Is this controller supposed to work? Thanks! -mi