OpenVZ Forum


Home » General » Support » *SOLVED* IT8212 Module (P-ATA)
*SOLVED* IT8212 Module (P-ATA) [message #1856] Wed, 01 March 2006 12:12 Go to next message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

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


To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.

[Updated on: Wed, 05 April 2006 14:29]

Report message to a moderator

Re: IT8212 SCSI Module (sd_mod) [message #1857 is a reply to message #1856] Wed, 01 March 2006 15:46 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
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?
Re: IT8212 Module (P-ATA) [message #1859 is a reply to message #1856] Wed, 01 March 2006 16:27 Go to previous messageGo to next message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

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


To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.

[Updated on: Wed, 01 March 2006 18:11]

Report message to a moderator

Re: IT8212 Module (P-ATA) [message #1860 is a reply to message #1859] Wed, 01 March 2006 19:00 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
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
Re: IT8212 Module (P-ATA) [message #1861 is a reply to message #1856] Wed, 01 March 2006 20:52 Go to previous messageGo to next message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

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


To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.
Re: IT8212 Module (P-ATA) [message #1866 is a reply to message #1861] Thu, 02 March 2006 06:47 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
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
icon14.gif  Re: IT8212 Module (P-ATA) [message #1881 is a reply to message #1866] Fri, 03 March 2006 07:03 Go to previous message
slg2001 is currently offline  slg2001
Messages: 20
Registered: March 2006
Location: Germany
Junior Member

Hi Averin,

thank you very much for your HELP!! Smile
The new Kernel works perfectly!!

nice day
stefan


To follow the path:
look to the master, follow the master, walk with the master, see through the master, become the master.
Previous Topic: Loading Kernel Modules into VPS context (non iptables)
Next Topic: Beginners question: NFS client in VPS
Goto Forum:
  


Current Time: Fri Aug 09 13:40:14 GMT 2024

Total time taken to generate the page: 0.02999 seconds