1,下载的新的版本
[root@tonykorn97 installfiles]# ls -al mptlinux-4.00.21.00-1-rhel5.x86_64.rpm
-rw-r--r-- 1 root root 4323000 08-30 22:12 mptlinux-4.00.21.00-1-rhel5.x86_64.rpm
2,检查一下有没有安装过其他的版本
[root@tonykorn97 installfiles]# rpm -aq | grep mptlinux
3,查看所有模块情况
[root@tonykorn97 installfiles]# lsmod
Module Size Used by
ipv6 411425 64
autofs4 57161 2
hidp 83649 2
rfcomm 104809 0
l2cap 89409 10 hidp,rfcomm
bluetooth 118725 5 hidp,rfcomm,l2cap
sunrpc 197513 1
cpufreq_ondemand 40401 4
dm_mirror 60105 0
dm_multipath 52433 0
dm_mod 96017 2 dm_mirror,dm_multipath
video 51273 0
sbs 49921 0
backlight 39873 0
i2c_ec 38593 1 sbs
i2c_core 56129 1 i2c_ec
button 40545 0
battery 43849 0
asus_acpi 50917 0
acpi_memhotplug 40133 0
ac 38729 0
parport_pc 62313 0
lp 47121 0
parport 73165 2 parport_pc,lp
joydev 43969 0
sr_mod 50789 0
cdrom 68713 1 sr_mod
tg3 141125 0
shpchp 70765 0
serio_raw 40517 0
usb_storage 116769 1
sg 69865 0
pcspkr 36289 0
ata_piix 49861 0
libata 160849 1 ata_piix
mptsas 62545 7
mptscsih 56513 1 mptsas
scsi_transport_sas 66753 1 mptsas
mptbase 92641 2 mptsas,mptscsih
ext3 166993 3
jbd 93873 1 ext3
ehci_hcd 65229 0
ohci_hcd 54493 0
uhci_hcd 57433 0
megaraid_sas 67965 3
sd_mod 56257 14
scsi_mod 186361 9 sr_mod,usb_storage,sg,libata,mptsas,mptscsih,scsi_transport_sas,megaraid_sas,sd_mod
4,查看模块的具体信息
[root@tonykorn97 installfiles]# modinfo mptsas
filename: /lib/modules/2.6.18-53.el5/kernel/drivers/message/fusion/mptsas.ko
version: 3.04.04
license: GPL
description: Fusion MPT SAS Host driver
author: LSI Logic Corporation
srcversion: D0507BBC402F30BCC5539C0
alias: pci:v00001000d00000062sv*sd*bc*sc*i*
alias: pci:v00001000d00000058sv*sd*bc*sc*i*
alias: pci:v00001000d00000056sv*sd*bc*sc*i*
alias: pci:v00001000d00000054sv*sd*bc*sc*i*
alias: pci:v00001000d00000050sv*sd*bc*sc*i*
depends: mptscsih,mptbase,scsi_mod,scsi_transport_sas
vermagic: 2.6.18-53.el5 SMP mod_unload gcc-4.1
parm: mpt_pt_clear: Clear persistency table: enable=1 (default=MPTSCSIH_PT_CLEAR=0) (int)
parm: max_lun: max lun, default=16895 (int)
module_sig: 883f35047d39dc836e299a424cb51a11214ae09e206af2387639c548fabb188b55ae2d188fcfbdc0a0b15f80df157a21ed6da5a1b6fa4c9f9f59a5af2
[root@tonykorn97 installfiles]# modinfo mptscsih
filename: /lib/modules/2.6.18-53.el5/kernel/drivers/message/fusion/mptscsih.ko
version: 3.04.04
license: GPL
description: Fusion MPT SCSI Host driver
author: LSI Logic Corporation
srcversion: C9A776A3555C2C782CF697A
depends: mptbase,scsi_mod
vermagic: 2.6.18-53.el5 SMP mod_unload gcc-4.1
module_sig: 883f35047d39dc836e299a424cb51a112d9e0a0805776f1a2bb91abfaad9b45ead15de7c3b921b09e3d721ddd59c3ef7b781054e2fc29cc9482977b
[root@tonykorn97 installfiles]#
5,安装这个包
[root@tonykorn97 installfiles]# rpm -ivh mptlinux-4.00.21.00-1-rhel5.x86_64.rpm
Preparing... ########################################### [100%]
pre 4.00.21.00
1:mptlinux ########################################### [100%]
post 4.00.21.00
Creating /dev/mptctl ioctl node file
The mpt driver for kernel 2.6.18-53.el5 is now version 4.00.21.00
Saving initrd-2.6.18-53.el5.img in /boot directory.
post Install Done.
6,查看boot目录下面文件的改变
[root@tonykorn97 installfiles]# cd /boot
[root@tonykorn97 boot]# ls -al
drwxr-xr-x 4 root root 1024 08-30 23:11 .
drwxr-xr-x 32 root root 4096 08-30 23:11 ..
-rw-r--r-- 1 root root 61583 2007-10-11 config-2.6.18-53.el5
drwxr-xr-x 2 root root 1024 07-25 23:23 grub
-rw------- 1 root root 2591509 08-30 23:11 initrd-2.6.18-53.el5.img
-rw------- 1 root root 2519187 07-25 23:23 initrd-2.6.18-53.el5.img.old
-rw------- 1 root root 2519207 08-30 23:11 initrd-2.6.18-53.el5.img.orig
drwx------ 2 root root 12288 07-25 23:14 lost+found
-rw-r--r-- 1 root root 88644 2007-10-11 symvers-2.6.18-53.el5.gz
-rw-r--r-- 1 root root 1150812 2007-10-11 System.map-2.6.18-53.el5
-rw-r--r-- 1 root root 1844028 2007-10-11 vmlinuz-2.6.18-53.el5
[root@tonykorn97 boot]#
7,查看模块的具体信息,确定已经升级完成
[root@tonykorn97 boot]# modinfo mptsas
filename: /lib/modules/2.6.18-53.el5/kernel/drivers/message/fusion/mptsas.ko
version: 4.00.21.00
license: GPL
description: Fusion MPT SAS Host driver
author: LSI Corporation
srcversion: 64E21057252FC4B19B2D1A5
alias: pci:v00001000d00000062sv*sd*bc*sc*i*
alias: pci:v00001000d00000058sv*sd*bc*sc*i*
alias: pci:v00001000d00000056sv*sd*bc*sc*i*
alias: pci:v00001000d00000054sv*sd*bc*sc*i*
alias: pci:v00001000d00000050sv*sd*bc*sc*i*
depends: mptscsih,mptscsih,scsi_mod,mptbase,scsi_transport_sas,mptbase
vermagic: 2.6.18-53.el5 SMP mod_unload gcc-4.1
parm: mpt_pt_clear: Clear persistency table: enable=1 (default=MPTSCSIH_PT_CLEAR=0) (int)
parm: mpt_cmd_retry_count: Device discovery TUR command retry count: default=144 (int)
parm: mpt_disable_hotplug_remove: Disable hotpug remove events: default=0 (int)
parm: mpt_sdev_queue_depth: Max Device Queue Depth (default=64)
parm: max_lun: max lun, default=16895 (int)
[root@tonykorn97 boot]# modinfo mptscsih
filename: /lib/modules/2.6.18-53.el5/kernel/drivers/message/fusion/mptscsih.ko
version: 4.00.21.00
license: GPL
description: Fusion MPT SCSI Host driver
author: LSI Corporation
srcversion: 574D259383BFA8CC58ED189
depends: mptbase,mptbase,scsi_mod
vermagic: 2.6.18-53.el5 SMP mod_unload gcc-4.1
[root@tonykorn97 boot]#
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-1009874/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/312079/viewspace-1009874/