From nobody@FreeBSD.org  Fri Feb 23 23:42:25 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 6B49F37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Feb 2001 23:42:25 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f1O7gPq60562;
	Fri, 23 Feb 2001 23:42:25 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102240742.f1O7gPq60562@freefall.freebsd.org>
Date: Fri, 23 Feb 2001 23:42:25 -0800 (PST)
From: chenggl@yahoo.com
To: freebsd-gnats-submit@FreeBSD.org
Subject: HARD READ ERROR on IBM Hard Disks connected through Promise Ultra 66 Card
X-Send-Pr-Version: www-1.0

>Number:         25338
>Category:       kern
>Synopsis:       HARD READ ERROR on IBM Hard Disks connected through Promise Ultra 66 Card
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 23 23:50:00 PST 2001
>Closed-Date:    Wed May 30 02:43:47 PDT 2001
>Last-Modified:  Wed May 30 02:45:07 PDT 2001
>Originator:     Guolin Cheng
>Release:        FreeBSD 4.1 (Intel ix86 platform)
>Organization:
amazon Company
>Environment:
FreeBSD sr20.alexa.com 4.1-RELEASE FreeBSD 4.1-RELEASE #5: Fri Feb  2 11:17:36 PST 2001     root@sr20.alexa.com:/usr/src/sys/compile/ALEXA  i386

CPU:  Intel Pentium III 700M Processor
Motherboard: Asus P3B-F 
Motherboard BIOS:  Award Medallion BIOS 6.0
                   ASUS P3B-F ACPI BIOS Revision 1.006
                   Award Plug and Play BIOS BIOS Extension V1.0A
Promise Card:      Promise Ultra 66 (a PDC 20262 control? chip is on it)
Promise Card BIOS: Promise Ultra(Tm) BIOS Version 2.00 (Build 18)
Memory:            512M SDRAM
Hard Disks:        12 IBM Hard disks, 4 connected through on-board IDE connectors, other 8 are connected through 2 Promise Ultra 66 card.
Video Card:        ATI AGP card
Ethernet Card:     Intel Pro 10/100B/100+ Ethernet card

pci1:  <ATI Mach64-GZ graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
   isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xb800-0xb80f at device 4.1 on pci0
   ata0: at 0x1f0 irq 14 on atapci0
   ata1: at 0x170 irq 15 on atapci0
atapci1: <Promise ATA66 controller> port 0x9400-0x943f,0x9800-0x9803,0xa000-0xa007,0xa400-0xa403,0xa800-0xa807 
mem 0xe0800000-0xe081ffff irq 10 at device 11.0 on pci0
   ata2: at 0xa800 on atapci1
   ata3: at 0xa000 on atapci1
atapci2: <Promise ATA66 controller> port 0x7800-0x783f,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 
mem 0xe0000000-0xe001ffff irq 11 at device 12.0 on pci0
   ata4: at 0x9000 on atapci2
   ata5: at 0x8400 on atapci2
      ad0: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata0-master using UDMA33
      ad1: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata0-slave using UDMA33
      ad2: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata1-master using UDMA33
      ad3: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata1-slave using UDMA33
      ad4: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata2-master using UDMA66
      ad5: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata2-slave using UDMA66
      ad6: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata3-master using UDMA66
      ad7: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata3-slave using UDMA66
      ad8: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata4-master using UDMA66
      ad9: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata4-slave using UDMA66
      ad10: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata5-master using UDMA66
      ad11: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata5-slave using UDMA66

>Description:
Every time when I try to read a file on my ccd stripped disk, it prompts:
    
    Feb  1 19:19:59 sr20 /kernel: ad6: HARD READ ERROR blk# 63793760ata3-master: WARNING: WAIT_READY active=ATA_ACT
IVE_ATA
    Feb  1 19:19:59 sr20 /kernel: ad6: DMA problem fallback to PIO mode   
    Feb  1 19:19:59 sr20 last message repeated 5 times
    Feb  1 19:20:05 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40                   
    Feb  1 19:20:05 sr20 /kernel: ad6: DMA problem fallback to PIO mode
    Feb  1 19:20:05 sr20 /kernel: ccd0: error 5 on component 6 block 63793744 (ccd block 701731392)
    Feb  1 19:20:10 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:10 sr20 /kernel: ccd0: error 5 on component 6 block 63793760 (ccd block 701731408)        
    Feb  1 19:20:15 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:15 sr20 /kernel: ccd0: error 5 on component 6 block 63793776 (ccd block 701731424)
    Feb  1 19:20:21 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:21 sr20 /kernel: ccd0: error 5 on component 6 block 63793792 (ccd block 701731440)
    Feb  1 19:20:26 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:26 sr20 /kernel: ccd0: error 5 on component 6 block 63793808 (ccd block 701731456)
    Feb  1 19:20:32 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:32 sr20 /kernel: ccd0: error 5 on component 6 block 63793824 (ccd block 701731472)        
    Feb  1 19:20:37 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:37 sr20 /kernel: ccd0: error 5 on component 6 block 63793840 (ccd block 701731488)
    Feb  1 19:20:42 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40
    Feb  1 19:20:42 sr20 /kernel: ccd0: error 5 on component 6 block 63793840 (ccd block 701731488)



 
>How-To-Repeat:
100% repeatable, every time I access a normal file on the ccd, the ad6 disk fails, DMA falls back to PIO, which leads to ccd fail.

 
>Fix:
Don't know how to fix it. 

 But I afraid that problem may be related with timing setting of Promise Ultra66 cards?


>Release-Note:
>Audit-Trail:

From: Soren Schmidt <sos@freebsd.dk>
To: chenggl@yahoo.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/25338: HARD READ ERROR on IBM Hard Disks connected through Promise Ultra 66 Card
Date: Sat, 24 Feb 2001 10:33:09 +0100 (CET)

 It seems chenggl@yahoo.com wrote:
 >     Feb  1 19:19:59 sr20 /kernel: ad6: HARD READ ERROR blk# 63793760ata3-master: WARNING: WAIT_READY active=ATA_ACT
 > IVE_ATA
 >     Feb  1 19:19:59 sr20 /kernel: ad6: DMA problem fallback to PIO mode   
 >     Feb  1 19:19:59 sr20 last message repeated 5 times
 >     Feb  1 19:20:05 sr20 /kernel: ad6: HARD READ ERROR blk# 63793856 status=59 error=40                   
 >     Feb  1 19:20:05 sr20 /kernel: ad6: DMA problem fallback to PIO mode
 >     Feb  1 19:20:05 sr20 /kernel: ccd0: error 5 on component 6 block 63793744 (ccd block 701731392)
 >  
 > >How-To-Repeat:
 > 100% repeatable, every time I access a normal file on the ccd, the ad6 disk fails, DMA falls back to PIO, which leads to ccd fail.
 
 Have you tried swapping disks and controllers ? ie have you outruled that
 ad6 isn't broken, or that the controller is for that matter. Also some
 motherboards doesn't allow for busmastering in all pci slots etc etc ...
 
 > >Fix:
 > Don't know how to fix it. 
 > 
 >  But I afraid that problem may be related with timing setting of Promise Ultra66 cards?
 
 Nope, I know from several semilar configs that it actually works.
 
 -Sren
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed May 30 02:43:47 PDT 2001 
State-Changed-Why:  
There are no outstanding problems with the promise controllers, 
but I would suggest you check your power, the DTLA's are 
picky about get that smoothly.. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25338 
>Unformatted:
