Problem IO driver crash
Identifiing virtual IO driver crash
dmesg messages
sym0: unexpected disconnectsym0:1: No MSG IN phase after reselection.sr 0:0:0:0: ABORT operation started.sr 0:0:0:0: ABORT operation timed-out.sr 0:0:0:0: DEVICE RESET operation started.sr 0:0:0:0: DEVICE RESET operation timed-out.sym0: SCSI BUS reset detected.sr 0:0:0:0: BUS RESET operation complete.sym0: SCSI BUS has been reset.sym0:1: No MSG IN phase after reselection.sr 0:0:0:0: ABORT operation started.sr 0:0:0:0: ABORT operation timed-out.sr 0:0:0:0: DEVICE RESET operation started.sr 0:0:0:0: DEVICE RESET operation timed-out.sr 0:0:0:0: BUS RESET operation started.sym0: SCSI BUS reset detected.Solution
1.
Change vm.cfg
use names hd
x or xvd
x at your convenience (
xvdx devices should automatically use PV driver)
disk = ['phy:/dev/mpath/mpath10,xvdb,w!','phy:/dev/mpath/mpath11,hdb,w!','phy:/dev/mpath/mpath12,xvdc,w!','phy:/dev/mpath/mpath13,hda,w!','phy:/dev/mpath/mpath14,xvdd,w!','file:/var/ovs/mount/50B4E4F856D04A8991B741ABE6751EA2/iso_pool/OracleEL/Enterprise-R5-U4-Server-x86_64-dvd.iso,sda:cdrom,r',]2.
in /etc/modprobe.conf disable ata_piix and sym53c8xx virtualization drivers and enabled default xen PV driver xen-vbd
cat /etc/modprobe.conf#alias scsi_hostadapter sym53c8xx#alias scsi_hostadapter1 ata_piixalias sym53c8xx offalias scsi_hostadapter xen-vbd
2.1
You REAL shouldn't use virtual IO network driver
#alias eth0 8139cp #this driver is relay slow it defaults to ~36Mbit/s you should use netfront
3.
Create new initrd file with xen-vbd driver
mkinitrd -v initrd-2.6.18-164.el5.img 2.6.18-164.el5
4.
Change add following parameters to grub
ide0=noprobe noapic ide1=noprobe noapic
kernel /vmlinuz-2.6.18-164.el5 ro root=/dev/VolGroup00/LogVol00 ide0=noprobe noapic ide1=noprobe noapic rhgb quiet5.
Chek if PV drivers are in use
find /sys/devices/xen/ |grep block/sys/devices/xen/vbd-2048/block:sda/sys/devices/xen/vbd-51760/block:xvdd/sys/devices/xen/vbd-768/block:hda/sys/devices/xen/vbd-51744/block:xvdc/sys/devices/xen/vbd-832/block:hdb/sys/devices/xen/vbd-51728/block:xvdb6.
test performance with (performance should be very close to native)
hdparm -t /dev/xvdb
Regards
Uros