kern/116935: Intermittent error with Promise PDC40718

Peter pb at ludd.luth.se
Thu Oct 4 14:00:06 PDT 2007


>Number:         116935
>Category:       kern
>Synopsis:       Intermittent error with Promise PDC40718
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 04 21:00:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Peter
>Release:        6.2-RELEASE #0
>Organization:
>Environment:
FreeBSD opto 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Using a PCI 32/33 Promise PDC40718 SATA300 controller with FreeBSD-6.2 on a i386 pci system result in I/O errors eventually. (Using it with geli(8) causes spontanious reboots aswell)

The error doesn't occour for some time, but eventually cause any operation to stall for some minute, and then throw out an I/O error.

dmesg:
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (598.06-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,PN,MMX,FXSR,SSE>
real memory  = 334430208 (318 MB)
avail memory = 317763584 (303 MB)
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf008-0xf00b 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
agp0: <Intel 82810E (i810E GMCH) SVGA controller> mem 0xf8000000-0xfbffffff,0xf4000000-0xf407ffff irq 11 at device 1.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
atapci0: <Promise PDC40718 SATA300 controller> port 0x3400-0x347f,0x3000-0x30ff 
mem 0xf4120000-0xf4120fff,0xf4100000-0xf411ffff irq 11 at device 5.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0x3800-0x38ff mem 0xf4121000-0xf41
210ff irq 10 at device 9.0 on pci1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:10:b5:4a:0a:b9
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH UDMA66 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,
0x1c00-0x1c0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
uhci0: <Intel 82801AA (ICH) USB controller> port 0x1000-0x101f irq 9 at device 3
1.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801AA (ICH) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Standard parallel printer port> port 0x378-0x37b irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xccfff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 598062981 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 6149MB <QUANTUM FIREBALL SE6.4A API.0C00> at ata0-master UDMA33
ad1: 38166MB <WDC WD400BB-00CAA1 17.07W17> at ata0-slave UDMA66
acd0: CDRW <LITE-ON DVDRW LDW-451S/GSB4> at ata1-slave UDMA33
ad10: 305245MB <MAXTOR STM3320820AS 3.AAE> at ata5-master SATA150
Trying to mount root from ufs:/dev/ad0s1a
rl0: link state changed to UP

syslog:
Sep 19 13:05:47 opto kernel: ad10: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Sep 19 13:05:51 opto kernel: ad10: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly
Sep 19 13:05:55 opto kernel: ad10: WARNING - SETFEATURES ENABLE RCACHE taskqueue timeout - completing request directly
Sep 19 13:05:59 opto kernel: ad10: WARNING - SETFEATURES ENABLE WCACHE taskqueue timeout - completing request directly
Sep 19 13:06:03 opto kernel: ad10: WARNING - SET_MULTI taskqueue timeout - completing request directly
Sep 19 13:06:03 opto kernel: ad10: TIMEOUT - READ_DMA retrying (1 retry left) LBA=20711520

>How-To-Repeat:
Install Promise PDC40718 controller + disc in  a i386/FreeBSD-6 machine. And use the disc for some time (2-3 days).
>Fix:
Don't use that controller.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list