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

[Xen-users] Using modem in DomU


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Denny Schierz <cuall@xxxxxx>
  • Date: Tue, 23 Aug 2005 12:40:14 +0200
  • Delivery-date: Tue, 23 Aug 2005 10:38:20 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

hi,

i red several mails, but didn't found a real solution. I want to install hylafax in DomU and i need access to /dev/ttyS1. I hide com2 in grub:

title Xen 2.0 / XenLinux 2.6.11
kernel /boot/xen.gz dom0_mem=64000 physdev_dom0_hide='(00:2f.8)' max_loop=32
module /boot/xen-linux-2.6.11.12-xen0.xen.kernel root=/dev/hda2 ro

i used the entries from dmesg:

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

my config looks like this:

name ="debian-mail"
kernel ="/boot/xen-linux-2.6.11.12-xen0.xen.kernel"
root ="/dev/sda1"
memory =128
disk = ['file:/mnt/vserver/images/mail.img,sda1,w','file:/mnt/vserver/images/swap.img,sda2,w','file:/mnt/vserver/images/mail-var.im$

# network

nics=1
vif = ['mac=aa:00:00:00:00:02, bridge=xen-br0']
dhcp ="off"
ip="192.168.100.3"
netmask="255.255.255.0"
gateway="192.168.100.253"
hostname="mx02"
#pci=['00,2f,8']
extra="3"

but if i remove the comment (#) in the pci line, than the config won't working. xen tolds me, i have a syntax error.

xen:~# xm create -c /etc/xen/mail-config.sxp
Using config file "/etc/xen/mail-config.sxp".
Error: Error creating domain: (22, 'Invalid argument')

i don't know what the problem can be.

any suggestions?

cu denny

_______________________________________________
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®.