From owner-freebsd-hardware@FreeBSD.ORG Fri Sep 2 01:14:39 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 1004C16A41F for ; Fri, 2 Sep 2005 01:14:39 +0000 (GMT) (envelope-from rkfrancis1@adelphia.net) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E22543D45 for ; Fri, 2 Sep 2005 01:14:38 +0000 (GMT) (envelope-from rkfrancis1@adelphia.net) Received: from monster4c ([69.173.76.151]) by mta9.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP id <20050902011436.ZVGR24716.mta9.adelphia.net@monster4c>; Thu, 1 Sep 2005 21:14:36 -0400 From: "Robert Ken Francis" To: "'Gary D. Margiotta'" Date: Thu, 1 Sep 2005 21:14:38 -0400 Organization: organization Message-ID: <002c01c5af5b$b0dfd130$0a2e567e@monster4c> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Importance: Normal In-Reply-To: <20050830203359.W73590@kerplunk.tbe.net> 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 Reply-To: rkfrancis1@adelphia.net 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:14:39 -0000 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? 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 =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9 =20 Features=3D0xbfebfbff real memory =3D 1040171008 (991 MB) avail memory =3D 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=3D0x300> 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]=20 > 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? >=20 >=20 > Ok, I can see the explanation about the Highpoint chip. >=20 > Based upon the actual error messages, I would examine the=20 > cables and speed=20 > settings first. >=20 > My interpretation of the errors is that the card is having=20 > trouble finding=20 > a speed setting that will work with what I assume are ancient=20 > hard drives.=20 > The 42MB and 100MB drives I would guess are old, and don't=20 > speak DMA, or=20 > even a high PIO mode, and therefore are giving trouble when=20 > the card tries=20 > to set what the card thinks is a reasonable transfer speed setting. >=20 > Out of curiosity, what happens if you were to unplug all the=20 > older drives=20 > from the card, and boot with only the newer hard drive=20 > attached and on=20 > (and maybe the CD drive, that should be fine as well)? >=20 > If the errors go away I would then assume that it is a speed=20 > setting issue=20 > with the older drives, and then look further in that area. =20 > You might want=20 > to include Soren (the ata code maintainer) a little further=20 > down the line=20 > (if you search the -current mailing archives for ata, you'll find his=20 > e-mail address, I don't have it handy), if it does turn out to be a=20 > setting, which he may be better able to explain than I, being that he=20 > understands this stuff much better. Who knows, it may be=20 > something that=20 > needs a sysctl tunable, or maybe an alteration to the code,=20 > but some more=20 > troubleshooting should be done. >=20 > Trying out the cables and that stuff first means you don't=20 > have to delve=20 > into a custom kernel at the moment, so try what's easiest=20 > first, and go=20 > from there. >=20 > -Gary >=20 > On Tue, 30 Aug 2005, Robert Ken Francis wrote: >=20 > > Thanks for responding. I'm not sure what to do about this.=20 > Someone=20 > > in > > FreeBSD questions said it was related to atapi or SCSI. =20 > The 1200A card=20 > > has a Highpoint HPT370 chip on it. I can see atapci1,=20 > ata2, and ata3.=20 > > Maybe the hard drives cause these driver failures? > > > > I can try to take out atapifd and see if the errors go away, which=20 > > means > > I will have to build a kernel. Does anyone know what=20 > causes the below=20 > > FAILUREs? > > > > Thanks, > > Rob > > > >> -----Original Message----- > >> From: owner-freebsd-hardware@freebsd.org > >> [mailto:owner-freebsd-hardware@freebsd.org] On Behalf Of Gary D.=20 > >> 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=20 > >> 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=20 > >> 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=20 > >>> status=3D51 error=3D4 > >>> > >>> 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)=20 > >>> Origin =3D "GenuineIntel" Id =3D 0xf29 Stepping =3D 9 > >>> > >>> > >>=20 > = Features=3D0xbfebfbff >> P > >>> GE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT > >>> T,TM,PBE> > >>> real memory =3D 1040171008 (991 MB) > >>> avail memory =3D 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=20 > >> 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=20 > 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=3D0x300> > >>> 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=20 > >> 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=3D51 error=3D4 > >>> ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D4 > >>> ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D5 > >>> ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D5 > >>> ad4: FAILURE - SETFEATURES ENABLE RCACHE > >> status=3D51 error=3D4 > >>> ad4: FAILURE - SETFEATURES ENABLE WCACHE > >> status=3D51 error=3D4 > >>> ad4: 40MB [745/4/28] at > >> ata2-master PIO0 > >>> ad5: FAILURE - SETFEATURES ENABLE WCACHE > >> status=3D51 error=3D5 > >>> ad5: 41MB > >> [1053/2/40] at ata2-slave PIO0 > >>> ata3-master: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D10 > >>> ata3-master: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D10 > >>> ata3-slave: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D10 > >>> ata3-slave: FAILURE - SETFEATURES SET TRANSFER MODE > >> status=3D51 error=3D10 > >>> ad6: FAILURE - SETFEATURES ENABLE WCACHE > >> status=3D51 error=3D10 > >>> ad6: 102MB [1024/12/17] at ata3-master PIO0 > >>> ad7: FAILURE - SETFEATURES ENABLE WCACHE > >> status=3D51 error=3D10 > >>> ad7: 102MB [1024/12/17] at ata3-slave PIO0 > >>> ad4: FAILURE - READ status=3D51 > >> error=3D10 LBA=3D18 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=20 > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > >>> To unsubscribe, send any mail to=20 > >>> "freebsd-hardware-unsubscribe@freebsd.org" > >>> > >> _______________________________________________ > >> freebsd-hardware@freebsd.org mailing list=20 > >> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > >> To unsubscribe, send any mail to=20 > >> "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=20 > Date: 8/29/2005 > > > > > > _______________________________________________ > > freebsd-hardware@freebsd.org mailing list=20 > > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > > To unsubscribe, send any mail to=20 > > "freebsd-hardware-unsubscribe@freebsd.org" > > >=20 > --=20 > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.10.17/84 - Release=20 > Date: 8/29/2005 > =20 >=20 --=20 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 =20