From owner-freebsd-hardware@FreeBSD.ORG Fri Sep 2 01:47:12 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 8622A16A41F for ; Fri, 2 Sep 2005 01:47:12 +0000 (GMT) (envelope-from gary@tbe.net) Received: from kerplunk.tbe.net (kerplunk.tbe.net [209.123.115.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21C0443D46 for ; Fri, 2 Sep 2005 01:47:12 +0000 (GMT) (envelope-from gary@tbe.net) Received: by kerplunk.tbe.net (Postfix, from userid 1001) id 767145CE2; Thu, 1 Sep 2005 21:46:25 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by kerplunk.tbe.net (Postfix) with ESMTP id 3A1D55CA8; Thu, 1 Sep 2005 21:46:25 -0400 (EDT) Date: Thu, 1 Sep 2005 21:46:25 -0400 (EDT) From: "Gary D. Margiotta" To: Robert Ken Francis In-Reply-To: <002c01c5af5b$b0dfd130$0a2e567e@monster4c> Message-ID: <20050901214101.U88554@kerplunk.tbe.net> References: <002c01c5af5b$b0dfd130$0a2e567e@monster4c> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hardware@freebsd.org 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: Fri, 02 Sep 2005 01:47:12 -0000 Sorry for top-posting before... in any case... On Thu, 1 Sep 2005, Robert Ken Francis wrote: > Sorry to keep you in the dark about my hard drives. I have a 120GB drive master and a DVD reader as slave on ata0, ata1 is dead > (the BIOS won't detect anything), ata2 and ata3 are the Adaptec ATA RAID 1200A card (HighPoint chipset). > > All of the FAILUREs went away when I disconnected the ata2 and ata3 drives from the card. See my dmesg below for details. I'm > guessing that SET FEATURES means I have set some features? I think the ata guy is at sos@FreeBSD.org? > Well, I would expect the SET FEATURES bit to be in the ata code itself, as it's trying to probe your hardware, and set the features for that drive so it will work with the card. The code is probably having the card go through a bunch of possible feature subsets for what is attached, and probably can't find anything that fits for that particular hardware. sos@ seems to be about right. I hate to say this, as I'm horrible with older hardware myself (if it still is functional I still try to use it somewhere), but it might be time to give up the ghost on the older drives, and mount them on the wall as museum pieces... :) I don't know what you could do with the settings on the Adaptec card to try to set lower speed settings manually, as I only have one card myself of that type, and it's in a production box at the moment. If you want to keep those drives around, I'd see if you can find an older IDE controller to hang them off of, as you'll probably get nowhere with keeping it on the newer cards. And sos might tell you that it's too old for him to support it in the new code framework (but I'm putting words in his mouth, I apologize), or he may try to work up some patches. If you want, I can ship you a couple "newer" 6 and 8GB drives so you can retire your relics... :) -Gary > Thanks, > Rob > > 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 T,TM,PBE> > real memory = 1040171008 (991 MB) > avail memory = 1008300032 (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 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 2400179128 Hz quality 800 > Timecounters tick every 10.000 msec > ad0: 117246MB [238216/16/63] at ata0-master UDMA133 > acd0: DVDROM at ata0-slave PIO4 > Mounting root from ufs:/dev/ad0s1a > > >> -----Original Message----- >> From: Gary D. Margiotta [mailto:gary@tbe.net] >> Sent: Tuesday, August 30, 2005 8:41 PM >> To: Robert Ken Francis >> Cc: freebsd-hardware@freebsd.org >> Subject: RE: Adaptec ATA RAID 1200A card supported? >> >> >> 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. >> >> 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>>> P >>>>> 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" >>> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Anti-Virus. >> Version: 7.0.344 / Virus Database: 267.10.17/84 - Release >> Date: 8/29/2005 >> >> > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.18/88 - Release Date: 9/1/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" >