Hi,guys
I have 3 HP DL140G2 servers and install
Oracle VM 2.12 on them. After installment, OVM recognize my SATA
harddisk as ATA.
I did the following
process.
1. changed /boot/grub/grub.conf ,added
ide0=noprobe on every kernel line, it looks
like this
kernel /xen-64bit.gz
dom0_mem=668M ide0=noprobe
2. changed /boot/grub/device.map ,let
/dev/hda to /dev/sda
3. reboot my server.
Unfortunately,the changes is not
effective.
After then, I recompile
/boot/initrd-2.6.18-8.1.15.1.16.el5xen.img,changed to
echo "Loading ahci.ko
module" insmod /lib/ahci.ko
on init, and copy ahci.ko to lib/
directory.
And changed /etc/modprobe.conf to
alias scsi_hostadapter ahci
reboot my server.
Unfortunately,the changes is not
effective.
I used df, the disk is showed as /dev/hda3
I use lsmod, I can see
ahci
22085 0
libata
97881 2 ata_piix,ahci
It means I had load ahci as harddisk
driver?
My Xen version si Xen version
3.1.4
Here are my dmesg uniform part and ata_piix
part.
Uniform Multi-Platform E-IDE driver Revision:
7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx Probing IDE interface ide0... hda: Maxtor 6Y080M0, ATA DISK
drive Probing IDE interface ide1... ide0 at 0x1f0-0x1f7,0x3f6 on irq
14 hda: max request size: 512KiB hda: 156301488 sectors (80026 MB)
w/7936KiB Cache, CHS=16383/255/63 hda: cache flushes supported hda:
hda1 hda2 hda3 hda4 < hda5 >
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low)
-> IRQ 16 PCI: Setting latency timer of device 0000:02:00.0 to 64 eth0:
Tigon3 [partno(BCM95721) rev 4101 PHY(5750)] (PCI Express) 10/100/1000Base-T
Ethernet 00:14:38:a7:64:f2 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1]
WireSpeed[1] TSOcap[1] eth0: dma_rwctrl[76180000] dma_mask[64-bit] ACPI:
PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 16 PCI:
Setting latency timer of device 0000:03:00.0 to 64 eth1: Tigon3
[partno(BCM95721) rev 4101 PHY(5750)] (PCI Express) 10/100/1000Base-T Ethernet
00:14:38:a7:64:f3 eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1]
TSOcap[1] eth1: dma_rwctrl[76180000] dma_mask[64-bit] input: PC Speaker as
/class/input/input0 EDAC MC: Ver: 2.0.1 Aug 1 2008 intel_rng: FWH
not detected EDAC e752x: tolm = d8000, remapbase = 200000, remaplimit =
224000 EDAC MC0: Giving out device to e752x_edac E7520: DEV
0000:00:00.0 ata_piix 0000:00:1f.2: version 2.00 ata_piix 0000:00:1f.2:
MAP [ P0 -- P1 -- ] ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level,
low) -> IRQ 19 ata: 0x1f0 IDE port busy PCI: Setting latency timer of
device 0000:00:1f.2 to 64 ata1: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma
0x1478 irq 15 scsi0 : ata_piix ATA: abnormal status 0x7F on port
0x177 ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ
20 floppy0: no floppy controllers found lp: driver loaded but no devices
found ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM)
[PWRB] ibm_acpi: ec object not found
So how can I let my OS use SATA
harddisk?
Forrest Wang
|