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@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday 23 August 2005 12:40, Denny Schierz wrote:> 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 >...> #pci=[''00,2f,8'']The "pci" and "physdev_dom0_hide" parameters take PCI IDs as parameters (Bus number:device number:function, as displayed by "lspci"), not ISA Bus Port numbers. AFAIK sharing of ISA resources isn''t implemented, so you''ll have to use a PCI Serial Card or an USB->Serial converter if you want a real serial port under domU /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> AFAIK sharing of ISA resources isn''t implemented, so you''ll have to use a > PCI Serial Card or an USB->Serial converter if you want a real serial port > under domUYou can''t share an ISA device in general but last time this came up we did decide it was probably possible to give a guest access to a serial port (in the unstable tree, anyhow). The machinery is mostly in place for this (we think) but we need someone to write the tools code to actually make it work. Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users