【正文】
make mrproper (pletely clean the kernel tree) cp /boot/config`uname r` .config (copy the new config)make oldconfig (update configuration using .config) make dep (rebuild the dependencies)make modules (build the modulesnot require on newer kernel version)RDAC driver building for SuSE and RedHat:1. 改變到 linuxrdac 目錄. 2. 在該目錄移走舊的驅(qū)動(dòng)模塊,輸入命令: make clean 3. 按 Enter.4. 在多 CPU(SMP kernel)的主機(jī)上編譯所有的 driver modules 和 utilities, 輸入命令:make 5. 按 Enter.RDAC driver installation: 1. 拷貝 driver modules 到 the kernel module tree 并建立新的 RAMdisk image () ,里面包含了 RDAC driver modules 和在啟動(dòng)期間所需要的所有的 driver modules ,輸入 make install 并按 Enter。,用 /boot/mppkernel Page 11 of 12version.img 作為初始的 RAMdisk image. 3. 在接近 Linux RDAC 安裝末尾時(shí),如果看到錯(cuò)誤信息All of your loopback devices are in use。 則 RDAC RAMDISK 沒(méi)被創(chuàng)建。安裝失敗,在 Linux console 輸入下列命令:重要提示:如果系統(tǒng)是 RedHat RHEL , 注意編輯腳本 /sbin/mkinitrd 在下列范圍改到 3000 to 15000: 下面的指令可能適用于某些 RedHat kernel 版本. 添加 ramdisk_size=15000 作為一個(gè) kernel boot 參數(shù)在新的啟動(dòng)選項(xiàng)里,類(lèi)似于下面的 例子:RDAC driver postinstallation: 1. 用新的啟動(dòng)菜單選項(xiàng)重啟系統(tǒng)。2. 輸入 lsmod 已確認(rèn) driver stack 被正確加載。Note: On Red Hat distributions, the following modules should be loaded: scsi_mod, sd_mod, sg, mpp_Upper, mpp_Vhba(*), and Fibre Channel HBA drivers (for example, qla2300).On SuSE distributions, the following modules should be loaded: sg, mpp_Upper, mpp_Vhba(*) Fibre Channel HBA drivers. 3. 確認(rèn) RDAC driver 發(fā)現(xiàn)了可用的 physical LUNs 并為 physical LUNs 創(chuàng)建了virtual LUNs ,輸入命令 ls lR /proc/mpp 然后按 Enter. 4. 現(xiàn)在能執(zhí)行到 LUNs 的 I/Os 訪問(wèn)了。5. If you make any changes to the MPP configuration file (/etc/) or the persistent binding file (/var/mpp/devicemapping), run mppUpdate to rebuild Page 12 of 12the RAMdisk image and to include the new file so that the new configuration file (or persistent binding file) can be used on any subsequent system reboot.6. The file /etc/ should have entries for , , and in order to capture all debug and error messages for MPP driver.