Como foi dito: não há um módulo aacraid pré-construído para 2.6.34.14 . Se você consultar todos os arquivos instalados pelo aacraid
, verá algo assim:
# rpm -ql aacraid-1.2.1-29900
/opt/Adaptec/aacraid/aacraid.spec
/opt/Adaptec/aacraid/aacraid_prebuilt.tgz
/opt/Adaptec/aacraid/aacraid_source.tgz
/opt/Adaptec/aacraid/adpt_mk_initrd
/opt/Adaptec/aacraid/adpt_mkinitrd
/opt/Adaptec/aacraid/chk_lilo
/opt/Adaptec/aacraid/create_device_nodes
/opt/Adaptec/aacraid/grub.awk
/opt/Adaptec/aacraid/install.sh
/opt/Adaptec/aacraid/lilo.awk
/opt/Adaptec/aacraid/module.equiv
/opt/Adaptec/aacraid/read.me
depois, descompacte o aacraid_prebuilt.tgz
para verificar:
# cd /opt/Adaptec/aacraid/
# mkdir mods
# tar zxvf aacraid_prebuilt.tgz -C mods/
# ls mods/ | grep 34
#
O que você precisa fazer é copiar a fonte aacraid
para a árvore do kernel ( .../drivers/scsi/aacraid
) e então recompilar e tentar novamente.
# mv /usr/src/linux-2.6.34.14/drivers/scsi/aacraid/ $HOME/aacraid.2.6.34.14.orig
# mkdir /usr/src/linux-2.6.34.14/drivers/scsi/aacraid/
# cd /opt/Adaptec/aacraid
# tar zxvf aacraid_source.tgz -C /usr/src/linux-2.6.34.14/drivers/scsi/aacraid/
# cd /usr/src/linux-2.6.34.14/
# make
# make modules_install
# make install
Verificando o /boot
:
# ls -l /boot/ | grep 34
-rw-r--r-- 1 root root 88008 Apr 4 01:10 config-2.6.34.14
-rw------- 1 root root 2794550 Apr 11 22:30 initrd-2.6.34.14.img
-rw------- 1 root root 2787541 Apr 10 18:41 initrd-2.6.34.14-withoutraid.img
lrwxrwxrwx 1 root root 26 Apr 11 22:30 System.map -> /boot/System.map-2.6.34.14
-rw-r--r-- 1 root root 1722839 Apr 11 22:30 System.map-2.6.34.14
-rw-r--r-- 1 root root 1722839 Apr 10 18:41 System.map-2.6.34.14.old
-rwxr-xr-x 1 root root 29455105 Apr 4 01:09 vmlinux-2.6.34.14.bz2
lrwxrwxrwx 1 root root 23 Apr 11 22:30 vmlinuz -> /boot/vmlinuz-2.6.34.14
-rw-r--r-- 1 root root 2708848 Apr 11 22:30 vmlinuz-2.6.34.14
-rw-r--r-- 1 root root 2708848 Apr 10 18:41 vmlinuz-2.6.34.14-withoutraid
e o menu.lst
:
title CentOS (2.6.34.14)
root (hd0,0)
kernel /vmlinuz-2.6.34.14 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.34.14.img
title CentOS (2.6.34.14 WITHOUT Adaptec RAID driver)
root (hd0,0)
kernel /vmlinuz-2.6.34.14-withoutraid ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.34.14-withoutraid.img
title CentOS (2.6.18-274.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-274.el5 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.18-274.el5.img
depois, reboot
para ver se funciona:
# df -h /dev/sdc1
Filesystem Size Used Avail Use% Mounted on
/dev/sdc1 5.4T 4.5T 613G 89% /data
# /usr/StorMan/arcconf getconfig 1
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 6805
...
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : data
RAID level : 10
Status of logical device : Optimal
Size : 5713910 MB
...