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
    

Where to buy philippines

tablets generic name http://www.midkentmetals.co.uk/pharmacy/multigram can i buy tablets over the counter.

do need prescription buy viagra spain

viagra trimix together
viagra without a doctor prescription
cheap brand name viagra online
viagra without a doctors prescription
genericos de sildenafil en mexico

top rated canadian pharmacies online

online prescriptions
best canadian mail order pharmacies
Walgreens Pharmacy
canadian pharmacies that ship to the us
pharmacy online
online canadian pharmacies
canadian pharmacy cialis
canada pharmacies
canadian pharmacy online

treva

text payday loans
online payday loans
payday loans austin tx
payday loans online

reputable canadian online pharmacies

prescription drugs without prior prescription
canadian pharmacies that ship to the us
online pharmacy
aarp recommended canadian pharmacies
canadian online rx
list of reputable canadian pharmacies
Canadian Online Pharmacy
canadian pharmacies online prescriptions
canadian drugs

Quedy

order female cialis cialis
cialis online
edrugstore cialis pills
generic cialis online

Calse

low cost cialis generic
generic cialis
chemical name cialis pills
buy cialis online

hadnerb

24 hour loans
payday loans online
loan guarantee
loans online

online drugs Ler

canada meds
canada drugs online
overseas pharmacy forum
canada drug pharmacy

viagra levitra dose conversion armour sace

levitra usage instructions
levitra online
que funciona mejor viagra cialis o levitra
levitra 20mg

Calse

mexico cialis generic
cialis coupon
order cialis online without prescription
buy cialis online

acedy

buy tadalafil cialis
cialis
buying cialis online without prescription
cheap cialis online

gswbidtu

pay day pay day payday loans online pay day

pharmacy price compare Ler

prescription drugs without prior prescription
canadian pharmacy viagra brand
pharmacy prices
canada pharmacies online

Farne

buy cialis no rx
cheap cialis
viagra pill for sale cialis generic
buy cheap cialis online

cialis generico online 3396

cialis online cialis on line no pres cialis online