login
Header Space

 
 

ite it8212 driver

January 14, 2005 - 6:04am
Submitted by Anonymous on January 14, 2005 - 6:04am.
Linux

is the ite it8212 raid driver supported yet?

ive been looking for 4 months now..for a way to install a desktop linux on my comp

specs: intel 915p pro//nvidia geforce pcx 5750(pci-e)//p4 3.4ghz//marvell yukon gigabit ethernet//ite it8212 raid card<<(configed as no-raid/normal) need to boot from it

Exists, and Works

January 14, 2005 - 11:29pm

Yes, there is a driver in the ac patchset, and it works for me on a configuration almost identical to yours. (i have a nvidia 6600GT instead)
I'm using it in straight IDE mode, so I haven't tried out how it handles raid mode, but from what I hear it works.

Enable CONFIG_BLK_DEV_IT821X in your kernel config to get it going.

nice:) this saved my day:)

January 15, 2005 - 6:51am
Anonymous (not verified)

nice:) this saved my day:)

u say the i need the ac patchset..

im a complete n00b..heheh

so what do i need to do to get this patchset and how to install it

a little how-to would be perfect:)

btw..i also run it in normal ide config

many thanks:)

I've been using the ITE suppl

January 14, 2005 - 11:45pm
Anonymous (not verified)

I've been using the ITE supplied driver on a file server for over 12 months now without problem. I built it into the kernel rather than as a module, as the machine boots from the RAID array.

http://www.ite.com.tw

Which version did you get it to work on

March 4, 2005 - 9:17pm

And how?

I'm trying to use this driver

July 19, 2005 - 7:52am
Anonymous555 (not verified)

I'm trying to use this drivers too, compilation was ok. When I insert module, everything seems to be OK. But when I try to mount the partition on disk connected to this controler, the system is rebooting or sometimes after a few minutes I get an error that it's not o block device. What should I do ??

My system is Slackwere 10, with kernel 2.4.27-rc3 and some patches.

I've been using the official

January 15, 2005 - 5:15pm
Anonymous (not verified)

I've been using the official driver for a long time with no problem (hard to compile on 2.6 but works), and I'm now running the ac patchset and it works fine too (if you get poor performance, try hdparm -d 1 /dev/hdX)

I have a it8212 raid card on an asus a7v8x-x

i have no clue how to compile

January 15, 2005 - 7:27pm
nemox (not verified)

i have no clue how to compile a kernel/driver..

im tying to learn tho.. seems kinda advanced

im using suse 9.2/2.6.8-24

January 16, 2005 - 2:30pm

im using suse 9.2/2.6.8-24

how do i apply the ac patchset?

where can i find a how-to on this matter?

Kernel building

June 3, 2005 - 2:56am
Doug (not verified)

To get you started, go to http://www.kernel.org. You need a kernel file and a patch file.

If you go to http://www.kernel.org/pub/linux/kernel/v2.6/, grab the file called linux-2.6.11.tar.gz. Notice that there are newer files like linux-2.6.11.11.tar.gz. *You can't use those for patching, so don't grab them.*. Only the 3-number endings are good (2.6.11, e.g.). Unzip the file using the command tar -xzvf linux-2.6.11.tar.gz, and then move the unzipped directory to /usr/src/.

You'll also need the 'ac patch'. From http://www.kernel.org, there's a link to the newest one. Download it, and unzip it. In this case, use the command tar -xjvf patch-2.6.11-ac7.bz2. Copy it to the directory /usr/src.

Go to the directory /usr/src/linux-2.6.11. Then type patch -p1 <../patch-2.6.11-ac7. You should get no error messages.

You'll need to configure the kernel, compile it, and install it. Let me refer you to a website that might guide you through that. It's too long/detailed of a task for me to address here, and it varies for everyone. http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
And, of course, go Google up a walk-through. The process is long, but you can learn a lot, and it lets you customize your system in ways you don't even know.

Kernel building

June 23, 2005 - 6:19am
Svizac (not verified)

I've patched the kernel source (used 2.6.11 kernel source, since ac patch didn't come out yet for 2.6.12 kernel version) and run the menuconfig, but as far as I can see, the driver for ITE 8212 doesn't show in the SCSI section.

Is that normal?

Did I patch it correctly?

everything went OK, no errors appeared

This is my third time configuring and compiling the kernel so I'm still a bit of a newbie :)

PS: If it has to show somewhere in the menuconfig, can you please tell me where exactly, because I'm going out of my mind here!

a bug in the Makefile...

June 24, 2005 - 7:38pm
BBk (not verified)

hello ans sorry for my bad english :p

I have a ITE 8212 card and y I want to install it on my debian box, so I've download the driver source from the ITE website and I've work tu find a way to build the driver...

I've find thats the Makefile seem to by broken, to build it I've been obliged to make a symbolic link tu my kernel source files named "linux-2.4" so,

You may obliged tu do this :

ln -s /usr/src/linux-2.4.XX linux-2.4

where XX is your kernel version, I have not tested but I fink if you use the 2.6.X version of the driver it may by the same way...

like that :

ln -s /usr/src/linux-2.6.XX linux-2.6

I's work on my server on Debian sarge (3.1)

after taht I have copied the file "iteraid.o" in /lib/modules/2.4.XX/kernel/drivers/

and i've use : insmod iteraid.o to load the module.

IT8212 driver location

June 26, 2005 - 1:47pm

"the driver for ITE 8212 doesn't show in the SCSI section"

Nope. It is in the ATA/ATAPI/MFM/RLL support section, under 'PCI IDE chipset support'. The -ac patch makes an hdX device, not an sdX one.
Regards, Bill

Hi Guys, can I first thank

July 12, 2005 - 12:23pm
scr02bcg (not verified)

Hi Guys,

can I first thank you all for this very useful information. I am in the same unfortunate position as you guys with an IT8212 and no visible disks in suse 9.3 pro. I have followed Dougs advice and downloaded 2.6.11 and patched with the latest 'ac' and have even managed a complete kernel compilation and installation.

Unfortunately I still appear not to have four hard disks on the RAID controller detected in SUSE. Perhaps I am just missing something obvious like they are there now and I'm just not seeing them. Is there any advice or suggestions out there.

I'm not sure what other info I can supply but one piece may be this. When I type the command

/sbin/lspci

I get the following line in many.

RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212, embedded seems (rev 11)

Personally to me this suggests like it has detected it so why do I have no disks. Other than that I do know that this piece of hardware before the kernel update etc was shown up as an unknown mass storage controller.

I look forward to some comments

Many thanks in advance

Ben

IT8212

July 13, 2005 - 2:28pm

Hello Ben-
I have been using the 2.6.11 kernel and -ac patch on my Slackware current box for about four weeks, so I cannot be classified as an expert, also have never used SUSE, so my comments may not be applicable. That being said, I first question why you would expect four hard drives to be detected. If you have four physical drives attached, the number of drives that show up would depend on the way you have them configured. If you have them set up in RAID 0, you may have only one drive appear to be connected, RAID 1 may give you two, etc.

I assume that you have set up your RAID devices in the bios and that, during kernel compilation, you selected the driver in the ATA/ATAPI/MFM/RLL support section, under 'PCI IDE chipset support'. I built mine into the kernel, because I wanted to boot from it. I only have two drives on the IT8212, set up as RAID 1. It shows up during the boot process as:

$ dmesg | grep 821
IT8212: IDE controller at PCI slot 0000:01:0c.0
IT8212: chipset revision 16
it821x: controller in smart mode.
IT8212: 100% native mode on irq 11
hde: IT8212 Bootable RAID 1 volume.

If you did not build the driver into the kernel, the module should show up when you use 'lsmod', but not having used the module, I have no idea what its name is.

When I issue '/sbin/lspci', I get:
'RAID bus controller: Integrated Technology Express, Inc.: Unknown device 8212 (rev 10)'
Not quite the same as what you get, but probably different because of different hardware.

One more thing. When I got the array working, I could not copy a lot of data to it at one time. After copying about 300K of data, it would begin issuing I/O errors, then lock up the machine. One of my searches referenced using hdparm if there were any problems, so I tried:

hdparm -d1 /dev/hde

I had to put that command in the very beginning of the startup script, well before fsck was run on the drive, as that would also cause the problem.

I hope some of this rambling helps. Good luck,
Bill

Root partion on ITE8212

July 25, 2005 - 9:21am
ThomasH (not verified)

Hello,

I can't complie a kernel because I want to install linux foremost on a disk on ITE8212 controller.

How can I include the module during installation process?

Thanks and best regards,

Thomas

Thanks for the reply. Of cour

July 28, 2005 - 9:49am
Ben Gale (not verified)

Thanks for the reply. Of course all the points you made were correct. I had configured in the RAID bios as 1+0 so only one drive would show. The simple solution to do this (so simple I almost can't believe I failed to do it now) was to load the module using modprobe.

I am however fascinated by your comment about hdparm as my disks keep crashing on transfers of data of about 200M.

Thanks

Ben

already compiled kernel with ac7 patch

July 31, 2005 - 8:46am
wonsz (not verified)

HI,
Im just couries is there possibility to take already compiled kernel with patch -ac7 already?

IT8212 on Suse Linux 9.3 Professional

July 26, 2005 - 5:40pm
Wolfgang (not verified)

I spend almost a day trying to get this running.
I have Suse Linux Professional 9.3 system with a 2.6.11 kernel - i did an
YOU update to the kernel which made sure that lspci than shows
the IT8212 card. I tried to get the IT821x module running which was not easy since the patch sets by Alan Cox are either for an older or a newer (2.6.12) configuraton.

Here is a bit of the problem log i kept:

Problem 12:41:39
iteraid card does not work under Suse Linux 9.3
Diagnosis
http://www.linux-community.de/Neues/story?storyid=14732
is one description
http://www-public.tu-bs.de:8080/~y0016822/tutorials/raid/Raid_Treiber.ht...
gives a better description
Therapy
do as described in the better description

Problem 12:42:06
scsi0 : ITE RAIDExpress133
Vendor: ITE Model: IT8212F Rev: 1.3
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
SCSI device sda: 78165360 512-byte hdwr sectors (40021 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
sda:<3>irq 11: nobody cared!
[] __report_bad_irq+0x1c/0x70
[] note_interrupt+0x5b/0x80
[] __do_IRQ+0xdb/0xf0
[] do_IRQ+0x38/0x60
[] common_interrupt+0x1a/0x20
[] pm_unregister_all+0x2b/0x50
[] __do_softirq+0x31/0xa0
[] do_softirq+0x26/0x30
[] do_IRQ+0x3d/0x60
[] common_interrupt+0x1a/0x20
[] default_idle+0x0/0x30
[] default_idle+0x24/0x30
[] cpu_idle+0x1c/0x60
[] start_kernel+0x167/0x1d0
handlers:
[] (usb_hcd_irq+0x0/0x60 [usbcore])
[] (usb_hcd_irq+0x0/0x60 [usbcore])
[] (usb_hcd_irq+0x0/0x60 [usbcore])
[] (snd_intel8x0_interrupt+0x0/0x220 [snd_intel8x0])
Disabling IRQ #11
Diagnosis
this driver does not work use ac patchset driver
see http://kerneltrap.org/node/4543
Therapy
get patch-2.6.11-ac7.bz2 from http://kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.11/
does not work ...

Problem 15:25:40
need to restart process
Diagnosis
need to undo
Therapy
remove kernel sources package again with yast
install kernel sources again with yast
Do online update with YOU
Modify Sources according to: http://www.deutsches-haus-schwepnitz.de/linux/it821x.diff

/usr/sr/linux/drivers/ide:
RCS file: RCS/Kconfig,v
retrieving revision 1.1
diff -r1.1 Kconfig
609a610,615
> config BLK_DEV_IT821X
> bool "IT821X IDE support"
> tristate "IT821X IDE support"
> help
> This driver adds support for the IT8211 and IT8212 IDE Raid controler

seppl7:/usr/src/linux/include/linux # rcsdiff pci_ids.h
===================================================================
RCS file: RCS/pci_ids.h,v
retrieving revision 1.1
diff -r1.1 pci_ids.h
1684a1685,1686
> #define PCI_DEVICE_ID_ITE_8211 0x8211
> #define PCI_DEVICE_ID_ITE_8212 0x8212

Problem 17:12:00
drivers/ide/pci/it821x.c: In function `init_hwif_it821x':
drivers/ide/pci/it821x.c:691: error: structure has no member named `ide_dma_start'
make[3]: *** [drivers/ide/pci/it821x.o] Fehler 1
make[2]: *** [drivers/ide/pci] Fehler 2
make[1]: *** [drivers/ide] Fehler 2
make: *** [drivers] Fehler 2
Diagnosis
See http://lkml.org/lkml/2005/6/20/265
Therapy
get the lates patch which is for 2.6.12 kernel put is compilable ...

Unfortunately this gives a lot of trouble ...
modprobe it821x noraid=1

seems to help ...

As a ite8212 user, I have gon

July 27, 2005 - 1:18am
Anony (not verified)

As a ite8212 user, I have gone through the offical driver from ITE(Sorry I got easy to forget the compiling steps). From sometimes before I always grab the split out file iteraid.patch from 2.6.8.1-mm4 patchset and apply to the kernel to compile. Yet, it works from 2.6.8.1-cko7 to 2.6.9-nitro4 to 2.6.11-morph12 greatly without seeing serious problem !!

Exaclty the same problem!!! C

August 18, 2005 - 2:02pm
Guilo (not verified)

Exaclty the same problem!!! Can't install at all Sarge3.1

If I recompile the kernel , can i use it for install ?

Installing IT8212 driver

August 22, 2005 - 10:20am
Dave (not verified)

The issue is that loadable modules have a different format starting with 2.6.9 or 2.6.10. When installing SARGE, here is what I do:

-Set up RAID drive as /home
-Set up hda1 as /boot
-Set up hda2 as /
-Set up hda5 as /usr

Install Debian Sarge.
After booting into sarge, download kernel-source-2.6.8 package. Customize the kernel and integrate the IT8212 driver according to the web site. Make a tarball and save this for future use.

Build the kernel with iteraid integrated as module or as part of the kernel. Switch to using 2.6.8 as your default kernel until ITE comes out with the updated driver for 2.6.10+ kernels.

Do I have a driver problem

August 31, 2005 - 8:51am
Ben Gale (not verified)

Hi All,

as you can see I have posted before. It is now about 3 weeks that I have had the server up and running in a RAID 1 configuration with 4 physical drives (i.e. two show up). I now have the following error appearing and the drive can no longer be read or written to (infact right now it cannot mount either).

Aug 30 12:55:39 sclx2 kernel: hdf: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Aug 30 12:55:39 sclx2 kernel: hdf: dma_intr: error=0x84 { DriveStatusError BadCRC }
Aug 30 12:55:39 sclx2 kernel: ide: failed opcode was: unknown

I also get the following errors on a drive that is still active but is identical to the inactive drive

Aug 30 13:00:14 sclx2 kernel: ide2: reset: master: ECC circuitry error; slave: failed
Aug 30 13:00:43 sclx2 kernel: hde: task_in_intr: status=0xd0 { Busy }
Aug 30 13:00:43 sclx2 kernel:
Aug 30 13:00:43 sclx2 kernel: ide: failed opcode was: unknown

I have read that drives failing can be as a result of the wrong dma mode. Until now I have used hdparm with the d1 and u1 options as previuosly suggested but now notice the following

sclx2:/etc/rc.d # hdparm -i /dev/hdf

/dev/hdf:

Model=Integrated Technology Express Inc, FwRev=, SerialNo='S
Config={ }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=268435455
IORDY=no
PIO modes: pio0
DMA modes: mdma0 mdma1 mdma2
AdvancedPM=no

* signifies the current active mode

Three things strike me.

1) I have a MaxMutliSec=0
2) I appear not to have a udma mode listed at all
3) The mode I am using is not listed

Please comment. Has my disk failed because of the d1 option (which incidently improved speeds by 20x) and is the driver not quite working and hence problems. I am using kernel 2.6.11ac7 on suse 9.3.

Many thanks

Ben

Make ITE 8212F ATA Controler Driver

October 17, 2005 - 3:48am
tanina (not verified)

Hi all,
I have a problem with debian installation and I hope you help me.

I have:
Motherboard: ASUS P5GD2 DELUXE/915P/775 (Have only one IDE Slot)
CPU : Intel EM64T
HDD: 2 IDE x 160 GB Seagate 8MB
RAM: 2x 512MB DDR
CD: CDRW
FDD

The PC configuration is new and I want to install Debian 3.1 (Sarge)
These 2 hdds are connected to IDE Raid connectors like two Masters. By default these connectors are set to IDE Mode. I want to use these HDDs like normal IDE harddisks and I don't want to make RAID Array.

For installation I have CD1 to CD9 with Debian 3.1. During the installation process, Debian can not find any hdd for partitional.
I can't load iteraid.o from floppy disk. I have source files (iteraid.c,iteraid.h,Makefile) but I can't make driver iteraid.o for kernel 2.6.8 because I haven't installed kernel on my hdds.
Please help me with some ideas to solve this situation. If someone have has driver iteraid.o for debian 3.1 (Sarge), kernel 2.6.8 please send to me - tahion@graffiti.net.

Thank you. (Sorry fot my bad english)

it8212

December 18, 2005 - 3:51pm
Anonymous (not verified)

running CentOS4, the drives are visible and stable. running raid5 (non boot).

it8218 works just fine.

now i'm running debian etch. patching. compiling, recompiling. patching.

what a mess.

drives recognized, but data corruption after 200 megs.

:(

i'm runnig debian with 2.6.14

December 21, 2005 - 3:01pm
muuh (not verified)

i'm runnig debian with 2.6.14-2-686 kernel. the card works fine. but i'm missing a notice when a drive fails. anybody knows something about it?

yes it is

January 22, 2006 - 3:01pm
Anonymous (not verified)

i do not know what distrb of linux you are using but I have the IT8212 and installed linux on raid 0/1 just fine.. it didnt even ask me for a diskette or aditional software , files,, drivers ,,, nothing.. It was already supported in madrake 10.2 and redhats latest. ( I tried both )

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary