OpenVZ Forum - RDF feed
type: channel
items: *SOLVED* IT8212 Module (P-ATA)
items: Re: IT8212 SCSI Module (sd_mod)
items: Re: IT8212 Module (P-ATA)

*SOLVED* IT8212 Module (P-ATA)
type: item
description: Hi, i have installed the ovzkernel-2.6.15-025stab014.1 everything works perfectly only the IT8212 Raid Controller makes problems. If i boot with the Fedora Core (2.6.15-1.1831_FC4) kernel the sd_mod is loaded for the IT8212 Raid Controller. But if i boot with the openvz kernel the Raid Controller Module (sd_mod) will not loaded! I don't found any module for it. I tried some things, but i had no success! 1st TRY: tried to compile the sources of the controller (get many errors) 2nd TRY: copied the sd_mod.ko to openvz-kernel and made "depmod -a" and "modprobe sd_mod" (error-message: FATAL: Error inserting sd_mod (/lib/modules/2.6.15-025stab014.1/kernel/drivers/scsi/sd_mod .ko): Invalid module format) Have anyone a solution? thanks stefan
creator: slg2001
date: 2006-03-01T12:12:06-00:00

Re: IT8212 SCSI Module (sd_mod)
type: item
description: Hello Stefan, sd_mod is not Raid Controller Module, it is Scsi Disc driver. We have this driver compiled in-kernel. As far as I understand the issue ovzkernel does not have driver for your raid controller. Currently I don't know what the driver should support your hardware. Could you please show me your /etc/modprobe.conf file?
creator: vaverin
date: 2006-03-01T15:46:37-00:00

Re: IT8212 Module (P-ATA)
type: item
description: Hello vaverin, thanks for your answer, here are my modprobe.conf file. ------------------ modprobe.conf ------------------ alias bond0 bonding alias bond1 bonding alias bond2 bonding alias eth0 e1000 alias eth1 e1000 alias eth2 e1000 alias eth3 e1000 alias eth4 e1000 alias eth5 e100 alias scsi_hostadapter 3w-xxxx alias usb-controller ohci-hcd options bonding max_bonds=3 miimon=100 ------------------ modprobe.conf ------------------ I have 2 Controllers: - 3-ware 8500 (s-ata) - it8212 (p-ata) At the dmesg-files you can see that both kernels find the controller, but only the FC4 kernel identify as an IT8212 and at the OpenVZ Kernel as an SvrWks (or else like that)! Informations about the IT8212 at the openvz kernel "/lib/modules/2.6.15-025stab014.1/build/drivers/ide/Kconfig" --------------------------- Kconfig --------------------------- config BLK_DEV_IT821X tristate "IT821X IDE support" help This driver adds support for the ITE 8211 IDE controller and the IT 8212 IDE RAID controller in both RAID and pass-through mode. --------------------------- Kconfig --------------------------- Should i compile a new open-vz kernel? How? Link to ite homepage: http://www.ite.com.tw/software_download/software_download2.a sp#IT8212%20ATA133%20Controller thanks stefan
creator: slg2001
date: 2006-03-01T16:27:22-00:00

Re: IT8212 Module (P-ATA)
type: item
description: Hello Stefan, try to use our default config, but replace string like # CONFIG_BLK_DEV_IT821X is not set to CONFIG_BLK_DEV_IT821X=y Thank you, Vasily Averin
creator: vaverin
date: 2006-03-01T19:00:38-00:00

Re: IT8212 Module (P-ATA)
type: item
description: Hi Averin, thank you for your help, i changed it! Is anything else to do? Or must i compile the kernel with the new option? If it yes, HOW TO compile it? thank you stefan
creator: slg2001
date: 2006-03-01T20:52:28-00:00

Re: IT8212 Module (P-ATA)
type: item
description: Hello Stefan I believe, easiest way is following: - download Source RPM ovzkernel-2.6.15-025stab014.1.src.rpm - install it by using rpm -ihv ovzkernel-2.6.15-025stab014.1.src.rpm - go to /usr/src/redhat/SOURCES directory and fix the config files: replace in kernel-2.6.15-025stab014-i686-enterprise.config.ovz kernel-2.6.15-025stab014-i686-smp.config.ovz kernel-2.6.15-025stab014-i686.config.ovz files string # CONFIG_BLK_DEV_IT821X is not set to CONFIG_BLK_DEV_IT821X=y - go to the /usr/src/redhat/SPEC directory and change kernel version in kernel-ovz.spec file: for example replace %define ksubrelease 1 to %define ksubrelease 1.custom - use rpmbuild -bb kernel-ovz.spec. it will build 3 new ovzkernel rpm packages in /usr/src/redhat/RPMS/i686 directory. Thank you, Vasily Averin
creator: vaverin
date: 2006-03-02T06:47:19-00:00

Re: IT8212 Module (P-ATA)
type: item
description: Hi Averin, thank you very much for your HELP!! The new Kernel works perfectly!! nice day stefan
creator: slg2001
date: 2006-03-03T07:03:33-00:00