Hello,
On pve5.3 and pve6.2 we experience many disk errors with p840 hardware disk controller and hpsa module version 3.4.20.170 and fewer.
Randomly the driver do not respond to IO requests which results in disk reset.
a higher version (3.4.20.188) of hpsa seems to fix the pb.
https://sourceforge.net/projects/cciss/files/hpsa-3.0-tarballs/
To test this version we need to compile the appropriate hpsa module.
Steps:
# apt-get update ; apt-get install pve-headers-5.4.78-2-pve
# apt-get install dkms build-essential
# tar xjvf hpsa-3.4.20-188.tar.bz2
# cd hpsa-3.4.20/drivers/
# sudo cp -a scsi /usr/src/hpsa-3.4.20.188
# dkms add -m hpsa -v 3.4.20.188
# dkms build -m hpsa -v 3.4.20.188
# dkms install -m hpsa -v 3.4.20.188
dkms build return an error :
DKMS make.log for hpsa-3.4.20.188 for kernel 5.4.78-2-pve (x86_64)
Mon 11 Jan 2021 03:44:36 PM CET
make: *** No targets. Stop.
I have already tested to compil hpsa 3.4.20.196 version
dkms build return an error :
DKMS make.log for hpsa-3.4.20.196 for kernel 5.4.78-2-pve (x86_64)
Mon 11 Jan 2021 04:27:23 PM CET
make -C /lib/modules/5.4.78-2-pve/build M=/var/lib/dkms/hpsa/3.4.20.196/build EXTRA_CFLAGS+=-D modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.78-2-pve'
CC [M] /var/lib/dkms/hpsa/3.4.20.196/build/hpsa.o
<command-line>: error: macro names must be identifiers
In file included from /var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:61:
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h: In function ‘hpsa_compat_init_scsi_host_template’:
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h:958:7: error: ‘struct scsi_host_template’ has no member named ‘use_clustering’
hostt->use_clustering = ENABLE_CLUSTERING;
^~
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h:958:26: error: ‘ENABLE_CLUSTERING’ undeclared (first use in this function); did you mean ‘APIC_CLUSTERID’?
hostt->use_clustering = ENABLE_CLUSTERING;
^~~~~~~~~~~~~~~~~
APIC_CLUSTERID
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h:958:26: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c: At top level:
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1084:13: error: initialization of ‘int (*)(struct scsi_device *, unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct scsi_device *, int, void *)’ [-Werror=incompatible-pointer-types]
.ioctl = hpsa_ioctl,
^~~~~~~~~~
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1084:13: note: (near initialization for ‘hpsa_driver_template.ioctl’)
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1089:19: error: initialization of ‘int (*)(struct scsi_device *, unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct scsi_device *, int, void *)’ [-Werror=incompatible-pointer-types]
.compat_ioctl = hpsa_compat_ioctl,
^~~~~~~~~~~~~~~~~
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1089:19: note: (near initialization for ‘hpsa_driver_template.compat_ioctl’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /var/lib/dkms/hpsa/3.4.20.196/build/hpsa.o] Error 1
make[1]: *** [Makefile:1757: /var/lib/dkms/hpsa/3.4.20.196/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.78-2-pve'
make: *** [Makefile:103: default] Error 2
does anyone know this pb ?
some help would be appreciated...
thank you
On pve5.3 and pve6.2 we experience many disk errors with p840 hardware disk controller and hpsa module version 3.4.20.170 and fewer.
Randomly the driver do not respond to IO requests which results in disk reset.
a higher version (3.4.20.188) of hpsa seems to fix the pb.
https://sourceforge.net/projects/cciss/files/hpsa-3.0-tarballs/
To test this version we need to compile the appropriate hpsa module.
Steps:
# apt-get update ; apt-get install pve-headers-5.4.78-2-pve
# apt-get install dkms build-essential
# tar xjvf hpsa-3.4.20-188.tar.bz2
# cd hpsa-3.4.20/drivers/
# sudo cp -a scsi /usr/src/hpsa-3.4.20.188
# dkms add -m hpsa -v 3.4.20.188
# dkms build -m hpsa -v 3.4.20.188
# dkms install -m hpsa -v 3.4.20.188
dkms build return an error :
DKMS make.log for hpsa-3.4.20.188 for kernel 5.4.78-2-pve (x86_64)
Mon 11 Jan 2021 03:44:36 PM CET
make: *** No targets. Stop.
I have already tested to compil hpsa 3.4.20.196 version
dkms build return an error :
DKMS make.log for hpsa-3.4.20.196 for kernel 5.4.78-2-pve (x86_64)
Mon 11 Jan 2021 04:27:23 PM CET
make -C /lib/modules/5.4.78-2-pve/build M=/var/lib/dkms/hpsa/3.4.20.196/build EXTRA_CFLAGS+=-D modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.78-2-pve'
CC [M] /var/lib/dkms/hpsa/3.4.20.196/build/hpsa.o
<command-line>: error: macro names must be identifiers
In file included from /var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:61:
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h: In function ‘hpsa_compat_init_scsi_host_template’:
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h:958:7: error: ‘struct scsi_host_template’ has no member named ‘use_clustering’
hostt->use_clustering = ENABLE_CLUSTERING;
^~
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h:958:26: error: ‘ENABLE_CLUSTERING’ undeclared (first use in this function); did you mean ‘APIC_CLUSTERID’?
hostt->use_clustering = ENABLE_CLUSTERING;
^~~~~~~~~~~~~~~~~
APIC_CLUSTERID
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa_kernel_compat.h:958:26: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c: At top level:
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1084:13: error: initialization of ‘int (*)(struct scsi_device *, unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct scsi_device *, int, void *)’ [-Werror=incompatible-pointer-types]
.ioctl = hpsa_ioctl,
^~~~~~~~~~
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1084:13: note: (near initialization for ‘hpsa_driver_template.ioctl’)
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1089:19: error: initialization of ‘int (*)(struct scsi_device *, unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct scsi_device *, int, void *)’ [-Werror=incompatible-pointer-types]
.compat_ioctl = hpsa_compat_ioctl,
^~~~~~~~~~~~~~~~~
/var/lib/dkms/hpsa/3.4.20.196/build/hpsa.c:1089:19: note: (near initialization for ‘hpsa_driver_template.compat_ioctl’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /var/lib/dkms/hpsa/3.4.20.196/build/hpsa.o] Error 1
make[1]: *** [Makefile:1757: /var/lib/dkms/hpsa/3.4.20.196/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.78-2-pve'
make: *** [Makefile:103: default] Error 2
does anyone know this pb ?
some help would be appreciated...
thank you