README ------ These packages are Linux driver update disks for Marvell Odin(88SE64xx) List ---- | |---> README.txt - This file | |---> Marvell-odin-redhat-rhel52-version.tgz - Redhat Enterprise Linux 5.2 Server, i386 | |---> Marvell-odin-redhat-rhel52_x86_64-version.tgz - Redhat Enterprise Linux 5.2 Server, x86_64 | | |---> Marvell-odin-redhat-rhel51-version.tgz - Redhat Enterprise Linux 5.1 Server, i386 | |---> Marvell-odin-redhat-rhel51_x86_64-version.tgz - Redhat Enterprise Linux 5.1 Server, x86_64 | | |---> Marvell-odin-redhat-rhel50-version.tgz - Redhat Enterprise Linux 5.0 Server, i386 | |---> Marvell-odin-redhat-rhel50_x86_64-version.tgz - Redhat Enterprise Linux 5.0 Server, x86_64 | | |---> Marvell-odin-redhat-rhel47-version.tgz - Redhat Enterprise Linux AS 4.0 update 7 , i386 | |---> Marvell-odin-redhat-rhel47_x86_64-version.tgz - Redhat Enterprise Linux AS 4.0 update 7, x86_64 | | |---> Marvell-odin-redhat-rhel40u4-version.tgz - Redhat Enterprise Linux AS 4.0 update 4, i386 | |---> Marvell-odin-redhat-rhel40u4_x86_64-version.tgz - Redhat Enterprise Linux AS 4.0 update 4, x86_64 | | |---> Marvell-odin-redhat-fc9-version.tgz - Fedora Linux 9, i386 | |---> Marvell-odin-redhat-fc9_x86_64-version.tgz - Fedora Linux 9, x86_64 | | |---> Marvell-odin-redhat-fc8-version.tgz - Fedora Linux 8, i386 | |---> Marvell-odin-redhat-fc8_x86_64-version.tgz - Fedora Linux 8, x86_64 | | |---> Marvell-odin-redhat-fc6-version.tgz - Fedora Core Linux 6 2798 kernel, i386 | |---> Marvell-odin-redhat-fc6_x86_64-version.tgz - Fedora Core Linux 6 2798 kernel, x86_64 | | |---> Marvell-odin-redhat-fc6_2849-version.tgz - Fedora Core Linux 6 2849 kernel, i386 | |---> Marvell-odin-redhat-fc6_x86_64_2849-version.tgz - Fedora Core Linux 6 2849 kernel, x86_64 | | |---> Marvell-odin-suse-sles10sp2-i386-version.tgz - SUSE Linux Enterprise Server 10 Service Pack 2, i386 | |---> Marvell-odin-suse-sles10sp2-x86_64-version.tgz - SUSE Linux Enterprise Server 10 Service Pack 2, x86_64 | | |---> Marvell-odin-suse-sles10sp1-i386-version.tgz - SUSE Linux Enterprise Server 10 Service Pack 1, i386 | |---> Marvell-odin-suse-sles10sp1-x86_64-version.tgz - SUSE Linux Enterprise Server 10 Service Pack 1, x86_64 | | |---> Marvell-odin-suse-sles10-i386-version.tgz - SUSE Linux Enterprise Server 10 , i386 | |---> Marvell-odin-suse-sles10-x86_64-version.tgz - SUSE Linux Enterprise Server 10, x86_64 | Note: [1]How to resolve the issue that linux kernel mvsas driver override the driver. To resolve the problem that the mvsas driver override their own driver(mv64xx),we offer the following ways: (Use the kernel 2.6.26 and mv64xx driver as the example , build kernel source at rhel5.2 i386 and sles10 sp1 i386.At 2.6.26 kernel OS ,'uname -r' is 2.6.26) 1. The ways 1.1 Know Linux distribution We can build the driver disk for the distribution ,so need only execute : # add "modprobe -r mvsas" to /etc/rc.d/rc.sysint(redhat system) or # add "modprobe -r mvsas" to /etc/rc.d/boot (sles system) # modprobe -r mvsas # ./install /* get from the driver disk*/ # reboot mv64xx load from initrd that it will override mvsas driver which is as a module. 1.2 Don't know linux distribution , manually build kernel source. 1.2.1 sles system Add "brokenmodules=mvsas" at grub or re-mkinitrd mv64xx into initrd-'uname -r'.img (refer to 4.2) and add "modprobe -r mvsas" to /etc/rc.d/boot. 1.2.2 redhat system Since it is invalid that it add "brokenmodules=mvsas" at grub , so re-mkinitrd mv64xx into initrd-'uname -r'.img (refer to 4.1) and add "modprobe -r mvsas" to /etc/rc.d/rc.sysint. 2. The best and easiest way is that don't build mvsas driver into the kernel. Since linux kernel DEFAULT configuration file ".config " doesn't include "mvsas" driver, You can build kernel as the following step: (Note: don't select "<> Marvell 88SE6440 SAS/SATA support" ) cd linux-2.6.26 make mrproper make menuconfig /*mvsas configuration parts: */ Device Drivers ----> SCSI device support -----> {M} SCSI device support [*] SCSI low-level drivers (NEW) ----> <> Marvell 88SE6440 SAS/SATA support make dep make clean make bzImage make modules make modules_install make install 3.If built mvsas into vmlinuz-'uname -r' with the selection "built-in[*]". the steps are as the following: cd linux-2.6.26 make mrproper make menuconfig /*mvsas configuration parts: */ Device Drivers ----> SCSI device support -----> {*} SCSI device support [*] SCSI low-level drivers (NEW) ----> <*> Marvell 88SE6440 SAS/SATA support make dep make clean make bzImage make modules make modules_install make install Which is impossible to resolve mvsas driver override their own driver(mv64xx) issue, since mvsas will load from kernel image file vmlinuz ,not as a module. You can't rmmod it by " modprobe -r mvsas " or "rmmod mvsas",so you need rebuild the kernel. 4.If built mvsas with the selection "Modules[M]", the steps are as the following: cd linux-2.6.26 make mrproper make menuconfig /*mvsas configuration parts: */ Device Drivers ----> SCSI device support -----> {M} SCSI device support [*] SCSI low-level drivers (NEW) ----> Marvell 88SE6440 SAS/SATA support make dep make clean make bzImage make modules make modules_install make install We can make mv64xx into initrd-'uname -r'.img to resolve the overriding problem. Load "mv64xx.ko" from initrd-'uname -r'.img that will override mvsas driver which is as a module. 4.1 mkinitrd (redhat system ,example: rhel5.2 i386) 1. reboot into 2.6.26 kernel system ; 2. build a 'mv64xx.ko" in the system(Assume that you have the driver codes); 3. echo "alias scsi_hostadapter mv64xx" >> /etc/modprobe.conf 4. cp mv64xx.ko /lib/modules/'uname -r'/kernel/driver/scsi 5. depmod 6. cd linux-2.6.26 7. make install /*the command will re-execute "mkinitrd " to build mv64xx.ko into initrd-'uname -r'.img and auto-copy it to /boot.*/ 8. add "modprobe -r mvsas" to /etc/rc.d/rc.sysint 9. reboot 4.2 mkinitrd (sles system ,example: sles10 sp1 i386) 1. reboot into 2.6.26 kernel system ; 2. build a 'mv64xx.ko" in the system(Assume that you have the driver codes); 3. Edit the file : "/etc/sysconfig/kernel" and add "mv64xx" to "INITRD_MODULES"; 4. cp mv64xx.ko /lib/modules/'uname -r'/kernel/driver/scsi 6. depmod 7. cd linux-2.6.26 8. make install /*the command will re-execute "mkinitrd " to build mv64xx.ko into initrd-'uname -r'.img and auto-copy it to /boot.*/ 9. add "modprobe -r mvsas" to /etc/rc.d/boot; 10. reboot