Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] HPT, Promise, Medley, Intel, Nvidia RAID Dualboot
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
denis.r
n00b
n00b


Joined: 28 Aug 2005
Posts: 4

PostPosted: Wed Aug 31, 2005 3:08 pm    Post subject: Reply with quote

irondog wrote:
I would really appreciate if you could test some things with a vanilla kernel. So 2.6.11, 2.6.12 and 2.6.13 without any patchsets.


Sure, I'm open to that. What exactly would you like me to test, and how would I build this "vanilla" kernel?

So far I have had no problems at all with 2.6.11; just with 2.6.12, and the 1.0 ISO did not work. I assume the 1.0 ISO is pretty vanilla, or not?

Do you mean vanilla as in directly from http://www.kernel.org/ ? Or do you mean vanilla as in only the minimum kernel config? (or both)

BTW, I used genkernel to generate my kernel. I don't know what was used to build the kernel in the 1.0 ISO.

Denis
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Wed Aug 31, 2005 6:46 pm    Post subject: Reply with quote

denis.r wrote:
My RAID is Intel ICH5R. Is anyone else having problems with 2.6.12?

No. Not with 2.6.11, 2.6.12, 2.6.13 neither with gentoo patchset nor with vanilla.

denis.r wrote:

Sure, I'm open to that. What exactly would you like me to test, and how would I build this "vanilla" kernel?

So far I have had no problems at all with 2.6.11; just with 2.6.12, and the 1.0 ISO did not work. I assume the 1.0 ISO is pretty vanilla, or not?

Do you mean vanilla as in directly from http://www.kernel.org/ ? Or do you mean vanilla as in only the minimum kernel config? (or both)

BTW, I used genkernel to generate my kernel. I don't know what was used to build the kernel in the 1.0 ISO.

Denis
Vanilla means from www.kernel.org without modifications. My experience with patchset kernels like gentoo sources (which I used for the latest livecd for example) is, that they have bugs oftenly (admitting they have very nice features).

Dennis. Before testing the different kernels, can you post the output of these command after booting the livecd's you've burned?
Code:

uname -r
dmesg
lsmod
dmsetup --version
dmsetup table

So, I mean, boot all livecd's you have ever downloaded from my site and repeat these steps and post the results.

Later I will see if I can provide a livecd with a different kernel/patchset/configuration.
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
denis.r
n00b
n00b


Joined: 28 Aug 2005
Posts: 4

PostPosted: Wed Aug 31, 2005 10:06 pm    Post subject: Reply with quote

OK. I have collected logs from both the live CDs I have. They are a bit long, so I posted them at the following URLs:

http://www.rachal.de/bugs/collect.0.99a.log

http://www.rachal.de/bugs/collect.1.0.log

I also mailed them to you.

Thanks!

Denis
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Thu Sep 01, 2005 9:15 pm    Post subject: Reply with quote

Problem in 1.0 version was dm-mirror isn't loaded at early boot. This is fixed in genkernel cvs and in the new version of gen2dmraid:

http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/gen2dmraid-i686gcc4-1.1.iso

Thnx for reporting.
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
rishi
n00b
n00b


Joined: 11 Sep 2005
Posts: 56
Location: Australia

PostPosted: Sun Sep 11, 2005 6:37 am    Post subject: Reply with quote

Hi There,

Great thread, very helpful!

I'm trying to setup gentoo on my Alienware Area-51m 7700 laptop, which uses the Promise SATA378 TX2+ controller. I have two drives on the controller set in RAID 0. I've done some extensive searchin on the net over this and have read this thread through and through, but still hitting a wall...

OK, I have successfully got through the howto just fine (no problems!? everything went through just like in the howto), right through to:
Quote:
After this you must edit /etc/fstab, leave the chroot, unmount the partitions, reboot and cross your fingers that it works.


I reboot the machine and gub comes up nicely. However, when I choose an option to boot (either gentoo or win) I get:
Code:
Error 21: Selected disk does not exist


Interestingly, I can setup grub on either of (hd2) or (hd3) without error... (I can even do "find /boot/gub/stage1" and it comes back saying (hd2,0) or (hd3,0) respectively, suggesting to me that it has worked).

Any ideas / help please? Really frustrating, I feel like I'm nearly there!!!

Some info:
Code:
livecd ~ # ls -la /dev/mapper/
total 0
drwxr-xr-x   2 root root     180 Sep 11 16:26 .
drwxr-xr-x  15 root root   13600 Sep 11 16:27 ..
crw-rw----   1 root root  10, 61 Sep 11 16:26 control
brw-------   1 root root 252,  0 Sep 11 16:26 pdc_ggagcdif
brw-------   1 root root 252,  1 Sep 11 16:26 pdc_ggagcdif1
brw-------   1 root root 252,  2 Sep 11 16:26 pdc_ggagcdif2
brw-------   1 root root 252,  3 Sep 11 16:26 pdc_ggagcdif3
brw-------   1 root root 252,  4 Sep 11 16:26 pdc_ggagcdif5
brw-------   1 root root 252,  5 Sep 11 16:26 pdc_ggagcdif6


and
Code:
livecd ~ # fdisk -l /dev/mapper/pdc_ggagcdif

Disk /dev/mapper/pdc_ggagcdif: 120.0 GB, 120023154688 bytes
255 heads, 63 sectors/track, 14591 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                   Device Boot      Start         End      Blocks   Id  System
/dev/mapper/pdc_ggagcdif1   *           1          12       96358+  83  Linux
/dev/mapper/pdc_ggagcdif2              13        2574    20579265    7  HPFS/NTFS
/dev/mapper/pdc_ggagcdif3            2575       13933    91241167+  83  Linux
/dev/mapper/pdc_ggagcdif4           13934       14591     5285385    f  W95 Ext'd (LBA)
/dev/mapper/pdc_ggagcdif5           13934       14189     2056288+  82  Linux swap / Solaris
/dev/mapper/pdc_ggagcdif6           14190       14591     3229033+   b  W95 FAT32
livecd ~ #   


and just in case it is useful:
Code:
livecd ~ # uname -r
2.6.13-gentoo
livecd ~ # dmsetup --version
Library version:   1.01.03 (2005-06-13)
Driver version:    4.4.0
livecd ~ # dmsetup table
pdc_ggagcdif: 0 234420224 striped 2 256 8:0 0 8:16 0
pdc_ggagcdif6: 0 6458067 linear 252:0 227946348
pdc_ggagcdif5: 0 4112577 linear 252:0 223833708
pdc_ggagcdif3: 0 182482335 linear 252:0 41351310
pdc_ggagcdif2: 0 41158530 linear 252:0 192780
pdc_ggagcdif1: 0 192717 linear 252:0 63
livecd ~ #     


and finally, the 'presumably' interesting part of dmesg:
Code:
libata version 1.12 loaded.
sata_promise version 1.02
acpi_bus-0212 [06] acpi_bus_set_power    : Device is not power manageable
ACPI: PCI Interrupt 0000:0a:02.0[A] -> GSI 19 (level, low) -> IRQ 19
sata_promise PATA port found
ata1: SATA max UDMA/133 cmd 0xF8D46200 ctl 0xF8D46238 bmdma 0x0 irq 19
ata2: SATA max UDMA/133 cmd 0xF8D46280 ctl 0xF8D462B8 bmdma 0x0 irq 19
ata3: PATA max UDMA/133 cmd 0xF8D46300 ctl 0xF8D46338 bmdma 0x0 irq 19
ata1: no device found (phy stat 00000000)
scsi2 : sata_promise
ata2: no device found (phy stat 00000000)
scsi3 : sata_promise
ata3: dev 0 cfg 49:0f00 82:746b 83:7fe8 84:4023 85:f469 86:3c48 87:4023 88:203f
ata3: dev 0 ATA, max UDMA/100, 117210240 sectors: lba48
ata3: dev 1 cfg 49:0f00 82:746b 83:7fe8 84:4023 85:f469 86:3c48 87:4023 88:203f
ata3: dev 1 ATA, max UDMA/100, 117210240 sectors: lba48
ata3: dev 0 configured for UDMA/100
ata3: dev 1 configured for UDMA/100
scsi4 : sata_promise
  Vendor: ATA       Model: HTS726060M9AT00   Rev: MH4O
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < >
Attached scsi disk sda at scsi4, channel 0, id 0, lun 0
  Vendor: ATA       Model: HTS726060M9AT00   Rev: MH4O
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sdb: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 117210240 512-byte hdwr sectors (60012 MB)
SCSI device sdb: drive cache: write back
 sdb:<7>ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0090f50000402464]
 unknown partition table
Attached scsi disk sdb at scsi4, channel 0, id 1, lun 0
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com

_________________
--
Rishi
Melbourne, Australia.


Last edited by rishi on Sun Sep 11, 2005 7:27 am; edited 3 times in total
Back to top
View user's profile Send private message
rishi
n00b
n00b


Joined: 11 Sep 2005
Posts: 56
Location: Australia

PostPosted: Sun Sep 11, 2005 6:40 am    Post subject: Reply with quote

P.S. - Might want to update this into the HOWTO, step 1:

Quote:
Problem in 1.0 version was dm-mirror isn't loaded at early boot. This is fixed in genkernel cvs and in the new version of gen2dmraid:

http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/gen2dmraid-i686gcc4-1.1.iso


I dutifully downloaded 0.99, found out that didn't work and then found out about 1.1 !

Thanks for a great HOWTO!
_________________
--
Rishi
Melbourne, Australia.
Back to top
View user's profile Send private message
rishi
n00b
n00b


Joined: 11 Sep 2005
Posts: 56
Location: Australia

PostPosted: Sun Sep 11, 2005 9:43 am    Post subject: Reply with quote

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
:?

Cancel that post!

I have got grub working OK now on (hd0)...
which definately wasn't working when I tried it many times originally.

I used the command prompt option when grub failed to boot and used the command completion option (tab) to find that hd0 was the only device it could find... Reconfigured everthing from that and now I'm up and running.

Thanks SO much for this HOWTO! :)

Cheers,
_________________
--
Rishi
Melbourne, Australia.
Back to top
View user's profile Send private message
godish
n00b
n00b


Joined: 05 Oct 2004
Posts: 50
Location: Boston MA

PostPosted: Thu Sep 15, 2005 4:46 am    Post subject: Reply with quote

I am having a very frustrating time geting grub/lilo to work properly! I have via raid controller,but i cannot get anything (Lilo or grub) to boot properly! Grub will either just reboot, or lockup and Lilo loads L then a ton of 9's onthe screen! Please take a look at my post in another forum :) https://forums.gentoo.org/viewtopic-p-2725711.html#2725711 Ive tried all the sugestions, and it just doesnt seem to work right on via raid... Has anyone gotten it to work on it?
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Thu Sep 15, 2005 1:42 pm    Post subject: Reply with quote

Plz post the output of
Code:
# dmsetup table

_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
godish
n00b
n00b


Joined: 05 Oct 2004
Posts: 50
Location: Boston MA

PostPosted: Thu Sep 15, 2005 4:26 pm    Post subject: Reply with quote

dmsetup returns this...
Code:
via_bhfgiiaeh4: 0 104422500 linear 254:0 40178565
via_bhfgiiaeh3: 0 39086145 linear 254:0 1092420
via_bhfgiiaeh2: 0 1012095 linear 254:0 80325
via_bhfgiiaeh1: 0 80262 linear 254:0 63
via_bhfgiiaeh: 0 144607678 striped 2 32 8:0 0 8:16 0
Back to top
View user's profile Send private message
matze81
n00b
n00b


Joined: 12 Jan 2004
Posts: 20

PostPosted: Fri Sep 16, 2005 4:52 pm    Post subject: Dualboot Windows behind 8GB [solved] Reply with quote

hey guys,

i've got a little problem dual booting my windows system.
i use an intel ICH5R controller with RAID0.
I followed this Howto and all works fine instead of
booting win behind 8GB.
My hdd looks like this

Code:

/dev/mapper/isw_bicegifhbf_RAID_Volume1p1               1        1094     8787523+  17  Hidden HPFS/NTFS
/dev/mapper/isw_bicegifhbf_RAID_Volume1p2   *        1095        2188     8787555    7  HPFS/NTFS
/dev/mapper/isw_bicegifhbf_RAID_Volume1p3            2189        3282     8787555   17  HPFS/NTFS
/dev/mapper/isw_bicegifhbf_RAID_Volume1p4            3283       19089   126969727+   5  Erweiterte
/dev/mapper/isw_bicegifhbf_RAID_Volume1p5            3283        6686    27342598+  17  HPFS/NTFS
/dev/mapper/isw_bicegifhbf_RAID_Volume1p6            6687       11671    40041981   83  Linux
/dev/mapper/isw_bicegifhbf_RAID_Volume1p7           11672       11795      995998+  82  Linux swap / Solaris
/dev/mapper/isw_bicegifhbf_RAID_Volume1p8           11796       15442    29294496    7  HPFS/NTFS
/dev/mapper/isw_bicegifhbf_RAID_Volume1p9           15443       19089    29294496    7  HPFS/NTFS


hd(0,0) and hd(0,1) contain a windows installation.
I can boot the first system without any problems, the second just did nothing.

Grub says the following
Code:

grub> device (hd0) /dev/mapper/isw_bicegifhbf_RAID_Volume1

grub> geometry (hd0)
drive 0x80: C/H/S = 620/128/63, The number of sectors = 4999680, /dev/mapper/isw_bicegifhbf_RAID_Volume1
   Partition num: 0,  Filesystem type unknown, partition type 0x17
   Partition num: 1,
Error 18: Selected cylinder exceeds maximum supported by BIOS
   Partition num: 2,
Error 18: Selected cylinder exceeds maximum supported by BIOS

grub>


i fixed this with passing the CHS numbers to grub.
Because of this problem i think the controller isn't able to run in LBA mode.
But one thing confuses me, booting /dev/mapper/isw_bicegifhbf_RAID_Volume1p6 is no
problem. How does this fit together with the problem of the second windows partition?
Has anybody an idea how to solve the problem?

greetings
matze

edit:

i found some mistakes in the partition table, after correcting this it works, great. :D


Last edited by matze81 on Sat Sep 17, 2005 8:55 am; edited 1 time in total
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Fri Sep 16, 2005 4:56 pm    Post subject: Reply with quote

There is nothing strange in the output, hnm. What's your partition layout (fdisk -l)?

Try this old version of the livecd. It contains grub at boottime:
http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/gen2dmraid-0.99a.iso
When grub appears, type 'c' to spawn the grub shell. After that try commands like root(hd0,0). Now you can play around with grub from the livecd and try to get a view of your filesystems from real-mode. These have to match with the mappings dmraid creates.

You can install grub from the livecd (not even booting it).
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
godish
n00b
n00b


Joined: 05 Oct 2004
Posts: 50
Location: Boston MA

PostPosted: Sat Sep 17, 2005 12:43 am    Post subject: Reply with quote

Ok, i manged to get grub install, and gentoo to boot, but it is far from orthdox... :-)
I ended up using the windows grub installer http://www.geocities.com/lode_leroy/grubinstall/
Created C:\boot copied menu.1st (aka grub.conf) stage1 and stage2 into that directory.
Then ran Grubinstall.exe -D to install grub. Then added C:\boot\stage1="GRUB" into C:\boot.ini
I then tried the following menu.1st config
BTW Here is my partition layout...
[boot (EXT2)] [SWAP] [root (Reiserfs)] [Windows XP]

Code:
# Gentoo :-D
default 0
timeout 10

title=Gentoo Linux
root (hd0,2)
kernel /kernel-gentoo /root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/mapper/via_bhfgiiaeh3 udev dodmraid
initrd /initramfs


But, it gave a error #2, cannot read the file. So... I decided to put the kernel and ramdisk into the windows C:\boot directory.
modified menu.1st too

Code:
# Gentoo :-D
default 0
timeout 10

title=Gentoo Linux
root (hd0,3)
kernel /boot/kernel-gentoo /root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/mapper/via_bhfgiiaeh3 udev dodmraid
initrd /boot/initramfs


Which works! The thing that perplexes me, is that it can read the kernel, and ramdisk off the ntfs partition, but not the ext2 partition!
I also tried reading it off my root partition (reiserfs), and that also gave an error (had a copy of the kernel there too just in case). I would have to believe that the dmraid has a problem with writing to the disk so that the onboard controller (VIA) can read it nativly for booting. Because, it can read the NTFS partition perfectly...

One thing I might try is changing my boot partition to a dos (fat32) partition so I can read and write to that partition in linux and load grub onto that partition along with the kernel. Please reply with any comments/suggestions :)

*EDIT I converted the /boot partion to a fat32 partition from ext2, and it booted fine. When i mounted it in linux, wrote to it (new kernel), it thrashed all the files! It was still readable in linux, but grub wouldnt read any files off of it, same with windows. I know that linux can write sucessfully to a fat32 partition because i have been using my usb flash drive to transfer files between windows and linux which uses /dev/sdd, not the dmraid driver!
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Sat Sep 17, 2005 11:47 am    Post subject: Reply with quote

Yeah, Seems that dmraid doesn't map it the way the BIOS (and windows) look at it. This must be a dmraid bug. Plz contact the creator of dmraid.
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
rizen83
n00b
n00b


Joined: 05 Oct 2005
Posts: 1

PostPosted: Wed Oct 05, 2005 7:15 am    Post subject: Reply with quote

Going to attempt to install Gentoo on my new raid setup on an Asus A7N8X-E, is the guide on the first post upto date? Sorry a bit tierd and heading to bed after I make this post.
Back to top
View user's profile Send private message
TUX4O
n00b
n00b


Joined: 31 Oct 2005
Posts: 5

PostPosted: Tue Nov 22, 2005 9:02 pm    Post subject: Promice FastTrack S150 TX4 and 4 SATA 250GB hdd Reply with quote

Hi, gentoo-fans!

I have sucessfully installed RAID1 with dmraid on computer which I'm using like web server. This computer have integrated on motherboard raid controller (fake-raid) Promice FastTrack S150 TX4 and 2 x 180GB SATA.
And partitions are:
Code:

Disk /dev/mapper/pdc_cdehedided: 163.0 GB, 163000000000 bytes
255 heads, 63 sectors/track, 19816 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                     Device Boot      Start         End      Blocks   Id  System
/dev/mapper/pdc_cdehedided1   *           1         609     4891761   83  Linux
/dev/mapper/pdc_cdehedided2             610         853     1959930   82  Linux swap / Solaris
/dev/mapper/pdc_cdehedided3             854       19816   152320297+  83  Linux



I'm trying to install Gentoo on other computer (it will be file server) with RAID 0+1 (with the same controller Promice FastTrack S150 TX4) and 4 250GB SATA HDD.

The Raid bios setting program allows me to set up only STRIPE 4 x 250G = 1T (RAID0)
or
RAID 0 + 1 (not 1+0) stripe of 2 mirrors = 500GB

And now the problem :(

I'm booting Gen2dmraid cd (with option dodmraid).
http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/



After booting from Gen2live cd I'm BIG surprized when I get message:
ERROR: dos: reading /dev/mapper/pdc_jhbjechd[No such file or directory]


I check /dev/mapper :

Code:
livecd root # ls /dev/mapper/
control  pdc_jhbjechd


yes , there is pdc_...... (but why pdc_ + 8 characters ? on other PC there is pdc_ + 10 characters !)
Code:

livecd root # fdisk /dev/mapper/pdc_jhbjechd
Unable to read /dev/mapper/pdc_jhbjechd
I'm startup again dmraid :
Code:

livecd root # dmraid -ay
pdc_jhbjechd already active
ERROR: dos: reading /dev/mapper/pdc_jhbjechd[No such file or directory]


Please somebody help!

If it's impossible to setup RAID 0+1 with dmraid, PLEASE tell me how to setup software RAID 0+1 or RAID 1+0 (4 SATA drives!!!)

10X in advance & excuse me for terrible english :wink:
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Thu Jan 05, 2006 12:08 pm    Post subject: Re: Promice FastTrack S150 TX4 and 4 SATA 250GB hdd Reply with quote

New LiveCD version:
http://tienstra4.flatnet.tudelft.nl/~gerte/gen2dmraid/gen2dmraid-2.0.iso

TUX4O wrote:
If it's impossible to setup RAID 0+1 with dmraid, PLEASE tell me how to setup software RAID 0+1 or RAID 1+0 (4 SATA drives!!!)

10X in advance & excuse me for terrible english :wink:

That should be possible with dmraid-1.0.0-rc9.
_________________
Alle dingen moeten onzin zijn.
Back to top
View user's profile Send private message
cagezero
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2005
Posts: 81

PostPosted: Mon Jan 30, 2006 7:00 pm    Post subject: Reply with quote

hi.
i am currently installing on a board with two bios raid controllers.
my partitioning is as follows:

Code:
/dev/mapper/sil_xxx1              /
/dev/mapper/isw_xxx1            /boot   
/dev/mapper/isw_xxx2            /swap
/dev/mapper/isw_xxx3            /xp


the 'isw_xxx' array is (hd0) in grub.

my error:
>> determining root device...
>> block device /dev/mapper/sil_xxx1 is not a valid root device..

i continue with the shell command and an ls of /dev/mapper shows all 'isw_xxx' partitions
but does not show the 'sil_xxx1' partition. only 'sil_xxx' is listed.

i used these instructions as well as http://gentoo-wiki.com/HOWTO_Install_Gentoo_with_NVRAID_using_dmraid.

i have used dmraid before with no problems but never with two arrays.
i am currently researching the matter further but if anyone has any advice i would be grateful.
Back to top
View user's profile Send private message
liebremx
n00b
n00b


Joined: 20 Feb 2005
Posts: 3

PostPosted: Mon Mar 06, 2006 4:39 am    Post subject: Report of a successful installation Reply with quote

First kudos to irondog for the HOWTO :mrgreen:

Relevant information:
- Two Maxtor Diamond Max Plus 9 160GB SATA connected to the first two ports of the ICH7R. No other hard drives installed.
- IDE DVD-ROM (hda)
- Created two volumes (Volume0 and Volume1) through the ICH7R option ROM, each with half the size of the array and set them for RAID0 and 128KB strip size.
- Installed Win2k first on Volume1 in the first primary partition (30GB).
- Installed Gentoo using the latest gen2dmraid-2.0 and used Gentoo 2006.0 stage3 tarball.
- Used
Code:
genkernel --dmraid all
to generate my kernel.

Now, after successfully installing Win2k and before installing Gentoo I had no idea that ICH7R and SIL 3132 RAID controllers were fakeraid (Having drivers for Win2k didn't ring a bell at all) so I was kind of disapointed before the installation. Anyway, the performance difference is quite noticeable compared to my previous HD configuration, and with a Pentium-D 920 @ 3.72Ghz I'm pretty happy with the performance of the system :wink:

Here are my two cents

- You can create the partitions directly from the gen2dmraid CD using fdisk but you will have to restart the installation in order for the changes to take effect.

- I had to add the dodmraid option to the kernel entry in my grub.conf file in order to have all the devices listed under /dev/mapper. Otherwise the devices wouldn't be listed under /dev/mapper.
Code:
title Linux
root (hd0,1) # Volume1 is seen as hd0
# Volume11 is Win2k's boot partition
kernel /vmlinuz dodmraid root=/dev/ram0
         real_root=/dev/mapper/isw_ccecagdajc_Volume12  init=/linuxrc
initrd /initrd

Also if you use genkernel don't forget to copy the linuxrc file to /boot.

- If you want you can install the boot partition way past the BIOS limits using the GRUB native installation http://www.gnu.org/software/grub/manual/grub.html#Installing-GRUB-nativelyprocedure mentioned already in this thread. I had to use this approach because I didn't want to reinstall Win2k again or find out if it was possible to move the Win2k partition.
First I created /boot/grub/grub.conf with the right contents
What I did after booting with a GRUB floppy was
Code:
grub> root (hd0,1) # Volume1 is seen as hd0
grub> setup (hd0)


That was it.

Cheers
Back to top
View user's profile Send private message
TheDot
n00b
n00b


Joined: 12 Oct 2005
Posts: 31
Location: somewhere out there...

PostPosted: Wed Mar 08, 2006 5:19 am    Post subject: BusyBox problem... Reply with quote

First, THANKS!! to irondog for a great HOWTO!! :D

However, I'm running into one "slight" problem...

When I get to the part of using and running the dmraidinitrd script, I've had to do some hacking to it just to find out why it's failing... It turns out that the latest version of BusyBox doesn't have a ready made Configure.h or .configure file.

I manually untarred the source file, and after peeking at the INSTALL file, I found that in order to install BusyBox, you have to run "make menuconfig" much in the same way you do to compile a kernel. Upon further reading of that same file, you can alternately run "make allyesconfig", resulting in everything being compiled into busybox with all additional options turned on. However, (taken directly from the INSTALL file: ) "Busybox is optimized for size, but enabling the full set of functionality still results in a fairly large excecutable (more than 1 megabyte when statically linked)."

Now I'm willing to give that a shot and hack that into the script to try it out and get my system up finally (it's been almost 3 days working on {and off} this setup), but maybe someone who's more familiar with busybox can slim it down some...

Everything else has been going pretty smoothly up to that point since I'm following not only this HOWTO, but also the gentoo install instructions.

Any advice and/or critique on this is much appreciated. :)

Thanks again!!

Edited to add a much easier fix...

I have found that if you do as above, when device mapper goes to compile, it runs out of space on the temporary device, so what I did instead was changed the URL for busybox to just add on /legacy/ to the end before the last quote.

I also updated the version numbers on dmraid and device-mapper in the script, and all went well as far as the script goes... :)

Now to finish up... :roll:

Edited to ask for help again...

Alright, after using that script, I moved the initrd to /boot, and even moved the linuxrc to /boot as well just as cautionary measure. Making sure I had my kernel in there as well, I proceeded to wrap things up, and found that upon reboot, grub DID NOT install even thought it claimed it did - I mean maybe it's my lack of experience with raid and grub, but when something that you're trying to install says "suceeded.", it usually has. If I reboot after going through the entire install with this howto, I get my normal bios messages, including the raid bios messages, and then nothing.... not even a "Loading Grub stage [N]..." - as if saying grub never installed at all when I saw that it had.

Now I've read somewhere about making the partition types "fd" - fd = Linux raid auto detect - if I'm remembering the information correctly... Would that have anything to do with installing on onboard hardware(fake) raid? Or is that only for software raid? Furthermore, would that have anything to do with my problem? I've reread the HOWTO a dozen times or more, but don't see anywhere that I went wrong in following it.

Any help is GREATLY appreciated!! :)
Back to top
View user's profile Send private message
TheDot
n00b
n00b


Joined: 12 Oct 2005
Posts: 31
Location: somewhere out there...

PostPosted: Fri Mar 10, 2006 8:25 am    Post subject: Reply with quote

Hello? Anyone?
Back to top
View user's profile Send private message
cagezero
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2005
Posts: 81

PostPosted: Fri Mar 10, 2006 1:49 pm    Post subject: Reply with quote

the partition type fd is only for native linux raid.
so thats not your prob.
let me review your post and ill get back to ya!

|----- edit ----|

ok.
i had that same dmraidinitrd prob you did.
i also eneded up just using stuff from the legacy area.

1) what kind of hd are you using?
2) do you have ->device drivers->block devices->ram disk support->initial ram disk (initrd)
compiled into your kernel?
2) could you post your fstab and grub.conf?
Back to top
View user's profile Send private message
nadir-san
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 174
Location: Ireland

PostPosted: Fri Mar 10, 2006 5:21 pm    Post subject: same problem as above Reply with quote

I have a MSI K8NGM2-IL(AMD64 DC) with dual raptors.
Now i didn't really follow the guide, because I dont have a web connection yet or an operating system with a working burner, so I had to use my pendrive and chroot into it mounting devices and proc along the way, so it was as if I had a virtual live cd with dmraid.
Anyway, I got all my raid stuff setup, installed grub like you said etc, nice HOWTO btw, thanks
Before I go any further I should say I didnt have the files
Code:

dmraidinitrd-0.93
linuxrc-0.93


Now I know this should mean I cant boot linux, but should I not get a grub screen at least? Cause I dont I have the same problem as TheDot above I think !
Cause I don't get anything, I'm at work now, so I've burnt off the iso, ill give it another shot when I go home.
Thanks. XD
Back to top
View user's profile Send private message
TheDot
n00b
n00b


Joined: 12 Oct 2005
Posts: 31
Location: somewhere out there...

PostPosted: Fri Mar 10, 2006 7:34 pm    Post subject: Reply with quote

cagezero wrote:
the partition type fd is only for native linux raid.
so thats not your prob.
let me review your post and ill get back to ya!

|----- edit ----|

ok.
i had that same dmraidinitrd prob you did.
i also eneded up just using stuff from the legacy area.

1) what kind of hd are you using?
2) do you have ->device drivers->block devices->ram disk support->initial ram disk (initrd)
compiled into your kernel?
2) could you post your fstab and grub.conf?


Keep in mind, I'm still pretty new to Gentoo, but by far not new to linux (been using it for nearly a decade now), so it's very rare that I ever ask for help unless it's something that's wronged completely off the wall and I have no clue on it, such as above.

Actually, I think I may have a faulty onboard controller... one clue was that it wasn't enabling DMA for the drives, and on the regular IDE controllers DMA was being enabled just fine, and so when I used the onboard raid controller I would have to use the kernel option 'ide=nodma' just to get the dmraid livecd to boot all the way. Without that, it would hang at the udev part. I even tried switching cables, which I read somewhere can cause the no DMA, and that didn't help. I just installed a PCI Silicon Image controller, threw the drives on that, and the dmraid livecd booted just fine without any extra options. I have even ran 'hdparm /dev/hde [and f]' to check if DMA was enabled and it was, so I think my problem was a faulty onboard controller. Gonna give this HOWTO another shot with the new controller, and see what happens. I'll report back when all is said and done. :) To answer your questions tho, 1) 2 matched Seagate Barracudas - 60Gig each 2) booted the dmraid livecd, so im sure it already includes those and 3) double-checked the fstab and grub.conf to make sure they were set up right on the old controller and they were - so yeah, overall I think just a faulty controller was to blame... Here goes nothing! Wish me luck! :)
Back to top
View user's profile Send private message
TheDot
n00b
n00b


Joined: 12 Oct 2005
Posts: 31
Location: somewhere out there...

PostPosted: Sat Mar 11, 2006 7:21 am    Post subject: Reply with quote

Ok, I gave it another shot... while the new controller cleared up the problems with DMA, I'm still unable to boot...

Absolutely nothing coming up... And I used genkernel to do all the kernel compiling with via "genkernel --dmraid all".

Any help would be great!! :)
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, 4, 5, 6, 7, 8, 9  Next
Page 8 of 9

 
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