Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ata Raid, HighPointTech controllers and a suggestion.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GilGalaad
n00b
n00b


Joined: 12 Jun 2002
Posts: 23
Location: Pisa, Italy

PostPosted: Wed Jun 12, 2002 3:52 am    Post subject: Ata Raid, HighPointTech controllers and a suggestion. Reply with quote

currently there is no support for that ata-raid controller, in no kernel.
that makes impossibile to install any linux distribution on a raid partition.
highpoint released some boot disks, for most famous distributions, whith a module that fits the boot kernel, and make raid partition visible and usable.
but promise released also an open-source driver for that controller (that is nice, cheap, surely not professional but make the same job of the software raid, using the power of it's own chip instead of the cpu one)

could be possible to patch the gentoo boot kernel with this driver, in order to install gentoo directly on a raid partition, (instead that installing on a normal partition and then put /home or such pieces of filesystem on raid AFTER recompiling the kernel) ?

can i "hack" gentoo current kernel? or can i hope this to be done by gentoo staff in the next release?
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Jun 12, 2002 5:56 am    Post subject: Reply with quote

LINUX SOFTWARE RAID
Back to top
View user's profile Send private message
GilGalaad
n00b
n00b


Joined: 12 Jun 2002
Posts: 23
Location: Pisa, Italy

PostPosted: Wed Jun 12, 2002 11:36 am    Post subject: Reply with quote

rommel wrote:
LINUX SOFTWARE RAID


yes...i used it. but why must i use my cpu power to do something that a dedicated controller does in the same way?
Back to top
View user's profile Send private message
GilGalaad
n00b
n00b


Joined: 12 Jun 2002
Posts: 23
Location: Pisa, Italy

PostPosted: Wed Jun 12, 2002 11:43 am    Post subject: Reply with quote

rommel wrote:
LINUX SOFTWARE RAID


and anyway....without the correct driver i cannot access any of the hd attacched to that controller. it's not nice, even if i choose to use linux software raid :D
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Jun 12, 2002 6:36 pm    Post subject: Reply with quote

there is built in kernel support for ide controllers..i am using a promise tx2 ide ata100...i also just got a tekram ultra 160 scsi dc390u3w the other day and before i reinstalled bsd on that box using the scsi controller i wanted to see if gentoo would boot and see it and it does....so i orderd another to up[grade my gentoo box away from ide....these cards will have support every time i build the kernel and LSR is also fully supported...so why are you buying hardware and hasseling with 3rd paty drivers....upgrade your system if your cpu cant handle the few cycles thats needed to run the raid algorithm...

edit....i just was reading a forum at amdmb on a discussion about the same thing...turns out a member is using a 3ware and getting the same numbers i am getting with LSR.....the discussion was started by another that was complaining about poor performance with an adaptec 2400a ...3ware is supported so not to discurage you from spending money look maybe into these controllers since they already have kernel support.
Back to top
View user's profile Send private message
Forge
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 125
Location: KOP, PA, USA

PostPosted: Thu Jun 20, 2002 4:11 pm    Post subject: Reply with quote

HPT cards are supported with ataraid, exactly as Promise cards are.

From the first (pre-fdisk, pre-format) stage of the Gentoo installer:

insmod hpt (not 100% sure as to the modulename, I'll edit this later)
insmod ataraid

Now you'll have /dev/ataraid/d0 (for the first RAID array) and /dev/ataraid/d0p1 (first partition on first array).

d0-1 and p1-* are available the same way.

I don't mean to be insulting, but perhaps if the RAID setups are too difficult, you'd be happier with plain disks?
Back to top
View user's profile Send private message
GilGalaad
n00b
n00b


Joined: 12 Jun 2002
Posts: 23
Location: Pisa, Italy

PostPosted: Fri Jun 21, 2002 1:32 pm    Post subject: ataraid is not the correct way Reply with quote

Forge wrote:
HPT cards are supported with ataraid, exactly as Promise cards are.

Now you'll have /dev/ataraid/d0 (for the first RAID array) and /dev/ataraid/d0p1 (first partition on first array).

I don't mean to be insulting, but perhaps if the RAID setups are too difficult, you'd be happier with plain disks?


sorry but this is not the correct way to use that controller. ataraid support is for the 370, and previous ones. with 372 and above, with the correct kernel module provided from highpoint the disk array will be under /dev/sd0 and this is the correct way.
the problem is that such drivers are only available as module, and must be compiled OUT of the sorce tree, so i cannot patch my sources, and i cannot install linux on such devices.

i finally decided to come back to software raid again, and anyway.... raid setup are not DIFFICULT, simply are impossible with the current drivers. (and obviously hoping that highpoint support answers my mail is pure utopia)
Back to top
View user's profile Send private message
Forge
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 125
Location: KOP, PA, USA

PostPosted: Fri Jun 21, 2002 4:57 pm    Post subject: Reply with quote

Excuse me, but who are you to decide what is 'correct'?

Both the proprietary module approach (which both HPT and Promise support) and the ataraid methods are *equally* valid. just because one method is provided by the manufacturer and one is provided by kernel hackers, does not make one version 'better' or more 'correct' than the other. I thank you for mentioning the proprietary module method, I had forgotten about those, but seeing as your initial question was 'how to install Gentoo', I thought answering your question would be the right thing to do.

And just FYI: The proprietary drivers DO NOT 'use the power of the chip instead of the CPU'. There is no power to the chip, the chip is a simple IDE controller, nothing more, nothing less. In Windows, in the ataraid driver, and in the manufacturer's driver, ALL RAID FUNCTIONS ARE PERFORMED BY THE CPU. This does not change, no matter whose driver you use.


Anyways, I've told you the very quick and very simple way to enable ataraid on any Promise/HPT controller which can be identified by the Gentoo bootCD kernel (which should be all of them). Anything you choose to believe is your business.
Back to top
View user's profile Send private message
Forge
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 125
Location: KOP, PA, USA

PostPosted: Fri Jun 21, 2002 4:59 pm    Post subject: Reply with quote

P.S. - ataraid supports ANY HPT/Promise chip which can be detected/used as an IDE controller by the kernel. This means that any chip recognized by the driver also gets RAID functionality.
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Fri Jun 21, 2002 6:48 pm    Post subject: Reply with quote

also 3ware has native kernel support....they are probably the best ata raid performers too ...but they cost more....guess you get what you pay for sometimes
Back to top
View user's profile Send private message
Forge
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 125
Location: KOP, PA, USA

PostPosted: Fri Jun 21, 2002 7:33 pm    Post subject: Reply with quote

3ware is full hardware RAID. All RAID functions are performed by a dedicated onboard processor. The Adaptec 2400A uses an Intel i960 processor to do the work for the two HPT370 chipsets on board.

Both are priced quite high, so it's still really easy to pick out CPU-RAID cards from real hardware RAID cards.

Did you pay >200$ for your RAID card? If so, you just might be lucky enough to have a RAID that doesn't use your CPU for XOR ops!
Back to top
View user's profile Send private message
green_buddy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 115
Location: Bay Area, CA

PostPosted: Tue May 13, 2003 5:22 pm    Post subject: Reply with quote

Can we be straight about what type of RAID configuration we're talking about here with the hpt370. I think the kernal ataraid modules for the highpoint module only supports RAID0 right? RAID1 is not yet supported by gentoo out of the box without jumping through some pretty sweet hoops I think.

And please correct me if I'm wrong! 8O

-green
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum