WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Using modem in DomU

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Using modem in DomU
From: Denny Schierz <cuall@xxxxxx>
Date: Tue, 23 Aug 2005 12:40:14 +0200
Delivery-date: Tue, 23 Aug 2005 10:38:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050726)
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

<Prev in Thread] Current Thread [Next in Thread>