OpenVZ Forum


Home » General » Support » DL380 G2 - CCISS
Re: DL380 G2 - CCISS [message #10477 is a reply to message #10448] Mon, 19 February 2007 19:12 Go to previous messageGo to previous message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Ok, I almost have the test kernel installed, but I screwed up and missed the network driver when installing the stock 2.6.18 kernel; so I can't get the openvz test kernel onto the box very easily.

It looks like upgrading the kernel to 2.6.18.6 fixed the errors. I am guessing there was a driver update to the cciss driver that corrected some type of problem. The cciss driver in the 2.6.9 kernel is 2.6.10; the cciss driver in the 2.6.18.6 kernel is 3.6.10. I am going to back out at this point and install the latest stable openvz kernal and build a binary rpm for the 3.6.x cciss driver and see if that corrects the issue. I will post the results when I get them.

Here is an account of the process:

0-Install CentOS 4.4

1-Run yum update
=============================================================================
	 Package                 Arch       Version          Repository        Size
	=============================================================================
	Installing:
	 kernel                  i686       2.6.9-42.0.8.EL  update             11 M
	 kernel-devel            i686       2.6.9-42.0.8.EL  update            3.7 M
	 kernel-smp              i686       2.6.9-42.0.8.EL  update             10 M
	Updating:
	 bind-libs               i386       20:9.2.4-24.EL4  update            565 k
	 bind-utils              i386       20:9.2.4-24.EL4  update            141 k
	 dbus                    i386       0.22-12.EL.8     update            455 k
	 dbus-devel              i386       0.22-12.EL.8     update            228 k
	 dbus-glib               i386       0.22-12.EL.8     update             38 k
	 elinks                  i386       0.9.2-3.3        update            839 k
	 fetchmail               i386       6.2.5-6.el4.5    update            572 k
	 gnupg                   i386       1.2.6-8          update            1.6 M
	 gtk2                    i386       2.4.13-22        update            4.3 M
	 gzip                    i386       1.3.3-16.rhel4   update             88 k
	 hwdata                  noarch     0.146.23.EL-1    update            337 k
	 info                    i386       4.7-5.el4.2      update            145 k
	 iproute                 i386       2.6.9-3.EL4.3.centos4  update            932 k
	 kernel-hugemem-devel    i686       2.6.9-42.0.8.EL  update            3.7 M
	 kernel-smp-devel        i686       2.6.9-42.0.8.EL  update            3.7 M
	 nss_ldap                i386       226-17           update            1.0 M
	 openssh                 i386       3.9p1-8.RHEL4.17.1  update            317 k
	 openssh-clients         i386       3.9p1-8.RHEL4.17.1  update            341 k
	 openssh-server          i386       3.9p1-8.RHEL4.17.1  update            208 k
	 openssl                 i686       0.9.7a-43.14     update            1.1 M
	 openssl-devel           i586       0.9.7a-43.14     update            1.6 M
	 python                  i386       2.3.4-14.3       update            4.8 M
	 python-devel            i386       2.3.4-14.3       update            1.4 M
	 qt                      i386       1:3.3.3-10.RHEL4  update            2.9 M
	 sysreport               noarch     1.3.15-8         update             18 k
	 tar                     i386       1.14-12.RHEL4    update            334 k
	 texinfo                 i386       4.7-5.el4.2      update            743 k
	 tzdata                  noarch     2006m-3.el4      update            444 k
	 up2date                 i386       4.4.69-25.centos4.7  update            1.8 M
	 xorg-x11-Mesa-libGL     i386       6.8.2-1.EL.13.37.5  update            379 k
	 xorg-x11-font-utils     i386       6.8.2-1.EL.13.37.5  update            302 k
	 xorg-x11-libs           i386       6.8.2-1.EL.13.37.5  update            2.7 M
	 xorg-x11-xfs            i386       6.8.2-1.EL.13.37.5  update            315 k
	
	Transaction Summary
	=============================================================================
	Install      3 Package(s)
	Update      33 Package(s)
	Remove       0 Package(s)
	Total download size: 63 M



2-Disable unneeded services
	[root@vz1 ~]# chkconfig rpcidmapd off
	[root@vz1 ~]# chkconfig pcmcia off
	[root@vz1 ~]# chkconfig xinetd off
	[root@vz1 ~]# chkconfig netfs off
	[root@vz1 ~]# chkconfig apmd off
	[root@vz1 ~]# chkconfig portmap off
	[root@vz1 ~]# chkconfig nfslock off
	[root@vz1 ~]# chkconfig isdn off
	[root@vz1 ~]# chkconfig rpcgssd off
	[root@vz1 ~]# chkconfig openibd off
	[root@vz1 ~]# chkconfig gpm off
	[root@vz1 ~]# chkconfig mdmonitor off
	[root@vz1 ~]# chkconfig xfs off


3-Network settings
a-configure bonding
* update /etc/modprobe.conf, add the following lines
alias bond0 bonding
options bond0 mode=0 miimon=100
* create
/etc/sysconfig/network-scripts/ifcfg-bond0
		[root@vz1 ~]# cat ifcfg-bond0
		DEVICE=bond0
		IPADDR=10.107.208.150
		NETWORK=10.107.208.0
		NETMASK=255.255.255.0
		BROADCAST=10.107.108.255
		USERCTL=no
		BOOTPROTO=dhcp
		ONBOOT=yes
		* update /etc/sysconfig/network-scripts/ifcfg-eth0
		[root@vz1 ~]# cat ifcfg-eth0
		DEVICE=eth0
		USERCTL=no
		ONBOOT=yes
		MASTER=bond0
		BOOTPROTO=none
		SLAVE=yes
		* update /etc/sysconfig/network-scripts/ifcfg-eth1
		[root@vz1 ~]# cat ifcfg-eth1
		DEVICE=eth1
		USERCTL=no
		MASTER=bond0
		ONBOOT=yes
		BOOTPROTO=none
		SLAVE=yes


4-Server Settings
a-ntp
		[root@vz1 ~]# yum install ntp
		[root@vz1 ~]# chkconfig --level 2345 ntpd on
		<update /etc/ntp.conf to use our server>
		server 10.107.208.1

b-sendmail
		[root@vz1 ~]# diff -u /etc/aliases.orig /etc/aliases
		--- /etc/aliases.orig   2007-02-xxx
		+++ /etc/aliases        2007-02-xxx
		@@ -97,4 +97,4 @@
		 decode:                root
		
		 # Person who should get root's mail
		-#root:         marc
		+root:          xxxx
		[root@vz1 ~]# newaliases


5-Install openvz
a-kernel
		[root@vz1 ~]# cd /etc/yum.repos.d
		[root@vz1 ~]# wget http://download.openvz.org/openvz.repo

<disable stable and enable devel repo>
		--- openvz.repo.original        2007-02-19 12:43:11.000000000 -0500
		+++ openvz.repo 2007-02-19 12:43:21.000000000 -0500
		@@ -2,7 +2,7 @@
		 name=OpenVZ stable kernel and utilities
		 #baseurl=http://download.openvz.org/current/
		 mirrorlist=http://download.openvz.org/mirrors-current
		-enabled=1
		+enabled=0
		 gpgcheck=1
		 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ
		
		@@ -10,7 +10,7 @@
		 name=OpenVZ development kernel
		 #baseurl=http://download.openvz.org/kernel/devel/current/
		 mirrorlist=http://download.openvz.org/kernel/mirrors-devel
		-enabled=0
		+enabled=1
		 gpgcheck=1
		 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ
		[root@vz1 ~]# rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ

<build latest kernel - non-openvz, upgrade to openvz test yeilds an error>
		[root@vz1 src]# yum install kernel-smp
		Setting up Install Process
		Setting up repositories
		Reading repository metadata in from local files
		Parsing package install arguments
		Resolving Dependencies
		--> Populating transaction set with selected packages. Please wait.
		---> Package kernel-smp.i686 0:2.6.18-ovz028test015.1 set to be installed
		--> Running transaction check
		--> Processing Conflict: lksctp-tools conflicts kernel >= 2.6.10
		--> Finished Dependency Resolution
		Error: lksctp-tools conflicts with kernel >= 2.6.10
		[root@vz1 ~]# cd /usr/src
		[root@vz1 src]# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.6.tar.gz
		[root@vz1 src]# tar -xvzf linux-2.6.18.6.tar.gz
		[root@vz1 src]# cd linux-2.6.18.6
		[root@vz1 linux-2.6.18.6]# cp ../kernels/2.6.9-42.0.8.EL-smp-i686/.config .
		[root@vz1 src]# make oldconfig

<accepted defaults for all new options>
		[root@vz1 src]# make all
		[root@vz1 src]# make modules_install
		[root@vz1 src]# make install

<update grub to use new kernel as default>
		[root@vz1 src]# reboot

<let's go ahead and try engaging the tape drive and see if the problem stops>
It does, good.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fedora 8 Problems
Next Topic: need 2.6.19+ kernel in debian
Goto Forum:
  


Current Time: Sun Nov 17 12:55:58 GMT 2024

Total time taken to generate the page: 0.02832 seconds