Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

ATA RAID controller ITE8212

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
60 posts
  • 1
  • 2
  • 3
  • Next
Author
Message
duplin
n00b
n00b
Posts: 11
Joined: Sun Mar 23, 2003 4:19 am

ATA RAID controller ITE8212

  • Quote

Post by duplin » Thu Oct 07, 2004 1:56 am

I can not figure this out.

I have an IT8212 that I'm using on old hardware to put on an 80 gig drive. The ITE BIOS is setup and look like it recognizes my drive. I'm not using the RAID just as an IDE interface. I've done the changes in the howto. Changed the Kconfig and Makefile in the scsi kernel directory. Oh kernel 2.6.8.
Here is lspci:
0000:00:08.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212, embedded seems (rev 11)

Here is modprobe -l part:
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sd_mod.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/iteraid.ko

But I get no /dev/sda!!!!!!
dmesg is wrong......
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub

It is suppose to say more than subsystem initialized.
Any help in any direction would be greatly appreciated.
Top
criis
n00b
n00b
User avatar
Posts: 49
Joined: Tue Sep 07, 2004 8:38 pm
Location: Copenhagen, Denmark

  • Quote

Post by criis » Thu Oct 07, 2004 10:19 am

Try posting output from dmesg. Are you sure it's supposed to be called sda?
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

Re: ATA RAID controller ITE8212

  • Quote

Post by carpman » Fri Oct 08, 2004 1:46 pm

duplin wrote:I can not figure this out.

I have an IT8212 that I'm using on old hardware to put on an 80 gig drive. The ITE BIOS is setup and look like it recognizes my drive. I'm not using the RAID just as an IDE interface. I've done the changes in the howto. Changed the Kconfig and Makefile in the scsi kernel directory. Oh kernel 2.6.8.
Here is lspci:
0000:00:08.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212, embedded seems (rev 11)

Here is modprobe -l part:
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/sd_mod.ko
/lib/modules/2.6.8-gentoo-r3/kernel/drivers/scsi/iteraid.ko

But I get no /dev/sda!!!!!!
dmesg is wrong......
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub

It is suppose to say more than subsystem initialized.
Any help in any direction would be greatly appreciated.
I have had ITE raid working fine with 2.6.7 but now when i try and build for 2.6.8 there is an eror displayed when kernel is compliling, missed exactly what is was but something about kernel not doing it this way any more try something, of course it did not say something else but i missed what it was.

This could also be your problem!
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
Top
duplin
n00b
n00b
Posts: 11
Joined: Sun Mar 23, 2003 4:19 am

  • Quote

Post by duplin » Sat Oct 09, 2004 2:24 pm

I am getting a warning when compiling....

CC [M] drivers/scsi/iteraid.o
In file included from drivers/scsi/iteraid.c:259:
drivers/scsi/hosts.h:1:2: warning: #warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
drivers/scsi/iteraid.c: In function `itedev_open':
drivers/scsi/iteraid.c:5579: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:555)
drivers/scsi/iteraid.c: In function `itedev_close':
drivers/scsi/iteraid.c:5816: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:567)
drivers/scsi/iteraid.c: At top level:
drivers/scsi/iteraid.c:4666: warning: `IdeMediaStatus' defined but not used
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Sat Oct 09, 2004 7:55 pm

Have you tried the mm-sources as they have a different ITE patch that sees drives as ide not scsi as the official one does.
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
Top
mr666white
n00b
n00b
User avatar
Posts: 52
Joined: Tue Aug 24, 2004 10:39 am
Contact:
Contact mr666white
Website

  • Quote

Post by mr666white » Mon Nov 01, 2004 3:14 am

Ok a slight hijacking:

I need to get the following supported in a kernel:

An IT8212 Ide controller (I don't intend to run any raiding on it, just add another few big disks to the box) I presume I need the iteraid module.

Reiser4 - I cannot do without this on my box as my / partition is reiser4

System is a Athalon 800 Mhz on a VIA mobo, other hardware is not a problem.

I am currently using the 2.6.8-ck6 kernel very happily apart from the iteraid porblems.

I've tried the 2.6.9 nitro 2 kernel and a) its horribly unstable, b) I cant find the option for the iteraid module, despite the website claiming to have it.

Thanks in advance
Mr White
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Mon Nov 01, 2004 8:29 am

mr666white wrote:Ok a slight hijacking:

I need to get the following supported in a kernel:

An IT8212 Ide controller (I don't intend to run any raiding on it, just add another few big disks to the box) I presume I need the iteraid module.

Reiser4 - I cannot do without this on my box as my / partition is reiser4

System is a Athalon 800 Mhz on a VIA mobo, other hardware is not a problem.

I am currently using the 2.6.8-ck6 kernel very happily apart from the iteraid porblems.

I've tried the 2.6.9 nitro 2 kernel and a) its horribly unstable, b) I cant find the option for the iteraid module, despite the website claiming to have it.

Thanks in advance
Mr White


You can either patch the kernel with file from ITE or use mm-source which has it in.

Depending on what patch is in the kernel it will be in different place, the ITE patch is under scsi, i beleive that the mm patch is under IDE.

In fstab the ITE is scsi and with MM i beleive it is scsi.

Do a search for other ITE threads for info on patching.
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
Top
duplin
n00b
n00b
Posts: 11
Joined: Sun Mar 23, 2003 4:19 am

  • Quote

Post by duplin » Tue Nov 02, 2004 11:45 am

Where is the patch on the mm source (in the IDE section)? I don't see anything ITEXX in there.

Thanks,
Jim
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Tue Nov 02, 2004 12:54 pm

duplin wrote:Where is the patch on the mm source (in the IDE section)? I don't see anything ITEXX in there.

Thanks,
Jim
not sure as i don't use mm-source but this might help

http://escargot.icehouse.net/mediawiki/ ... hp/ITE8212
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
Top
Pepek
Guru
Guru
User avatar
Posts: 313
Joined: Sun Apr 25, 2004 1:27 am
Location: Tarnowskie Góry - Poland - Europe

  • Quote

Post by Pepek » Wed Nov 03, 2004 1:44 pm

duplin wrote:Where is the patch on the mm source (in the IDE section)? I don't see anything ITEXX in there.

Thanks,
Jim
This patch is in -mm for kernel 2.6.8.1, but for kernel 2.6.9 now this patch is include in 2.6.9-acX.

Cheers. 8)
For Polish users :
$ man mas
Nie ma strony manuala dla mas
For Other users :
Sorry for my english, I know it's bad, but I think it's at least understandable ;)
Top
duplin
n00b
n00b
Posts: 11
Joined: Sun Mar 23, 2003 4:19 am

  • Quote

Post by duplin » Mon Nov 15, 2004 1:31 pm

It worked. Thanks Pepek. It took me a while to get the bios setting right so I didn't get a kernel panic, but finally got it going. The problem is I bought this card so that I could see the whole 80 Gig with the bios that I have, but it is still showing the 32G limit. (I don't have the jumper set on my card). I'm going to try to update the firmware on my card. Wish me luck. It will probably take me a couple of weeks.

Pepek wrote:
duplin wrote:Where is the patch on the mm source (in the IDE section)? I don't see anything ITEXX in there.

Thanks,
Jim
This patch is in -mm for kernel 2.6.8.1, but for kernel 2.6.9 now this patch is include in 2.6.9-acX.

Cheers. 8)
Top
pilx
n00b
n00b
Posts: 43
Joined: Sun Jun 27, 2004 1:16 am

  • Quote

Post by pilx » Mon Nov 29, 2004 5:04 am

Ok, I've got it working with only this patch applied on 2.6.9-nitro4, everything working great so far... 8)
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Mon Nov 29, 2004 7:28 pm

pilx wrote:Ok, I've got it working with only this patch applied on 2.6.9-nitro4, everything working great so far... 8)
Does drive appear as hda or sda?
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
Top
pilx
n00b
n00b
Posts: 43
Joined: Sun Jun 27, 2004 1:16 am

  • Quote

Post by pilx » Mon Nov 29, 2004 11:12 pm

carpman wrote:
pilx wrote:Ok, I've got it working with only this patch applied on 2.6.9-nitro4, everything working great so far... 8)
Does drive appear as hda or sda?
Drives appear as /dev/hd? since Alan's is a full IDE driver.
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Mon Nov 29, 2004 11:26 pm

pilx wrote:
carpman wrote:
pilx wrote:Ok, I've got it working with only this patch applied on 2.6.9-nitro4, everything working great so far... 8)
Does drive appear as hda or sda?
Drives appear as /dev/hd? since Alan's is a full IDE driver.

ok. makes it bit tricker to try out cause if it don't work then i am shagged and won't be able change fstab back with out lot of hassle.

Going to be doing a fresh install on new disks soon so may try it then, what sort of speeds are you getting?

Are you using the ITE raid feature or linux raid or just plan ide single drive setup?

What arch you using? my new install is not just for new disk but to do 64bit install so would like to know it works with that.


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
Top
pilx
n00b
n00b
Posts: 43
Joined: Sun Jun 27, 2004 1:16 am

  • Quote

Post by pilx » Tue Nov 30, 2004 12:06 am

carpman wrote: ok. makes it bit tricker to try out cause if it don't work then i am shagged and won't be able change fstab back with out lot of hassle.
Yep!
carpman wrote: Going to be doing a fresh install on new disks soon so may try it then, what sort of speeds are you getting?
Can't give you relevant figures since fast disks are connected to the other controllers...
carpman wrote: Are you using the ITE raid feature or linux raid or just plan ide single drive setup?
Plain ide, I've read somewhere that ITE raid's performance is worst than Linux's software raid.
carpman wrote: What arch you using?
AthlonXP 2800+ Barton on a Gigabyte GA-7N400Pro2 with 2 x WD Caviar 80GB SATA on RAID0 plus some other IDE drives w/o raid0 (30GB & 15GB on nforce, 8GB & 6GB on ITE), an NVidia 5200 FX w/ 128M, 2 x 512MB DDR 400, and some other goodies...

I can't say performance is good, I see a 20% loss on hdparm -tT /dev/md1 compared to my previous kernel (was a 2.6.8.1-love1 with iteraid) but could be just 2.6.9 or nitro patchset, so my next step will be putting Alan's driver on 2.6.8.1-love1 and try it out.

Also I've just found that cko-sources comes with Alan's driver so maybe I'll give it a try too.

I definitely don't want to go back to iteraid.
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Tue Nov 30, 2004 6:55 pm

Cheers, i was looking through the patch comments and it was said that it was quite a descent controller in smart mode, which i beleive is controller raid.

I have to have it setup as controller raid as i have a little used, games, win2k partitions.

My mb has 2 Nvidia sata channels plus 2 silicon sata channels so will probably do away with ITE channels when i get around to getting some sata drives.
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
Top
Tronic
Apprentice
Apprentice
Posts: 194
Joined: Mon Jul 28, 2003 11:17 am
Location: Finland
Contact:
Contact Tronic
Website

  • Quote

Post by Tronic » Thu Dec 23, 2004 12:10 pm

0000==Hopefully this o00ne work0000s... You know, I am having 000====/some/ iss00000000000000000000ues on the cko3 iteraid...00000

(suspended all disk activity)

Does anyone have a clue of how exactly a SCSI/IDE driver can generate fake keypresses? This is quite wicked. It's also quite strange that no disk corruption seems to occur, even though it clearly is misbehaving...
Last edited by Tronic on Thu Dec 23, 2004 2:42 pm, edited 1 time in total.
There are no alternative energy sources to fossil fuels. Whoever claims otherwise doesn't know the difference between mW and MW. -Kurki-Suonio
Top
Tronic
Apprentice
Apprentice
Posts: 194
Joined: Mon Jul 28, 2003 11:17 am
Location: Finland
Contact:
Contact Tronic
Website

  • Quote

Post by Tronic » Thu Dec 23, 2004 1:26 pm

And no, it does not work against 2.6.10-pre3-mm1

Code: Select all

  CC      drivers/ide/pci/cmd64x.o
  CC      drivers/ide/pci/it8212.o
drivers/ide/pci/it8212.c: In function `it8212_dma_begin':
drivers/ide/pci/it8212.c:332: warning: implicit declaration of function `__ide_dma_begin'
drivers/ide/pci/it8212.c: In function `init_hwif_it8212':
drivers/ide/pci/it8212.c:580: error: structure has no member named `ide_dma_begin'
make[3]: *** [drivers/ide/pci/it8212.o] Error 1
There are no alternative energy sources to fossil fuels. Whoever claims otherwise doesn't know the difference between mW and MW. -Kurki-Suonio
Top
Tronic
Apprentice
Apprentice
Posts: 194
Joined: Mon Jul 28, 2003 11:17 am
Location: Finland
Contact:
Contact Tronic
Website

  • Quote

Post by Tronic » Thu Dec 23, 2004 2:40 pm

Doesn't work against vanilla either. Are there any WORKING IT8212 patches for 00000000000002.6.10-pre*?
There are no alternative energy sources to fossil fuels. Whoever claims otherwise doesn't know the difference between mW and MW. -Kurki-Suonio
Top
Tronic
Apprentice
Apprentice
Posts: 194
Joined: Mon Jul 28, 2003 11:17 am
Location: Finland
Contact:
Contact Tronic
Website

  • Quote

Post by Tronic » Fri Dec 24, 2004 9:56 am

Works fine with 2.6.9-cko3 :)
There are no alternative energy sources to fossil fuels. Whoever claims otherwise doesn't know the difference between mW and MW. -Kurki-Suonio
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Thu Jan 13, 2005 7:37 am

I just tried to install the new development-sources 2.6.10-r1 on a machine with an ITE8212 IDE controller. Patching the kernel sources with iteraid.patch went fine without any problems, but it does not compile:

Code: Select all

In Datei, eingefügt von drivers/scsi/iteraid.c:250:
drivers/scsi/hosts.h:1:2: Warnung: #warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
drivers/scsi/iteraid.c: In Funktion »itedev_open«:
drivers/scsi/iteraid.c:5580: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
drivers/scsi/iteraid.c:5580: error: (Each undeclared identifier is reported only once
drivers/scsi/iteraid.c:5580: error: for each function it appears in.)
drivers/scsi/iteraid.c: In Funktion »itedev_close«:
drivers/scsi/iteraid.c:5817: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
distcc[16974] ERROR: compile drivers/scsi/iteraid.c on localhost failed
make[2]: *** [drivers/scsi/iteraid.o] Fehler 1
make[1]: *** [drivers/scsi] Fehler 2
make: *** [drivers] Fehler 2
It seems it's time for new iteraid files.

Anyone knows, it someone is already working on it? (I am not a coder myself, I'm just a user)
Las torturas mentales de la CIA
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Thu Jan 13, 2005 7:40 am

BTW I do not understand, why ITE8212 support still didn't make it into the kernel. That controller is a pretty piece of standard-hardware.
Las torturas mentales de la CIA
Top
goofus
Apprentice
Apprentice
Posts: 180
Joined: Fri Nov 19, 2004 2:26 pm

  • Quote

Post by goofus » Thu Jan 13, 2005 7:43 am

you can try the ac patch. worked for me.
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Thu Jan 13, 2005 7:50 am

ac patch?

Please give me some more info, never heard of this patch before. It's been quite some time, I used that old iteraid.patch over and over again since kernel 2.6.8.
Las torturas mentales de la CIA
Top
Post Reply

60 posts
  • 1
  • 2
  • 3
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic