OpenVZ Forum


Home » General » Support » DL380 G2 - CCISS
DL380 G2 - CCISS [message #10366] Fri, 16 February 2007 04:43 Go to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
/var/log/boot.log
Feb 11 13:51:10 vz1 rc: Starting cciss_scsi: succeeded

/var/log/messages:
Feb 14 17:39:33 vz1 kernel: ERROR: SCSI host `cciss' has no error handling
Feb 14 17:39:33 vz1 kernel: ERROR: This is not a safe way to run your SCSI host
Feb 14 17:39:33 vz1 kernel: ERROR: The error handling must be added to this driver
Feb 14 17:39:33 vz1 kernel: [<c02ee629>] scsi_host_alloc+0x309/0x330
Feb 14 17:39:33 vz1 kernel: [<c013c9f2>] virtinfo_notifier_call+0x52/0xa0
Feb 14 17:39:33 vz1 kernel: [<c016be0e>] handle_mm_fault+0x1be/0x260
Feb 14 17:39:33 vz1 kernel: [<c02a4c9e>] cciss_scsi_detect+0x1e/0xc0
Feb 14 17:39:33 vz1 kernel: [<c02a5f99>] cciss_engage_scsi+0x59/0x90
Feb 14 17:39:33 vz1 kernel: [<c02a6418>] cciss_proc_write+0xc8/0x110
Feb 14 17:39:33 vz1 kernel: [<c016de81>] do_mmap_pgoff+0x551/0x890
Feb 14 17:39:33 vz1 kernel: [<c017d9e6>] vfs_write+0x116/0x160
Feb 14 17:39:33 vz1 kernel: [<c017db01>] sys_write+0x51/0x80
Feb 14 17:39:33 vz1 kernel: [<c04e3dfb>] syscall_call+0x7/0xb
Feb 14 17:39:33 vz1 kernel: scsi0 : cciss
Feb 14 17:39:33 vz1 kernel: Vendor: COMPAQ Model: SDX-500C Rev: 1.32
Feb 14 17:39:33 vz1 kernel: Type: Sequential-Access ANSI SCSI revision: 02
Feb 14 17:39:34 vz1 scsi.agent[8434]: tape at /devices/pci0000:07/0000:07:04.0/host0/target0:0:0/0:0:0:0
Feb 14 17:39:34 vz1 kernel: st: Version 20040403, fixed bufsize 32768, s/g segs 256
Feb 14 17:39:34 vz1 kernel: Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0
Feb 14 17:39:34 vz1 kernel: st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA 4294967295
Feb 14 17:39:34 vz1 rc: Starting cciss_scsi: succeeded

The steps taken when building this server:
- install CentOS 4.4 (minimal)
- Install Compaq SmartStart 7.7
- builds some drivers using the kernel sources
- Install OpenVZ:
- yum install ovzkernel-smp
- Throws: WARNING: No module cciss found for kernel 2.6.9-023stab040.1-smp, continuing anyway

Now when booting the host, I receive the above errors from messages. Am I missing something? Should I have installed the SmartStart drivers using the openvz kernel?

Thanks,
Axton Grams
Re: DL380 G2 - CCISS [message #10368 is a reply to message #10366] Fri, 16 February 2007 07:02 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

Quote:


The steps taken when building this server:
- install CentOS 4.4 (minimal)
- Install Compaq SmartStart 7.7
- builds some drivers using the kernel sources
- Install OpenVZ:
- yum install ovzkernel-smp
- Throws: WARNING: No module cciss found for kernel 2.6.9-023stab040.1-smp, continuing anyway



There is a strange thing in your post. The step of "building some drivers using the kernel sources" goes before the step of "installing ovzkernel-smp". Drivers are always build against certain version of kernel. So, I guess, you should build them after ovz kernel is installed (and booted?)

However this doesn't explain the error...

Can you tell me, please, does CentOS 4.4 kernel with no additional drivers boot normally?

Thanks.

[Updated on: Fri, 16 February 2007 07:13]

Report message to a moderator

Re: DL380 G2 - CCISS [message #10378 is a reply to message #10368] Fri, 16 February 2007 14:02 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Also, please, try "noapic" option for the kernel.
Re: DL380 G2 - CCISS [message #10382 is a reply to message #10368] Fri, 16 February 2007 18:03 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Vasily Tarasov wrote on Fri, 16 February 2007 02:02

Hello,

There is a strange thing in your post. The step of "building some drivers using the kernel sources" goes before the step of "installing ovzkernel-smp". Drivers are always build against certain version of kernel. So, I guess, you should build them after ovz kernel is installed (and booted?)

However this doesn't explain the error...

Can you tell me, please, does CentOS 4.4 kernel with no additional drivers boot normally?

Thanks.


The CentOS kernel does boot normally without the compaq drivers in place, though the devices are not fully functional (there is a tape drive attached to the scsi bus).

Chances are I need to start over and run the compaq smartstart installation, which builds the compaq drivers, after the openvz kernel is in place. I will do this tonight and post the results.
Re: DL380 G2 - CCISS [message #10383 is a reply to message #10378] Fri, 16 February 2007 18:04 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Vasily Tarasov wrote on Fri, 16 February 2007 09:02

Also, please, try "noapic" option for the kernel.



After I rebuild the machine, compiling the compaq drivers using the openvz kernel sources, I will try this if the issue persists.
Re: DL380 G2 - CCISS [message #10385 is a reply to message #10366] Fri, 16 February 2007 23:45 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
For reference, this is the output with the stock CentOS 4.4 kernel:

Feb 16 18:40:10 vz1 kernel: HP CISS Driver (v 2.6.10.RH1)
Feb 16 18:40:10 vz1 kernel: cciss: using DAC cycles
Feb 16 18:40:10 vz1 kernel: cciss: using DAC cycles
Feb 16 18:40:10 vz1 kernel: blocks= 284522880 block_size= 512
Feb 16 18:40:10 vz1 kernel: heads= 255, sectors= 32, cylinders= 34868
Feb 16 18:40:10 vz1 kernel:
Feb 16 18:40:10 vz1 kernel: blocks= 284522880 block_size= 512
Feb 16 18:40:10 vz1 kernel: heads= 255, sectors= 32, cylinders= 34868
Feb 16 18:40:10 vz1 kernel:
Feb 16 18:40:10 vz1 kernel: cciss/c1d0: p1 p2
Re: DL380 G2 - CCISS [message #10388 is a reply to message #10366] Sat, 17 February 2007 02:18 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Here are the results of the reinstall. Still get the warning that the cciss module does not exist when installing the openvz kernel. I need the cciss driver to use my tape drive.

0-Install CentOS 4.4
from /var/log/messages
Feb 16 18:40:10 vz1 syslogd 1.4.1: restart.
Feb 16 18:40:10 vz1 syslog: syslogd startup succeeded
Feb 16 18:40:10 vz1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Feb 16 18:40:10 vz1 kernel: Linux version 2.6.9-42.ELsmp (buildcentos@build-i386) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Sat Aug 12 09:39:11 CDT 2006
Feb 16 18:40:10 vz1 kernel: BIOS-provided physical RAM map:
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 0000000000100000 - 000000008fffc000 (usable)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 000000008fffc000 - 0000000090000000 (ACPI data)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
Feb 16 18:40:10 vz1 kernel: BIOS-e820: 00000000ffc00000 - 0000000100000000 (reserved)
Feb 16 18:40:10 vz1 kernel: 1407MB HIGHMEM available.
Feb 16 18:40:10 vz1 kernel: 896MB LOWMEM available.
Feb 16 18:40:10 vz1 kernel: found SMP MP-table at 000f4fd0
Feb 16 18:40:10 vz1 kernel: Using x86 segment limits to approximate NX protection
Feb 16 18:40:10 vz1 syslog: klogd startup succeeded
Feb 16 18:40:10 vz1 kernel: DMI 2.3 present.
Feb 16 18:40:10 vz1 kernel: Compaq ProLiant DL380 G2 detected: force use of acpi=ht
Feb 16 18:40:10 vz1 kernel: Using APIC driver default
Feb 16 18:40:10 vz1 kernel: ACPI: PM-Timer IO Port: 0x240
Feb 16 18:40:10 vz1 kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Feb 16 18:40:10 vz1 kernel: Processor #0 6:11 APIC version 17
Feb 16 18:40:10 vz1 kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
Feb 16 18:40:10 vz1 kernel: ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
Feb 16 18:40:10 vz1 kernel: ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Feb 16 18:40:10 vz1 kernel: Processor #3 6:11 APIC version 17
Feb 16 18:40:10 vz1 kernel: ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
Feb 16 18:40:10 vz1 kernel: Enabling APIC mode: Flat. Using 0 I/O APICs
Feb 16 18:40:10 vz1 kernel: Using ACPI for processor (LAPIC) configuration information
Feb 16 18:40:10 vz1 kernel: Intel MultiProcessor Specification v1.4
Feb 16 18:40:10 vz1 kernel: Virtual Wire compatibility mode.
Feb 16 18:40:10 vz1 kernel: OEM ID: COMPAQ Product ID: PROLIANT APIC at: 0xFEE00000
Feb 16 18:40:10 vz1 kernel: I/O APIC #8 Version 17 at 0xFEC00000.
Feb 16 18:40:10 vz1 kernel: I/O APIC #2 Version 17 at 0xFEC01000.
Feb 16 18:40:10 vz1 kernel: Enabling APIC mode: Flat. Using 2 I/O APICs
Feb 16 18:40:10 vz1 kernel: Processors: 2
Feb 16 18:40:10 vz1 kernel: Allocating PCI resources starting at 98000000 (gap: 90000000:6ec00000)
Feb 16 18:40:10 vz1 kernel: Built 1 zonelists
Feb 16 18:40:10 vz1 kernel: Kernel command line: ro root=/dev/VolGroup00/LogVol00
Feb 16 18:40:10 vz1 kernel: Initializing CPU#0
Feb 16 18:40:10 vz1 kernel: CPU 0 irqstacks, hard=c03ee000 soft=c03ce000
Feb 16 18:40:10 vz1 kernel: PID hash table entries: 4096 (order: 12, 65536 bytes)
Feb 16 18:40:10 vz1 kernel: Detected 1397.241 MHz processor.
Feb 16 18:40:10 vz1 kernel: Using pmtmr for high-res timesource
Feb 16 18:40:10 vz1 kernel: Console: colour VGA+ 80x25
Feb 16 18:40:10 vz1 kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Feb 16 18:40:10 vz1 kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Feb 16 18:40:10 vz1 kernel: Memory: 2333144k/2359280k available (1876k kernel code, 25112k reserved, 759k data, 184k init, 1441776k highmem)
Feb 16 18:40:10 vz1 kernel: Calibrating delay using timer specific routine.. 2796.70 BogoMIPS (lpj=1398354)
Feb 16 18:40:10 vz1 kernel: Security Scaffold v1.0.0 initialized
Feb 16 18:40:10 vz1 kernel: SELinux: Initializing.
Feb 16 18:40:10 vz1 kernel: SELinux: Starting in permissive mode
Feb 16 18:40:10 vz1 kernel: There is already a security framework initialized, register_security failed.
Feb 16 18:40:10 vz1 kernel: selinux_register_security: Registering secondary module capability
Feb 16 18:40:10 vz1 kernel: Capability LSM initialized as secondary
Feb 16 18:40:10 vz1 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Feb 16 18:40:10 vz1 kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Feb 16 18:40:10 vz1 kernel: CPU: L2 cache: 512K
Feb 16 18:40:10 vz1 kernel: Intel machine check architecture supported.
Feb 16 18:40:10 vz1 kernel: Intel machine check reporting enabled on CPU#0.
Feb 16 18:40:10 vz1 kernel: Enabling fast FPU save and restore... done.
Feb 16 18:40:10 vz1 kernel: Enabling unmasked SIMD FPU exception support... done.
Feb 16 18:40:10 vz1 kernel: Checking 'hlt' instruction... OK.
Feb 16 18:40:10 vz1 kernel: CPU0: Intel(R) Pentium(R) III CPU family 1400MHz stepping 01
Feb 16 18:40:10 vz1 kernel: per-CPU timeslice cutoff: 1462.58 usecs.
Feb 16 18:40:10 vz1 kernel: task migration cache decay timeout: 2 msecs.
Feb 16 18:40:10 vz1 kernel: Booting processor 1/0 eip 3000
Feb 16 18:40:10 vz1 kernel: CPU 1 irqstacks, hard=c03ef000 soft=c03cf000
Feb 16 18:40:10 vz1 kernel: Initializing CPU#1
Feb 16 18:40:10 vz1 kernel: Calibrating delay using timer specific routine.. 2792.55 BogoMIPS (lpj=1396277)
Feb 16 18:40:10 vz1 kernel: CPU: L1 I cache: 16K, L1 D cache: 16K
Feb 16 18:40:10 vz1 kernel: CPU: L2 cache: 512K
Feb 16 18:40:10 vz1 kernel: Intel machine check architecture supported.
Feb 16 18:40:10 vz1 kernel: Intel machine check reporting enabled on CPU#1.
Feb 16 18:40:10 vz1 kernel: CPU1: Intel(R) Pentium(R) III CPU family 1400MHz stepping 01
Feb 16 18:40:10 vz1 kernel: Total of 2 processors activated (5589.26 BogoMIPS).
Feb 16 18:40:10 vz1 kernel: ENABLING IO-APIC IRQs
Feb 16 18:40:10 vz1 kernel: ..TIMER: vector=0x31 pin1=2 pin2=0
Feb 16 18:40:10 vz1 kernel: ..MP-BIOS bug: 8254 timer not connected to IO-APIC
Feb 16 18:40:10 vz1 kernel: ...trying to set up timer (IRQ0) through the 8259A ...
Feb 16 18:40:10 vz1 kernel: ..... (found pin 0) ...works.
Feb 16 18:40:10 vz1 kernel: checking TSC synchronization across 2 CPUs: passed.
Feb 16 18:40:10 vz1 kernel: Brought up 2 CPUs
Feb 16 18:40:10 vz1 kernel: zapping low mappings.
Feb 16 18:40:10 vz1 kernel: checking if image is initramfs... it is
Feb 16 18:40:10 vz1 kernel: Freeing initrd memory: 1097k freed
Feb 16 18:40:10 vz1 kernel: NET: Registered protocol family 16
Feb 16 18:40:10 vz1 kernel: PCI: PCI BIOS revision 2.10 entry at 0xf0094, last bus=10
Feb 16 18:40:10 vz1 kernel: PCI: Using configuration type 1
Feb 16 18:40:10 vz1 kernel: mtrr: v2.0 (20020519)
Feb 16 18:40:10 vz1 kernel: mtrr: your CPUs had inconsistent fixed MTRR settings
Feb 16 18:40:10 vz1 kernel: mtrr: probably your BIOS does not setup all CPUs.
Feb 16 18:40:10 vz1 kernel: mtrr: corrected configuration.
Feb 16 18:40:10 vz1 kernel: ACPI: Subsystem revision 20040816
Feb 16 18:40:10 vz1 kernel: ACPI: Interpreter disabled.
Feb 16 18:40:10 vz1 kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Feb 16 18:40:10 vz1 kernel: usbcore: registered new driver usbfs
Feb 16 18:40:10 vz1 kernel: usbcore: registered new driver hub
Feb 16 18:40:10 vz1 kernel: PCI: Probing PCI hardware
Feb 16 18:40:10 vz1 kernel: PCI: Probing PCI hardware (bus 00)
Feb 16 18:40:10 vz1 kernel: PCI: Discovered peer bus 07
Feb 16 18:40:10 vz1 kernel: PCI: Device 00:00 not found by BIOS
Feb 16 18:40:10 vz1 kernel: PCI: Device 00:01 not found by BIOS
Feb 16 18:40:10 vz1 kernel: PCI: Device 00:02 not found by BIOS
Feb 16 18:40:10 vz1 kernel: PCI: Device 00:03 not found by BIOS
Feb 16 18:40:10 vz1 kernel: PCI: Device 00:78 not found by BIOS
Feb 16 18:40:10 vz1 kernel: apm: BIOS not found.
Feb 16 18:40:10 vz1 kernel: audit: initializing netlink socket (disabled)
Feb 16 18:40:10 vz1 kernel: audit(1171651188.085:1): initialized
Feb 16 18:40:10 vz1 kernel: highmem bounce pool size: 64 pages
Feb 16 18:40:10 vz1 kernel: Total HugeTLB memory allocated, 0
Feb 16 18:40:10 vz1 kernel: VFS: Disk quotas dquot_6.5.1
Feb 16 18:40:10 vz1 kernel: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Feb 16 18:40:10 vz1 kernel: SELinux: Registering netfilter hooks
Feb 16 18:40:10 vz1 kernel: Initializing Cryptographic API
Feb 16 18:40:10 vz1 kernel: ksign: Installing public key data
Feb 16 18:40:10 vz1 kernel: Loading keyring
Feb 16 18:40:10 vz1 kernel: - Added public key 10EA8AC2C8019830
Feb 16 18:40:10 vz1 kernel: - User ID: CentOS (Kernel Module GPG key)
Feb 16 18:40:10 vz1 kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Feb 16 18:40:10 vz1 kernel: Real Time Clock Driver v1.12
Feb 16 18:40:10 vz1 kernel: Linux agpgart interface v0.100 (c) Dave Jones
Feb 16 18:40:10 vz1 kernel: agpgart: Maximum main memory to use for agp memory: 2170M
Feb 16 18:40:10 vz1 kernel: agpgart: unable to determine aperture size.
Feb 16 18:40:10 vz1 kernel: agpgart: agp_backend_initialize() failed.
Feb 16 18:40:10 vz1 kernel: agpgart-serverworks: probe of 0000:00:00.0 failed with error -22
Feb 16 18:40:10 vz1 kernel: agpgart: Maximum main memory to use for agp memory: 2170M
Feb 16 18:40:10 vz1 kernel: agpgart: unable to determine aperture size.
Feb 16 18:40:10 vz1 kernel: agpgart: agp_backend_initialize() failed.
Feb 16 18:40:10 vz1 kernel: agpgart-serverworks: probe of 0
...

Re: DL380 G2 - CCISS [message #10395 is a reply to message #10388] Sat, 17 February 2007 20:54 Go to previous messageGo to next 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.
Re: DL380 G2 - CCISS [message #10448 is a reply to message #10395] Mon, 19 February 2007 11:32 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Thank you for the information.

I want to ask you for a few services:

1) please, do
# lspci
# lspci -n
and post output to us.
2) I still don't understand one thing. After the warnings, does the device in question work properly for you or not?
3) If it is possible, please install 028test015 kernel and check, does the warnings persist and does the device work.

We'll appreciate it very much,
Thanks in advance!
Re: DL380 G2 - CCISS [message #10466 is a reply to message #10448] Mon, 19 February 2007 15:43 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Vasily Tarasov wrote on Mon, 19 February 2007 06:32

Thank you for the information.

I want to ask you for a few services:

1) please, do
# lspci
# lspci -n
and post output to us.
2) I still don't understand one thing. After the warnings, does the device in question work properly for you or not?
3) If it is possible, please install 028test015 kernel and check, does the warnings persist and does the device work.

We'll appreciate it very much,
Thanks in advance!


1)
[root@vz1 ~]# lspci
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23)
00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:01.0 RAID bus controller: Compaq Computer Corporation Smart Array 5i/532 (rev 01)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:06.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 51)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
07:04.0 RAID bus controller: Compaq Computer Corporation Smart Array 5300 Controller (rev 02)
07:07.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 12)

2)
[root@vz1 ~]# lspci -n
00:00.0 Class 0600: 1166:0008 (rev 23)
00:00.1 Class 0600: 1166:0008 (rev 01)
00:00.2 Class 0600: 1166:0006 (rev 01)
00:00.3 Class 0600: 1166:0006 (rev 01)
00:01.0 Class 0104: 0e11:b178 (rev 01)
00:02.0 Class 0200: 8086:1229 (rev 08)
00:04.0 Class 0200: 8086:1229 (rev 08)
00:05.0 Class 0300: 1002:4752 (rev 27)
00:06.0 Class 0880: 0e11:a0f0
00:0f.0 Class 0601: 1166:0200 (rev 51)
00:0f.1 Class 0101: 1166:0211
00:0f.2 Class 0c03: 1166:0220 (rev 04)
07:04.0 Class 0104: 0e11:b060 (rev 02)
07:07.0 Class 0804: 0e11:a0f7 (rev 12)

3) I will install 028test015 and post the results.

The device seems to work ok, but I read some other threads on the net that stated system instability, though a resolution was never posted on those sites.
Re: DL380 G2 - CCISS [message #10468 is a reply to message #10448] Mon, 19 February 2007 15:51 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
I noticed that the hp initrd created by the compaq smartstart includes the following kernel modules:
-rw-r--r--   1 root root  78232 Feb 17 17:24 cciss.ko
-rw-r--r--   1 root root  37916 Feb 17 17:24 dm-mirror.ko
-rw-r--r--   1 root root  71532 Feb 17 17:24 dm-mod.ko
-rw-r--r--   1 root root  25340 Feb 17 17:24 dm-snapshot.ko
-rw-r--r--   1 root root   7952 Feb 17 17:24 dm-zero.ko
-rw-r--r--   1 root root 140604 Feb 17 17:24 ext3.ko
-rw-r--r--   1 root root  74864 Feb 17 17:24 jbd.ko
-rw-r--r--   1 root root 148944 Feb 17 17:24 scsi_mod.ko
-rw-r--r--   1 root root  24620 Feb 17 17:24 sd_mod.ko

Not sure what most of these are or if they are needed. When comparing the CentOS and OpenVZ kernel .config's, it would appear that the CentOS build compiles scsi support as a module whereas OpenVZ compiles it into the kernel.

One other small bit, I downloaded the cciss driver src rpm from sourceforge (http://sourceforge.net/projects/cciss/) and compiled a binary rpm, updated the openvz initrd to include the cciss.ko module, but still see the same.
# cd /usr/source/redhat/SPECS
# rpmbuild -bb cciss.spec
# rpm -Uhv --replacefiles /usr/src/redhat/RPMS/i386/cpq_cciss-2.6.14-7.i386.rpm
<update openvz initrd, include cciss.ko in lib and update init to do insmod>

Re: DL380 G2 - CCISS [message #10477 is a reply to message #10448] Mon, 19 February 2007 19:12 Go to previous messageGo to next 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.
Re: DL380 G2 - CCISS [message #10479 is a reply to message #10477] Mon, 19 February 2007 20:07 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
An update. Missed adding the bond module to /etc/modprobe.conf, that is why the network interfaces did not come up. Fixed that an installed the 2.6.18-ovz028test015.1-smp kernel. Bad news is that I get no output to /var/log/messages with the test kernel; no errors, no nothing. I am going to try buliding the cciss 3.6.10 driver with the latest stable kernel now.

The device is engaged using the following:
[root@vz1 tmp]# echo "engage scsi" > /proc/driver/cciss/cciss0
[root@vz1 tmp]# echo "engage scsi" > /proc/driver/cciss/cciss1


As requested in the original post, here is the output of lspci:
[root@vz1 tmp]# lspci
00:00.0 Host bridge: Broadcom CNB20HE Host Bridge (rev 23)
00:00.1 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:00.2 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:00.3 Host bridge: Broadcom CNB20HE Host Bridge (rev 01)
00:01.0 RAID bus controller: Compaq Computer Corporation Smart Array 5i/532 (rev 01)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:04.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
00:05.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:06.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 51)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 04)
07:04.0 RAID bus controller: Compaq Computer Corporation Smart Array 5300 Controller (rev 02)
07:07.0 PCI Hot-plug controller: Compaq Computer Corporation PCI Hotplug Controller (rev 12)


and lspci -n:
00:00.0 Class 0600: 1166:0008 (rev 23)
00:00.1 Class 0600: 1166:0008 (rev 01)
00:00.2 Class 0600: 1166:0006 (rev 01)
00:00.3 Class 0600: 1166:0006 (rev 01)
00:01.0 Class 0104: 0e11:b178 (rev 01)
00:02.0 Class 0200: 8086:1229 (rev 08)
00:04.0 Class 0200: 8086:1229 (rev 08)
00:05.0 Class 0300: 1002:4752 (rev 27)
00:06.0 Class 0880: 0e11:a0f0
00:0f.0 Class 0601: 1166:0200 (rev 51)
00:0f.1 Class 0101: 1166:0211
00:0f.2 Class 0c03: 1166:0220 (rev 04)
07:04.0 Class 0104: 0e11:b060 (rev 02)
07:07.0 Class 0804: 0e11:a0f7 (rev 12)


lsmod:
[root@vz1 tmp]# lsmod
Module                  Size  Used by
parport_pc             26660  0
lp                      8740  0
parport                20704  2 parport_pc,lp
autofs4                19428  0
af_packet              17672  2
ipt_REJECT              4128  1
xt_state                1760  2
ip_conntrack           48172  1 xt_state
xt_tcpudp               3168  3
iptable_filter          3456  1
ip_tables              12952  1 iptable_filter
x_tables               13092  4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
thermal                11176  0
processor              16140  1 thermal
fan                     3556  0
button                  4976  0
battery                 7876  0
asus_acpi              13912  0
ac                      3620  0
ohci_hcd               19684  0
usbcore               119076  2 ohci_hcd
i2c_piix4               7372  0
i2c_core               17248  1 i2c_piix4
e100                   32936  0
mii                     5056  1 e100
bonding                85688  0
floppy                 57540  0
ide_cd                 38916  0
cdrom                  40544  1 ide_cd

Here is a transcript of the vz test kernel:
<let's go ahead and try engaging the tape drive and see if the problem stops, It does, good.>
Feb 19 14:21:22 vz1 kernel: HP CISS Driver (v 3.6.10)
Feb 19 14:21:22 vz1 kernel: ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 169
Feb 19 14:21:22 vz1 kernel: cciss0: <0xb178> at PCI 0000:00:01.0 IRQ 169 using DAC
Feb 19 14:21:22 vz1 kernel: ACPI: PCI Interrupt 0000:07:04.0[A] -> GSI 29 (level, low) -> IRQ 177
Feb 19 14:21:22 vz1 kernel: cciss1: <0xb060> at PCI 0000:07:04.0 IRQ 177 using DAC
Feb 19 14:21:22 vz1 kernel:       blocks= 284522880 block_size= 512
Feb 19 14:21:22 vz1 kernel:       heads= 255, sectors= 32, cylinders= 34868
Feb 19 14:21:22 vz1 kernel:
Feb 19 14:21:22 vz1 kernel:       blocks= 284522880 block_size= 512
Feb 19 14:21:22 vz1 kernel:       heads= 255, sectors= 32, cylinders= 34868
Feb 19 14:21:22 vz1 kernel:
Feb 19 14:21:22 vz1 kernel:  cciss/c1d0: p1 p2
...
Feb 19 14:26:58 vz1 kernel: cciss0: No device changes detected.
Feb 19 14:26:58 vz1 kernel: cciss0: No appropriate SCSI device detected, SCSI subsystem not engaged.
Feb 19 14:26:58 vz1 kernel: scsi0 : cciss
Feb 19 14:26:58 vz1 kernel:   Vendor: COMPAQ    Model: SDX-500C          Rev: 1.32
Feb 19 14:26:58 vz1 kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Feb 19 14:26:58 vz1 scsi.agent[3654]: tape at /devices/pci0000:07/0000:07:04.0/host0/target0:0:0/0:0:0:0
Feb 19 14:26:58 vz1 kernel: st: Version 20050830, fixed bufsize 32768, s/g segs 256
Feb 19 14:26:58 vz1 kernel: st 0:0:0:0: Attached scsi tape st0
Feb 19 14:26:58 vz1 kernel: st0: try direct i/o: yes (alignment 512 B)
[root@vz1 ~]# rpm -e lksctp-tools lksctp-tools-devel
[root@vz1 ~]# yum install kernel-smp
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel-smp              i686       2.6.18-ovz028test015.1  openvz-kernel-devel   13 M

Transaction Summary
=============================================================================
WARNING: No module cciss found for kernel 2.6.18-ovz028test015.1-smp, continuing anyway
<update grub to use new kernel as default>
[root@vz1 src]# reboot
[root@vz1 ~]# uname -a
Linux vz1.home.arswiki.org 2.6.18-ovz028test015.1-smp #1 SMP Fri Feb 2 13:48:19 MSK 2007 i686 i686 i386 GNU/Linux
<from /var/log/messages>
Feb 19 14:29:56 vz1 kernel: cciss1: <0xb060> at PCI 0000:07:04.0 IRQ 17 using DAC
Feb 19 14:29:56 vz1 kernel:       blocks= 284522880 block_size= 512
Feb 19 14:29:56 vz1 kernel:       heads= 255, sectors= 32, cylinders= 34868
Feb 19 14:29:56 vz1 kernel:
Feb 19 14:29:56 vz1 kernel:       blocks= 284522880 block_size= 512
Feb 19 14:29:56 vz1 kernel:       heads= 255, sectors= 32, cylinders= 34868
Feb 19 14:29:56 vz1 kernel:
Feb 19 14:29:56 vz1 kernel:  cciss/c1d0: p1 p2
<let's go ahead and try engaging the tape drive and see if the problem stops.  There is no output to /var/log/messages>


For reference, this is the messages file for the vz test kernel:
[root@vz1 ~]# cat /var/log/messages

Feb 19 14:50:53 vz1 shutdown: shutting down for system reboot
Feb 19 14:50:53 vz1 init: Switching to runlevel: 6
Feb 19 14:50:54 vz1 cups-config-daemon: cups-config-daemon -TERM succeeded
Feb 19 14:50:54 vz1 haldaemon: haldaemon shutdown failed
Feb 19 14:50:54 vz1 messagebus: messagebus -TERM succeeded
Feb 19 14:50:54 vz1 atd: atd shutdown succeeded
Feb 19 14:50:54 vz1 cups: cupsd shutdown succeeded
Feb 19 14:50:54 vz1 sshd: sshd -TERM succeeded
Feb 19 14:50:55 vz1 sendmail: sendmail shutdown succeeded
Feb 19 14:50:55 vz1 sendmail: sm-client shutdown succeeded
Feb 19 14:50:55 vz1 smartd: smartd shutdown failed
Feb 19 14:50:55 vz1 acpid: acpid shutdown succeeded
Feb 19 14:50:55 vz1 crond: crond shutdown succeeded
Feb 19 14:50:55 vz1 ntpd[8412]: ntpd exiting on signal 15
Feb 19 14:50:55 vz1 ntpd: ntpd shutdown succeeded
Feb 19 14:50:55 vz1 irqbalance: irqbalance shutdown succeeded
Feb 19 14:50:55 vz1 kernel: Kernel logging (proc) stopped.
Feb 19 14:50:55 vz1 kernel: Kernel log daemon terminating.
Feb 19 14:50:56 vz1 syslog: klogd shutdown succeeded
Feb 19 14:50:56 vz1 exiting on signal 15
Feb 19 14:52:47 vz1 syslogd 1.4.1: restart.
Feb 19 14:52:47 vz1 syslog: syslogd startup succeeded
Feb 19 14:52:47 vz1 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Feb 19 14:52:47 vz1 kernel: Linux version 2.6.18-ovz028test015.1-smp (root@centos-32-build) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Fri Feb 2 13:48:19 MSK 2007
Feb 19 14:52:47 vz1 kernel: BIOS-provided physical RAM map:
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 0000000000100000 - 000000008fffc000 (usable)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 000000008fffc000 - 0000000090000000 (ACPI data)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
Feb 19 14:52:47 vz1 kernel:  BIOS-e820: 00000000ffc00000 - 0000000100000000 (reserved)
Feb 19 14:52:47 vz1 kernel: 1407MB HIGHMEM available.
Feb 19 14:52:47 vz1 kernel: 896MB LOWMEM available.
Feb 19 14:52:47 vz1 kernel: found SMP MP-table at 000f4fd0
Feb 19 14:52:47 vz1 kernel: DMI 2.3 present.
Feb 19 14:52:47 vz1 syslog: klogd startup succeeded
Feb 19 14:52:47 vz1 kernel: ACPI: PM-Timer IO Port: 0x240
Feb 19 14:52:47 vz1 kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Feb 19 14:52:47 vz1 kernel: Processor #0 6:11 APIC version 17
Feb 19 14:52:47 vz1 kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
Feb 19 14:52:47 vz1 kernel: ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
Feb 19 14:52:47 vz1 kernel: ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Feb 19 14:52:47 vz1 kernel: Processor #3 6:11 APIC version 17
Feb 19 14:52:47 vz1 kernel: ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
Feb 19 14:52:47 vz1 kernel: ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
Feb 19 14:52:47 vz1 kernel: IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-15
Feb 19 14:52:47 vz1 kernel: ACPI:
...

Re: DL380 G2 - CCISS [message #10492 is a reply to message #10479] Mon, 19 February 2007 21:33 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
gramsa49 wrote on Mon, 19 February 2007 15:07

...
I am going to try buliding the cciss 3.6.10 driver with the latest stable kernel now.
...
Axton Grams


Unfortunately, it looks like neither the 3.6.10 or 3.6.14 cciss driver will build against the 2.6.9-023stab040.1-smp kernel. It looks like there were some updates in this area in the 2.6.16 or 13 kernel that this driver needs. See http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-11/6682 .html

Not too relavent, but the compile errors
make[1]: Entering directory `/lib/modules/2.6.9-023stab040.1-smp/build'
  CC [M]  /usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.o
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:229: error: unknown field `getgeo' specified in initializer
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:229: warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:396: warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:397: warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:398: warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c: In function `cciss_softirq_done':
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:1312: error: structure has no member named `completion_data'
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:1338: error: too many arguments to function `end_that_request_last'
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c: In function `cciss_update_drive_info':
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:1434: warning: implicit declaration of function `blk_queue_softirq_done'
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c: In function `cciss_geometry_inquiry':
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:2042: warning: long long int format, different type arg (arg 4)
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:2042: warning: long long int format, different type arg (arg 4)
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c: In function `pollcomplete':
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:2173: warning: implicit declaration of function `schedule_timeout_uninterruptible'
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c: In function `complete_command':
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:2562: error: structure has no member named `completion_data'
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:2564: warning: implicit declaration of function `blk_complete_request'
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c: At top level:
/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.c:185: warning: 'revalidate_allvol' declared `static' but never defined
make[2]: *** [/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block/cciss.o] Error 1
make[1]: *** [_module_/usr/src/redhat/BUILD/cpq_cciss-3.6.14/drivers/block] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-023stab040.1-smp/build'
make: *** [cciss.ko] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89462 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.89462 (%build)
Re: DL380 G2 - CCISS [message #10509 is a reply to message #10492] Tue, 20 February 2007 06:34 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

So, as far as I understand from your posts, on 2.6.18 OpenVZ kernels there is no problem with your device, am I right?

Thanks,
Vasily
Re: DL380 G2 - CCISS [message #10525 is a reply to message #10509] Tue, 20 February 2007 14:37 Go to previous messageGo to next message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
Vasily Tarasov wrote on Tue, 20 February 2007 01:34

Hello,

So, as far as I understand from your posts, on 2.6.18 OpenVZ kernels there is no problem with your device, am I right?

Thanks,
Vasily


On the 2.6.18 stock kernel (from kernel.org), the device engages properly and works fine. On the 2.6.18 OpenVZ kernel, the device will not register/engage.

Axton Grams
Re: DL380 G2 - CCISS [message #23067 is a reply to message #10525] Sun, 11 November 2007 19:01 Go to previous message
gramsa49 is currently offline  gramsa49
Messages: 17
Registered: February 2007
Junior Member
As an update to this thread, for the sake of posterity, things are working well these days.

[root@vz1 ~]# uname -a
Linux vz1.home.arswiki.org 2.6.18-8.1.15.el5.028stab047.1ent #1 SMP Tue Oct 23 16:11:08 MSD 2007 i686 i686 i386 GNU/Linux


From /var/log/messages:
Nov  9 23:53:29 vz1 kernel: cciss0: No appropriate SCSI device detected, SCSI subsystem not engaged.
Nov  9 23:53:29 vz1 kernel: scsi0 : cciss
Nov  9 23:53:29 vz1 kernel:   Vendor: COMPAQ    Model: SDX-500C          Rev: 1.32
Nov  9 23:53:29 vz1 kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Nov  9 23:53:29 vz1 kernel: scsi 0:0:0:0: Attached scsi generic sg0 type 1
Nov  9 23:53:29 vz1 rc: Starting tape_st:  succeeded
Nov  9 23:53:29 vz1 scsi.agent[12320]: tape at /devices/pci0000:07/0000:07:04.0/host0/target0:0:0/0:0:0:0
Nov  9 23:53:29 vz1 kernel: st: Version 20050830, fixed bufsize 32768, s/g segs 256
Nov  9 23:53:29 vz1 kernel: st 0:0:0:0: Attached scsi tape st0
Nov  9 23:53:29 vz1 kernel: st0: try direct i/o: yes (alignment 512 B)


Thanks,
Axton Grams
Previous Topic: Fedora 8 Problems
Next Topic: need 2.6.19+ kernel in debian
Goto Forum:
  


Current Time: Sun Nov 17 14:51:42 GMT 2024

Total time taken to generate the page: 0.02917 seconds