Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2005 02:01:06 +0200
From:      Tomas Randa <lists@hosting50.cz>
To:        nomadlogic@gmail.com
Cc:        stable@freebsd.org
Subject:   Re: Strange SATA problem - data corrupting
Message-ID:  <432616C2.2040301@hosting50.cz>
In-Reply-To: <57d71000050912164569f0b215@mail.gmail.com>
References:  <43260793.4060302@hosting50.cz> <57d71000050912164569f0b215@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ST380817AS/3.42> [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: <Promise PDC20579 SATA150 controller> 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* <lists@hosting50.cz 
> <mailto:lists@hosting50.cz>> 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 <ST3400832AS/3.02> [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 <http://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: <K8T890 AWRDACPI>
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500000<NX,AMIE,LM,DSP,3DNow!>
real memory  = 3220045824 (3070 MB)
avail memory = 3153993728 (3007 MB)
ioapic0 <Version 0.3> irqs 0-23 on motherboard
ioapic1 <Version 0.3> irqs 24-47 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <K8T890 AWRDACPI> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <base peripheral, interrupt controller> at device 0.5 (no driver attached)
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 27 at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 35 at device 3.1 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 39 at device 3.2 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 43 at device 3.3 on pci0
pci6: <ACPI PCI bus> on pcib6
atapci0: <Promise PDC20579 SATA150 controller> 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: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Adaptec 29320 Ultra320 SCSI adapter> 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: <Adaptec 29320 Ultra320 SCSI adapter> 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: <serial bus, FireWire> at device 12.0 (no driver attached)
atapci1: <VIA 6420 SATA150 controller> 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: <VIA 8237 UDMA133 controller> 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: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
acpi_tz0: <Thermal Zone> 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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <ISA Option ROM> 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 <ST3400832AS/3.02> [775221/16/63] at ata2-master SATA150
ad10: 76319MB <ST380817AS/3.42> [155061/16/63] at ata5-master SATA150
ad12: 76318MB <ST380817AS/3.42> [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: <SEAGATE ST336754LW 0004> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?432616C2.2040301>