Xen and serial ports access from domU

PDF versionSend to friendPrinter-friendly version

Howto use the serial ports (/dev/ttySX) from a xen domU

I've recently migrated a zabbix server from a standalone machine to a xen vm.
Attached to serial port of the old server there was a GSM modem used by smstools to send via SMS some of zabbix alarms.
So I wanted to use the same modem with the new domU zabbix server: this is my little howto to get a xen domU access serial ports.

  1. First of all we have to avoid the dom0 to access the serial ports of the machine:
    with debian create a new file (eg.serial-blacklist) in /etc/modprobe.d/ specifying the blacklisting for 3 kernel modules related to serial ports
    blacklist 8250
    blacklist 8250_pnp
    blacklist serial_core
    
  2. Configure the vm: in the configuration file for the domU specify the following lines:
    irq = [4]
    ioports = ['3f8-3ff']
    
  3. On the domU filesystem verify the availability of the kernel modules in /lib/modules/`uname -r`/kernel/drivers/serial:
    8250.ko  8250_pci.ko  8250_pnp.ko  jsm  serial_core.ko  serial_cs.ko
    
  4. In order to have the correct devices in /dev directory install udev:
    apt-get install udev
    

uncop

domperidone
buy viagra
motilium
buy viagra

hexpressionv

h http://essaytgt.com essay writing service http://essaytgt.com >college paper writing service more best essay writing service reviews college paper writing service

canadian online pharmacy

canadian pharmacies shipping to usa
top rated online canadian pharmacies
canadian online pharmacies
online canadian pharmacies
no 1 canadian pharcharmy online
canadian pharmacies online prescriptions
prescription drugs without prior prescription
canadian pharmacies that ship to the us
pharmacy online

canadian pharmacy cialis

buy medication without an rx
canadian online pharmacies
prescription drugs online without doctor
legitimate canadian mail order pharmacies
prescriptions online
aarp recommended canadian pharmacies
canada pharmacy online
canadian pharmacies that ship to the us
prescription drugs online without doctor

Anigo

viagra online
buy generic viagra
cialis tablets for sale
buy viagra online

adeprok

thuoc viagra
buy viagra online
b&b viagrande
buy cheap viagra online

best ed pills

sildenafil citrate
pharmacy online
canadian pharmacies
Canadian Pharmacy
canadian pharmacies
Canadian Pharmacies

qual o melhor generico do viagra

viagra online uk lloyds
viagra without prescription
what does half a pill of viagra do
viagra without doctor prescription
viagra produce sordera

bouch

viagra 30 day free trial
generic viagra
who is the woman in the viagra commercial
cheap viagra

jgygnigsiuahnzggkyfwhdaecsorcqq

what is cialis professional order cialis online cheap can women take cialis cialis coupons cialis originale online http://rabbitinahat.com

tublive

best way to use viagra
buy cheap viagra online
kamagra vs viagra
buy cheap viagra online

Ancetle

best way to take viagra
generic viagra
viagra commercials
buy cheap viagra

Humurdy

woman on viagra commercial
buy cheap viagra online
viagra next day delivery usa
cheap viagra

Cheapest price australia

order generic in usa http://www.actionportraits.co.uk/pharmacy/tulac order online canada.