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
    

tmnliaot

wh0cd592332 abilify 2mg

virgin casino online nj cembd

golden nugget online casino zone online casino games twin river casino casinos in iowa | https://usaonlinecasinogames.us.org/ - real casino slots https://usaonlinecasinogames.us.org/ - gambling sites

morongo casino kdwkm

online casino gambling borgata hotel casino online casino games free gsn casino games | https://onlinecasinogames.fun/ - slot machines https://onlinecasinogames.fun/ - gsn casino slots

casino slots dekng

free slots games online free slot machine games free games online slots casino slots free | https://slotsgameshub.com/ - jackpot magic slots https://slotsgameshub.com/ - free online slots no download no registration

casino online tcibi

casino bonus firekeepers casino best online casinos | https://onlinecasino2018.us.org/ - casino slots

rivers casino pittsburgh hcyah

doubleu casino mgm online casino river spirit casino tulsa golden nugget online casino | https://onlinecasinoasti.com/ - turning stone online casino https://onlinecasinoasti.com/ - high five casino slots

gsn casino games mwskt

chumba casino bovada casino zone online casino | https://onlinecasino888.us.org/ - gsn casino games

free casino games and poker

new usa online casinos 2017
top rated free online casino games
best online casino games free
casino online
casino online free

yourcashgroup.com

pop slots wnjcr

pch slots tournament free slots games real casino slots slots online | https://vegascasino.tools/ - free penny slots https://vegascasino.tools/ - caesars slots

etyhsmau

wh0cd592332 Cheap Lipitor

stn play online casino gxiuq

high 5 casino snoqualmie casino rock n cash casino slots prairie meadows casino | https://onlinecasinogames.fun/ - casinos online https://onlinecasinogames.fun/ - hollywood casino online slots

winstar world casino ettpa

muckleshoot casino pechanga casino sugarhouse casino muckleshoot casino | https://onlinecasinoplayslots.us.org/ - four winds casino https://onlinecasinoplayslots.us.org/ - grand falls casino

riverwind casino auaee

choctaw casino durant oklahoma online casino reviews casino near me bovada blackjack | https://online-casino.fun/ - gsn casino on facebook https://online-casino.fun/ - island view casino

firekeepers casino gpcoa

online casinos tropicana online casino casino online casino blackjack | https://onlinecasinoplay.us.org/ - casino slots https://onlinecasinoplay.us.org/ - virgin online casino

turning stone casino ooaqf

double u casino turning stone casino del lago casino rivers casino schenectady | https://onlinecasino888.us.org/ - high five casino slots https://onlinecasino888.us.org/ - bigfish casino online games

free online casino rzbrv

bigfish casino online games mohegan sun online casino doubledown casino dakota sioux casino | https://onlinecasinoasti.com/ - empire casino online https://onlinecasinoasti.com/ - posh casino

vegas slots free frdhw

free slots machines caesars free slots penny slots free slots for free | https://freeslots4k.com/ - konami free slots https://freeslots4k.com/ - simslots free slots

empire city casino online vdkyg

virgin casino online gsn casino on facebook jack online casino casino real money | https://casinorealmoney.fun/ - gambling sites https://casinorealmoney.fun/ - online casino games

four winds casino xhbxv

gsn casino foxwoods online casino casino online harrah cherokee casino | http://online-casino.icu/ - caesar casino online slot games http://online-casino.icu/ - posh casino online

free slots vegas uzamm

igt free slots slots of vegas casino free penny slots vegas slots online free | https://playcasinoslots.fun/ - casino games slots free https://playcasinoslots.fun/ - slotomania on facebook

ynprjvhj

double u casino imwmm

turning stone online casino oxford casino hollywood casino gsn casino games | https://casino-games.icu/ - empire city casino online https://casino-games.icu/ - riverwind casino

caesars online casino vzuso

slots for real money real money casino borgata online casino | https://onlinecasino2018.us.org/ - online casino slots

tropicana online casino qvftk

online casino gambling tropicana online casino gsn casino | https://onlinecasino888.us.org/ - online casinos for us players

hollywood casino online slots sfukj

slots for real money foxwoods online casino login mgm online casino doubleu casino | http://online-casino.icu/ - mystic lake casino http://online-casino.icu/ - casino near me

monopoly slots fdion

free games for casino slots hollywood casino slots free free slots online slots online | https://casinoslot.icu/ - free penny slots no download https://casinoslot.icu/ - pop slots casino

hard rock casino atlantic city qrdnv

casino online slots doubledown casino facebook rivers casino pittsburgh vegas casino online | https://onlinecasinoplay24.us.org/ - double down casino https://onlinecasinoplay24.us.org/ - plainridge casino

zone online casino games fmfyd

doubleu casino on facebook muckleshoot casino free online casino bovada blackjack | https://onlinecasinogamesy.us.org/ - parx online casino https://onlinecasinogamesy.us.org/ - mgm online casino nj

onlinedatingwebsites.us.com

adultonlinewebcams.us.com

hampton beach casino ballroom bjxpx

casino slots slot machines riverwind casino online casinos for us players | http://online-casino.icu/ - island view casino http://online-casino.icu/ - casino online

foxwoods casino online slots vgaxl

empire city online casino san manuel online casino casino games slots free greektown casino | https://casinoplay.fun/ - harrah online casino https://casinoplay.fun/ - slots for real money

gold fish casino slots csdio

caesars free slots liberty slots caesars slots slot games free | https://playslots.icu/ - vegas world slots https://playslots.icu/ - buffalo gold slots

fzevdpeo

car insurance comparison auto home insurance insurance auto quotes auto home insurance

gamepoint slots ckqyr

vegas free slots online free online slots free vegas slots old vegas slots | https://online-slots.fun/ - goldfish slots https://online-slots.fun/ - online slots free