Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ITE RAID/GigaRAID/LiveCD kernel
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
skion
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 99
Location: Amsterdam, Netherlands

PostPosted: Mon Mar 15, 2004 3:28 pm    Post subject: Reply with quote

Hmmm, i was hoping for an easy clean install method with a livecd, but i haven't figured one out yet...

Maybe i need to move it to the raid array after the install :(
_________________
- Skion
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu Mar 18, 2004 12:13 pm    Post subject: Reply with quote

anyone got this to work with 2.6 kernel?

If so how?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
skion
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 99
Location: Amsterdam, Netherlands

PostPosted: Thu Mar 18, 2004 1:50 pm    Post subject: Reply with quote

carpman wrote:
anyone got this to work with 2.6 kernel?


Yes, hold on, i'll make you a patch later today... i can't access the files right now.

It's nothing much though... something like:

1. put iteraid.(c|h) in /usr/src/linux/drivers/scsi
2. edit /usr/src/linux/drivers/scsi/Kconfig, add a tristate SCSI_ATA_ITE somewhere appropriate. Depends SCSI_SATA && PCI && EXPERIMENTAL or so.
3. edit /usr/src/linux/drivers/scsi/Makefile, add a line like one of the other (S)ATA_RAIDs, but with object iteraid.o
4. make menuconfig, it's somewhere in the scsi driver section now

Cheers!
_________________
- Skion
Back to top
View user's profile Send private message
sr20seth
n00b
n00b


Joined: 04 Nov 2003
Posts: 55
Location: Carrollton, VA

PostPosted: Thu Mar 18, 2004 2:16 pm    Post subject: Reply with quote

HAHA, I was copying the scsi stuff to the same dir as the ITE source, make then copying the module to /lib/module/2.6.5/kernel/driver/scsi, then running an update-modules! Thanks for the instructions on how to do this correctly!
Back to top
View user's profile Send private message
DrACoNuS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 116
Location: Edmonton, Alberta, Canada

PostPosted: Fri Mar 19, 2004 4:52 pm    Post subject: Reply with quote

What kind of performance are you seeing in 2.6? I will try this driver this weekend and report results.
_________________
Is that a huge bandwidth or are you just happy to see me?
Back to top
View user's profile Send private message
skion
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 99
Location: Amsterdam, Netherlands

PostPosted: Sat Mar 20, 2004 2:41 pm    Post subject: Patch for 2.6.3 Reply with quote

Ok, here's what i did, sorry for the delay...

Code:
diff -urN linux-2.6.3-gentoo-r1/drivers/scsi/Kconfig linux-2.6.3-gentoo-r1-ite/drivers/scsi/Kconfig
--- linux-2.6.3-gentoo-r1/drivers/scsi/Kconfig  2004-03-20 16:51:10.000000000 +0100
+++ linux-2.6.3-gentoo-r1-ite/drivers/scsi/Kconfig      2004-03-20 15:21:48.000000000 +0100
@@ -414,6 +414,13 @@
 
          If unsure, say N.
 
+config SCSI_ATA_ITE
+       tristate "ITE8212F hardware RAID support"
+       depends on SCSI_SATA && PCI && EXPERIMENTAL
+       help
+         This option enables support for ITE8212F type controllers.
+         This includes GigaRAID.
+
 config SCSI_SATA_PROMISE
        tristate "Promise SATA support"
        depends on SCSI_SATA && PCI && EXPERIMENTAL
diff -urN linux-2.6.3-gentoo-r1/drivers/scsi/Makefile linux-2.6.3-gentoo-r1-ite/drivers/scsi/Makefile
--- linux-2.6.3-gentoo-r1/drivers/scsi/Makefile 2004-03-20 16:51:10.000000000 +0100
+++ linux-2.6.3-gentoo-r1-ite/drivers/scsi/Makefile     2004-03-20 15:21:48.000000000 +0100
@@ -111,6 +111,7 @@
 obj-$(CONFIG_SCSI_NSP32)       += nsp32.o
 obj-$(CONFIG_SCSI_SATA_SVW)    += libata.o sata_svw.o
 obj-$(CONFIG_SCSI_ATA_PIIX)    += libata.o ata_piix.o
+obj-$(CONFIG_SCSI_ATA_ITE)     += libata.o iteraid.o
 obj-$(CONFIG_SCSI_SATA_PROMISE)        += libata.o sata_promise.o
 obj-$(CONFIG_SCSI_SATA_SIL)    += libata.o sata_sil.o
 obj-$(CONFIG_SCSI_SATA_VIA)    += libata.o sata_via.o



[EDIT: Changed patch, was broken]

Cheers!
_________________
- Skion


Last edited by skion on Sat Mar 20, 2004 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Sat Mar 20, 2004 3:25 pm    Post subject: Reply with quote

skion any chance of an idiots step by step guide :)
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
skion
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 99
Location: Amsterdam, Netherlands

PostPosted: Sat Mar 20, 2004 9:15 pm    Post subject: Reply with quote

carpman wrote:
skion any chance of an idiots step by step guide :)


Sure,

1. cd into your kernel source tree (probably /usr/src)
2. copy iteraid.c and iteraid.h into drivers/scsi
3. copypaste the patch above to a file somewhere
4. run 'patch -p1 </tmp/file/with/patch/above'
5. run 'make menuconfig'

If all is well, you can now select ITE RAID in the scsi driver section!

Hope it works...
_________________
- Skion
Back to top
View user's profile Send private message
Snoozer
n00b
n00b


Joined: 10 Feb 2004
Posts: 15

PostPosted: Sun Mar 21, 2004 5:26 am    Post subject: Reply with quote

I did the following ...

skion wrote:

It's nothing much though... something like:

1. put iteraid.(c|h) in /usr/src/linux/drivers/scsi
2. edit /usr/src/linux/drivers/scsi/Kconfig, add a tristate SCSI_ATA_ITE somewhere appropriate. Depends SCSI_SATA && PCI && EXPERIMENTAL or so.
3. edit /usr/src/linux/drivers/scsi/Makefile, add a line like one of the other (S)ATA_RAIDs, but with object iteraid.o
4. make menuconfig, it's somewhere in the scsi driver section now

Cheers!

and compiled myself a new kernel and iteraid module. However, when I attempt to modprobe the module I get the following error.
Code:
FATAL: Error inserting iteraid (/lib/modules/2.6.1-gentoo/kernel/drivers/scsi/iteraid.ko): No such device

Any ideas? I really need to get this driver working .. or buy another IDE controller :-(
Back to top
View user's profile Send private message
Snoozer
n00b
n00b


Joined: 10 Feb 2004
Posts: 15

PostPosted: Sun Mar 21, 2004 6:56 am    Post subject: Reply with quote

Woops, please disregard my post above! My ITE Raid had been not working for so long I disabled it in the BIOS. After enabling it the module loads just fine.

Thanks to all the people who posted helpful information in this thread :D
Back to top
View user's profile Send private message
sr20seth
n00b
n00b


Joined: 04 Nov 2003
Posts: 55
Location: Carrollton, VA

PostPosted: Mon Mar 22, 2004 4:03 pm    Post subject: Reply with quote

http://68.106.153.174/patch-linux-2.6-iteraid-1.43.bz2

Someone emailed me this patch and asked that I post it. I do not know this person, so you might want to check the patch before you apply it. THanks:

Hi,

I was visiting the gentoo.org forums and noticed in one of the ITE
threads your comments about the patch for 2.6.x kernel.

I have created a patch for 2.6.4 kernel which should work with older and
newer 2.6.x kernels.

The patch can be compiled in the kernel (Y) or as loadable module (M).

To enable it go to SCSI --> Low Level Drives --> SATA / ITE driver.

I am not a registered user to gentoo forums so you could post the diff
to the ITE thread for other users of GIGAByte mainboards that would like
such support for their RAIDs.

Hope this helps.

Regards,

Paul B.[url][/url]
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Mon Mar 22, 2004 7:36 pm    Post subject: Reply with quote

sr20seth wrote:
http://68.106.153.174/patch-linux-2.6-iteraid-1.43.bz2

Someone emailed me this patch and asked that I post it. I do not know this person, so you might want to check the patch before you apply it. THanks:

Hi,

I was visiting the gentoo.org forums and noticed in one of the ITE
threads your comments about the patch for 2.6.x kernel.

I have created a patch for 2.6.4 kernel which should work with older and
newer 2.6.x kernels.

The patch can be compiled in the kernel (Y) or as loadable module (M).

To enable it go to SCSI --> Low Level Drives --> SATA / ITE driver.

I am not a registered user to gentoo forums so you could post the diff
to the ITE thread for other users of GIGAByte mainboards that would like
such support for their RAIDs.

Hope this helps.

Regards,

Paul B.[url][/url]



Be interested in the opinions of those wiser then me if this is a usable patch? If so how applied to 2.6 kernel?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
sr20seth
n00b
n00b


Joined: 04 Nov 2003
Posts: 55
Location: Carrollton, VA

PostPosted: Mon Mar 22, 2004 7:52 pm    Post subject: Reply with quote

unzip patch then
patch -p1 < /path to patch file
Back to top
View user's profile Send private message
nope2dope
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2003
Posts: 103
Location: Sinntal - Germany

PostPosted: Thu Mar 25, 2004 8:46 am    Post subject: Reply with quote

WooWooWoo,
it was all running real smothly up to now, but...
I have 2xIDE as RAID1 and a S-ATA Harddisk.
I did a basic installation on the SATA (hde in my case), compiled the drivers, booted into that installation, loaded the modul and started partitioning the RAID that showed up as sda.
Fine up to now, but after starting with a Stage1 installation on the RAID last night and decided to continue today. So shutdown worked fine, but when I rebooted the machine I cannot boot into my basic installation on hde anymore.
CD booted and reinstalled GRUB but nope.
I can disable the HWRAID in the BIOS and boot into my basic installation, but then, I cannot access my RAID (because it is disabled and loading the module causes the kernel to crash).
So,
I have no idea how to get in my basic install with RAID enabled as it won't boot.
I am kinda scared right now...
HELP...
_________________
...keine Experimente.
Back to top
View user's profile Send private message
nope2dope
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2003
Posts: 103
Location: Sinntal - Germany

PostPosted: Thu Mar 25, 2004 10:11 am    Post subject: Reply with quote

Okay, after loosing my first PANIC-ATTACK, I remembered some good old friend of mine I haven't seen for a looong time: BootFloppy
with Grub did the job.
Installation got me back.
_________________
...keine Experimente.
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Thu Mar 25, 2004 11:10 am    Post subject: RAID Setup question Reply with quote

Hi guys & girls,

I have the same (ITE) RAID controller on a 8KNXP Ultra mainboard. I did the following to get it to work :

- Installed Gentoo with one HD connected to the normal IDE controller (hdc)
- Compiled 2.6.4 kernel with ITE support using the nice patch mentioned in this thread.
- Created a bootdisk using this kernel
- Moved harddisk back to RAID controller (becomes sda)
- Booted using bootdisk with root=/dev/sda3 (3 = root)
- Updated fstab, rebooted, everything fine.

So the current setup is one HDD connected and working on the RAID controller. The problem is that when I add (connect) the second HDD (which is currently still empty), Linux won't boot anymore. I get lots of 'ITE: resetting' messages during boot, and it just doesn't get any further. I am a bit confused about how to set this thing up. Do I need to define a RAID configuration in the GigaRaid BIOS ? (Currently none is defined because I thought that the Linux software raid will take care of that instead). How can I get my machine to boot again using both drives connected ? Do I have to make changes in my mainboard bios ?

Please help me out here :) Thanks !
Back to top
View user's profile Send private message
skion
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 99
Location: Amsterdam, Netherlands

PostPosted: Thu Mar 25, 2004 11:23 am    Post subject: Reply with quote

rig0r,

Yes, you definately need to configure your raid array in the gigaraid bios! After that, the kernel doesn't even know it's raid or not. If you just connected the HD to the controller and didn't do any configuring, you are probably just using the disk like any other disk. You'll at least need to specify what type of raid you want in the bios...

Problem might be for you that setting up the raid array will probably erase your current disks...

Bye,
_________________
- Skion
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Thu Mar 25, 2004 12:35 pm    Post subject: Reply with quote

Hmm are you sure my disks will be erased when creating a new RAID array ? Must be some way to get around this I hope :(
Back to top
View user's profile Send private message
nope2dope
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2003
Posts: 103
Location: Sinntal - Germany

PostPosted: Thu Mar 25, 2004 1:08 pm    Post subject: Reply with quote

It is not for sure that your disks will be erased, but it can happen.
I personally think it is pretty save to set up a RAID1 afterwards, but don't blame me neither.
There is something like a rebuild RAID option in your RAID setup.
Got no idea about the RAID0.
_________________
...keine Experimente.
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Thu Mar 25, 2004 2:34 pm    Post subject: Reply with quote

Ok, I will give it a shot tonight. Worst thing that can happen will be a reinstall :)
However I have a small question about that. I currently have a 2.6.4 based bootdisk, which I created using my current gentoo installation. It has support for the ITE raid controller and some other stuff. I will need this kernel/bootdisk to do a reinstall. Is it possible to use this bootdisk and then somehow mount the LiveCD ? Or is there a way to get my custom kernel on a LiveCD ? I have looked through the forums but can't really find posts that match this particular case.

Thanks again !
Back to top
View user's profile Send private message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Fri Mar 26, 2004 3:52 am    Post subject: Reply with quote

Does anybody know what kernel options I need to enable to build the 2.4.24-xfs-r3 kernel exactly the same as what's on the Gentoo 2004.0 CD-ROM so I can stop getting these unresolved symbol errors when I try to insmod -f iteraid.o?
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Fri Mar 26, 2004 9:59 am    Post subject: Reply with quote

IvanHoe wrote:
Does anybody know what kernel options I need to enable to build the 2.4.24-xfs-r3 kernel exactly the same as what's on the Gentoo 2004.0 CD-ROM so I can stop getting these unresolved symbol errors when I try to insmod -f iteraid.o?


With an unrelated issue i was getting these errors and needed to add to kernel config > Library Routines>CRC32 check

worked a treat :)
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Fri Mar 26, 2004 7:26 pm    Post subject: Reply with quote

Having the same problem here when doing insmod -f iteraid.o :

iteraid.o: unresolved symbol register_chrdev_Rblabla
iteraid.o: unresolved symbol mem_map_Rblabla
iteraid.o: unresolved symbol scsi_unregister_Rblabla
iteraid.o: unresolved symbol scsi_register_Rblabla

This module was compiled on another gentoo system with exact the same kernel version and kernel options as on the LiveCD.

The CRC option mentioned above doesn't help a bit here.

Any clues ?

Maybe someone can send me an iteraid.o that actually works with the Gentoo 2004.0 LiveCD ? (rig0r@hotmail.com)
Back to top
View user's profile Send private message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Sat Mar 27, 2004 4:41 am    Post subject: Reply with quote

I solved it by using the genkernel utility to build the kernel.
:)
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Sat Mar 27, 2004 10:19 am    Post subject: Reply with quote

That's good news :) But can you be a bit more specific at how you did this using genkernel ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
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