Re: [elrepo] aacraid build errors

2017-08-12 Thread Nick Howitt

  
  
Hi Phil,
Thanks for looking at it. Please don't waste any more time on it.
We've realised the particular Adaptec card we had can only handle
2TB arrays which is nothing these days! mdadm on standard SATA ports
will probably be the solution.
Regards,
Nick

On 12/08/2017 11:34, Phil Perry wrote:


  
  On 12/08/17 09:28, Nick Howitt wrote:
  
  Hi,


  
  
  Hi Nick,
  
  
  I am trying to build the aacraid-1.2.1-x
driver in ClearOS 7.3 (Centos 7.3 derivative) and I'm getting
the following errors:


  
  
  I see the same errors when trying to rebuild
  kmod-aacraid-1.2.1-6.el7.elrepo against
  kernel-3.10.0-514.26.2.el7.x86_64
  
  
  Our original package was built against the RHEL 7.1 kernel and has
  been compatible with kernels up to the el7.3 series. However it is
  not compatible with the RHEL7.4 kernel and I see the same errors
  trying to build it for RHEL7.4.
  
  
  That said, the native kernel driver in RHEL is now newer than our
  driver so we plan to deprecate kmod-aacraid in favour of using the
  distro kernel driver.
  
  
  So your choices are to rebuild the existing package against an
  older kernel and it should work for you on your
  3.10.0-514.26.2.el7.x86_64 kernel (assuming you retain binary
  compatibility with the kernel subsystems used by the aacraid
  driver) or use the distro kernel driver (recommended).
  
  
  Phil
  
  
  ___
  
  elrepo mailing list
  
  elrepo@lists.elrepo.org
  
  http://lists.elrepo.org/mailman/listinfo/elrepo
  


  

___
elrepo mailing list
elrepo@lists.elrepo.org
http://lists.elrepo.org/mailman/listinfo/elrepo


Re: [elrepo] aacraid build errors

2017-08-12 Thread Phil Perry

On 12/08/17 09:28, Nick Howitt wrote:

Hi,



Hi Nick,

I am trying to build the aacraid-1.2.1-x driver in ClearOS 7.3 (Centos 
7.3 derivative) and I'm getting the following errors:




I see the same errors when trying to rebuild 
kmod-aacraid-1.2.1-6.el7.elrepo against kernel-3.10.0-514.26.2.el7.x86_64


Our original package was built against the RHEL 7.1 kernel and has been 
compatible with kernels up to the el7.3 series. However it is not 
compatible with the RHEL7.4 kernel and I see the same errors trying to 
build it for RHEL7.4.


That said, the native kernel driver in RHEL is now newer than our driver 
so we plan to deprecate kmod-aacraid in favour of using the distro 
kernel driver.


So your choices are to rebuild the existing package against an older 
kernel and it should work for you on your 3.10.0-514.26.2.el7.x86_64 
kernel (assuming you retain binary compatibility with the kernel 
subsystems used by the aacraid driver) or use the distro kernel driver 
(recommended).


Phil

___
elrepo mailing list
elrepo@lists.elrepo.org
http://lists.elrepo.org/mailman/listinfo/elrepo


[elrepo] aacraid build errors

2017-08-12 Thread Nick Howitt

  
  
Hi,

I am trying to build the aacraid-1.2.1-x driver in ClearOS 7.3
(Centos 7.3 derivative) and I'm getting the following errors:

Installing aacraid-kmod-1.2.1-6.el7.elrepo.src.rpm
  warning: aacraid-kmod-1.2.1-6.el7.elrepo.src.rpm: Header V4
DSA/SHA1 Signature, key ID baadae52: NOKEY
  
  Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NXEMsi
  + umask 022
  + cd /home/build/rpmbuild/BUILD
  + cd /home/build/rpmbuild/BUILD
  + rm -rf aacraid-1.2.1-40700
  + /usr/bin/mkdir -p aacraid-1.2.1-40700
  + cd aacraid-1.2.1-40700
  + /usr/bin/gzip -dc
/home/build/rpmbuild/SOURCES/aacraid-linux-src-1.2.1-40700.tgz
  + /usr/bin/tar -xf -
  + STATUS=0
  + '[' 0 -ne 0 ']'
  + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  + rpm2cpio aacraid-1.2.1-40700.src.rpm
  + /usr/bin/cpio -Bcdimu
  46 blocks
  + /usr/bin/mkdir aacraid_source
  + pushd aacraid_source
  + /usr/bin/tar -zxf ../aacraid_source.tgz
  + /usr/bin/chmod 664 CHANGELOG Makefile README
README.ServeRAID TODO VMware-3.0.1.c VMware-3.0.2.c VMware-3.0.c
VMware-3.5.c VMware.c aachba.c aacraid.h commctrl.c comminit.c
commsup.c compat.h csmi.c csmi.h dpcsup.c frey.c fwdebug.c
fwdebug.h linit.c nark.c rkt.c rx.c sa.c src.c
  + popd
  + echo 'override aacraid * weak-updates/aacraid'
  + exit 0
  Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8F8I2M
  + umask 022
  + cd /home/build/rpmbuild/BUILD
  + cd aacraid-1.2.1-40700
  + KSRC=/usr/src/kernels/3.10.0-514.26.2.v7.x86_64
  + /usr/bin/make -C /usr/src/kernels/3.10.0-514.26.2.v7.x86_64
-j4 modules
M=/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source
  make: Entering directory
`/usr/src/kernels/3.10.0-514.26.2.v7.x86_64'
    CC [M] 
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.o
    CC [M] 
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.o
    CC [M] 
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/commctrl.o
    CC [M] 
/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/comminit.o
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:
In function 'aac_scsi_cmd':
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:3956:10:
error: 'SERVICE_ACTION_IN' undeclared (first use in this
function)
   case SERVICE_ACTION_IN:
    ^
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:3956:10:
note: each undeclared identifier is reported only once for each
function it appears in
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:
In function 'busy_disk':
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.c:4799:8:
error: used struct type value where scalar is required
      && (device->device_busy
      ^
  make[1]: ***
[/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/aachba.o]
Error 1
  make[1]: *** Waiting for unfinished jobs
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.c:
In function 'aac_eh_abort':
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.c:1332:7:
error: 'SERVICE_ACTION_IN' undeclared (first use in this
function)
    case SERVICE_ACTION_IN:
     ^
  /home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.c:1332:7:
note: each undeclared identifier is reported only once for each
function it appears in
  make[1]: ***
[/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source/linit.o]
Error 1
  make: ***
[_module_/home/build/rpmbuild/BUILD/aacraid-1.2.1-40700/aacraid_source]
Error 2
  make: Leaving directory
`/usr/src/kernels/3.10.0-514.26.2.v7.x86_64'
  error: Bad exit status from /var/tmp/rpm-tmp.8F8I2M (%build)
  
  
  RPM build errors:
      aacraid-kmod-1.2.1-6.el7.elrepo.src.rpm: Header V4
DSA/SHA1 Signature, key ID baadae52: NOKEY
  
      Bad exit status from /var/tmp/rpm-tmp.8F8I2M (%build)


I've removed the group XXX does not exist lines. I get the same
issue with the -4, -5 and -6 files. Have you any ideas what is going
wrong?

The kernel already has the 1.2-1 module which may be OK, but someone
is having difficulty with an Adaptec 2610SA card and I'm trying
different angles.

Thanks,

Nick
  

___
elrepo mailing list
elrepo@lists.elrepo.org
http://lists.elrepo.org/mailman/listinfo/elrepo