From owner-freebsd-stable@FreeBSD.ORG Fri Jun 18 11:36:58 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F5CD106566B for ; Fri, 18 Jun 2010 11:36:58 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id EBE888FC19 for ; Fri, 18 Jun 2010 11:36:57 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 8775A19E043; Fri, 18 Jun 2010 13:36:56 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id EE11F19E023; Fri, 18 Jun 2010 13:36:53 +0200 (CEST) Message-ID: <4C1B5A55.1040608@quip.cz> Date: Fri, 18 Jun 2010 13:36:53 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4 MIME-Version: 1.0 To: Jeremy Chadwick References: <1276844904.7519.19.camel@almscliff.bubblegen.co.uk> <20100618082127.GA34578@icarus.home.lan> In-Reply-To: <20100618082127.GA34578@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Matthew Lear , freebsd-stable@freebsd.org Subject: Re: 7.2-RELEASE-p4, IO errors & RAID1 failure 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: Fri, 18 Jun 2010 11:36:58 -0000 Jeremy Chadwick wrote: > On Fri, Jun 18, 2010 at 08:08:24AM +0100, Matthew Lear wrote: [...] >> The drives in the RAID exist on two seperate ATA channels: >> [root@meshuga /home/matt]# atacontrol list >> ATA channel 0: >> Master: ad0 SATA revision 2.x >> Slave: ad1 SATA revision 1.x >> ATA channel 1: >> Master: ad2 SATA revision 2.x >> Slave: no device present >> ATA channel 2: >> Master: acd0 SATA revision 1.x >> Slave: no device present >> ATA channel 3: >> Master: no device present >> Slave: no device present >> >> ad1 is a third 160G drive that I periodically back up to using cron. > > So your RAID-1 array consists of ad0 and ad2? You didn't provide > "atacontrol status" output so I'm going to assume that's the case. > > What's odd to me is that you somehow have two disks on a single ATA > channel -- look closely at channel 0. SATA has a 1:1 device-to-channel > mapping, so I'm a little surprised to see there's two devices on channel > 0. To me, this indicates your system BIOS is configured to run in > "Emulation" mode -- where the ATA controller pretends to be a PATA/IDE > controller, thus SATA-0 and SATA-1 devices appear as primary master and > primary slave, respectively. > > What motherboard is this? Can you change the setting to either > "Native", "Enhanced", or (even better) "AHCI"? I've seen some systems > where the Serial ATA option in the BIOS has an "Auto" option, which does > totally bizarre things at times. > > But before changing the setting, I would recommend dealing with the disk > problem first. Changing the SATA controller operation mode will almost > certainly change all of your device names (you'll have to go into > single-user mode, mount filesystems by hand, fix /etc/fstab, etc.). [...] It is "normal" on HP G5 series. I have ProLiant ML 110 G5. I tried all type of settings in BIOS, but all of them shows two disks on one ATA channel: HP ProLiant ML 110 G5 FreeBSD 7.2-RELEASE-p4 amd64 GENERIC root@kiwi ~/# atacontrol list ATA channel 0: Master: ad0 SATA revision 2.x Slave: ad1 SATA revision 2.x ATA channel 1: Master: ad2 SATA revision 2.x Slave: ad3 SATA revision 2.x ATA channel 2: Master: acd0 SATA revision 1.x Slave: no device present ATA channel 3: Master: no device present Slave: no device present atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c10-0x1c1f,0x1c00-0x1c0f at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci1: port 0x1c68-0x1c6f,0x1c5c-0x1c5f,0x1c60-0x1c67,0x1c58-0x1c5b,0x1c30-0x1c3f,0x1c20-0x1c2f irq 18 at device 31.5 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pciconf -lv atapci0@pci0:0:31:2: class=0x01018a card=0x31f4103c chip=0x29208086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) 4 port Serial ATA Storage Controller 1' class = mass storage subclass = ATA atapci1@pci0:0:31:5: class=0x010185 card=0x31f4103c chip=0x29268086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82801IB/IR/IH (ICH9 Family) 2 port Serial ATA Storage Controller 2' class = mass storage subclass = ATA ad0: 953869MB at ata0-master SATA300 ad1: 953869MB at ata0-slave SATA300 ad2: 953869MB at ata1-master SATA300 ad3: 953869MB at ata1-slave SATA300 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 1928MB (3948544 512 byte sectors: 255H 63S/T 245C) acd0: DVDR at ata2-master SATA150 I am using this machine as storage for backups with ZFS RAIDZ without any timeouts so I think that two disks on one channel is not causing the timeouts (only little slowdown) Miroslav Lachman