From owner-freebsd-stable@FreeBSD.ORG Thu Nov 13 08:35:56 2003 Return-Path: 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 3691516A4CE; Thu, 13 Nov 2003 08:35:56 -0800 (PST) Received: from cedar.ie.tusur.ru (fet-gw-ppp.ttk.tusur.ru [212.192.163.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFFA843FB1; Thu, 13 Nov 2003 08:35:49 -0800 (PST) (envelope-from pg@rainbow.ie.tusur.ru) Received: from rainbow.ie.tusur.ru (rainbow.ie.tusur.ru [212.192.122.75]) by cedar.ie.tusur.ru (8.12.9p2/8.12.9) with ESMTP id hADGYKvK078347; Thu, 13 Nov 2003 22:34:20 +0600 (TSK) (envelope-from pg@rainbow.ie.tusur.ru) Received: from rainbow.ie.tusur.ru (localhost.ie.tusur.ru [127.0.0.1]) by rainbow.ie.tusur.ru (8.12.9p2/8.12.8) with ESMTP id hADGYJQ5058744; Thu, 13 Nov 2003 22:34:19 +0600 (TSK) (envelope-from pg@rainbow.ie.tusur.ru) Received: (from pg@localhost) by rainbow.ie.tusur.ru (8.12.9p2/8.12.8/Submit) id hADGYINh058743; Thu, 13 Nov 2003 22:34:18 +0600 (TSK) (envelope-from pg) Date: Thu, 13 Nov 2003 22:34:18 +0600 From: Pavel Gubin To: freebsd-gnats-submit@freebsd.org, eugen@kuzbass.ru Message-ID: <20031113163418.GA58071@ie.tusur.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: TUCSR, Industrial Electronics dept cc: stable@freebsd.org Subject: Re: kern/57174: 4.9-PRERELEASE panic: ata_dmasetup: transfer active on this device! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 16:35:56 -0000 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 AMD Features=0xc0400000 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 5.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 chip1: at device 7.3 on pci0 fxp0: 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: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: port 0xca00-0xcaff mem 0xeff4ff00-0xeff4ffff irq 11 at device 9.0 on pci0 dc0: Ethernet address: 08:00:a0:10:01:b6 miibus1: on dc0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: 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: 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: