Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1575653
  • 博文数量: 317
  • 博客积分: 10283
  • 博客等级: 上将
  • 技术积分: 3566
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-04 11:38
个人简介

哥使用Linux

文章分类

全部博文(317)

分类:

2007-11-25 13:15:39

注意:
 
1、注意Linux版本的区别,企业应用主要是RHEL3 or RHEL4 or RHEL5 或SLES9 or SLES10,
其它的发行版本你要看看官方的说明文档。
 
2、有无raid的驱动也是不一样的。
 
我DIY了一台Intel 5000P原装版,两个sas硬盘作了raid1,就发现这个问题。我想其它的主板也是差不多的吧,一般买的时候会有一张光盘赠送的。。
 
 
下面我把安装驱动相关的文档也贴上,方便以后阅读。。
 
 
ESRT2_RHEL3-4-5_SLES9-10_ver.09.21.0914.2007_Readme.txt
 
 
This release note and the software that accompanies it are copyright (c) 2007, Intel Corporation, and may only be installed and used in accordance with the license that accompanies the software.
This Software is furnished under license and may only be used or copied in accordance with the terms of that license. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. The Software is subject to change without notice, and should not be construed as a commitment by Intel Corporation to market, license, sell or support any product or technology. Unless otherwise provided for in the license under which this Software is provided, the Software is provided AS IS, with no warranties of any kind, express or implied. Except as expressly permitted by the Software license, neither Intel Corporation nor its suppliers assumes any responsibility or liability for any errors or inaccuracies that may appear herein. Except as expressly permitted by the Software license, no part of the Software may be reproduced, stored in a retrieval system, transmitted in any form, or distributed by any means without the express written consent of Intel Corporation.
This download supports Intel(R) Embedded Server RAID Technology II RAID products. Please verify that this package has been tested with the RAID device you have chosen to use by checking the drivers web page for your controller at .
================
Package Information
================
Driver Version = 09.21.0914.2007
OS supported = RHEL3U6-U8, RHEL4U2-U5, RHEL5GA, SLES9SP2-SP3, SLES10GA-SP1; (both x86 & x64 versions for these OS versions)
This driver is intended for use with Software RAID 0/1/10/5 configurations (Embedded Server RAID Technology II) on server boards enabled for S5000 (ESB2) SATA RAID and LSI1064e/1068 SAS RAID.
This driver is production release driver set for RAID 0/1/10/5.
====================
Attention!
====================
It is important to follow instructions provided below for successfully installing SLES9/10 or RHEL5 operating systems onto RAID device.
================
Known Restrictions
================
N/A
====================
Contents in the package
====================
The following files are included in this package:
Name       
megasr-09.21.0914.2007-1-rhel30-u6-raid5.img
megasr-09.21.0914.2007-1-rhel30-u7-raid5.img
megasr-09.21.0914.2007-1-rhel30-u8-raid5.img
megasr-09.21.0914.2007-1-rhel40-u2-all-raid5.img
megasr-09.21.0914.2007-1-rhel40-u3-all-raid5.img
megasr-09.21.0914.2007-1-rhel40-u4-all-raid5.img
megasr-09.21.0914.2007-1-rhel40-u5-all-raid5.img
megasr-09.21.0914.2007-1-rhel50-ga-all-raid5.img
megasr-09.21.0914.2007-1-sles9-sp2-x86_64-raid5.img
megasr-09.21.0914.2007-1-sles9-sp2-x86-raid5.img
megasr-09.21.0914.2007-1-sles9-sp3-x86_64-raid5.img
megasr-09.21.0914.2007-1-sles9-sp3-x86-raid5.img
megasr-09.21.0914.2007-1-sles10-ga-x86_64-raid5.img
megasr-09.21.0914.2007-1-sles10-ga-x86-raid5.img
megasr-09.21.0914.2007-1-sles10-sp1-x86_64-raid5.img
megasr-09.21.0914.2007-1-sles10-sp1-x86-raid5.img

================
Driver Installation Instructions
================
This updated driver can be applied using the normal OS installation options.
1 The purpose of this document is to provide clear instructions on how to install OS on drives attached to the Intel(R) Embedded Server RAID Technology II Software RAID device.
2 Prepare Installation disk(s)
2.1 Driver files are available on the CD that shipped with the product or can be downloaded from .
2.2 Create install disk(s)
User requires a system with either Microsoft Windows or a Linux based Operating System and fresh floppy diskette(s) to prepare the install disk(s).  The required Installation Diskettes can be created on any system. Extract the disk image to a floppy disk using rawrite or another image extraction utility.

3 Installation methods
There are different types of installation possible with the installation package provided. Those are explained in different sections.
3.1 OS installation on RAID
This mode of installation is selected when user needs to install the Operating system on a fresh RAID configuration. For this kind of installation the driver update disc is used at the starting of the installation and the installer will update the system with driver images for the required kernels. Follow the procedure given below to install Intel(R) Embedded Server RAID Technology II RAID Stack at the time of Installation.
-----------------
3.1.1 Installing RHEL3 or RHEL4 on RAID
-----------------
1) Create a RAID array using the Intel Embedded Server RAID Technology II RAID BIOS Configuration Utility. 
2) Boot your system using RHEL disc one.
3) At boot prompt type "linux dd"
4) Insert driver update floppy disc when asked.
5) Complete installation with RHEL CD
-----------------
3.1.2 Installing RHEL5 on RAID with onboard SATA (ESB2) Controller
-----------------
1) Create a RAID array using the Intel Embedded Server RAID Technology II RAID BIOS Configuration Utility. 
2) Boot your system using RHEL disc one.
3) At boot prompt type "linux nostorage"
4) Proceed with the installation and you will see a screen which provides you with 揂dd device?button.
5) Click "Add Device", a list of all drivers will appear 
6) Press 慒2?to select driver from floppy
7) Insert the floppy with the Installer DUD image
8) Select device that corresponds to the floppy drive (sda in case of USB floppy)
9) After the driver is loaded the list of all drivers will appear again
10) Scroll down the driver list and select 揕SI megasr Driver ver ...?in the list
11) Click OK
12) The driver will be loaded and the list of detected devices will appear
13) Click Done
14) Complete installation with RHEL CD

-----------------
3.1.3 Installing RHEL5 on RAID with onboard SAS (1064e/1068) controller
-----------------
1) Create a RAID array using the Intel Embedded Server RAID Technology II RAID BIOS Configuration Utility. 
2) Boot your system using RHEL disc one.
3) At boot prompt type "linux dd"
4) Insert driver update floppy disc when asked.
5) Complete installation with RHEL CD

-----------------
3.1.4 Installing SLES9 on RAID
-----------------
1) Create a RAID array using the Intel(R) Embedded Server RAID Technology II RAID BIOS Console.
2) Connect USB floppy drive and insert the floppy disk with RAID driver
3) Boot your system using SLES CD
4) When first screen comes up press F6 key to load a driver
5) In the text tab type brokenmodules=ahci
6) Select Installation menu option and press Enter
7) When asked about driver disk, press Enter and wait
8) The following message should be displayed: 'Driver Updates added - LSI MegaRAID Software RAID module'. Press Enter.
9) The following message should be displayed: 'Select Driver Update Medium'. Press 'Esc'
10) Proceed with installation
11) When the Basic installation finishes the system will prepare for initial reboot.  This is after installing selected packages from CD抯, Update Configuration, Copy file to installed system and after installing the boot manager. Before rebooting the system a small window will pop up in which Seconds before rebooting your system displayed.  Press STOP button to prevent rebooting the system.
12) Press Ctrl+Alt+F2 and go to directory /update/000/install
 #cd  /update/000/install
13) Run script update.post2
 #./update.post2
14) Press Ctrl+Alt+F7 and select Ok in the Small window that show Now rebooting your system
15) System automatically reboots. Remove all install media to boot to the controller

-----------------
3.1.5 Installing SLES10 on RAID
-----------------
1) Create a RAID array using the Intel(R) Embedded Server RAID Technology II RAID BIOS Console.
2) Connect USB floppy drive and insert the floppy disk with RAID driver
3) Boot your system using SLES CD
4) When first screen comes up press F5 key to load a driver and select 'Yes'
5) In the text tab type brokenmodules=ahci
6) Select Installation menu option
7) Press Enter
8) The following message should be displayed: 'Driver Updates added - LSI MegaRAID Software RAID module'. Press Enter.
9) The following message should be displayed: 'Select Driver Update Medium'. Press 'Esc'
10) Proceed with installation until it gets to the 'Installation Settings' screen
11) Click on 'Partitioning' link
12) Select 'Base Partition Setup on This Proposal' if you want to keep default partitions. Click Next.
13) Whether you need to change default partitions or not, you need to change Fstab options for each partition on /dev/sdb
    a) Select partition /dev/sdb1
    b) Click 'Edit'
    c) click 'Fstab Options'
    d) Select 'Volume label' for 'Mount in /etc/fstab by'
    e) Enter a name for the volume into 'Volume Label' field, for example 'vol1', 'vol2', ...
    f) Click OK
    g) Repeat steps a-f for partition /dev/sdb2 and for any other partitions on /dev/sdb device
    h) Click Finish
14) Proceed with the installation

-----------------
3.2 Installing RAID driver as a secondary device - stand alone module.
-----------------
This mode of installation is preferred if RAID device is used as a secondary device.  It requires a manual installation of the RAID driver module at each boot of the system. Follow the procedure below:
1) Create RAID array on on the RAID controller using the RAID BIOS Console Utility.
2) Boot the OS from primary controller and mount the dud floppy.
 #mount /dev/fd0 /mnt/floppy. 
3) Unzip modules.cgz file on driver update disc to get driver images for different kernel versions
 #mkdir -p /home/megasr
 #cd /home/megasr
 #cp /mnt/floppy/modules.cgz .
 #gunizip -S .cgz  modules.cgz
It will generate a new file called modules.
 #cpio -ivd < modules
4) Load scsi mid layer modules and Install megasr driver for running kernel
 #modprobe scsi_mod
 #cd /home/megasr
 #insmod /megasr.o

-----------------
3.3 Installing RAID driver as a secondary device - built into initrd image
-----------------
This is preferred if RAID controller is used as a secondary device.  Here megasr driver will be build with the initrd image and there is no need to do insmod at every reboot of the system.
1) Create RAID array on RAID Controller using Intel Embedded RAID Technology II RAID BIOS Console Utility.
2) Boot the OS from primary controller/Disk.
3) Mount the dud floppy. #mount /dev/fd0 /mnt/floppy
4) Unzip modules.cgz file in driver update disc to get driver images for different kernel versions
 #mkdir -p /home/megasr
 #cd /home/megasr
 #cp /mnt/floppy/modules.cgz .
 #gunizip -S .cgz  modules.cgz
It will generate a new file called  modules.
 #cpio -ivd < modules
5) Install megasr driver module
 #cd /home/megasr
 #cp /megasr.o  /lib/modules//update/megasr.o
6) Create megasr driver Entry in Configuration file. RedHat configuration file is /etc/modules.conf. If megasr entry is not present in /etc/modules.conf add following line.
 alias  scsi_hostadapter megasr
7) Create new initrd image for the required kernel. RedHat uses mk_initrd utility to create initrd image  following command will create an initrd image for RedHat EL4.0   kernel  in boot directory. See mk_initrd man page more information
8) Modify lilo.conf/grub.conf  file. Add newly created initrd(s) as a new entries in /etc/lilo.conf file. The best suggested method is to copy an existing lilo entry in the file and  past it as a new one. Then modify its kernel image name, initrd image name and label name.
Sample Lilo Entry
 image=/boot/vmlinux-
 label=linux-new
 initrd=/boot/initrd-.img.new
 read-only
 appened="root=LABEL=/"

Sample Grub Entry
 title Red Hat Linux ( with megasr driver)
 root (hd0,0)
 kernel /vmlinuz- ro root=LABEL=/
 initrd /initrd-.img.new
9) Update boot loader. If the boot loader is Lilo run lilo command to update boot loader
 #lilo
10) Reboot the system to the new initrd entries.

-----------------
3.4 Updating RAID driver on already installed system
-----------------
This method is used to update megasr driver in a system, which is already installed with an older driver version. Here this procedure explains the manual process of updating the driver.  Follow the steps given to update driver.
1) Create RAID array on RAID Controller using Intel Embedded RAID Technology II RAID BIOS Console Utility.
2) Boot the OS from primary controller/Disk.
3) Mount the dud floppy.
 #mount /dev/fd0 /mnt/floppy
4) Unzip modules.cgz file in driver update disc to get driver images for different kernel versions 
 #mkdir -p /home/megasr
 #cd /home/megasr
 #cp /mnt/floppy/modules.cgz .
 #gunizip -S .cgz  modules.cgz
It will generate a new file called  modules.
 #cpio -ivd < modules
5) Update megasr driver module for the  required kernels.
 #cd /home/megasr
 # cp /megasr.o  /lib/modules//update/megasr.o
6) Create megasr driver Entry in Configuration file. RedHat configuration file is /etc/modules.conf. If megasr entry is not present in /etc/modules.conf add following line.
 alias  scsi_hostadapter megasr
7) Create new initrd image for the required kernel. RedHat uses mk_initrd utility to create initrd image following command will create an initrd image for  RedHat EL4.0   kernel  in boot directory. See mk_initrd man page more information
 #mkinitrd /boot/initrd-.img.new
8) Modify lilo.conf/grub.conf  file. Add newly created initrd(s) as a new entries in /etc/lilo.conf file. The best suggested method is to copy an existing lilo entry in the file and  past it as a new one. Then modify its kernel image name, initrd image name and label name.
Sample Lilo Entry
 image=/boot/vmlinux-
 label=linux-new
 initrd=/boot/initrd-.img.new
 read-only
 appened="root=LABEL=/"
Sample Grub Entry
 title Red Hat Linux ( with megasr driver)
 root (hd0,0)
 kernel /vmlinuz- ro root=LABEL=/
 initrd /initrd-.img.new
9) Update boot loader. If the boot loader is Lilo run lilo command to update boot loader
 #lilo
10) Reboot the system to the new initrd entries.
================
Known Bugs
================
N/A
================
Fixes/Updates
================
Version 09.21.0914.2007
1. Added support for RHEL4 U5
2. Added support for SLES10 SP1
3. Added support for more than one SAS expander
4. Added graceful handling of situation when more than 8 HDDs are installed (the limit of 8 drives still exists).
5. Minor bug fixes
Version 08.09.0518.2007
1. RHEL5 support implemented (no other OSes supported with this version)
Version 07.15.0209.2007
1. Pass thru support for up to 2 SATA CD/DVD devices when the controller is in SW RAID mode
    - boot from CD/DVD-ROM with floppy emulation or hard-drive emulation not supported
Version 06.28.1110.2006
1. Fixed - Resolved several issues with regards to licensing restrictions
Version 06.27.1026.2006
1. Fixed - Issue with SLES9 sp3 32bit hangs during install after driver is loaded.
2. Fixed - Issue with Check Consistency aborted when there is ECC error in HDD.
3. Fixed - Issue when source HDD has Ecc Error, RWC2 does not register BAD Block event When source HDD has Ecc Error,
4. Fixed - Issue with ESBII/RH4u232bit: RAID5 LD activation
6. Fixed - Issue with AS3.0 U6\driver 4.14 Multiple reboot on degraded array fails in some configurations.
7. Fixed - Issue with SRW5 Windows XP - 32bit (SP2) Unable to reboot in degraded mode in some configurations.
8. Fixed - Issue with SWR5-ESB2 SLES 9 SP3 64-bit - System fails to reboot while OS volume is rebuilding.
10. Fixed - Issue with Fatal memory error during install of Win2K3 64bit with multiple controllers installed in same system.
11. Fixed - Issue with SWR5 8 drive - 8LD R5 causes an error message in the debugger.
12. Fixed - Issue with SWR5 ESB2 Error when dual media error hit on a R5
13. Fixed - Issue with SWR5IO Errors with W2K3 64 bit: Running heavy IOs against an OS R5 LD caused infintely looping port resets, IO aborts, etc.
14. Fixed - Issue with SWR - RWC2 fails to update GUI on changing VD name and stops displaying further monitor log on changing any other VD property.
15. Fixed - Issue with SWR5 & 2 add in addapter Cards with WinXPSP 64bit - System randomly freezes.
16. Fixed - Issue with SWR5 ICH7R Phase II Redhat 4.0 U2 x86_64, a Drive pull causes kernel panic on RAID 5 with heavy i/o running.
17. Fixed - Issue with SWR5-ICH7R Phase II RHEL3.0 AS 32-bit - LDCC on R1 with dual media errors causes system to freeze.
18. Fixed - Issue with Driver does not handle drives which do not support 48-bit LBA.
19. Fixed - Issue with SWR5-ICH7R Phase II RHEL3.0 AS U6 64-bit - DUD driver causes kernel panic during RAID5 installation.
20. Fixed - Issue with StorLib failed Passthrough Command.
21. Fixed - Issue with 8208xlp locks up after 20th hibernation on ws2003 x64.
22. Fixed - Issue with Data error when pulling out, then pushing back in a hard disk from a RAID5 array while SPBEST is running
23. Fixed - Issue with BSOD on drive pull 1 out of 5 times.
24. Fixed - Issue with Dmesg RHEL4U2 32bit, 64 bit to RAID(All Levels) array shows error.
25. Fixed - Issue with write cache changing setting.
25. Fixed - Issue with degraded R5 LD failed drives shows as unconfig good and then the OS file system errors.
26. Fixed - Issue with IO during rebuilds causing data error.
27. Fixed - Issue with display of "Revision Level(HDD FW)" with incorrect with some SATA drives.
28. Fixed - Issue with After power interruption data errors found on Rebuilding R5 LD.
29. Fixed - Issue with SWR5 SLES10-x86 Setting a HS drive to global hotspare causes kernel panic.
30. Fixed - Issue with Storelib doesn倀 detect SWR R5 controller.
31. Fixed - Issue with SWR5-ESB2 SLES 9 SP3 64-bit - R1 Rebuild does not complete and forces system to freeze.
32. Fixed - Issue with SWR5-ESB2 SLES 10 Gold 32-bit - SLES 10 will not install to RAID volume using compiled SHIM driver.
33. Fixed - Issue with Remove "RAID 5" from SWR5 driver.
34. Fixed - Issue with driver stop error.
35. Fixed - Issue with ESB2 PCI-IDs for third party systems.
36. Fixed - Issue with Kernel panic during boot with RHEL 3 up7 installed to RAID 1.
37. Fixed - Issue with Error message when loading MegaSR driver.
38. Fixed - Issue with SWR5 installation failure using Rh3U7 to a SATA ESBII R5 configuration.
39. Fixed - Issue with RHEL3 U7 64bit Kernel panic on boot after install to 2nd VD of 2nd controller.
40. Fixed - Issue with Handling Unexpected power failures in RAID5 driver.
41. Fixed - Issue with SWR5-ESB2 SLES 10 32-bit - RAID1 is degraded when a media error occursin primary DDF location.
42. Fixed - Issue with MegaSR driver not returning media error properly.
43. Fixed - Issue with SWR5 Crash Dump with ESBII andW2K3 64bit during rebuild, memory does not dump correctly.
44. Fixed - Issue with Inserting some HDD Drive models causing system crash.
45. Fixed - Issue with Drive removal not working correctly with NCQ drives.
46. Fixed - Issue with Bule screen occurred on ESB system.
47. Fixed - Issue with driver not detecting when a drive is pulled.
48. Fixed - Issue with ESBII R5: IO tool reports a data error.
49. Fixed - Issue with SWR fails to hibernate in a timely manner for HCT acpi test.
50. Fixed - Issue with SAS migration from SWR R5 controller.
51. Fixed - Issue with SWR5 - Some OS versions - pulling a drive during a BGI causes the system to lockup.
52. Fixed - Issue with sles9-SP3-32 can抰 reboot or shutdown.
53. Fixed - Issue with SWR5 RH4u3 CC reporting inconsistency found when run after previous CC finishes.
55. Fixed - Issue with SWR5 - RWC2 is showing 0mb unconfigured good after drive has been removed.
56. Fixed - Issue with Device not found message is reported instead of specific error code
57. Fixed - Issue with SWR5 Sles 9 sp2 X64 driver will not load.
Version 06.06.0728.2006
Initial Release

*Other names and brands may be claimed as the property of others.
阅读(12986) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-11-06 00:39:50

安装 rhel5 如果装了 virtualization (xen) 就不能启动 不装就 ok 好像是这个该死的破板子没有 xen版内核的驱动,我们有一个混蛋浪潮的服务器,就是这样。modules.cgz 里面有 i386, PAE, x86_64 的 megasr.ko,但就是没有 el5xen 的 megasr.ko 建议去 www.lsi.com 去看一下;不过这也是一个混蛋公司,只有驱动,没有说明的。一帮白痴,把一个垃圾 raid (只支持 0, 1, 10)起一个帅一点的名字很正常,但你干嘛把它叫做什么 MPT (message passing tech.),看了半天还以为是什么乱七八糟的东西呢,TNND 你当你是开 qq 的呀

chinaunix网友2008-04-16 18:01:26

请问,我的机器上有2颗SAS硬盘,分别做了2个Raid0。我把linux装在了1个Raid0上。系统安装没有问题,但不能启动。我启动设定为Raid卡启动,但好像不能用Raid0的硬盘启动。我用windows没有问题,不知道linux是为什么?我装的是AS5。