|
|
to youbest:你可以把这个加入你的大作里边。:)。
VMWare 提供两种 磁盘控制器。BusLogic / LSI Logic。我见到很多人都用 BusLogic 的。我就BT了一下,选的是 LSI Logic。但是死活都找不到硬盘。研究了一下得到了结果,特此分享。
结论:两者需要不同的内核模块。
BusLogic 的设置:
SCSI 控制器中 选中:<M> BusLogic SCSI support
LSI Logic 的设置:
Device Drivers --->
Fusion MPT device support --->
<M> Fusion MPT ScsiHost drivers for SPI
SCSI 低级控制器 一个都不用选。
编译后,SCSI 硬盘就可以认出来了。不用重启,直接加载模块即可。
我是用 udev 加载的。当然,如果启动的话,就要把相应的模块编译进去内核,而不是以模块形式存在。
LSI Logic 的 kernel 信息:
Fusion MPT base driver 3.03.07
Copyright (c) 1999-2005 LSI Logic Corporation
Fusion MPT SPI Host driver 3.03.07
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
scsi0 : ioc0: LSI53C1030, FwRev=00000000h, Ports=1, MaxQ=128, IRQ=17
Vendor: VMware, Model: VMware Virtual S Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
0:0:0:0: Attached scsi generic sg0 type 0
SCSI device sda: 16777216 512-byte hdwr sectors (8590 MB)
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: asking for cache data failed
sda: assuming drive cache: write through
SCSI device sda: 16777216 512-byte hdwr sectors (8590 MB)
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: asking for cache data failed
sda: assuming drive cache: write through
sda: unknown partition table
sd 0:0:0:0: Attached scsi disk sda |
|