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 generico online 3396

cialis online cialis on line no pres cialis online

mexican pharmacy online Ler

canadadrugs
canada online pharmacies
canada drugs online pharmacy
canadian online pharmacy

book buy guest levitra pl site sace

levitra vardenafil hcl tablets review
levitra 20mg
2 minutos yo te vi levitra
levitra online

gigeose

reductil online without prescription cialis 20mg
buy cialis
viagra or levitra or cialis online pharmacy
buy cialis online

stohesk

get cialis online pharmacy where
buy cialis online
viagra dejstvo cialis pills cialis
cialis coupon

preorse

cost cialis generic drugs cialis
cheap cialis online
buy generic cialis us
buy cialis online

online pharmacy canada Ler

online drugs
canadian pharmacies online
canadian pharmacy king
canada drug

no prescription online pharmacy Ler

canadian pharmacy meds
no 1 canadian pharcharmy online
canada drugs online
trust pharmacy canada

can you buy viagra over the counter in europe

viagra online europa
viagra without a doctor's prescription
existe la viagra generica
viagra without doctor
how to take viagra 50 mg
viagra without a doctor's prescription
getting viagra through customs
viagra without a doctor prescription
viagra tablets for sale in australia

Prurb

viagra warnings
buy viagra online
ingredient in viagra
buy viagra

unloart

90 day loans
payday loans online
signature loans for bad credit
loans online

Balgate

viagra for kids
buy cheap viagra online
otc viagra walmart
buy cheap viagra online

Joiva

bad credit loans not payday loans
loans online
loans online for bad credit
payday loans online

Adjouse

cialis generic india
buy cialis online
cheap cialis
buy cialis online

canadadrugs Ler

northwest pharmacy canada
northwest pharmacy
best non prescription online pharmacies
canada pharmacy online

walgreens pharmacy Ler

canadian pharmacy uk delivery
canada pharmacy online
global pharmacy canada
canadian pharmacies that are legit

Undurce

ci alis online
buy generic cialis
site edu cialis generic
cheap cialis

prearty

viagra mouth spray
generic viagra
viagra commercial
buy cheap viagra online

occab

generic cialis sale
cheap cialis online
cialis splitting tablets
cialis online

Non prescription website

can you buy online in the usa http://www.stevechappell.co.uk/pharmacy/activir best price for new zealand.

lelay

spam viagra cialis generic levitra
buy generic cialis
cialis vs generic cialis
cialis