[Xen-users] Using modem in DomU

Denny Schierz
Tue, 23 Aug 2005 10:40:14 -0000

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