Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2005 00:57:37 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Eugene Hercun" <eugene.hercun@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: highpoint rocketraid 454 - RAID 1
Message-ID:  <LOBBIFDAGNMAMLGJJCKNMEHEFBAA.tedm@toybox.placo.com>
In-Reply-To: <c04ca341050517001132fd5c85@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Eugene,

  OK, let me explain "supported" just a bit, here. ;-)

  There's 2 kinds of driver support we are talking about.  The first
is driver support where the driver can talk directly to the hard drives
on the IDE controller.  That's what you got.

  The second is the support where the driver can talk to the smarts in
the RAID card that does the RAIDing, so that you can see your array as a
single logical unit - which is what you need.  After all an array ain't
much good if your formatting and partitioning each hard drive in the
array
individually.

  Now, according to the man page for the ata driver in FreeBSD 5.4
RELEASE,
the supported Highpoint raid card models are:

 HighPoint:      HPT302, HPT366, HPT366, HPT368, HPT370, HPT371, HPT372,
                     HPT374.

  Your card is detected as:

atapci0: <HighPoint HPT374 (channel 0+1) UDMA133 controller>

  So, what we have here is a bug.  That is, the ata driver is supposed
to know all about the RAID array on your card - but it don't - so
something is wacked.

  If your card WAS completely supported you WOULD see an ar device in
the dmesg output.  Here's a sample from my system which has a Highpoint
Rocket RAID 100 (actually, an OEMed card to Adaptec, listed under the
Adaptec 1200A model):

atapci0: <HighPoint HPT370 UDMA100 controller>
ad4: 152627MB <ST3160023A/8.01> [310101/16/63] at ata2-master UDMA100
ad6: 152627MB <ST3160023A/3.01> [310101/16/63] at ata3-master UDMA100
ar0: 152627MB <ATA RAID1 array> [19457/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master

  You don't got this so that is why FreeBSD can only see each disk, and
not the array you created in the BIOS.

  Naturally, if you did have an ar device, you would ignore the ad
devices and do all your formatting/partitioning/installing on the ar
device.

  At this point, your next step needs to be to go to
ftp://current.freebsd.org/pub/FreeBSD/snapshots/ and download the
boot floppies for the most current snapshot of the FreeBSD 5.x release
train, try to boot that and see if it recognizes your card's RAID - it
might very well do this since there's been gobs of changes in the ATA
raid code since the 5.4 release - development on this driver is extremely
active right now, espically in the area of ata RAID.  If it DOES support
the array you got it made - either download the entire SNAP and run that,
or use the current driver to try to find the bug in the 5.4 driver
(most definitely NOT recommended)

  If it DOESEN'T support your card then e-mail Søren Schmidt
<sos@FreeBSD.org>
as he is working on this driver daily.  You can either arrainge to loan
him your card for a week or so, and hope that he gets the bug quashed
quickly,
or (and this is what I would do) just give him your card
and ask him to fix it when he feels like it, then buy one that does not
have
the bug.  Since your disks are only UDMA100 and you only have 2 of them,
the Highpoint RocketRaid 100 card will give you the exact same speed and
functionality.  And, you can get them dirt cheap since people don't know
that the Adaptec 1200A is just a relabeled RocketRaid 100.  In fact I
just picked up one of those cards off Ebay last week for under $20 -
auction
5193591385 it was.

  And of course, one last thing you can do - try creating a mirror in the
raid card BIOS instead of a stripe set, and see if that comes up as an ar
device.  Not that you will want to do this permanently, but it might help
Soren find the bug more quickly if you find that mirroring works and
striping doesen't.

Ted

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Eugene Hercun
> Sent: Tuesday, May 17, 2005 12:11 AM
> To: freebsd-questions@freebsd.org
> Subject: highpoint rocketraid 454 - RAID 1
>
>
> OK, I'm seriously stuck. I have searched every resource exhaustively,
> found bits and pieces, but not what I'm after. This is *honestly* my
> last resort.
> I have a HighPoint RocketRAID 454 with two Western Digital 200GB disks
> (I was hoping to boot FBSD off of these). I've setup a RAID 1 array
> under the bios utility program, and ran the FreeBSD 5.4 installer. I
> remember seeing two different disks (ad4, ad6) when it came to
> formatting/partitionning but I thought nothing of it. Until of course,
> I wanted to see if there was a way, other than rebooting, to check the
> RAID 1 status. I started reading through atacontrol(8) and found that
> I could use 'atacontrol status ar0' which gave me:
> atacontrol: ioctl(ATARAIDSTATUS): Device not configured
>
> I do not see anything in my dmesg relating to ar0 being up and
> running, and displaying the sub-disks which would explain why
> atacontrol would be giving me that error message. However, I do see
> that the RAID card, and the two disks, ad4, ad6, have been detected
> properly.
>
> I will attach my dmesg output below.
> Thank you in advance.
>
> Eugene
>
>
>
>
> $ 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   A7V8X-X >
>
> Timecounter "i8254" frequency 1193182 Hz quality 0
>
> CPU: AMD Athlon(TM) XP 2200+ (1791.22-MHz 686-class CPU)
>
>   Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
>
>
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,
MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>
>   AMD Features=0xc0400000<AMIE,DSP,3DNow!>
>
> real memory  = 536854528 (511 MB)
>
> avail memory = 515678208 (491 MB)
>
> ioapic0: Changing APIC ID to 2
>
> ioapic0 <Version 0.3> irqs 0-23 on motherboard
>
> npx0: <math processor> on motherboard
>
> npx0: INT 16 interface
>
> acpi0: <ASUS A7V8X-X> on motherboard
>
> acpi0: Power Button (fixed)
>
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
>
> cpu0: <ACPI CPU> on acpi0
>
> acpi_button0: <Power Button> on acpi0
>
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>
> pci0: <ACPI PCI bus> on pcib0
>
> agp0: <VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge> mem
> 0xf8000000-0xfbffffff 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)
>
> pci1: <display> at device 0.1 (no driver attached)
>
> atapci0: <HighPoint HPT374 (channel 0+1) UDMA133 controller> port
> 0xa400-0xa4ff,0xa800-0xa803,0xb000-0xb007,0xb400-0xb403,0xb800-0xb807
> irq 17 at device 14.0 on pci0
>
> ata2: channel #0 on atapci0
>
> ata3: channel #1 on atapci0
>
> atapci1: <HighPoint HPT374 (channel 2+3) UDMA133 controller> port
> 0x8800-0x88ff,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007
> irq 17 at device 14.1 on pci0
>
> ata4: channel #0 on atapci1
>
> ata5: channel #1 on atapci1
>
> uhci0: <VIA 83C572 USB controller> port 0x8400-0x841f irq 21 at device
> 16.0 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 0x8000-0x801f irq 21 at device
> 16.1 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
>
> uhci2: <VIA 83C572 USB controller> port 0x7800-0x781f irq 21 at device
> 16.2 on pci0
>
> usb2: <VIA 83C572 USB controller> on uhci2
>
> usb2: USB revision 1.0
>
> uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>
> uhub2: 2 ports with 2 removable, self powered
>
> pci0: <serial bus, USB> at device 16.3 (no driver attached)
>
> isab0: <PCI-ISA bridge> at device 17.0 on pci0
>
> isa0: <ISA bus> on isab0
>
> atapci2: <VIA 8235 UDMA133 controller> port
> 0x7400-0x740f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on
> pci0
>
> ata0: channel #0 on atapci2
>
> ata1: channel #1 on atapci2
>
> pci0: <multimedia, audio> at device 17.5 (no driver attached)
>
> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x7000-0x70ff mem
> 0xdd800000-0xdd8000ff irq 23 at device 18.0 on pci0
>
> miibus0: <MII bus> on vr0
>
> rlphy0: <RTL8201L 10/100 media interface> on miibus0
>
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>
> vr0: Ethernet address: 00:0c:6e:22:7b:e2
>
> 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
>
> orm0: <ISA Option ROMs> at iomem
> 0xd0000-0xd3fff,0xc0000-0xccfff on isa0
>
> pmtimer0 on isa0
>
> sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem
> 0xa0000-0xbffff on isa0
>
> Timecounter "TSC" frequency 1791219738 Hz quality 800
>
> Timecounters tick every 10.000 msec
>
> acd0: CDROM <GCR-8523B/1.03> at ata1-slave PIO4
>
> ad4: 190782MB <WDC WD2000JB-00GVA0/08.02D08> [387621/16/63] at
> ata2-master UDMA100
>
> ad6: 190782MB <WDC WD2000JB-00GVA0/08.02D08> [387621/16/63] at
> ata3-master UDMA100
>
> Mounting root from ufs:/dev/ad4s1a
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LOBBIFDAGNMAMLGJJCKNMEHEFBAA.tedm>