kernel 2.6.35 pve and 6805

  • Thread starter Thread starter FAN
  • Start date Start date
F

FAN

Guest
Hi All

I installed proxmox-ve-1.8-6070-5 on server and all good...
Im edit sources.list ( deb http://download.proxmox.com/debian lenny pvetest ) to install for testing proxmox ve 2.6.35 from system and from reboot - dont boot system :(

I add sata hdd in server and install from CD 2.6.32-4-pve and install on he 2.6.35-2-pve and understend bag - dont support Adaptec ars 6805 RAID :)

How to set a driver aacraid-1.1.7-28000 on 2.6.35-2-pve kernel:
1. Install proxmox 2.6.32-4-pve and reboot
2. Install proxmox 2.6.35-2-pve (http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Lenny, edit sources.list -> deb http://download.proxmox.com/debian lenny pvetest ) and Don't reboot
3. Download compiled drivers aacraid-1.1.7-28000-kernel-2.6.35-2-pve.zip
4. copy initrd.img-2.6.35-2-pve to /boot
5. copy aacraid.ko to /lib/modules/2.6.35-2-pve/kernel/drivers/scsi/aacraid
6. reboot

Good Luck!

ps: how compiled driver
==============
wget http://download.adaptec.com/raid/aac/linux/aacraid-linux-src-1.1.7-28000.tgz
gunzip -f aacraid-linux-src-1.1.7-28000.tgz
tar -xvf aacraid-linux-src-1.1.7-28000.tar

======
add /etc/apt/sources.list -> deb http://ftp.debian.org/debian squeeze main contrib

aptitude update
aptitude install rpm2cpio
======

rpm2cpio aacraid-1.1.7-28000.src.rpm | cpio -iuvd

mkdir aacraid
mv aacraid_source.tgz aacraid
cd aacraid
gunzip -f aacraid_source.tgz
tar -xvf aacraid_source.tar
rm -rf aacraid_source.tar

========
aptitude install make
cd /tmp
wget http://download.proxmox.com/sources/pve-kernel-2.6.35_2011-06-17.tar.gz
gunzip -f pve-kernel-2.6.35_2011-06-17.tar.gz
tar -xvf pve-kernel-2.6.35_2011-06-17.tar
rm -rf pve-kernel-2.6.35_2011-06-17.tar
mkdir /lib/modules/`uname -r`/build

aptitude install git
aptitude install gcc
aptitude install lintian
make

move ~build ftom /lib/modules/2.6.35-1-pve/ to /lib/modules/2.6.35-2-pve/
========

make -C /lib/modules/`uname -r`/build M=$PWD modules

*** copy .ko over the old worthless one

cp aacraid.ko /lib/modules/`uname -r`/kernel/drivers/scsi/aacraid
depmod


*** start the Adaptec 6805 driver !!! yeah!!

insmod /lib/modules/`uname -r`/kernel/drivers/scsi/aacraid/aacraid.ko

========================================
view disks from raid

dmesg | grep sd

update-initramfs -u

reboot
 
for all kernel 2.6.38 - driver aacraid-1.1.7-28000 dont compile and not work

need use 2.6.39 or 3.0.x kernel (driver include on kernel)