[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Problems with serial IO PCI card in DomU
Hi, I assume, you're running a different kernel in your domU. First, prepare your dom0: - Blacklist the module in your dom0 e.g. echo "blacklist snx" >> /etc/modprobe.d/blacklist-snx.conf - Be sure to load the pci-back Module in dom0 (assuming this has been built as module) e.g. echo "xen-pciback" >> /etc/modules - Hide the pci device in your dom0 e.g. echo "options xen-pciback hide=(0000:08:03.0)" >>/etc/modprobe.d/xen-pciback.conf In short words, be sure to disable that pci card in your dom0. Maybe you'll want to have a look here : http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_as_module If xen-pciback has been statically built into your dom0 kernel, you could also try to add pciback.hide=(0000:08:03.0) to your kernel parameters in your bootloader config. dom0 should NOT be able to use 08:03.0 anymore. Having this done, boot up your domU with the domU parameters, you've already added. You didn't say how your domU is configured, personally I'ld always prefer the kernel and initrd inside the domU. Install kernel-headers and build your snx module inside your domU. Depending on your setup, there are many ways to get that module up in your domU, but building it inside a domU is comparably painless when it comes to different compiler and/or kernel versions. Even if you think of updates. Now, modprobe snx inside your domU should drive the card. Anyway, I'ld doublecheck the necessity of pci-back/pci-front for relatively simple services like tty. In the long run, an independent domU is much easier to handle. Using pci-back/pci-front, your domU has the potential capability of kicking your whole box out of service. TTY can easily be redirected over TCP/IP. Cheers,
Von: S. Kremer <sk71@xxxxxx> Reply-to: "S. Kremer" <sk71@xxxxxx> An: xen-users@xxxxxxxxxxxxxxxxxxx Betreff: [Xen-users] Problems with serial IO PCI card in DomU Datum: Sun, 15 Jan 2012 11:37:53 +0100 Hi @ll, i have problems to use serial io pci card under domu. Serial card: 08:03.0 Multiport serial controller: SUNIX Co., Ltd. Device 1999 I compiled the snx driver/modules at dom0and load successfully the module: ================ Found 2 SUNIX port , list informations ==================== SUNIX driver ver -- 2.0.0.0 ttySNX0 -- SUNIX 5037 Series (bus:8 device: 3) , base address = ec00, irq = 16 ttySNX1 -- SUNIX 5037 Series (bus:8 device: 3) , base address = ec08, irq = 16 ============================================================================= Then i use the following commands to unbind the pci card from xen echo -n 0000:08:03.0 > /sys/bus/pci/drivers/pciback/new_slot echo -n 0000:08:03.0 > /sys/bus/pci/drivers/pciback/bind and my domU config: pci = [ '08:03.0'] irq = [ 16 ] ioports = [ "ec00-ec07", "ec08-ec0f" ] in domU lspci shows me the correct Sunix card, but i can not insert module to use the card (io ports) in domU. What can I do to make the serial IO card running at domU? I would like use this card or one port of it for a analog fax modem and hylafax in domU. Perhaps there is another way to solve my problem. Best regards Stefan _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |