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
    

Pachice

viagra tie
viagra online
viagra bottle
buy generic viagra online

Diabe

best place to buy cialis online
cialis online
cialis generic cialis
cheap cialis online

Soolymn

discount buy generic cialis online
buy cheap cialis online
mail order cialis online pharmacy
buy cialis online

Froge

street value of viagra
buy viagra online
cost of viagra at walmart
buy generic viagra

where to buy viagra in uk over the counter

india generic viagra
viagra without a doctor prescription usa
generic viagra open discussion
viagra without a doctor prescription
is it possible to buy viagra online
canadian online pharmacies
safe websites buy viagra
canada pharmacies
ordering viagra into australia

offergy

cheap generic cialis pills
generic cialis
generic cialis india
buy cialis

heverk

q http://essaywritingserviceoc.com essay writing services http://essaywritingserviceoc.com >visit their website top essay writing services essay writing service levitra|read the article} doubt

viddemy

cheap online female cialis
buy cialis online
price of daily cialis 20mg
buy cialis online

prearty

buy viagra now
cheap viagra
viagra x plus
viagra online

Durnods

search cialis pharmacy
buy cialis online
buy cialis uk
buy cheap cialis coupon

Acami

does viagra make you last longer
buy generic viagra online
silagra vs viagra
viagra online

zeniulp

viagra free samples
generic viagra
india viagra
buy generic viagra

levitra one day shipping sace

levitra babyfoon camera shop
levitra 20 mg
levitra for women
levitra generic

Gawfums

is there a generic viagra
buy generic viagra
when do you take viagra
buy generic viagra online

natuise

cheap buy generic cialis online
buy cialis online
cheap cialis without prescription
buy generic cialis

apott

crype

buy generic cialis online no prescription
buy cheap cialis online
levaquin inhaler cialis pills cialis
buy cialis

Thirway

viagra i alkohol
buy generic viagra
why viagra works
buy generic viagra online

Alurimb

is viagra funded by the government
buy generic viagra online
viagra sex video
buy viagra online

arcable

buy cialis online mexico
cheap cialis
professional cialis pharmacy
buy cheap cialis coupon

unewv

b http://paydaytgt.com payday loans alexandria la http://paydaytgt.com >example here foot payday loans no credit check payday loans in huntsville al
n http://canadapharmacyjet.com pharmacy without dr prescriptions http://canadapharmacyjet.com >buy prescriptions online without doctor may drugs without a doctor's prescription online pharmacy
p http://cialisviu.com >buy cialis himself buy cialis buy cialis http://cialisviu.com

levitra bayer russia sace

levitra dosierung erfahrungen
levitra 20 mg bayer prezzo
levitra provoca dipendenza hotel
buy levitra

glync

cialis online buy
buy cheap cialis online
tadalafil buy generic cialis
buy cialis online

http://cialisqaz.com cialis 8krgqp

http://cialisqaz.com - buy cialis online safely
goodrx cialis
cialis coupons
http://cialisqaz.com - does cialis work
when will generic cialis be available
how does cialis work
http://cialisqaz.com - cialis price
cialis vs viagra
cialis dose
http://cialisqaz.com - cialis otc
viagra vs cialis
side effects of cialis
http://www.manacomputers.com/redirect.php?blog=b8�b8�b8�b8�b8�b8�b8�b8�b8�b8�b9�b8�b8�b8�b9�&url=http://cialisqaz.com

cawidge

define viagra
cheap viagra online
viagra 50 or 100 mg
buy cheap viagra online