OpenVZ Forum


Home » General » Support » DL380 G2 - CCISS
Re: DL380 G2 - CCISS [message #10395 is a reply to message #10388] Sat, 17 February 2007 20:54 Go to previous messageGo to previous message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Here is an update, I've isolated where the cciss errors are thrown:

I decided to not install the hp/compaq smartstart cd, but I did attempt to enable the st[0-9] devices:
[root@vz1 ~]# cat /etc/init.d/tape_st
#!/bin/sh
#
# chkconfig: 2345 91 1
# description: Creates the st[0-9] devices for sequential access devices and
#              medium changer devices on the cciss block device
#
for x in /proc/driver/cciss/cciss[0-9]*
do
        echo "engage scsi" > $x
done
[root@vz1 ~]# chmod 755 /etc/init.d/tape_st
[root@vz1 ~]# chkconfig --add tape_st

Once I did this and rebooted the system, I see the following in /var/log/messages:
Feb 17 15:13:55 vz1 kernel: cciss0: No device changes detected.
Feb 17 15:13:55 vz1 kernel: cciss0: No appropriate SCSI device detected, SCSI subsystem not engaged.
Feb 17 15:13:55 vz1 kernel: ERROR: SCSI host `cciss' has no error handling
Feb 17 15:13:55 vz1 kernel: ERROR: This is not a safe way to run your SCSI host
Feb 17 15:13:55 vz1 kernel: ERROR: The error handling must be added to this driver
Feb 17 15:13:55 vz1 kernel:  [<f883624b>] scsi_host_alloc+0x7d/0x2b9 [scsi_mod]
Feb 17 15:13:55 vz1 kernel:  [<f88540b1>] cciss_scsi_detect+0x13/0x9a [cciss]
Feb 17 15:13:55 vz1 kernel:  [<f8854f53>] cciss_engage_scsi+0x72/0x77 [cciss]
Feb 17 15:13:55 vz1 kernel:  [<f88552d6>] cciss_proc_write+0xc1/0xd4 [cciss]
Feb 17 15:13:55 vz1 kernel:  [<c015a455>] __dentry_open+0xda/0x18f
Feb 17 15:13:55 vz1 kernel:  [<c015a319>] filp_open+0x5c/0x70
Feb 17 15:13:55 vz1 kernel:  [<c0188c9e>] proc_file_write+0x23/0x27
Feb 17 15:13:55 vz1 kernel:  [<c015afe0>] vfs_write+0xb6/0xe2
Feb 17 15:13:55 vz1 kernel:  [<c015b0aa>] sys_write+0x3c/0x62
Feb 17 15:13:55 vz1 kernel:  [<c02d48d7>] syscall_call+0x7/0xb
Feb 17 15:13:55 vz1 kernel: scsi0 : cciss
Feb 17 15:13:55 vz1 kernel:   Vendor: COMPAQ    Model: SDX-500C          Rev: 1.32
Feb 17 15:13:55 vz1 kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Feb 17 15:13:55 vz1 rc: Starting tape_st:  succeeded
Feb 17 15:13:55 vz1 scsi.agent[3201]: tape at /devices/pci0000:07/0000:07:04.0/host0/target0:0:0/0:0:0:0
Feb 17 15:13:55 vz1 anacron: anacron startup succeeded
Feb 17 15:13:55 vz1 kernel: st: Version 20040403, fixed bufsize 32768, s/g segs 256
Feb 17 15:13:55 vz1 kernel: Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0
Feb 17 15:13:55 vz1 kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 4294967295

As an extra validation, I disabled the tape_st init script:
[root@vz1 ~]# chkconfig --level 12345 tape_st off
[root@vz1 ~]# chkconfig --list|grep tape_st
tape_st         0:off   1:off   2:off   3:off   4:off   5:off   6:off


I then rebooted the system to see if /var/log/messages repeats the errors, it does not.

I then manually started the tape_st service:
[root@vz1 ~]# service tape_st start

/var/log/messages then shows the following:
Feb 17 15:26:21 vz1 kernel: cciss0: No device changes detected.
Feb 17 15:26:21 vz1 kernel: cciss0: No appropriate SCSI device detected, SCSI subsystem not engaged.
Feb 17 15:26:21 vz1 kernel: ERROR: SCSI host `cciss' has no error handling
Feb 17 15:26:21 vz1 kernel: ERROR: This is not a safe way to run your SCSI host
Feb 17 15:26:21 vz1 kernel: ERROR: The error handling must be added to this driver
Feb 17 15:26:21 vz1 kernel:  [<f883624b>] scsi_host_alloc+0x7d/0x2b9 [scsi_mod]
Feb 17 15:26:21 vz1 kernel:  [<f88540b1>] cciss_scsi_detect+0x13/0x9a [cciss]
Feb 17 15:26:21 vz1 kernel:  [<f8854f53>] cciss_engage_scsi+0x72/0x77 [cciss]
Feb 17 15:26:21 vz1 kernel:  [<f88552d6>] cciss_proc_write+0xc1/0xd4 [cciss]
Feb 17 15:26:21 vz1 kernel:  [<c015a455>] __dentry_open+0xda/0x18f
Feb 17 15:26:21 vz1 kernel:  [<c015a319>] filp_open+0x5c/0x70
Feb 17 15:26:21 vz1 kernel:  [<c0188c9e>] proc_file_write+0x23/0x27
Feb 17 15:26:21 vz1 kernel:  [<c015afe0>] vfs_write+0xb6/0xe2
Feb 17 15:26:21 vz1 kernel:  [<c015b0aa>] sys_write+0x3c/0x62
Feb 17 15:26:21 vz1 kernel:  [<c02d48d7>] syscall_call+0x7/0xb
Feb 17 15:26:21 vz1 kernel: scsi0 : cciss
Feb 17 15:26:21 vz1 kernel:   Vendor: COMPAQ    Model: SDX-500C          Rev: 1.32
Feb 17 15:26:21 vz1 kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Feb 17 15:26:21 vz1 scsi.agent[4030]: tape at /devices/pci0000:07/0000:07:04.0/host0/target0:0:0/0:0:0:0
Feb 17 15:26:21 vz1 kernel: st: Version 20040403, fixed bufsize 32768, s/g segs 256
Feb 17 15:26:22 vz1 kernel: Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0
Feb 17 15:26:22 vz1 kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 4294967295

I then rebooted into the CentOS 4.4 kernel to see if I could reproduce the output there. I am able to.

I've come to the conclusion that the cciss driver bundled with the linux kernal is not the best driver available for the device. The HP driver is provided as an rpm ( http://h18023.www1.hp.com/support/files/server/us/download/2 5360.html) but only supports a limited number of kernels. Attempting to install the rpm returns the following errors:
[root@vz1 tmp]# uname -a
Linux vz1.home.arswiki.org 2.6.9-023stab040.1-smp #1 SMP Tue Jan 16 00:54:22 MSK 2007 i686 i686 i386 GNU/Linux
[root@vz1 tmp]# rpm -ivh cpq_cciss-2.6.14-7.rhel4.i686.rpm
Preparing...                ########################################### [100%]
The currently running kernel (2.6.9-023stab040.1-smp) is not
supported by this rpm.  The supported kernels are:

2.6.9-11.EL
2.6.9-11.ELhugemem
2.6.9-11.ELsmp
2.6.9-22.EL
2.6.9-22.ELhugemem
2.6.9-22.ELsmp
2.6.9-34.EL
2.6.9-34.ELhugemem
2.6.9-34.ELsmp
2.6.9-42.0.3.EL
2.6.9-42.0.3.ELhugemem
2.6.9-42.0.3.ELsmp
2.6.9-42.EL
2.6.9-42.ELhugemem
2.6.9-42.ELsmp
2.6.9-5.0.3.EL
2.6.9-5.0.3.ELhugemem
2.6.9-5.0.3.ELsmp
2.6.9-5.EL
2.6.9-5.ELhugemem
2.6.9-5.ELsmp

Please boot into a supported kernel before installing this rpm
error: %pre(cpq_cciss-2.6.14-7.i686) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping cpq_cciss-2.6.14-7


I'm out of ideas at this point as to the best solution to this predicament. I am open to ideas.
 
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 Oct 13 13:39:00 GMT 2024

Total time taken to generate the page: 0.05990 seconds