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 10 mg filmtabl

online cheapest cialis

http://cialisyyt.com/ - order cialis
buy generic cialis

cialis without dr


wh0cd204542 buy prozac


fast online payday loans
payday express
no verification loans
payday loans online

patentschutz cialis online sace

anticoncepcional althaea generico de cialis
cialis 5 mg
malival compuesto generico de cialis
cheap cialis

online casino slots tlpld

parx online casino zone online casino virgin online casino best online casinos | https://bestonlinecasinoddesk.com/ - real casino https://bestonlinecasinoddesk.com/ - casino real money

casino online ccycl

casino online casino games casino bonus real money casino | https://onlinecasinoplay.us.org/ - best online casinos https://onlinecasinoplay.us.org/ - casino slots

pruet dha generic cialis sace

torvex 20 mg cialis
cialis buy
online cialis pills
tadalafil 5mg

casino real money ypmyd

casino online casino games casino online | https://onlinecasino888.us.org/ - casino slots

casino online rbdxg

best online casinos online casino games online casino real money | https://onlinecasino888.us.org/ - online casino


buy viagra without prescription
buy cheap viagra
viagra where can i buy it
buy viagra

casino slots ealug

online casino slots casino real money online casinos casino play | https://onlinecasinobiggs.com/ - casino online slots https://onlinecasinobiggs.com/ - free online casino


payday loans payday loan no fax no fax payday loan payday loans

viagra 50 100 mg unterschied

viagra without a doctor prescription
viagra prices
viagra without a doctor prescription
viagra pills

casino bonus clvxb

online casino real money best online casinos real money casino | https://onlinecasino2018.us.org/ - casino bonus

100mg viagra cialis equivalent

viagra prices
viagra prices
generic viagra
viagra prices


viagra 100mg dosage
cheap viagra
viagra online canada
buy cheap viagra


fast cash advance cash advances cash advance usa real loans


3 month loans
payday express
high interest personal loans
personal loans

best online casino geqft

foxwoods online casino online casino games best online casinos casino online slots | https://onlinecasinobestplay.us.org/ - online casino slots https://onlinecasinobestplay.us.org/ - online casino real money


checking account advance
personal loans
cash advance loans las vegas
personal loans


tropicana online casino iityc

mgm online casino betfair online casino foxwoods online casino tropicana online casino | https://trstonlinecasino.com/ - caesars online casino https://trstonlinecasino.com/ - parx online casino


casino online wjnze

casino games best online casinos best online casino | https://onlinecasino2018.us.org/ - casino real money

traitement cialis 5mg cpr 28

cialis preis schweiz

http://cialisyyt.com/ - generic cialis
cialis 20mg

online cheapest cialis