From owner-freebsd-hardware@FreeBSD.ORG Wed Aug 31 15:22:53 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6832B16A420 for ; Wed, 31 Aug 2005 15:22:53 +0000 (GMT) (envelope-from tuliogs@pgt.mpt.gov.br) Received: from mail.pgt.mpt.gov.br (mail.pgt.mpt.gov.br [200.157.62.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A367E43D46 for ; Wed, 31 Aug 2005 15:22:51 +0000 (GMT) (envelope-from tuliogs@pgt.mpt.gov.br) Received: from [10.0.0.136] (516e.pgt.mpt.gov.br [10.0.0.136]) by mail.pgt.mpt.gov.br (8.13.1/8.13.1) with ESMTP id j7VFMn0v072733 for ; Wed, 31 Aug 2005 12:22:49 -0300 (BRST) (envelope-from tuliogs@pgt.mpt.gov.br) Message-ID: <4315CBDE.5070007@pgt.mpt.gov.br> Date: Wed, 31 Aug 2005 12:25:18 -0300 From: =?ISO-8859-1?Q?Tulio_Guimar=E3es_da_Silva?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hardware@freebsd.org References: <000001c5adbf$83af7500$0a2e567e@monster4c> <20050830203359.W73590@kerplunk.tbe.net> In-Reply-To: <20050830203359.W73590@kerplunk.tbe.net> Content-Type: multipart/mixed; boundary="------------000806020204090505070402" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Adaptec ATA RAID 1200A card supported? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 15:22:53 -0000 This is a multi-part message in MIME format. --------------000806020204090505070402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Gary D. Margiotta wrote: > Ok, I can see the explanation about the Highpoint chip. > > Based upon the actual error messages, I would examine the cables and > speed settings first. > > My interpretation of the errors is that the card is having trouble > finding a speed setting that will work with what I assume are ancient > hard drives. The 42MB and 100MB drives I would guess are old, and > don't speak DMA, or even a high PIO mode, and therefore are giving > trouble when the card tries to set what the card thinks is a > reasonable transfer speed setting. I would trust that too. These are really ancient hardware, maybe 10+ years old, and certainly not DMA-compatible. Since they all fall back to PIO0, itīs better to force them to not higher tahn PIO-2 or 3. Itīs certainly not a controller issue, since Highpoint chips are well supported. ;) Note: according to Seagateīs reference guide (last updated 5/13/91 o_O for this disk), the ST3120A is plain ATA-bus, what means itīs probably only PIO-0. I wouldnīt expect better for the Conner. Good luck, Tulio G. da Silva > Out of curiosity, what happens if you were to unplug all the older > drives from the card, and boot with only the newer hard drive attached > and on (and maybe the CD drive, that should be fine as well)? > > If the errors go away I would then assume that it is a speed setting > issue with the older drives, and then look further in that area. You > might want to include Soren (the ata code maintainer) a little further > down the line (if you search the -current mailing archives for ata, > you'll find his e-mail address, I don't have it handy), if it does > turn out to be a setting, which he may be better able to explain than > I, being that he understands this stuff much better. Who knows, it > may be something that needs a sysctl tunable, or maybe an alteration > to the code, but some more troubleshooting should be done. > > Trying out the cables and that stuff first means you don't have to > delve into a custom kernel at the moment, so try what's easiest first, > and go from there. > > -Gary > > On Tue, 30 Aug 2005, Robert Ken Francis wrote: > >> Thanks for responding. I'm not sure what to do about this. Someone >> in FreeBSD questions said it was related to atapi or SCSI. The 1200A >> card has a Highpoint HPT370 chip on it. I can see atapci1, ata2, and >> ata3. Maybe the hard drives cause these driver failures? >> >> I can try to take out atapifd and see if the errors go away, which >> means I will have to build a kernel. Does anyone know what causes >> the below FAILUREs? >> >> Thanks, >> Rob >> >>> -----Original Message----- >>> From: owner-freebsd-hardware@freebsd.org >>> [mailto:owner-freebsd-hardware@freebsd.org] On Behalf Of Gary >>> D. Margiotta >>> Sent: Sunday, August 28, 2005 11:13 AM >>> To: Robert Ken Francis >>> Cc: freebsd-hardware@freebsd.org >>> Subject: Re: Adaptec ATA RAID 1200A card supported? >>> >>> >>> The card itself is supported fine, the box I'm composing this >>> mail from is >>> using solely an Adaptec 1200A card, running 5-STABLE (which >>> was originally >>> installed with 5.2.1, and have been tracking -STABLE since). >>> >>> I don't see the Adaptec card getting probed in your dmesg... >>> I see the >>> onboard SiS controller (atapci0 with ata0 and ata1), and a >>> HighPoint card >>> (atapci1 with ata-2 and ata-3), and the errors I see are >>> coming from the >>> ata-2 and ata-3 channels, which are on the HighPoint controller. >>> >>> -Gary >>> >>> On Sun, 28 Aug 2005, Robert Ken Francis wrote: >>> >>>> I have failures like the below: >>>> >>>> ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE >>>> status=51 error=4 >>>> >>>> What do I do to fix these failures? All of the "FAILURE" >>> >>> drives are >>> >>>> on my Adaptec ATA RAID 1200A card. My secondary built-in >>> >>> IDE is dead >>> >>>> so I have to use this card as an IDE replacement. >>>> >>>> Thanks, >>>> Rob >>>> >>>> Note that NetBSD doesn't have this problem. >>>> >>>> >>>> Here is my dmesg: >>>> >>>> Copyright (c) 1992-2005 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 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 >>> >>>> root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >>>> ACPI APIC Table: >>>> Timecounter "i8254" frequency 1193182 Hz quality 0 >>>> CPU: Intel(R) Celeron(R) CPU 2.40GHz (2400.18-MHz 686-class CPU) >>>> Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 >>>> >>>> >>> Features=0xbfebfbff>> >>>> GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT >>>> T,TM,PBE> >>>> real memory = 1040171008 (991 MB) >>>> avail memory = 1008295936 (961 MB) >>>> ioapic0 irqs 0-23 on motherboard >>>> npx0: on motherboard >>>> npx0: INT 16 interface >>>> acpi0: on motherboard >>>> acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 >>>> acpi0: Power Button (fixed) >>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >>>> acpi_timer0: <24-bit timer at 3.579545MHz> port >>> >>> 0xe408-0xe40b on acpi0 >>> >>>> cpu0: on acpi0 >>>> acpi_throttle0: on cpu0 >>>> acpi_button0: on acpi0 >>>> pcib0: port 0xcf8-0xcff on acpi0 >>>> pci0: on pcib0 >>>> agp0: mem >>> >>> 0xe8000000-0xebffffff at device 0.0 on pci0 >>> >>>> pcib1: at device 1.0 on pci0 >>>> pci1: on pcib1 >>>> pci1: at device 0.0 (no driver attached) >>>> isab0: at device 2.0 on pci0 >>>> isa0: on isab0 >>>> atapci0: port >>> >>> 0xa400-0xa40f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 16 at >>> device 2.5 on pci0 >>> >>>> ata0: channel #0 on atapci0 >>>> ata1: channel #1 on atapci0 >>>> ohci0: mem 0xe7000000-0xe7000fff >>> >>> irq 20 at device 3.0 on pci0 >>> >>>> usb0: OHCI version 1.0, legacy support >>>> usb0: on ohci0 >>>> usb0: USB revision 1.0 >>>> uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>>> uhub0: 3 ports with 3 removable, self powered >>>> ohci1: mem 0xe6800000-0xe6800fff >>> >>> irq 21 at device 3.1 on pci0 >>> >>>> usb1: OHCI version 1.0, legacy support >>>> usb1: on ohci1 >>>> usb1: USB revision 1.0 >>>> uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >>>> uhub1: 3 ports with 3 removable, self powered >>>> pci0: at device 3.3 (no driver attached) >>>> sis0: port 0x8800-0x88ff mem >>> >>> 0xe5800000-0xe5800fff irq 19 at device 4.0 on pci0 >>> >>>> miibus0: on sis0 >>>> rlphy0: on miibus0 >>>> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >>>> sis0: Ethernet address: 00:0e:a6:98:41:8b >>>> atapci1: port >>> >>> 0x7000-0x70ff,0x7400-0x7403,0x7800-0x7807,0x8000-0x8003,0x8400 >>> -0x8407 irq 17 at >>> >>>> device 14.0 on pci0 >>>> ata2: channel #0 on atapci1 >>>> ata3: channel #1 on atapci1 >>>> pci0: at device 16.0 (no driver attached) >>>> fdc0: port 0x3f7,0x3f2-0x3f5 irq >>> >>> 6 drq 2 on acpi0 >>> >>>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0 >>>> ppc0: port >>> >>> 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 >>> >>>> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode >>>> ppc0: FIFO with 16/16/16 bytes threshold >>>> ppbus0: on ppc0 >>>> plip0: on ppbus0 >>>> lpt0: on ppbus0 >>>> lpt0: Interrupt-driven port >>>> ppi0: on ppbus0 >>>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 >>> >>> flags 0x10 on acpi0 >>> >>>> sio0: type 16550A >>>> atkbdc0: port 0x64,0x60 irq 1 on acpi0 >>>> atkbd0: irq 1 on atkbdc0 >>>> kbd0 at atkbd0 >>>> psm0: irq 12 on atkbdc0 >>>> psm0: model IntelliMouse, device ID 3 >>>> orm0: at iomem >>> >>> 0xcc000-0xd07ff,0xc0000-0xcbfff on isa0 pmtimer0 on isa0 >>> >>>> sc0: at flags 0x100 on isa0 >>>> sc0: VGA <16 virtual consoles, flags=0x300> >>>> sio1: configured irq 3 not in bitmap of probed irqs 0 >>>> sio1: port may not be enabled >>>> vga0: at port 0x3c0-0x3df iomem >>> >>> 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency >>> 2400181916 Hz quality 800 >>> >>>> Timecounters tick every 10.000 msec >>>> ad0: 117246MB [238216/16/63] at >>> >>> ata0-master UDMA133 >>> >>>> acd0: DVDROM at ata0-slave PIO4 >>>> ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=4 >>> >>>> ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=4 >>> >>>> ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=5 >>> >>>> ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=5 >>> >>>> ad4: FAILURE - SETFEATURES ENABLE RCACHE >>> >>> status=51 error=4 >>> >>>> ad4: FAILURE - SETFEATURES ENABLE WCACHE >>> >>> status=51 error=4 >>> >>>> ad4: 40MB [745/4/28] at >>> >>> ata2-master PIO0 >>> >>>> ad5: FAILURE - SETFEATURES ENABLE WCACHE >>> >>> status=51 error=5 >>> >>>> ad5: 41MB >>> >>> [1053/2/40] at ata2-slave PIO0 >>> >>>> ata3-master: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=10 >>> >>>> ata3-master: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=10 >>> >>>> ata3-slave: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=10 >>> >>>> ata3-slave: FAILURE - SETFEATURES SET TRANSFER MODE >>> >>> status=51 error=10 >>> >>>> ad6: FAILURE - SETFEATURES ENABLE WCACHE >>> >>> status=51 error=10 >>> >>>> ad6: 102MB [1024/12/17] at ata3-master PIO0 >>>> ad7: FAILURE - SETFEATURES ENABLE WCACHE >>> >>> status=51 error=10 >>> >>>> ad7: 102MB [1024/12/17] at ata3-slave PIO0 >>>> ad4: FAILURE - READ status=51 >>> >>> error=10 LBA=18 Mounting root from ufs:/dev/ad0s1a >>> >>>> >>>> -- >>>> No virus found in this outgoing message. >>>> Checked by AVG Anti-Virus. >>>> Version: 7.0.344 / Virus Database: 267.10.16/83 - Release >>> >>> Date: 8/26/2005 >>> >>>> >>>> >>>> _______________________________________________ >>>> freebsd-hardware@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >>>> To unsubscribe, send any mail to >>>> "freebsd-hardware-unsubscribe@freebsd.org" >>>> >>> _______________________________________________ >>> freebsd-hardware@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >>> To unsubscribe, send any mail to >>> "freebsd-hardware-unsubscribe@freebsd.org" >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.344 / Virus Database: 267.10.16/83 - Release >>> Date: 8/26/2005 >>> >>> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: >> 8/29/2005 >> >> >> _______________________________________________ >> freebsd-hardware@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware >> To unsubscribe, send any mail to >> "freebsd-hardware-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org" > > --------------000806020204090505070402--