View previous topic :: View next topic |
Author |
Message |
skion Tux's lil' helper
Joined: 18 Aug 2003 Posts: 99 Location: Amsterdam, Netherlands
|
Posted: Mon Mar 15, 2004 3:28 pm Post subject: |
|
|
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 |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Thu Mar 18, 2004 12:13 pm Post subject: |
|
|
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 |
|
|
skion Tux's lil' helper
Joined: 18 Aug 2003 Posts: 99 Location: Amsterdam, Netherlands
|
Posted: Thu Mar 18, 2004 1:50 pm Post subject: |
|
|
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 |
|
|
sr20seth n00b
Joined: 04 Nov 2003 Posts: 55 Location: Carrollton, VA
|
Posted: Thu Mar 18, 2004 2:16 pm Post subject: |
|
|
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 |
|
|
DrACoNuS Tux's lil' helper
Joined: 03 Oct 2002 Posts: 116 Location: Edmonton, Alberta, Canada
|
Posted: Fri Mar 19, 2004 4:52 pm Post subject: |
|
|
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 |
|
|
skion Tux's lil' helper
Joined: 18 Aug 2003 Posts: 99 Location: Amsterdam, Netherlands
|
Posted: Sat Mar 20, 2004 2:41 pm Post subject: Patch for 2.6.3 |
|
|
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 |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Sat Mar 20, 2004 3:25 pm Post subject: |
|
|
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 |
|
|
skion Tux's lil' helper
Joined: 18 Aug 2003 Posts: 99 Location: Amsterdam, Netherlands
|
Posted: Sat Mar 20, 2004 9:15 pm Post subject: |
|
|
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 |
|
|
Snoozer n00b
Joined: 10 Feb 2004 Posts: 15
|
Posted: Sun Mar 21, 2004 5:26 am Post subject: |
|
|
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 |
|
|
Snoozer n00b
Joined: 10 Feb 2004 Posts: 15
|
Posted: Sun Mar 21, 2004 6:56 am Post subject: |
|
|
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 |
|
Back to top |
|
|
sr20seth n00b
Joined: 04 Nov 2003 Posts: 55 Location: Carrollton, VA
|
Posted: Mon Mar 22, 2004 4:03 pm Post subject: |
|
|
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 |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Mon Mar 22, 2004 7:36 pm Post subject: |
|
|
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 |
|
|
sr20seth n00b
Joined: 04 Nov 2003 Posts: 55 Location: Carrollton, VA
|
Posted: Mon Mar 22, 2004 7:52 pm Post subject: |
|
|
unzip patch then
patch -p1 < /path to patch file |
|
Back to top |
|
|
nope2dope Tux's lil' helper
Joined: 19 Sep 2003 Posts: 103 Location: Sinntal - Germany
|
Posted: Thu Mar 25, 2004 8:46 am Post subject: |
|
|
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 |
|
|
nope2dope Tux's lil' helper
Joined: 19 Sep 2003 Posts: 103 Location: Sinntal - Germany
|
Posted: Thu Mar 25, 2004 10:11 am Post subject: |
|
|
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 |
|
|
rig0r n00b
Joined: 25 Mar 2004 Posts: 73
|
Posted: Thu Mar 25, 2004 11:10 am Post subject: RAID Setup question |
|
|
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 |
|
|
skion Tux's lil' helper
Joined: 18 Aug 2003 Posts: 99 Location: Amsterdam, Netherlands
|
Posted: Thu Mar 25, 2004 11:23 am Post subject: |
|
|
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 |
|
|
rig0r n00b
Joined: 25 Mar 2004 Posts: 73
|
Posted: Thu Mar 25, 2004 12:35 pm Post subject: |
|
|
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 |
|
|
nope2dope Tux's lil' helper
Joined: 19 Sep 2003 Posts: 103 Location: Sinntal - Germany
|
Posted: Thu Mar 25, 2004 1:08 pm Post subject: |
|
|
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 |
|
|
rig0r n00b
Joined: 25 Mar 2004 Posts: 73
|
Posted: Thu Mar 25, 2004 2:34 pm Post subject: |
|
|
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 |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Fri Mar 26, 2004 3:52 am Post subject: |
|
|
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 |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Fri Mar 26, 2004 9:59 am Post subject: |
|
|
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 |
|
|
rig0r n00b
Joined: 25 Mar 2004 Posts: 73
|
Posted: Fri Mar 26, 2004 7:26 pm Post subject: |
|
|
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 |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Sat Mar 27, 2004 4:41 am Post subject: |
|
|
I solved it by using the genkernel utility to build the kernel.
|
|
Back to top |
|
|
rig0r n00b
Joined: 25 Mar 2004 Posts: 73
|
Posted: Sat Mar 27, 2004 10:19 am Post subject: |
|
|
That's good news But can you be a bit more specific at how you did this using genkernel ? |
|
Back to top |
|
|
|