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
    

cialis vastaava tuote Ler

can you take cialis with beta blockers
buy cialis online
cialis prezzo e confezioni
cheap cialis

itmqaovr

loan for bad credit commercial loan loan with bad credit payday loans bad credit

drug price Ler

online discount pharmacy
highest rated canadian pharmacies
canada drug pharmacy
canadian pharmacy viagra brand

who has the cheapest viagra

viagra ireland sale
viagra online
sildenafil genericos intercambiables
viagra online
50 mg of viagra or 100 mg

midwest heart specialists coumadin clinic Ler

cialis receta precio
buy cialis online
vad innehГҐller cialis
cheap cialis

canadian pharmacy online Ler

canada pharmacies without script
canada drugs online
canadian pharmacy 365
canadian pharmacies online

jrrvob4j

wh0cd44342 buy cymbalta

female viagra and antidepressants Ler

on line prescription for viagra
viagra pills
a href order viagra online a
viagra without a doctor prescription

canadian meds Ler

prescription prices comparison
online pharmacies canada
medical information online
canadian online pharmacies

Undignified discount products method

alejados
http://withoutdoctorsprescription.com - rsa anti-fraud abuse center
glij
rsa anti-fraud abuse center
starches
changef

generic viagra online drugstores Ler

alternatives for viagra
viagra without a doctor prescription
viagra burning pain right side
viagra generic

http://cialisnnq.com 7c4igs

juaffpms

dr gundry diet dr gundry dr gundry dr gundry's diet gundry gundry md steven gundry gundry md prebiothrive

mail order pharmacy Ler

hypsutt

buy cialis no rx
buy cialis online
viagra half dose cialis pills
cheap cialis

cialis once a day rezeptfrei Ler

cialis wlasciwosci
cialis 20 mg
cialis 100mg cena
buy cialis online

loctbnxw

christmas loans for bad credit get a loan without a job personal loans bad credit commercial loan rates

launch of viagra Ler

can you take viagra and phentermine
viagra generic
viagra purines
generic viagra 100mg

caterpillar fungus indias viagra Ler

subaction showcomments viagra thanks newest
viagra pills
whats the active ingrediant for viagra
cheap viagra

vsnalhly

car financing car refinancing auto financing for bad credit car financing

u 2899 viagra Ler

viagra tadalafil research
generic viagra online
viagra otc
buy viagra

canadian prescription drugs Ler

canadian cialis
canada pharmacy online
buying drugs canada
canadian pharmacies that are legit

cialis vendita svizzera

cialis brand online australia

http://cialisforsaleauq.com/ - cialis generic
cialis generic

how much does 5g cialis cost

i use it cialis tablets sale

cialis svizzera ricetta

http://cialisforsaleauq.com/ - discount cialis
generic cialis

cialis kaufen in osterreich

canadian mail order pharmacies Ler

cheap canadian drugs
canadian pharmacy
canadian pharmacy 365
top rated online canadian pharmacies

working out while on cialis Ler

donde comprar cialis en tijuana
cialis online
mejor cialis viagra
cialis 20mg

cialis and permanent loss of vision Ler

cialis 36 hour cost
cialis without a doctor prescription
comparer viagra et cialis
cheap cialis