From owner-freebsd-questions Mon May 21 5:33: 4 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 2CDC837B422 for ; Mon, 21 May 2001 05:32:58 -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 f4LCTok26244; Mon, 21 May 2001 08:29:50 -0400 (EDT) Message-ID: <3B090AA6.2FBE476D@iowna.com> Date: Mon, 21 May 2001 08:31:34 -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 Cc: george Subject: Weird ata reporting (was Re: Promise ATA100 panic) References: 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 In attempting to check up on ata speeds, I get the most unusual string for hw.atamodes: ---,pio,dma,---,---,--- Which would seem to indicate that there is no primary master. This machine has 4 controllers, 2 ata66 and 2 ata100. The booting HDD is plugged into the primary master ata100, but it seems to be showing up as the secondary master on the ata66, is this normal? -Bill george wrote: > > make sure your using an ata100 cable for the drive, > my maxtor would fault out if i did large transfers at udma > speeds using a regular 40 pin cable, now they are supposed > to be 80 pins, another option is to try a slower speed say udma33 > and retry the copy a few times and see if you can reproduce > it. > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Bill Moran > Sent: Sunday, May 20, 2001 10:33 AM > To: freebsd-questions@FreeBSD.ORG > Subject: Promise ATA100 panic > > 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 PAT,PSE36,MMX,FXSR> > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message