Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2005 21:14:38 -0400
From:      "Robert Ken Francis" <rkfrancis1@adelphia.net>
To:        "'Gary D. Margiotta'" <gary@tbe.net>
Cc:        freebsd-hardware@freebsd.org
Subject:   RE: Adaptec ATA RAID 1200A card supported?
Message-ID:  <002c01c5af5b$b0dfd130$0a2e567e@monster4c>
In-Reply-To: <20050830203359.W73590@kerplunk.tbe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ASUS   P4SP-MX >
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,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 1008300032 (961 MB)
ioapic0 <Version 8.0> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P4SP-MX> 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: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 651 host to AGP bridge> mem 0xe8000000-0xebffffff at device =
0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 962 UDMA133 controller> 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: <SiS 5571 USB controller> mem 0xe7000000-0xe7000fff irq 20 at =
device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xe6800000-0xe6800fff irq 21 at =
device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> 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: <serial bus, USB> at device 3.3 (no driver attached)
sis0: <SiS 900 10/100BaseTX> port 0x8800-0x88ff mem =
0xe5800000-0xe5800fff irq 19 at device 4.0 on pci0
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:0e:a6:98:41:8b
atapci1: <HighPoint HPT370 UDMA100 controller> 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: <multimedia, audio> at device 16.0 (no driver attached)
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on =
acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on =
acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on =
isa0
Timecounter "TSC" frequency 2400179128 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 117246MB <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at ata0-master =
UDMA133
acd0: DVDROM <COMPAQ DVD-ROM GDR8160B/0012> 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<READY,DSC,ERROR> error=3D4<ABORTED>
> >>>
> >>> 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: <ASUS   P4SP-MX >
> >>> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
> >> 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 <Version 8.0> irqs 0-23 on motherboard
> >>> npx0: <math processor> on motherboard
> >>> npx0: INT 16 interface
> >>> acpi0: <ASUS P4SP-MX> 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: <ACPI CPU> on acpi0
> >>> acpi_throttle0: <ACPI CPU Throttling> on cpu0
> >>> acpi_button0: <Power Button> on acpi0
> >>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> >>> pci0: <ACPI PCI bus> on pcib0
> >>> agp0: <SiS 651 host to AGP bridge> mem
> >> 0xe8000000-0xebffffff at device 0.0 on pci0
> >>> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> >>> pci1: <ACPI PCI bus> on pcib1
> >>> pci1: <display, VGA> at device 0.0 (no driver attached)
> >>> isab0: <PCI-ISA bridge> at device 2.0 on pci0
> >>> isa0: <ISA bus> on isab0
> >>> atapci0: <SiS 962 UDMA133 controller> 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: <SiS 5571 USB controller> mem 0xe7000000-0xe7000fff
> >> irq 20 at device 3.0 on pci0
> >>> usb0: OHCI version 1.0, legacy support
> >>> usb0: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xe6800000-0xe6800fff
> >> irq 21 at device 3.1 on pci0
> >>> usb1: OHCI version 1.0, legacy support
> >>> usb1: <SiS 5571 USB controller> 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: <serial bus, USB> at device 3.3 (no driver attached)
> >>> sis0: <SiS 900 10/100BaseTX> port 0x8800-0x88ff mem
> >> 0xe5800000-0xe5800fff irq 19 at device 4.0 on pci0
> >>> miibus0: <MII bus> on sis0
> >>> rlphy0: <RTL8201L 10/100 media interface> on miibus0
> >>> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> >>> sis0: Ethernet address: 00:0e:a6:98:41:8b
> >>> atapci1: <HighPoint HPT370 UDMA100 controller> 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: <multimedia, audio> at device 16.0 (no driver attached)
> >>> fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq
> >> 6 drq 2 on acpi0
> >>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> >>> ppc0: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
> >>> plip0: <PLIP network interface> on ppbus0
> >>> lpt0: <Printer> on ppbus0
> >>> lpt0: Interrupt-driven port
> >>> ppi0: <Parallel I/O> on ppbus0
> >>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4
> >> flags 0x10 on acpi0
> >>> sio0: type 16550A
> >>> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq=20
> 1 on acpi0
> >>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> >>> kbd0 at atkbd0
> >>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> >>> psm0: model IntelliMouse, device ID 3
> >>> orm0: <ISA Option ROMs> at iomem
> >> 0xcc000-0xd07ff,0xc0000-0xcbfff on isa0 pmtimer0 on isa0
> >>> sc0: <System console> 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: <Generic ISA VGA> 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 <Maxtor 6Y120L0/YAR41VW0> [238216/16/63] at
> >> ata0-master UDMA133
> >>> acd0: DVDROM <COMPAQ DVD-ROM GDR8160B/0012> at ata0-slave PIO4
> >>> ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D4<ABORTED>
> >>> ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D4<ABORTED>
> >>> ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D5<ABORTED,ILLEGAL_LENGTH>
> >>> ata2-slave: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D5<ABORTED,ILLEGAL_LENGTH>
> >>> ad4: FAILURE - SETFEATURES ENABLE RCACHE
> >> status=3D51<READY,DSC,ERROR> error=3D4<ABORTED>
> >>> ad4: FAILURE - SETFEATURES ENABLE WCACHE
> >> status=3D51<READY,DSC,ERROR> error=3D4<ABORTED>
> >>> ad4: 40MB <MiniScribe Corporation 8051A/3.73> [745/4/28] at
> >> ata2-master PIO0
> >>> ad5: FAILURE - SETFEATURES ENABLE WCACHE
> >> status=3D51<READY,DSC,ERROR> error=3D5<ABORTED,ILLEGAL_LENGTH>
> >>> ad5: 41MB <Conner Peripherals 40MB - CP3041/S2.46>
> >> [1053/2/40] at ata2-slave PIO0
> >>> ata3-master: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND>
> >>> ata3-master: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND>
> >>> ata3-slave: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND>
> >>> ata3-slave: FAILURE - SETFEATURES SET TRANSFER MODE
> >> status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND>
> >>> ad6: FAILURE - SETFEATURES ENABLE WCACHE
> >> status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND>
> >>> ad6: 102MB <st3120AT/REV184.0> [1024/12/17] at ata3-master PIO0
> >>> ad7: FAILURE - SETFEATURES ENABLE WCACHE
> >> status=3D51<READY,DSC,ERROR> error=3D10<NID_NOT_FOUND>
> >>> ad7: 102MB <st3120AT/REV184.0> [1024/12/17] at ata3-slave PIO0
> >>> ad4: FAILURE - READ status=3D51<READY,DSC,ERROR>
> >> error=3D10<NID_NOT_FOUND> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c5af5b$b0dfd130$0a2e567e>