Date: Mon, 21 May 2001 08:31:34 -0400 From: Bill Moran <wmoran@iowna.com> To: freebsd-questions@freebsd.org Cc: george <george@vagner.com> Subject: Weird ata reporting (was Re: Promise ATA100 panic) Message-ID: <3B090AA6.2FBE476D@iowna.com> References: <ADEMKBNKJGENIBKHNKEEOECECCAA.george@vagner.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV, > PAT,PSE36,MMX,FXSR> > AMD Features=0xc0440000<<b18>,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: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <Host to PCI bridge> on motherboard > pci0: <PCI bus> on pcib0 > pcib2: <PCI to PCI bridge (vendor=1106 device=8305)> at device 1.0 on > pci0 > pci1: <PCI bus> on pcib2 > pci1: <ATI Mach64-GM graphics accelerator> at 0.0 irq 11 > isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <VIA 82C686 ATA66 controller> port 0xb800-0xb80f at device 4.1 > on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 5 at device > 4.2 on pci0 > usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 5 at device > 4.3 on pci0 > usb1: <VIA 83C572 USB controller> 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: <Intel Pro 10/100B/100+ Ethernet> 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: <Adaptec 2930CU SCSI adapter> 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: <Promise ATA100 controller> 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: <Host to PCI bridge> on motherboard > pci2: <PCI bus> on pcib1 > 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> flags 0x1 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 > ppc0: <Parallel port> 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: <PLIP network interface> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > ad4: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata2-master UDMA100 > acd0: CDROM <ATAPI-CD ROM-DRIVE-50MAX> at ata0-slave using PIO4 > Waiting 15 seconds for SCSI devices to settle > sa0 at ahc0 bus 0 target 0 lun 0 > sa0: <SONY SDT-9000 0400> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B090AA6.2FBE476D>