[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: [Xen-users] Using serial port from a domU


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Franz Von Hahn <franz.vonhahn@xxxxxxxx>
  • Date: Fri, 17 Oct 2008 16:51:00 +0000 (GMT)
  • Delivery-date: Fri, 17 Oct 2008 09:51:39 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W60njZOHrTmDvkIPeS9o0039mfJyTk0Tg39FQMo4yUXXJmgDya6f05TpuPNlQKKiZ7+cijRGZz0DrUeR9x2eilhXhcAnFG8uEzpRGkQoD/7rcshOCfW5HNBGben4I6c+rkUCyU067Wq6vYX3u4mM87CXb/3y3YvcsuNnxjbouEY=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Just something to be added:

- This procedure doesn't work with a Fedora 9 DomU
- Maybe you have to blacklist some modules in the Dom0: AFAIK you have to rmmod 
(better: blacklist on boot using modprobe.conf) these modules: serial_core 8250 
and 8250_pnp




----- Ursprüngliche Mail ----
Von: Federico Fanton <fake@xxxxxxxxxxxx>
An: xen-users@xxxxxxxxxxxxxxxxxxx
Gesendet: Freitag, den 17. Oktober 2008, 18:36:16 Uhr
Betreff: [Xen-users] Using serial port from a domU

Hi everyone!
I just wanted to share all the bits of information I needed while trying 
  to get a serial modem to work under a Xen guest :) I found other 
howtos but every one was missing something.

So, my setup consists of dom0 and domU with CentOS 5.2, kernel 
2.6.18-92.1.10.el5xen and Xen 3.2.1

To get /dev/ttyS0 to work under domU:

- Tell Xen to use something else for its console:
in /boot/grub/menu.lst, add "console=xvc0 xencons=xvc0" to the kernel 
parameters (maybe just xencons is needed)

- Tell Xen to "show" IRQ/port to the domU:
in domU's .cfg add
addirq = [ 4 ]
ioports = [ "3f8-3ff" ]

- Tell the domU to autoload the serial module:
create in /etc/sysconfig/modules an executable script containing
modprobe 8250

Bye!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.