rr2640 + Xen 3.4 hangs at boot [SOLVED]

来源:互联网 发布:python教程pdf 百度云 编辑:程序博客网 时间:2024/04/29 11:56
Finally, I have boot up the xen hypervisor with the Highpoint RocketRAID 2640x4 SAS/SATA controller card.  

1.  compile the dom0 kernel with rr26xx module built in.  Or another way to say it, "using the driver as a kernel patch".  I tested in kernel 2.6.18.8-xen.  

Download the rr26xx driver source, uncompress it to rr2640-linux-src-v1.xx/.  If it is v1.5 driver, you need to uncomment out two lines in inc/linux/Makefile.def, otherwise it couldn't find the make target "patchkernel":

    patchkernel:
           @sh $(HPT_ROOT)/osm/linux/patch.sh

Follow the driver's README to patch the kernel: 
    # cd rr2640-linux-src-v1.xx/product/rr2640/linux/
    # make patchkernel KERNELDIR=<kernel-source-dir>
     # cd /usr/src/linux-2.6.24
    # make menuconfig
     # make
    # make modules_install
    # make install
Note:  This approach assumes that you will cd into kernel src (i.e., /usr/src/linux-2.6.24) to run "make menuconfig".  If you have the kernel build in a separate directory, and hit "make" in that directory, it will NOT WORK. 

2. In the /boot/grub/menu.lst, I need to provide the parameter:
     kernel /boot/xen-3.4.0.gz edd=off

Reference: https://www.centos.org/forums/viewtopic.php?t=23393
0 0
原创粉丝点击