Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo on PROMISE FastTrak built-in RAID
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Mar 12, 2004 5:03 pm    Post subject: Reply with quote

OK, try this one :
How to do a gentoo install on a software RAID
Back to top
View user's profile Send private message
Vyeperman
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 89

PostPosted: Sat Mar 13, 2004 12:44 am    Post subject: Reply with quote

...been there tried that.... No good. No one knows about it either so it's a pain getting any support like in #gentoo no one knows anything about raid so I have no help! Why does it gotta be so hard?!? FreeBSD was easy.... infact it auto detected it and everything!... LiveCD doesn't even detect my hard drives I haft to use knoppix. This is really frustrating I wish someone could help me! I would hate going back to freebsd but if I can't get working I might haft to :-/
_________________
-Vyeperman
Back to top
View user's profile Send private message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Tue Mar 30, 2004 4:44 am    Post subject: Reply with quote

i figured that anyone in this thread might be interested in this little tidbit of info.... from a previous post of mine


Quote:

i have noticed when recently fighting wiht an asus a7v333 MB that trying to install gentoo on this board when using raid0 is a pain.

i tried every gentoo cd i could get my hands on, i even tried a knoppix disc to try to see if i could pick the drivers up, but everytime i booted up the machine it would detect the controller, but detect it as disabled in the bios and then it would proceed to not show any hard drives to the system,

decided that google would be my friend, and searched on the issue, after a bit of digging i found out about a nice kernel patch that is included in gentoo-dev-source (for sure its there) and im pretty sure that its in the older ones as well.

in order to get raid working properly i had to build a kernel on another linux box i have here for his computer, boot off that drive and then install from there.

im hoping to find a way to get this patch enabled in the livecd kernels as i even tried one of the 2004.0's and it did not work with the hardware. if anyone know how i would go about getting this included on the livecds in the future please let me know!!!!

thanks in advance
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1067
Location: Den Dolder, The Netherlands

PostPosted: Tue Mar 30, 2004 7:37 am    Post subject: Reply with quote

bruor wrote:
i figured that anyone in this thread might be interested in this little tidbit of info.... from a previous post of mine


Quote:

i have noticed when recently fighting wiht an asus a7v333 MB that trying to install gentoo on this board when using raid0 is a pain.

i tried every gentoo cd i could get my hands on, i even tried a knoppix disc to try to see if i could pick the drivers up, but everytime i booted up the machine it would detect the controller, but detect it as disabled in the bios and then it would proceed to not show any hard drives to the system,

decided that google would be my friend, and searched on the issue, after a bit of digging i found out about a nice kernel patch that is included in gentoo-dev-source (for sure its there) and im pretty sure that its in the older ones as well.

in order to get raid working properly i had to build a kernel on another linux box i have here for his computer, boot off that drive and then install from there.

im hoping to find a way to get this patch enabled in the livecd kernels as i even tried one of the 2004.0's and it did not work with the hardware. if anyone know how i would go about getting this included on the livecds in the future please let me know!!!!

thanks in advance
not sure what you mean exactly... I have installed all of this on an ASUS A7V333 with RAID0!
Back to top
View user's profile Send private message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Wed Mar 31, 2004 3:03 am    Post subject: Reply with quote

as did i but with some effort,

in the gentoo sources kernel 2.4.22 and 2.6.3-gentoo-r1

once the kernel driver is enabled for the pdc 20276 family another option becomes available, in the 2.4.22 kernel it is called

Special FastTrak Feature (NEW)

in the 2.6 series kernel it is called

Enable controller even if disabled by BIOS (NEW)

it was this feature being enabled that solved my problem. just figured i would post in this thread in case anyone else has problems locating their /dev/ataraid devices and also maybe get errors like device does not exist etc...

as this was a major pain to work around, not knowing the problem i am hoping that there is a way to get it included in the kernel used on the livecd for future gentoo editions.

just as a side note, the controller worked fine with windows, and for redhat 7.3 the company actually made a driver that also worked, but since redhat < gentoo for a poweruser we needed something better. after installing linux with the modified kernel, windows still works like a charm, im thinking it could be a different revision board or perhaps a different bios version or some other specific hardware causes teh stock linux driver to detect the controller disabled by the bios even though there is no such option.
Back to top
View user's profile Send private message
tntgentoo
n00b
n00b


Joined: 01 Apr 2004
Posts: 31

PostPosted: Sat Apr 17, 2004 1:08 pm    Post subject: Just want to mount the SATA drive Reply with quote

I have a Seagate SATA drive attached to a Promise SATA RAID on my MSI Kt4 Ultra MB. The drive is not using RAID - it's just a single drive.

The partition is NTFS - I just want mount the drive under Gentoo so that I can play my MP3 files from the drive while in Gentoo.

BTW, I dual boot with a Trios device, so I do have Windows XP and Gentoo in the same system (sort of).

Thanks!
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Apr 17, 2004 4:02 pm    Post subject: Re: Just want to mount the SATA drive Reply with quote

tntgentoo wrote:
I just want mount the drive under Gentoo so that I can play my MP3 files from the drive while in Gentoo.

As long as you include support for the controller and the filesystem in your kernel, you should be all set.
Code:
Device Drivers  --->
   SCSI device support  --->
      <*>   SCSI disk support
      SCSI low-level drivers  --->
         [*] Serial ATA (SATA) support
         <*>   Promise SATA support

File systems  --->
   DOS/FAT/NT Filesystems  --->
      <*> NTFS file system support
Back to top
View user's profile Send private message
tntgentoo
n00b
n00b


Joined: 01 Apr 2004
Posts: 31

PostPosted: Sun Apr 18, 2004 7:42 pm    Post subject: Thanks! Reply with quote

Thanks alot - this did work fine - so I am able to mount mt NTFS partition on my SATA drive...
Back to top
View user's profile Send private message
Matrix7
n00b
n00b


Joined: 21 Feb 2004
Posts: 54
Location: Sussex

PostPosted: Sun May 02, 2004 5:05 pm    Post subject: Reply with quote

For those who have experienced problems with large discs (>137Gb) on Promise controllers, this, from
http://www.promise.com/support/download/download2_eng.asp?productId=15&category=bios&os=0
might be of interest:


Quote:
Supports 48-bit LBA for drives larger than 137 GB. Must also use Windows driver version 2.00.0.25 (or above) or Linux driver v1.2.0.14 (or above).

NOTE: This BIOS will not work with an existing operating system (OS) installation. If you are going to upgrade your FastTrak100 BIOS to version 2.00.24, you must also do a new reinstall of the OS. We are currently investigating this issue.


Since I'm only running Gentoo on my box, I'm binning the Promise ATARAID driver approach and switching to Linux software RAID.

Pain, no?
Back to top
View user's profile Send private message
lunarg
Guru
Guru


Joined: 07 Jan 2004
Posts: 508
Location: Peer, Belgium

PostPosted: Sat May 08, 2004 11:51 pm    Post subject: Reply with quote

I followed the guide. GRUB installed correctly, but I get this error upon booting:
Quote:

VFS: Cannot open root device "7206" or 72:06
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 72:06

With the 2004.0 livecd, I've no problems mounting /dev/ataraid/disc0/part6 (which is my root).
I'm using gentoo-sources-2.4.25-r2 and have the Promise ATARAID support enabled, and compiled in the kernel.
My grub.conf reads:
Code:

default 0
timeout 30
splashimage=(hd0,2)/grub/splash.xpm.gz
title=Gentoo Linux 2004.0
root (hd0,2)
kernel /vmlinuz-2.4.25-r2 root=7206 video=vesafb:ywrap,mtrr vga=791
initrd /initrd-1024x768

title=Windows XP
rootnoverify (hd0,0)
chainloader +1


EDIT: I have a 2 80GB HDs on a on-board Promise Fasttrak133 controller. Windows boots fine.
_________________
Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun May 09, 2004 3:26 pm    Post subject: Reply with quote

lunarg wrote:
I'm using gentoo-sources-2.4.25-r2 and have the Promise ATARAID support enabled, and compiled in the kernel.

Make sure you have all 3 of these compiled-in :

Your root filesystem
Promise chipset support
Promise RAID support

If any of these are missing, then you will get that kernel panic.
Back to top
View user's profile Send private message
lunarg
Guru
Guru


Joined: 07 Jan 2004
Posts: 508
Location: Peer, Belgium

PostPosted: Sun May 09, 2004 4:08 pm    Post subject: Reply with quote

Solved it.

Reconfigured my kernel from scratch, and dropped the root= parameter in grub.conf did the trick.

EDIT: probably indeed something missing. It works now, thanks.
_________________
Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1067
Location: Den Dolder, The Netherlands

PostPosted: Sun May 09, 2004 6:28 pm    Post subject: Reply with quote

lunarg wrote:
dropped the root= parameter in grub.conf did the trick.

Out of curiosity: what do you mean by that? Please explain...
Back to top
View user's profile Send private message
sr71pav
n00b
n00b


Joined: 16 Sep 2003
Posts: 53

PostPosted: Fri May 28, 2004 2:23 pm    Post subject: Reply with quote

I think there's a numbering error with your guide, but maybe I'm wrong.

You initially set root as:

Quote:
When addressing a specific partition, you must instead add "/partx". For example, if your / partition is on partition #9, mount it now with
Code:
mount /dev/ataraid/disc0/part9 /mnt/gentoo


But then in the grub setup you have:

Quote:
kernel /bzImage root=/dev/ataraid/disc0/part8 vga=0x31A


Shouldn't that be part9 in grub.conf? I have no experience with RAID, so I'm guessing a bit. I am planning on doing a RAID setup in the next week (just waiting to get the controller) so I just wanted to make sure I was understanding correctly.
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1067
Location: Den Dolder, The Netherlands

PostPosted: Fri May 28, 2004 8:05 pm    Post subject: Reply with quote

sr71pav wrote:
I think there's a numbering error with your guide, but maybe I'm wrong.

You initially set root as:

Quote:
When addressing a specific partition, you must instead add "/partx". For example, if your / partition is on partition #9, mount it now with
Code:
mount /dev/ataraid/disc0/part9 /mnt/gentoo


But then in the grub setup you have:

Quote:
kernel /bzImage root=/dev/ataraid/disc0/part8 vga=0x31A


Shouldn't that be part9 in grub.conf? I have no experience with RAID, so I'm guessing a bit. I am planning on doing a RAID setup in the next week (just waiting to get the controller) so I just wanted to make sure I was understanding correctly.
It's not exactly an error, both are just examples... Maybe I should have used the same partition # in the example, I have changed it now.
Back to top
View user's profile Send private message
rockthesmurf
n00b
n00b


Joined: 28 May 2004
Posts: 3
Location: UK

PostPosted: Fri May 28, 2004 8:51 pm    Post subject: A7V333 - Raid0 Reply with quote

I have been struggling a lot with the above board, I have asked various times in the #gentoo channel, plus read through the various raid linux documents and even emailed Asus directly (manufacturer of the motherboard).

I have noticed a few people on this thread have mentioned they have got this motherboards raid controller working sucessfullly in gentoo. Currently, I have 2x80gig harddrives in a raid0 array on this raid controller, this makes a 160gb array, which I have then split into 3 paritions and is used to store a windows installation and various data files. What I want to be able to do, is mount these paritions in linux and access the data stored on them. I have tried just about everything I can think of, but so far I have been unsucessful.

I am running a 2.6 kernel, could anyone confirm whether or not what I want to do is even possible, and if it is possible, I would extremely grateful if they could let me know how.

I thank you very much for your time and help in this matter,

Steven Craft
Back to top
View user's profile Send private message
sr71pav
n00b
n00b


Joined: 16 Sep 2003
Posts: 53

PostPosted: Sat May 29, 2004 1:20 pm    Post subject: Reply with quote

I just wanted to make sure I was missing something fundamental. I look forward to trying this out next week.
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1067
Location: Den Dolder, The Netherlands

PostPosted: Sat May 29, 2004 4:23 pm    Post subject: Re: A7V333 - Raid0 Reply with quote

rockthesmurf wrote:
I have been struggling a lot with the above board, I have asked various times in the #gentoo channel, plus read through the various raid linux documents and even emailed Asus directly (manufacturer of the motherboard).

I have noticed a few people on this thread have mentioned they have got this motherboards raid controller working sucessfullly in gentoo. Currently, I have 2x80gig harddrives in a raid0 array on this raid controller, this makes a 160gb array, which I have then split into 3 paritions and is used to store a windows installation and various data files. What I want to be able to do, is mount these paritions in linux and access the data stored on them. I have tried just about everything I can think of, but so far I have been unsucessful.

I am running a 2.6 kernel, could anyone confirm whether or not what I want to do is even possible, and if it is possible, I would extremely grateful if they could let me know how.

I thank you very much for your time and help in this matter,

Steven Craft
Well as you can see in this thread and others it is perfectly possible with a 2.4 kernel and AFAIK impossible with a 2.6 kernel, at this moment. It may change in the future, but I have no idea when and how.
Back to top
View user's profile Send private message
rockthesmurf
n00b
n00b


Joined: 28 May 2004
Posts: 3
Location: UK

PostPosted: Sat May 29, 2004 8:16 pm    Post subject: Reply with quote

Oh, the impression I got from Bruor's post was that with the 2.6 kernel it is possible if you enable the:

Enable controller even if disabled by BIOS (NEW)

Option in the kernel, (which I have done). But it doesn't work for me, so it looks like you are right.

Thank you anyway,

Steven Craft
Back to top
View user's profile Send private message
Dalcius
n00b
n00b


Joined: 05 Dec 2002
Posts: 37
Location: Austin, TX

PostPosted: Wed Jun 30, 2004 3:23 am    Post subject: Reply with quote

I have been using 2.6 (mm-sources) with a Promise RAID controller (FastTrak100 TX2) and have some example .config files and other info if someone would like some help.

I, however, have recently installed two 200GB drives as a 400GB RAID 0 array ( :twisted: ) but am having problems booting a new kernel (fresh install). Using my old 2.6 kernel .config when building the new install, 2.6.7 (or thereabouts) from mm-sources didn't work right: the PDC driver wouldn't detect the disk (but would print its $.02 at bootup). After building 2.6.7-r4 (mm-sources) it's detecting my drives now, but the kernel doesn't want to mount my root partition.

If anyone has had experience with a recent 2.6.x kernel and RAID (speficially promise raid) please give me a buzz. If anyone thinks I could help with their problem, let me know as well.

Cheers
_________________
-Dalcius
Back to top
View user's profile Send private message
cspos
n00b
n00b


Joined: 11 Jul 2004
Posts: 60

PostPosted: Tue Jul 13, 2004 5:07 pm    Post subject: Re: Installing Gentoo on PROMISE FastTrak built-in RAID Reply with quote

Helena wrote:
When it comes to configuring the kernel, you have to choose a 2.4-based kernel, e.g. gentoo-sources. Select the Promise FastTrak options in make menuconfig, and compile the kernel.


What and where, exactly, are these options? There a quite a few, including a section (that I can't recall the name of off hand) that has to do with enabling RAID types. The large nuber of options threw me off, and I get a kernel panic at boot.
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1067
Location: Den Dolder, The Netherlands

PostPosted: Wed Jul 14, 2004 10:50 am    Post subject: Re: Installing Gentoo on PROMISE FastTrak built-in RAID Reply with quote

cspos wrote:
Helena wrote:
When it comes to configuring the kernel, you have to choose a 2.4-based kernel, e.g. gentoo-sources. Select the Promise FastTrak options in make menuconfig, and compile the kernel.


What and where, exactly, are these options? There a quite a few, including a section (that I can't recall the name of off hand) that has to do with enabling RAID types. The large nuber of options threw me off, and I get a kernel panic at boot.
OK when specifying kernel parameters with
Code:
make menuconfig
first enter the submenu called
Code:
Multi-device support (RAID and LVM)  --->
Here you'll find
Code:
[*] Multiple devices driver support (RAID and LVM)
<*>  RAID support
< >   Linear (append) mode
<*>  RAID-0 (striping) mode
<*>  RAID-1 (mirroring) mode
< >   RAID-4/RAID-5 mode
< >   Multipath I/O support
< >   Logical volume manager (LVM) support                                               
< >   Device-mapper support
but only after enabling the first option! You may select only 1 of the RAID-0 and RAID-1 options but selecting both doesn't hurt. Then return to the main menu and select
Code:
ATA/IDE/MFM/RLL support  --->                                                         
In this submenu select the PROMISE options. After enabling the first option you'll see
Code:
<*> ATA/IDE/MFM/RLL support                                                 
IDE, ATA and ATAPI Block devices  --->                                           
Enter the submenu. Toward the end, you'll find
Code:
< >     PROMISE PDC202{46|62|65|67} support                                                   
<*>     PROMISE PDC202{68|69|70|71|75|76|77} support
[*]     Special FastTrak Feature
as well as, a little further down
Code:
<*> Support for IDE Raid controllers (EXPERIMENTAL)                                             
<*>    Support Promise software RAID (Fasttrak(tm)) (EXPERIMENTAL)
This is my configuration (PDC20276 chipset); if you have a different chipset, you may have to modify it slightly.
Back to top
View user's profile Send private message
epicentre
n00b
n00b


Joined: 18 Jul 2004
Posts: 3
Location: Australia

PostPosted: Sun Jul 18, 2004 3:41 pm    Post subject: Reply with quote

i am installing gentoo for the first time with a promise 20276 raid daul booting with winxp. i have followed the gentoo install handbook and the steps for the raid in this thread with no problems until i reach the GRUB config. the problem is that GRUB is not recognising any of the filesystems.

Code:

grub> root (hd0,
  Possible partitions are:
    Partition num: 0, Filesystem type unknown, partition type 0x7
    Partition num: 1, Filesystem type unknown, partition type 0x83
    Partition num: 2, Filesystem type unknown, partition type 0x82
    Partition num: 4, Filesystem type unknown, partition type 0x7
    ...
    Partition num: 9, Filesystem type unknown, partition type 0x7


i have created a GRUB boot disk and I am trying to install GRUB from there.

i have a few NTFS partitions already as winxp was installed first.

"Partition num: 1" or /dev/ataraid/disc0/part2 is formated as ext3. could that be a problem? should have i formatted with ext2?

Did i miss a step somewhere? i think i might have forgotten to "prepare the /boot-partition with the necessary GRUB configuration files"

I have played around with RH for a few months and I am at ease with the *nix environment but please explain as simply as possible. i did a search of the gentoo forums(which are great) for help but couldn't find an exact solution... sorry if it was there and i just didn't see it.

i did a stage3 install and compiled the kernel just as Helena wrote in the previous post.

thanks for your time and help.
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1067
Location: Den Dolder, The Netherlands

PostPosted: Sun Jul 18, 2004 6:31 pm    Post subject: Reply with quote

epicentre wrote:
the problem is that GRUB is not recognising any of the filesystems.

Code:

grub> root (hd0,
  Possible partitions are:
    Partition num: 0, Filesystem type unknown, partition type 0x7
    Partition num: 1, Filesystem type unknown, partition type 0x83
    Partition num: 2, Filesystem type unknown, partition type 0x82
    Partition num: 4, Filesystem type unknown, partition type 0x7
    ...
    Partition num: 9, Filesystem type unknown, partition type 0x7


i have created a GRUB boot disk and I am trying to install GRUB from there.
Well since the partition type are listed correctly (0x7 = NTFS, 0x83=ext3, etc.) I suspect that something went wrong with creating the GRUB boot disk. I cannot tell what caused this; which GRUB version do you have? 0.93? Normally it should recognize the filesystem, but you may want to try if all else fails just to continue from here and enter
Code:
setup (hd0,
using the partition you want.

It should have nothing to do with ext2 or ext3, basically they are the same AFAIK. Nor should the GRUB configuration files be a problem, you can add them later.
Back to top
View user's profile Send private message
h0mer`-
Apprentice
Apprentice


Joined: 02 Aug 2004
Posts: 211

PostPosted: Thu Aug 05, 2004 10:21 am    Post subject: Reply with quote

does the command "doataraid" still work in the current 2004.2 release?
cause when i boot this release and type this command i get an error message.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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