From owner-freebsd-stable@FreeBSD.ORG Tue Sep 13 00:00:05 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4406816A41F for ; Tue, 13 Sep 2005 00:00:05 +0000 (GMT) (envelope-from lists@hosting50.cz) Received: from shinzon.blueboard.cz (shinzon.blueboard.cz [217.11.249.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AD0343D46 for ; Tue, 13 Sep 2005 00:00:03 +0000 (GMT) (envelope-from lists@hosting50.cz) Received: (qmail 59554 invoked by uid 89); 13 Sep 2005 00:00:12 -0000 Received: by simscan 1.1.0 ppid: 59397, pid: 59399, t: 11.9240s scanners: clamav: 0.86.2/m:33/d:1062 spam: 3.0.4 Received: from unknown (HELO ?10.15.141.2?) (tomas@blueboard.cz@217.11.239.237) by shinzon.blueboard.cz with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Sep 2005 00:00:00 -0000 Message-ID: <432616C2.2040301@hosting50.cz> Date: Tue, 13 Sep 2005 02:01:06 +0200 From: Tomas Randa User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050728) X-Accept-Language: en-us, en MIME-Version: 1.0 To: nomadlogic@gmail.com References: <43260793.4060302@hosting50.cz> <57d71000050912164569f0b215@mail.gmail.com> In-Reply-To: <57d71000050912164569f0b215@mail.gmail.com> Content-Type: multipart/mixed; boundary="------------010609010104020305080802" X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on shinzon.blueboard.cz X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Cc: stable@freebsd.org Subject: Re: Strange SATA problem - data corrupting 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: Tue, 13 Sep 2005 00:00:05 -0000 This is a multi-part message in MIME format. --------------010609010104020305080802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks for quick answer. I think I am sure, because if I connect this hard drive from this onboard Promise controller with same cable to onboard VIA8237 it works well. I tried other HDD - 76319MB [155061/16/63] at ata5-master SATA150 not with same cable, I had exactly the same problem. FreeBSD box.freebsd 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Aug 31 00:09:53 CEST 2005 tomas@box.freebsd:/usr/obj/usr/src/sys/18BOX i386 My BOX has Soltek SL-K890PRO-939 with onboard integrated this Promise RAID Dmesg in attachement. Now I am looking for this in dmesg: atapci0: failed: rid 0x20 is memory, requested 4 atapci0: port 0xc000-0xc0ff,0xdf00-0xdf7f mem 0xdc0c0000-0xdc0dffff,0xdc0e6000-0xdc0e6fff irq 19 at device 7.0 on pci0 atapci0: failed: rid 0x20 is memory, requested 4 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 ata4: channel #2 on atapci0 Tomas Randa pete wright wrote: > > > On 9/12/05, *Tomas Randa* > wrote: > > Hello, > > I have very strange problem with my FreeBSD box and Promise PDC20579 > SATA controller: > > atapci0@pci0:7:0: class=0x010400 card=0x3574105a chip=0x3574105a > rev=0x02 hdr=0x00 > vendor = 'Promise Technology Inc' > device = 'Promise SATAII150 579 (tm) IDE Controller' > class = mass storage > subclass = RAID > > ad4: 381554MB [775221/16/63] at ata2-master SATA150 > > Problem is, that every HDD connected to this controller is corrupting > data. For example: I copy good tar.gz archive to this drive, and > if I do > decompression immediately after copying, there is no problem, but if I > wait for example 10 minutes, then decompression ends with CRC error: > > box# gzip -d ./2005-09-11.tar.gz > gzip: ./2005-09-11.tar.gz: invalid compressed data--crc error > gzip: ./2005-09-11.tar.gz: invalid compressed data--length error > > I know, that problem is not in HDD or CPU/RAM, but in controller. > Could > it be a driver problem or not? I tried to turn off soft-updates, but > with no change. I have no any ideas what to do or what to try. > > Thanks a lot for any answer or opinion. > > > > Are you sure that it is not an issue with the drives? Just to make > sure, you have attached these drives to another, known working system > and seen the same issues. Also, have you made sure that the cabling > to the drives themselves are not broken, and are seated properlly. To > be sure, I'd grab a set of working sata cables and test out again. > Finally, if you have done this hardware trouble shooting already and > are sure that it is not a hardware issue with your > disks/cabling/controller itself I would post the version of FreeBSD > you are running (uname -ar) along with a dmesg to the list. > > -p > > -- > ~~o0OO0o~~ > Pete Wright > www.nycbug.org > NYC's *BSD User Group --------------010609010104020305080802 Content-Type: text/plain; name="dmesg.boot" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot" Copyright (c) 1992-2005 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 5.4-RELEASE-p6 #0: Wed Aug 31 00:09:53 CEST 2005 tomas@box.freebsd:/usr/obj/usr/src/sys/18SHINZON module_register: module pci/em already exists! Module pci/em failed to register: 17 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3500+ (2199.76-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff0 Stepping = 0 Features=0x78bfbff AMD Features=0xe0500000 real memory = 3220045824 (3070 MB) avail memory = 3153993728 (3007 MB) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.5 (no driver attached) pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 pcib3: at device 3.0 on pci0 pci3: on pcib3 pcib4: irq 35 at device 3.1 on pci0 pci4: on pcib4 pcib5: irq 39 at device 3.2 on pci0 pci5: on pcib5 pcib6: irq 43 at device 3.3 on pci0 pci6: on pcib6 atapci0: port 0xc000-0xc0ff,0xdf00-0xdf7f mem 0xdc0c0000-0xdc0dffff,0xdc0e6000-0xdc0e6fff irq 19 at device 7.0 on pci0 atapci0: failed: rid 0x20 is memory, requested 4 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 ata4: channel #2 on atapci0 em0: port 0xd800-0xd83f mem 0xdc0a0000-0xdc0bffff,0xdc080000-0xdc09ffff irq 16 at device 8.0 on pci0 em0: Ethernet address: 00:07:e9:01:61:fc em0: Speed:N/A Duplex:N/A ahd0: port 0xc800-0xc8ff,0xc400-0xc4ff mem 0xdc0e2000-0xdc0e3fff irq 17 at device 9.0 on pci0 aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs ahd1: port 0xd000-0xd0ff,0xcc00-0xccff mem 0xdc0e0000-0xdc0e1fff irq 18 at device 9.1 on pci0 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs pci0: at device 12.0 (no driver attached) atapci1: port 0xde00-0xde0f,0xdd00-0xdd03,0xdc00-0xdc07,0xdb00-0xdb03,0xda00-0xda07 irq 20 at device 15.0 on pci0 ata5: channel #0 on atapci1 ata6: channel #1 on atapci1 atapci2: port 0xe000-0xe00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci2 ata1: channel #1 on atapci2 isab0: at device 17.0 on pci0 isa0: on isab0 acpi_tz0: 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, console atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 orm0: at iomem 0xcd000-0xce7ff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled Timecounter "TSC" frequency 2199763800 Hz quality 800 Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging limited to 100 packets/entry by default ad4: 381554MB [775221/16/63] at ata2-master SATA150 ad10: 76319MB [155061/16/63] at ata5-master SATA150 ad12: 76318MB [155058/16/63] at ata6-master SATA150 Waiting 15 seconds for SCSI devices to settle da0 at ahd1 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) Mounting root from ufs:/dev/ad10s1a em0: Link is up 100 Mbps Full Duplex --------------010609010104020305080802--