LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Thread Tools
Old 12-10-2004, 06:23 AM   #31
alien900
LQ Newbie
 
Registered: Apr 2004
Posts: 3
Thanked: 0

[Log in to get rid of this advertisement]
I agree with hezaplaya, don't waste too much time.

I managed to build a kernel with the driver, and I could see the harddisks during boot time...but then the boot sequence would stop, and there was nothing I could do to continue the boot process.

I had different problems with different BIOS settings for the chip, but essentially they all resulted in the same problem - not being able to boot into linux.

I gave up for the moment and wait for another kernel.

My OS is Suse 9.1.
alien900 is offline     Reply With Quote
Old 01-01-2005, 07:58 PM   #32
nemoxx
LQ Newbie
 
Registered: Nov 2004
Posts: 15
Thanked: 0
is there any way to install linux with the it8212 card nowdays?

have not payed so much attention to *nix news lately..so i was just hoping that someone came up with a solution..

cheers)
nemoxx is offline     Reply With Quote
Old 01-03-2005, 10:28 AM   #33
nemoxx
LQ Newbie
 
Registered: Nov 2004
Posts: 15
Thanked: 0
bumpz
nemoxx is offline     Reply With Quote
Old 01-09-2005, 09:19 AM   #34
nemoxx
LQ Newbie
 
Registered: Nov 2004
Posts: 15
Thanked: 0
bump again
nemoxx is offline     Reply With Quote
Old 01-14-2005, 05:34 AM   #35
nemoxx
LQ Newbie
 
Registered: Nov 2004
Posts: 15
Thanked: 0
sigh...
nemoxx is offline     Reply With Quote
Old 01-26-2005, 03:59 PM   #36
Frontier
LQ Newbie
 
Registered: Nov 2003
Distribution: SuSE Linux 9.2
Posts: 1
Thanked: 0
Talking Great news

Great news my friends, especially ones with SuSE 9.1/9.2.

I've managed to compile successfully the driver as a module and now SuSE install can see the hard drives on the RAID controller.

Here's what I did:

0. You have to use another working Linux machine, with the same version of running kernel as used in the installation. For example, SuSE 9.2 Professional has kernel 2.6.8-24, so you must compile the source inside a kernel 2.6.8-24 tree, not an earlier one, not a later one as kernel modules are binary incompatible across versions (I do hope that the kernel gurus will come up with some solution to this problem).
1. Go to www.ite.com.tw and from the Software download section, download the driver for IT8212F (it's a new one). It contains binaries (not useful to kernels >2.4) but we'll compile it from source.
2. Unpack the file and grab the contents of src/2.6.x directory.
3. CD to /usr/src/linux/drivers/scsi
4. mv Makefile Makefile.previous
5. Copy iteraid.c, iteraid.h and Makefile from the driver source directory (2.6.x) to /usr/src/linux/drivers/scsi
6. Edit the Makefile file inside /usr/src/linux/drivers/scsi. Note the first line which refers to your linux kernel source directory (it says "linux-2.6.1", change it to the name of your kernel directory. For SuSE 9.2 this is "linux-2.6.8-24").
7. Type "make" (without the quotes). The source should compile - with some warnings regarding obsolete files and some other stuff - and in the end the files "iteraid.ko" and "iteraid.o" will be built. Copy them to a vfat floppy disk

Now, go to the machine you want to install SuSE and has the IT8212 controler. Before doing anything, enter the ITE8212 BIOS (Ctrl-G) and set-up your RAID arrays accordingly. For example, on my system I have a 120Gb hard disk (with windows) and two more disks (total 10Gb) which I set up as a spanned array (6GB + 4GB = 10GB).

1. Boot the system from the SuSE DVD-ROM.
2. When the graphical user interface appears (not the lilo one, but the actual installation interface), press ALT-F2 in order to get to the command prompt.
3. Insert the disk with the compiled iteraid.ko files
4. mount -t vfat /dev/fd0 /mnt
5. cd /mnt
6. insmod iteraid.ko

after a brief delay, the command prompt will re-appear and if there are no messages, the driver was loaded successfully

7. cd /
8. Press ALT-F7 to return to the graphical interface (do not remove the floppy disk until installation is over) and SuSE install should recognize the disks in the ITE 8212 as SCSI disks.

Now, if only I could find some info on how to make a driver disk out of these, then I could install the driver on my new system without having to recompile the driver in the kernel. Any ideas?

Greetings from Greece.
Frontier is offline     Reply With Quote
Old 01-31-2005, 05:55 AM   #37
nemoxx
LQ Newbie
 
Registered: Nov 2004
Posts: 15
Thanked: 0
saved my day
nemoxx is offline     Reply With Quote
Old 02-25-2005, 09:13 AM   #38
VinnySem
Member
 
Registered: Oct 2004
Distribution: SUSE 10.0 Pro/Debian 3.1
Posts: 38
Thanked: 0
Re: Great news

Quote:
Originally posted by Frontier
Great news my friends, especially ones with SuSE 9.1/9.2.

I've managed to compile successfully the driver as a module and now SuSE install can see the hard drives on the RAID controller.

Here's what I did:

0. You have to use another working Linux machine, with the same version of running kernel as used in the installation. For example, SuSE 9.2 Professional has kernel 2.6.8-24, so you must compile the source inside a kernel 2.6.8-24 tree, not an earlier one, not a later one as kernel modules are binary incompatible across versions (I do hope that the kernel gurus will come up with some solution to this problem).
1. Go to www.ite.com.tw and from the Software download section, download the driver for IT8212F (it's a new one). It contains binaries (not useful to kernels >2.4) but we'll compile it from source.
2. Unpack the file and grab the contents of src/2.6.x directory.
3. CD to /usr/src/linux/drivers/scsi
4. mv Makefile Makefile.previous
5. Copy iteraid.c, iteraid.h and Makefile from the driver source directory (2.6.x) to /usr/src/linux/drivers/scsi
6. Edit the Makefile file inside /usr/src/linux/drivers/scsi. Note the first line which refers to your linux kernel source directory (it says "linux-2.6.1", change it to the name of your kernel directory. For SuSE 9.2 this is "linux-2.6.8-24").
7. Type "make" (without the quotes). The source should compile - with some warnings regarding obsolete files and some other stuff - and in the end the files "iteraid.ko" and "iteraid.o" will be built. Copy them to a vfat floppy disk

Now, go to the machine you want to install SuSE and has the IT8212 controler. Before doing anything, enter the ITE8212 BIOS (Ctrl-G) and set-up your RAID arrays accordingly. For example, on my system I have a 120Gb hard disk (with windows) and two more disks (total 10Gb) which I set up as a spanned array (6GB + 4GB = 10GB).

1. Boot the system from the SuSE DVD-ROM.
2. When the graphical user interface appears (not the lilo one, but the actual installation interface), press ALT-F2 in order to get to the command prompt.
3. Insert the disk with the compiled iteraid.ko files
4. mount -t vfat /dev/fd0 /mnt
5. cd /mnt
6. insmod iteraid.ko

after a brief delay, the command prompt will re-appear and if there are no messages, the driver was loaded successfully

7. cd /
8. Press ALT-F7 to return to the graphical interface (do not remove the floppy disk until installation is over) and SuSE install should recognize the disks in the ITE 8212 as SCSI disks.

Now, if only I could find some info on how to make a driver disk out of these, then I could install the driver on my new system without having to recompile the driver in the kernel. Any ideas?

Greetings from Greece.
I followed your instructions to the letter, but I don't get an iteraid.ko file, only iteraid.o. Any ideas? Thanks in advance.
VinnySem is offline     Reply With Quote
Old 03-12-2005, 02:06 AM   #39
drink
LQ Newbie
 
Registered: Dec 2003
Posts: 2
Thanked: 0
FYI

ac-sources for 2.6.10 and 2.6.11 have ITE8212 support. However, it has "issues". I've been getting bus errors and input/output errors leading to filesystem corruption. it seems to happen most during periods of heavy use. I've been stripping stuff out of my kernel to try to get it working reliably, the next thing I will try removing is preempt.
drink is offline     Reply With Quote
Old 03-12-2005, 08:06 AM   #40
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65
Thanked: 0
I personally have given up on this card, it's linux support is still too far away and it's too far unreilable right now. I ditched it for an HPT370, this works everytime.
raven.sorrow is offline     Reply With Quote
Old 04-18-2005, 01:33 PM   #41
zWaR
Member
 
Registered: Dec 2003
Distribution: Red Hat 9.0, Fedora Core 2, Fedora Core 3, Slackware 10.1, Slackware 10.2, Slackware 11.0
Posts: 191
Thanked: 0
VinnySem did you figure out how to make the dirver disk?
zWaR is offline     Reply With Quote
Old 04-24-2005, 11:01 PM   #42
custerfluck
LQ Newbie
 
Registered: Apr 2005
Location: Oklahoma
Posts: 1
Thanked: 0
Fedora core 3

I've been able to use this controller in 2.6.9 and 2.6.10, but when I upgraded to 2.6.11 my raid went bye bye
custerfluck is offline     Reply With Quote
Old 05-17-2005, 10:58 AM   #43
chinacaros
LQ Newbie
 
Registered: May 2005
Posts: 1
Thanked: 0
to Frontier:

(sorry for my english, i'm italian) i have 2hd pata connected to raid port on mainboard. I use raid as normal ide channel. When i launch suse installation my hard disk don't exist!!! i have ITE IT8212 raid chip, but i didn't find any driver for suse 9.3 (kernel 2.6.11). I try to compile the drive but i found many errors:

linux:/usr/src/linux/drivers/scsi # make
make -C /usr/src/linux SUBDIRS=/usr/src/linux/drivers/scsi modules
make[1]: Entering directory `/usr/src/linux-2.6.11.4-20a'
Makefile:494: .config: No such file or directory


WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is
missing; modules will have no modversions.

CC [M] /usr/src/linux/drivers/scsi/iteraid.o
In file included from /usr/src/linux/drivers/scsi/iteraid.c:259:
/usr/src/linux/drivers/scsi/hosts.h:1:2: warning: #warning "This file is
obsolete, please use <scsi/scsi_host.h> instead"
/usr/src/linux/drivers/scsi/iteraid.c: In function `itedev_open':
/usr/src/linux/drivers/scsi/iteraid.c:5579: error: `MOD_INC_USE_COUNT'
undeclared (first use in this function)
/usr/src/linux/drivers/scsi/iteraid.c:5579: error: (Each undeclared
identifier is reported only once
/usr/src/linux/drivers/scsi/iteraid.c:5579: error: for each function it appearsin.)
/usr/src/linux/drivers/scsi/iteraid.c: In function `itedev_close':
/usr/src/linux/drivers/scsi/iteraid.c:5816: error: `MOD_DEC_USE_COUNT'
undeclared (first use in this function)
/usr/src/linux/drivers/scsi/scsi_module.c: At top level:
/usr/src/linux/drivers/scsi/iteraid.c:4666: warning: `IdeMediaStatus'
defined but not used
make[2]: *** [/usr/src/linux/drivers/scsi/iteraid.o] Error 1
make[1]: *** [_module_/usr/src/linux/drivers/scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.4-20a'
make: *** [modules] Error 2

i try with noapic command, but dom't seem the solution

thanks

Last edited by chinacaros; 05-17-2005 at 11:00 AM..
chinacaros is offline     Reply With Quote
Old 07-21-2005, 11:41 AM   #44
scr02bcg
LQ Newbie
 
Registered: Feb 2004
Posts: 26
Thanked: 0
Hi All,

the various solutions to this now seem to have been solved. See

http://www.linuxquestions.org/questi...hreadid=342500

or

http://www.linuxquestions.org/questi...highlight=it81

I hope these help

Ben
scr02bcg is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IT8212 Suse linux 9.3 Professional scr02bcg Linux - Hardware 2 07-21-2005 11:25 AM
ITE IT8212 on Slack 10.1 zWaR Slackware 3 06-17-2005 04:13 PM
Problems with installing FC3 on IT8212 RAID zWaR Fedora - Installation 0 01-26-2005 11:35 AM
IT8212 - trying to access hd abbasakhtar Linux - Newbie 3 12-29-2004 08:11 AM
IT8212 installation on Mandrake 10 grishnak Linux - Hardware 0 07-08-2004 10:40 AM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration