From owner-freebsd-questions Sun May 20 10:34:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 671D137B424 for ; Sun, 20 May 2001 10:34:40 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f4KHVXk22714 for ; Sun, 20 May 2001 13:31:33 -0400 (EDT) Message-ID: <3B07FFDE.61BC4EC9@iowna.com> Date: Sun, 20 May 2001 13:33:18 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Promise ATA100 panic Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having weird problems with a Promise ATA100 controller on an Asus mobo. The system is currently running 4.2-RELEASE, although I'm probably going to upgrade to 4.3-STABLE (unless someone has a less time-consuming solution) The problem results in a panic. It always occurs under moderate usage (the machine never sees heavy usage, although it spends 23 hours a day at ~0% usages) The other issue I'm worried about is interrupt sharing. Both the network card (fxp) and the Promise ata controller are sharing IRQs (according to systat). Could this be a problem? The panic occurs when the system attempts to run a scheduled script. The script basically copies ~20G from another computer across the network (via NFS). This problem is 80% repeatable (simply by running this script) but doesn't happen 100% of the time. Oddly, it didn't occur much when the machine was first installed. I haven't gotten the exact panic message yet, but here's what has showed up in /var/log/messages: May 15 03:14:48 backup /kernel: ad4: READ command timeout tag=0 serv=0 - resetting May 15 03:14:48 backup /kernel: ata2: resetting devices .. done May 15 08:51:06 backup /kernel: dscheck(#ad/0x20026): negative b_blkno -1095057210 (this line then repeats ~200 times with different negative b_blknos) >>> Prior to a different panic, this resulted: May 18 16:09:25 backup /kernel: psmintr: out of sync (0000 != 0008). May 18 16:10:10 backup last message repeated 401 times May 18 16:10:24 backup last message repeated 146 times >>> Here is the dmesg output: Copyright (c) 1992-2000 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.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) Processor (756.74-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 134135808 (130992K bytes) config> di pcic0 config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> di bt0 config> di aic0 config> di adv0 config> q avail memory = 126304256 (123344K bytes) Preloaded elf kernel "kernel" at 0xc0436000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc043609c. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 uhci0: port 0xb400-0xb41f irq 5 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb000-0xb01f irq 5 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered fxp0: port 0x9400-0x943f mem 0xe0800000-0xe08fffff,0xe1000000-0xe1000fff irq 5 at device 9.0 on pci0 fxp0: Ethernet address 00:d0:b7:46:10:e9 ahc0: port 0x9000-0x90ff mem 0xe0000000-0xe0000fff irq 12 at device 10.0 on pci0 aic7860: Single Channel A, SCSI Id=7, 3/255 SCBs atapci1: port 0x7400-0x743f,0x7800-0x7803,0x8000-0x8007,0x8400-0x8403,0x8800-0x8807 mem 0xdf800000-0xdf81ffff irq 10 at device 17.0 on pci0 ata2: at 0x8800 on atapci1 ata3: at 0x8000 on atapci1 pcib1: on motherboard pci2: on pcib1 fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ad4: 73308MB [148945/16/63] at ata2-master UDMA100 acd0: CDROM at ata0-slave using PIO4 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 0 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 10.000MB/s transfers (10.000MHz, offset 15) Mounting root from ufs:/dev/ad4s1a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message