Pavel Gubin
2003-Nov-13 08:36 UTC
kern/57174: 4.9-PRERELEASE panic: ata_dmasetup: transfer active on this device!
Hello, A couple days ago I faced with a problem similar to described in PR kern/57174 (see subject). But there are some differences: 1) hw.ata.tags=0 on my system 2) problem appeared when i replaced a Seagate Barracuda 30G with Maxtor DiamondMax Plus 9 200G, attached to CMD648-based PCI adapter. 3) system is 4.9-RELEASE Note that: 1) Maxtor is the only drive attached to CMD 2) When I tried to attach Maxtor to the free channel of Promise U66 controller, the kernel just panics at ATA-probe (very similar to PR kern/57369) 3) BIOS on CMD648 is obsolete (sees only 64G of 200), but removing BIOS chip does not change things - and I know that this controller works fine without BIOS under FreeBSD 4.8 with 2*Maxtors 80G. Workaround is to disable UDMA on this drive (atacontrol mode 4 pio4 pio4), but this significantly slows down system, and another errors continue to appear (ad8: READ command timeout...) Below is a /var/run/dmesg.boot for this system. I can also make a backtrace of chashdump if needed. ===Copyright (c) 1992-2003 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 4.9-RELEASE #6: Tue Nov 11 11:07:07 TSK 2003 pg@rainbow.ie.tusur.ru:/usr/obj/usr/src/sys/Shadow Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 757459741 Hz CPU: AMD Athlon(tm) Processor (757.46-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x622 Stepping = 2 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> AMD Features=0xc0400000<AMIE,DSP,3DNow!> real memory = 268369920 (262080K bytes) avail memory = 257961984 (251916K bytes) Preloaded elf kernel "kernel" at 0xc02d2000. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00f7950 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <AMD-751 host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <AMD-751 PCI-PCI (1x/2x AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI Mach64-GZ graphics accelerator> at 5.0 irq 11 isab0: <PCI to ISA bridge (vendor=1022 device=7408)> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <AMD 756 ATA66 controller> port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: <PCI to Other bridge (vendor=1022 device=740b)> at device 7.3 on pci0 fxp0: <Intel 82557 Pro/100 Ethernet> port 0xc800-0xc81f mem 0xefc00000-0xefcfffff,0xef4fe000-0xef4fefff irq 10 at device 8.0 on pci0 fxp0: Ethernet address 00:a0:c9:42:cc:c2 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: <Macronix 98713 10/100BaseTX> port 0xca00-0xcaff mem 0xeff4ff00-0xeff4ffff irq 11 at device 9.0 on pci0 dc0: Ethernet address: 08:00:a0:10:01:b6 miibus1: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: <Promise ATA66 controller> port 0xcc00-0xcc3f,0xce00-0xce03,0xd000-0xd007,0xd200-0xd203,0xd400-0xd407 mem 0xeff60000-0xeff7ffff irq 12 at device 11.0 on pci0 ata2: at 0xd400 on atapci1 ata3: at 0xd000 on atapci1 atapci2: <CMD 648 ATA66 controller> port 0xd600-0xd60f,0xd800-0xd803,0xda00-0xda07,0xdc00-0xdc03,0xde00-0xde07 irq 10 at device 12.0 on pci0 ata4: at 0xde00 on atapci2 ata5: at 0xda00 on atapci2 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff on isa0 pmtimer0 on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging disabled ad0: 42934MB <WDC WD450AA-00BAA0> [87233/16/63] at ata0-master UDMA66 ad1: 42934MB <WDC WD450AA-00BAA0> [87233/16/63] at ata0-slave UDMA66 ad2: 42934MB <WDC WD450AA-00BAA0> [87233/16/63] at ata1-master UDMA66 ad3: 42934MB <WDC WD450AA-00BAA0> [87233/16/63] at ata1-slave UDMA66 ad4: 76319MB <ST380021A> [155061/16/63] at ata2-master UDMA66 ad5: 76319MB <ST380021A> [155061/16/63] at ata2-slave UDMA66 ad8: 194481MB <Maxtor 6Y200P0> [395136/16/63] at ata4-master UDMA66 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted == -- Pavel Gubin TUSC&R / Industrial Electronics dept / System Administrator 2:5005/14@fidonet / Phone +7-3822-423067 / ICQ 28835566