From owner-freebsd-current@FreeBSD.ORG Sun Jul 1 10:29:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1D8516A41F for ; Sun, 1 Jul 2007 10:29:03 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from optimus.centralmiss.com (ns.centralmiss.com [206.156.254.79]) by mx1.freebsd.org (Postfix) with ESMTP id 8D03A13C45B for ; Sun, 1 Jul 2007 10:29:03 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by optimus.centralmiss.com (Postfix) with ESMTP id E80EC28433 for ; Sun, 1 Jul 2007 05:29:02 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 6C3E561C42; Sun, 1 Jul 2007 05:29:02 -0500 (CDT) Date: Sun, 1 Jul 2007 05:29:02 -0500 From: "Matthew D. Fuller" To: freebsd-current@freebsd.org Message-ID: <20070701102902.GA1255@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.14-fullermd.3 (2007-02-12) Subject: -CURRENT ATA woes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2007 10:29:03 -0000 I've got a machine currently running RELENG_6 solidly, but trying to put -CURRENT on it causes the ata subsystem to go out to lunch. This also happened on this machine with an early-March -CURRENT. The system has a Promise TX2200 SATA controller. dmesg from RELENG_6 (slightly rewrapped): atapci0: port 0xc000-0xc07f,0xc400-0xc4ff mem 0xeb420000-0xeb420fff,0xeb400000-0xeb41ffff irq 15 at device 13.0 on pci0 ata2: on atapci0 ata3: on atapci0 ata4: on atapci0 [...] ad4: 238475MB at ata2-master SATA150 ad6: 238475MB at ata3-master SATA150 ar0: 238475MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master There is another ATA controller onboard running the DVD drive: atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376, 0xd400-0xd40f at device 17.1 on pci0 ata0: on atapci1 ata1: on atapci1 acd0: DVDR at ata0-master UDMA66 but I don't know if that matters. Any significant drive access will cause the drives on the Promise controller to wander off into la-la land. They'll end up getting a bunch of (hand-transcribed): ad4: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA: It may happen on ad4, or on ad6. Once it held off long enough for me to almost complete an installworld of the -CURRENT world (which _royally_ screwed me, since I couldn't boot the old kernel then). Sometimes even if I leave it very quiet, it'll eventually fall over with very little drive activity. I can provoke it pretty quickly with a `find / | xargs cat >> /dev/null`. Running RELENG_6, it's solid as a rock, running months at a time. I can nail the disk to the wall at will, and it won't even blink. But let -CURRENT at it, and it'll blow beets if you look at it hard. Unfortunately, as it runs my mail (where I'm typing at the moment), I can't really take it down to experiment much with. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.