From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 18 01:40:19 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 108FA16A47B for ; Sun, 18 Jun 2006 01:40:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC2D743D45 for ; Sun, 18 Jun 2006 01:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5I1eHwt032211 for ; Sun, 18 Jun 2006 01:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5I1eHsg032210; Sun, 18 Jun 2006 01:40:17 GMT (envelope-from gnats) Resent-Date: Sun, 18 Jun 2006 01:40:17 GMT Resent-Message-Id: <200606180140.k5I1eHsg032210@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jacobo Saúl Arvelo Estévez Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7150816A474 for ; Sun, 18 Jun 2006 01:39:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA2FA43D49 for ; Sun, 18 Jun 2006 01:39:08 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5I1d8dP055098 for ; Sun, 18 Jun 2006 01:39:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k5I1d8aT055097; Sun, 18 Jun 2006 01:39:08 GMT (envelope-from nobody) Message-Id: <200606180139.k5I1d8aT055097@www.freebsd.org> Date: Sun, 18 Jun 2006 01:39:08 GMT From: Jacobo Saúl Arvelo Estévez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/99088: Critical Problems with VIA 8251 SATA2/RAID Controller X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 01:40:19 -0000 >Number: 99088 >Category: kern >Synopsis: Critical Problems with VIA 8251 SATA2/RAID Controller >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 18 01:40:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jacobo Saúl Arvelo Estévez >Release: 6.1-RELEASE-p2 >Organization: Arveste >Environment: FreeBSD tyson.arveste.es 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #0: Fri Jun 16 13:24:15 WEST 2006 root@tyson.arveste.es:/usr/obj/usr/src/sys/UNIX4ALL amd64 >Description: Im having troubles with the via 8251 SATA2/RAID Controller under FreeBSD 6.1/amd64. I have an ASUS P5V800-MX Mainboard on a server, I make a RAID0 configuration with 2 Maxtor DiamondMax 10 ( SATA II Drives ) of 80gb. Well, if I put them on master channels ( SATA 1 and SATA 2 connector ) for maximum performance ( Master channels are 3gb, slave channels 1.5 ) I have a lot of DMA TIMEOUT, CRC and a lot of another ata related errors in the first drive ( ad4, Master of the first SATA channel ), when I put some load to the disk, then the raid fails and got corrupted ( ar0 ) destroying all the data in the reset of the computer ( RAID BIOS says that the raid is failed and destroys it ). But if I put one in master and one in slave ( same channel, ad6 and ad7 for example ) It works perfectly, but, one drive is working at 1.5gb. Im very sorry about that I can´t give you any log about the kernel messages when the raid comes down, but I can´t take them because the raid goes totally corrupted. Another thing is that the controller is identified as a SATA150 controller when it´s SATA300, the disks too. Here some info of interest: ######################### DMESG ################################ Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-RELEASE-p2 #0: Fri Jun 16 13:24:15 WEST 2006 root@tyson.arveste.es:/usr/obj/usr/src/sys/UNIX4ALL ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) CPU 3.06GHz (3059.04-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf49 Stepping = 9 Features=0xbfebfbff Features2=0x651d> AMD Features=0x20100800 AMD Features2=0x1 real memory = 1056702464 (1007 MB) avail memory = 1011818496 (964 MB) ioapic0 irqs 0-23 on motherboard kbd0 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) atapci0: port 0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f mem 0xfbfffc00-0xfbffffff irq 21 at device 15.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 uhci0: port 0xe080-0xe09f irq 20 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 22 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xdc00-0xdc1f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xd880-0xd89f irq 23 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfbfff800-0xfbfff8ff irq 22 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 vr0: port 0xd400-0xd4ff mem 0xfbfff400-0xfbfff4ff irq 23 at device 18.0 on pci0 miibus0: on vr0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:15:f2:9a:91:50 pcib2: at device 19.0 on pci0 pci2: on pcib2 pcib3: at device 0.0 on pci2 pci3: on pcib3 pcib4: at device 0.1 on pci2 pci4: on pcib4 pci2: at device 1.0 (no driver attached) pcib5: at device 19.1 on pci0 pci5: on pcib5 acpi_button0: on acpi0 acpi_button1: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] atkbdc0: at port 0x60,0x64 on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3059037214 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master UDMA33 ad6: 78167MB at ata3-master SATA150 ad7: 78167MB at ata3-slave SATA150 ar0: 156334MB status: READY ar0: disk0 READY using ad6 at ata3-master ar0: disk1 READY using ad7 at ata3-slave Trying to mount root from ufs:/dev/ar0s1a ########################################################################### #################### atacontrol list ################################### tyson# atacontrol list ATA channel 0: Master: acd0 ATA/ATAPI revision 6 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: no device present Slave: no device present ATA channel 3: Master: ad6 Serial ATA II Slave: ad7 Serial ATA II tyson# ########################################################################## ASUS P5V800-MX with latest BIOS HDDs checked in another computer for good status ########################################################################## >How-To-Repeat: Use RAID on VIA 8251 SATAII/RAID Controller with 2 SATA Drives connected on SATA1 and SATA2 Connector ( Master of both channels ) and see how the RAID crash when the server puts loads on the disks. >Fix: >Release-Note: >Audit-Trail: >Unformatted: