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-devel

Re: [Xen-devel] Xen 3.4.3and CentOS PCIback

To: David Gonzalez Herrera <dgonzalezh@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen 3.4.3and CentOS PCIback
From: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Date: Wed, 10 Nov 2010 19:16:47 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Nov 2010 10:53:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=q3LYMv7ri4QiWxQ9sLG+rFmQEGL0+8d91Fbfm@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Eikelenboom IT services
References: <AANLkTi=q3LYMv7ri4QiWxQ9sLG+rFmQEGL0+8d91Fbfm@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hello David,

My suggestions would be:
- use pciback.hide=(03:01.0) option on the kernel line in your bootloader, to 
seize the device, so dom0 never initializes it.
- Why do you use the "@1" in your domU config and not just pci=['03:01.0']  ?

- I personally always use the passthrough option for pciback when compiling the 
dom0 kernel, but i don't think that matters much, although perhaps not 
everything plays nice with a device on 0000:00:00.0

--

Sander

Tuesday, November 9, 2010, 7:07:22 PM, you wrote:

> Hi,

> I'm using CentOS 5.5 x86_64 xen 3.43 from gitco.de and I have an Openvox
> A1200P voip card and am passing it thru to another centos 5.5 DomU, when I
> 1st start the domain driver loads and everything seems quite nice and the
> device works, but after a reboor of the DomU, this is shown on my Dom0 dmesg

> Here's Dom0 info

> [root@xen ~]# dmesg
> Bootdata ok (command line is ro root=/dev/gw/root nomodeset)
> Linux version 2.6.18-194.17.4.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc
> version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Mon Oct 25 16:36:31 EDT
> 2010
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000077035000 (usable)
> On node 0 totalpages: 487477
>   DMA zone: 487477 pages, LIFO batch:31
> DMI present.
> ACPI: RSDP (v002 PTLTD                                 ) @
> 0x00000000000f69a0
> ACPI: XSDT (v001 PTLTD           XSDT   0x06040000  LTP 0x00000000) @
> 0x000000007ff73430
> ACPI: FADT (v003 AMD    HAMMER   0x06040000 PTEC 0x000f4240) @
> 0x000000007ff75da6
> ACPI: SRAT (v001 AMD    HAMMER   0x06040000 AMD  0x00000001) @
> 0x000000007ff75e9a
> ACPI: MADT (v001 PTLTD           APIC   0x06040000  LTP 0x00000000) @
> 0x000000007ff75f3a
> ACPI: SPCR (v001 PTLTD  $UCRTBL$ 0x06040000 PTL  0x00000001) @
> 0x000000007ff75fb0
> ACPI: DSDT (v001 AMD-K8  AMDACPI 0x06040000 MSFT 0x0100000e) @
> 0x0000000000000000
> ACPI: Local APIC address 0xfee00000
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
> IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
> ACPI: IOAPIC (id[0x03] address[0xfc000000] gsi_base[24])
> IOAPIC[1]: apic_id 3, version 17, address 0xfc000000, GSI 24-27
> ACPI: IOAPIC (id[0x04] address[0xfc001000] gsi_base[28])
> IOAPIC[2]: apic_id 4, version 17, address 0xfc001000, GSI 28-31
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
> ACPI: IRQ0 used by override.
> ACPI: IRQ2 used by override.
> ACPI: IRQ9 used by override.
> Setting APIC routing to xen
> Using ACPI (MADT) for SMP configuration information
> Allocating PCI resources starting at 88000000 (gap: 80000000:7ec00000)
> Built 1 zonelists.  Total pages: 487477
> Kernel command line: ro root=/dev/gw/root nomodeset
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Xen reported: 1804.138 MHz processor.
> Console: colour VGA+ 80x25
> Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
> Software IO TLB enabled:
>  Aperture:     2 megabytes
>  Kernel range: 0xffff88000355d000 - 0xffff88000375d000
> PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
> Memory: 1887992k/1949908k available (2513k kernel code, 53080k reserved,
> 1395k data, 184k init)
> Calibrating delay using timer specific routine.. 4511.94 BogoMIPS
> (lpj=9023898)
> Security Framework v1.0.0 initialized
> SELinux:  Initializing.
> SELinux:  Starting in permissive mode
> selinux_register_security:  Registering secondary module capability
> Capability LSM initialized as secondary
> Mount-cache hash table entries: 256
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 1024K (64 bytes/line)
> (SMP-)alternatives turned off
> ACPI: Core revision 20060707
> Brought up 2 CPUs
> Initializing CPU#1
> sizeof(vma)=168 bytes
> sizeof(page)=56 bytes
> sizeof(inode)=560 bytes
> sizeof(dentry)=216 bytes
> sizeof(ext3inode)=760 bytes
> sizeof(buffer_head)=96 bytes
> sizeof(skbuff)=248 bytes
> migration_cost=544
> checking if image is initramfs... it is
> Grant table initialized
> NET: Registered protocol family 16
> ACPI: bus type pci registered
> PCI: Using configuration type 1
> ACPI: Interpreter enabled
> ACPI: Using IOAPIC for interrupt routing
> ACPI: No dock devices found.
> ACPI: PCI Root Bridge [PCI0] (0000:00)
> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 5 10 11) *0, disabled.
> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 *5 10 11)
> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 5 *10 11)
> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 5 10 *11)
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.TP2P._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.G0PA._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.G0PB._PRT]
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI init
> pnp: PnP ACPI: found 12 devices
> xen_mem: Initialising balloon driver.
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> PCI: Using ACPI for IRQ routing
> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
> report
> NetLabel: Initializing
> NetLabel:  domain hash size = 128
> NetLabel:  protocols = UNLABELED CIPSOv4
> NetLabel:  unlabeled traffic allowed by default
> pnp: 00:05: ioport range 0x4d0-0x4d1 has been reserved
> pnp: 00:05: ioport range 0x1100-0x117f has been reserved
> pnp: 00:05: ioport range 0x1180-0x11ff has been reserved
> PCI: Bridge: 0000:00:06.0
>   IO window: 2000-2fff
>   MEM window: fc100000-fdffffff
>   PREFETCH window 0x0000000088000000-0x00000000880fffff
> PCI: Bridge: 0000:00:0a.0
>   IO window: disabled.
>   MEM window: fe000000-fe0fffff
>   PREFETCH window 0x0000000088100000-0x00000000881fffff
> PCI: Bridge: 0000:00:0b.0
>   IO window: 3000-3fff
>   MEM window: fe100000-fe1fffff
>   PREFETCH window: disabled.
> NET: Registered protocol family 2
> IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
> TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
> TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
> TCP: Hash tables configured (established 262144 bind 65536)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> type=2000 audit(1289083226.530:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> SELinux:  Registering netfilter hooks
> Initializing Cryptographic API
> alg: No test for crc32c (crc32c-generic)
> ksign: Installing public key data
> Loading keyring
> - Added public key 5E4A078C196151F
> - User ID: CentOS (Kernel Module GPG key)
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> PCI: MSI quirk detected. PCI_BUS_FLAGS_NO_MSI set for 0000:00:0a.0
> subordinate bus.
> AMD8131 rev 12 detected, disabling PCI-X MMRBC
> PCI: MSI quirk detected. PCI_BUS_FLAGS_NO_MSI set for subordinate bus.
> PCI: MSI quirk detected. PCI_BUS_FLAGS_NO_MSI set for 0000:00:0b.0
> subordinate bus.
> AMD8131 rev 12 detected, disabling PCI-X MMRBC
> PCI: MSI quirk detected. PCI_BUS_FLAGS_NO_MSI set for subordinate bus.
> Boot video device is 0000:01:06.0
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> Real Time Clock Driver v1.12ac
> Non-volatile memory driver v1.2
> Linux agpgart interface v0.101 (c) Dave Jones
> brd: module loaded
> Xen virtual console successfully installed as ttyS0
> Event-channel device installed.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> AMD8111: IDE controller at PCI slot 0000:00:07.1
> AMD8111: chipset revision 3
> AMD8111: not 100% native mode: will probe irqs later
> AMD8111: 0000:00:07.1 (rev 03) UDMA133 controller
>     ide0: BM-DMA at 0x1020-0x1027, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0x1028-0x102f, BIOS settings: hdc:pio, hdd:pio
> Probing IDE interface ide0...
> hda: ST340810A, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Probing IDE interface ide1...
> Probing IDE interface ide1...
> hda: max request size: 128KiB
> hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
> hda: cache flushes not supported
>  hda: hda1 hda2
> ide-floppy driver 0.99.newide
> usbcore: registered new driver hiddev
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> serio: i8042 AUX port at 0x60,0x64 irq 12
> mice: PS/2 mouse device common for all mice
> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: bitmap version 4.39
> TCP bic registered
> Initializing IPsec netlink socket
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Initalizing network drop monitor service
> Write protecting the kernel read-only data: 483k
> input: AT Translated Set 2 keyboard as /class/input/input0
> ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> GSI 16 sharing vector 0x98 and IRQ 16
> ACPI: PCI Interrupt 0000:01:00.0[D] -> GSI 19 (level, low) -> IRQ 16
> ohci_hcd 0000:01:00.0: OHCI Host Controller
> ohci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
> ohci_hcd 0000:01:00.0: irq 16, io mem 0xfc100000
> usb usb1: configuration #1 chosen from 1 choice
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 3 ports detected
> ACPI: PCI Interrupt 0000:01:00.1[D] -> GSI 19 (level, low) -> IRQ 16
> ohci_hcd 0000:01:00.1: OHCI Host Controller
> ohci_hcd 0000:01:00.1: new USB bus registered, assigned bus number 2
> ohci_hcd 0000:01:00.1: irq 16, io mem 0xfc101000
> usb usb2: configuration #1 chosen from 1 choice
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 3 ports detected
> USB Universal Host Controller Interface driver v3.0
> device-mapper: uevent: version 1.0.3
> device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised:
> dm-devel@xxxxxxxxxx
> device-mapper: dm-raid45: initialized v0.2594l
> usb 2-1: new low speed USB device using ohci_hcd and address 2
> usb 2-1: configuration #1 chosen from 1 choice
> input: USB Optical Mouse as /class/input/input1
> input: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:01:00.1-1
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> SELinux:  Disabled at runtime.
> SELinux:  Unregistering netfilter hooks
> type=1404 audit(1289083230.983:2): selinux=0 auid=4294967295 ses=4294967295
> EDAC MC: Ver: 2.0.1 Oct 25 2010
> AMD768 RNG detected
> input: PC Speaker as /class/input/input2
> EDAC MC0: Giving out device to k8_edac Athlon64/Opteron: DEV 0000:00:18.2
> EDAC MC1: Giving out device to k8_edac Athlon64/Opteron: DEV 0000:00:19.2
> pnp: Device 00:0b activated.
> parport: PnPBIOS parport detected.
> parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
> tg3.c:v3.106 (January 12, 2010)
> GSI 17 sharing vector 0xA0 and IRQ 17
> ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 27 (level, low) -> IRQ 17
> eth0: Tigon3 [partno(BCM95702A20) rev 1002 PHY(5703)] (PCI:33MHz:32-bit)
> 10/100/1000Base-T Ethernet 00:50:45:5b:93:e8
> eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
> eth0: dma_rwctrl[763f0000] dma_mask[64-bit]
> ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 27 (level, low) -> IRQ 17
> eth1: Tigon3 [partno(BCM95702A20) rev 1002 PHY(5703)] (PCI:33MHz:32-bit)
> 10/100/1000Base-T Ethernet 00:50:45:5b:93:e9
> eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
> eth1: dma_rwctrl[763f0000] dma_mask[64-bit]
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> shpchp: HPC vendor_id 1022 device_id 7460 ss_vid 0 ss_did 0
> shpchp: shpc_init: cannot reserve MMIO region
> shpchp: HPC vendor_id 1022 device_id 7450 ss_vid 0 ss_did 0
> shpchp: shpc_init: cannot reserve MMIO region
> shpchp: HPC vendor_id 1022 device_id 7450 ss_vid 0 ss_did 0
> shpchp: shpc_init: cannot reserve MMIO region
> shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> floppy0: no floppy controllers found
> lp0: using parport0 (interrupt-driven).
> lp0: console ready
> ACPI: Power Button (FF) [PWRF]
> ACPI: Sleep Button (FF) [SLPF]
> ACPI: Power Button (CM) [PWRB]
> ACPI: Mapper loaded
> dell-wmi: No known WMI GUID found
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> SCSI subsystem initialized
> device-mapper: multipath: version 1.0.5 loaded
> loop: loaded (max 8 devices)
> EXT3 FS on dm-0, internal journal
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on dm-1, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> SGI XFS with ACLs, security attributes, large block/inode numbers, no debug
> enabled
> SGI XFS Quota Management subsystem
> Filesystem "dm-3": Disabling barriers, trial barrier write failed
> XFS mounting filesystem dm-3
> Ending clean XFS mount for filesystem: dm-3
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on hda1, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> Adding 1048568k swap on /dev/gw/swap.  Priority:-1 extents:1 across:1048568k
> Bridge firewalling registered
> device eth0 entered promiscuous mode
> type=1700 audit(1289083247.699:3): dev=eth0 prom=256 old_prom=0
> auid=4294967295 ses=4294967295
> device eth1 entered promiscuous mode
> type=1700 audit(1289083248.171:4): dev=eth1 prom=256 old_prom=0
> auid=4294967295 ses=4294967295
> tg3: eth1: Link is up at 100 Mbps, full duplex.
> tg3: eth1: Flow control is on for TX and on for RX.
> tg3: eth0: Link is up at 1000 Mbps, full duplex.
> tg3: eth0: Flow control is on for TX and on for RX.
> br0: topology change detected, propagating
> br0: port 1(eth0) entering forwarding state
> br1: topology change detected, propagating
> br1: port 1(eth1) entering forwarding state
> tun: Universal TUN/TAP device driver, 1.6
> tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
> Bluetooth: Core ver 2.10
> NET: Registered protocol family 31
> Bluetooth: HCI device and connection manager initialized
> Bluetooth: HCI socket layer initialized
> Bluetooth: L2CAP ver 2.8
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: RFCOMM socket layer initialized
> Bluetooth: RFCOMM TTY layer initialized
> Bluetooth: RFCOMM ver 1.8
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> IPv6 over IPv4 tunneling driver
> ip_tables: (C) 2000-2006 Netfilter Core Team
> Netfilter messages via NETLINK v0.30.
> ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
> br0: no IPv6 routers present
> br1: no IPv6 routers present
> eth1: no IPv6 routers present
> eth0: no IPv6 routers present
> pciback 0000:03:01.0: seizing device
> GSI 18 sharing vector 0xA8 and IRQ 18
> ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 29 (level, low) -> IRQ 18
> ACPI: PCI interrupt for device 0000:03:01.0 disabled
> tap tap-1-2049: 2 getting info
> device vif1.2 entered promiscuous mode
> ADDRCONF(NETDEV_UP): vif1.2: link is not ready
> device vif1.1 entered promiscuous mode
> ADDRCONF(NETDEV_UP): vif1.1: link is not ready
> device vif1.0 entered promiscuous mode
> ADDRCONF(NETDEV_UP): vif1.0: link is not ready
> blktap: ring-ref 8, event-channel 6, protocol 2 (x86_32-abi)
> br1: topology change detected, propagating
> br1: port 2(vif1.0) entering forwarding state
> ADDRCONF(NETDEV_CHANGE): vif1.0: link becomes ready
> br0: topology change detected, propagating
> br0: port 3(vif1.1) entering forwarding state
> ADDRCONF(NETDEV_CHANGE): vif1.1: link becomes ready
> br0: topology change detected, propagating
> br0: port 2(vif1.2) entering forwarding state
> ADDRCONF(NETDEV_CHANGE): vif1.2: link becomes ready
> vif1.0: no IPv6 routers present
> vif1.2: no IPv6 routers present
> vif1.1: no IPv6 routers present
> tap tap-2-2049: 2 getting info
> pciback 0000:03:01.0: enabling permissive mode configuration space accesses!
> pciback 0000:03:01.0: permissive mode is potentially unsafe!
> pciback: vpci: 0000:03:01.0: assign to virtual slot 0
> device vif2.1 entered promiscuous mode
> ADDRCONF(NETDEV_UP): vif2.1: link is not ready
> device vif2.0 entered promiscuous mode
> ADDRCONF(NETDEV_UP): vif2.0: link is not ready
> blktap: ring-ref 9, event-channel 7, protocol 1 (x86_64-abi)
> br0: topology change detected, sending tcn bpdu
> br0: port 4(vif2.0) entering forwarding state
> ADDRCONF(NETDEV_CHANGE): vif2.0: link becomes ready
> br1: topology change detected, propagating
> br1: port 3(vif2.1) entering forwarding state
> ADDRCONF(NETDEV_CHANGE): vif2.1: link becomes ready
> PCI: Enabling device 0000:03:01.0 (0000 -> 0003)
> ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 29 (level, low) -> IRQ 18
> vif2.0: no IPv6 routers present
> vif2.1: no IPv6 routers present
> [root@xen ~]# xm dm
>  __  __            _____ _  _    _____
>  \ \/ /___ _ __   |___ /| || |  |___ /
>   \  // _ \ '_ \    |_ \| || |_   |_ \
>   /  \  __/ | | |  ___) |__   _| ___) |
>  /_/\_\___|_| |_| |____(_) |_|(_)____/

> (XEN) Xen version 3.4.3 (root@xxxxxxxxx) (gcc version 4.1.2 20080704 (Red
> Hat 4.1.2-48)) Tue Sep 28 12:37:53 CEST 2010
> (XEN) Latest ChangeSet: unavailable
> (XEN) Command line: iommu=verbose
> (XEN) Video information:
> (XEN)  VGA is text mode 80x25, font 8x16
> (XEN)  VBE/DDC methods: none; EDID transfer time: 2 seconds
> (XEN)  EDID info not retrieved because no DDC retrieval method detected
> (XEN) Disc information:
> (XEN)  Found 1 MBR signatures
> (XEN)  Found 1 EDD information structures
> (XEN) Xen-e820 RAM map:
> (XEN)  0000000000000000 - 000000000009b800 (usable)
> (XEN)  000000000009b800 - 00000000000a0000 (reserved)
> (XEN)  00000000000cc000 - 0000000000100000 (reserved)
> (XEN)  0000000000100000 - 000000007ff70000 (usable)
> (XEN)  000000007ff70000 - 000000007ff76000 (ACPI data)
> (XEN)  000000007ff76000 - 000000007ff80000 (ACPI NVS)
> (XEN)  000000007ff80000 - 0000000080000000 (reserved)
> (XEN)  00000000fec00000 - 00000000fec00400 (reserved)
> (XEN)  00000000fee00000 - 00000000fee01000 (reserved)
> (XEN)  00000000fff80000 - 0000000100000000 (reserved)
> (XEN) System RAM: 2047MB (2096172kB)
> (XEN) ACPI: RSDP 000F69A0, 0024 (r2 PTLTD )
> (XEN) ACPI: XSDT 7FF73430, 0044 (r1 PTLTD        XSDT    6040000  LTP
> 0)
> (XEN) ACPI: FACP 7FF75DA6, 00F4 (r3 AMD    HAMMER    6040000 PTEC    F4240)
> (XEN) ACPI: DSDT 7FF73474, 28BE (r1 AMD-K8  AMDACPI  6040000 MSFT  100000E)
> (XEN) ACPI: FACS 7FF7FFC0, 0040
> (XEN) ACPI: SRAT 7FF75E9A, 00A0 (r1 AMD    HAMMER    6040000 AMD         1)
> (XEN) ACPI: APIC 7FF75F3A, 0076 (r1 PTLTD        APIC    6040000  LTP
> 0)
> (XEN) ACPI: SPCR 7FF75FB0, 0050 (r1 PTLTD  $UCRTBL$  6040000 PTL         1)
> (XEN) Domain heap initialised
> (XEN) Processor #0 15:5 APIC version 16
> (XEN) Processor #1 15:5 APIC version 16
> (XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
> (XEN) IOAPIC[1]: apic_id 3, version 17, address 0xfc000000, GSI 24-27
> (XEN) IOAPIC[2]: apic_id 4, version 17, address 0xfc001000, GSI 28-31
> (XEN) Enabling APIC mode:  Flat.  Using 3 I/O APICs
> (XEN) Using scheduler: SMP Credit Scheduler (credit)
> (XEN) Detected 1804.138 MHz processor.
> (XEN) CPU0: AMD K8 machine check reporting enabled.
> (XEN) CPU0: AMD Opteron(tm) Processor 244 stepping 08
> (XEN) Booting processor 1/1 eip 7c000
> (XEN) AMD: Disabling C1 Clock Ramping Node #0
> (XEN) AMD: Disabling C1 Clock Ramping Node #1
> (XEN) CPU1: AMD K8 machine check reporting enabled.
> (XEN) CPU1: AMD Opteron(tm) Processor 244 stepping 08
> (XEN) Total of 2 processors activated.
> (XEN) ENABLING IO-APIC IRQs
(XEN)  ->> Using new ACK method
> (XEN) checking TSC synchronization across 2 CPUs: passed.
> (XEN) Platform timer is 3.579MHz ACPI PM Timer
> (XEN) Brought up 2 CPUs
> (XEN) AMD-Vi: IOMMU not found!
> (XEN) I/O virtualisation disabled
> (XEN) CPUIDLE: disabled due to no HPET. Force enable with 'cpuidle'.
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN)  Xen  kernel: 64-bit, lsb, compat32
> (XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 ->
> 0xffffffff8075decc
> (XEN) PHYSICAL MEMORY ARRANGEMENT:
> (XEN)  Dom0 alloc.:   000000007a000000->000000007c000000 (477237 pages to be
> allocated)
> (XEN) VIRTUAL MEMORY ARRANGEMENT:
> (XEN)  Loaded kernel: ffffffff80200000->ffffffff8075decc
> (XEN)  Init. ramdisk: ffffffff8075e000->ffffffff80eefe00
> (XEN)  Phys-Mach map: ffffffff80ef0000->ffffffff812a41a8
> (XEN)  Start info:    ffffffff812a5000->ffffffff812a54b4
> (XEN)  Page tables:   ffffffff812a6000->ffffffff812b3000
> (XEN)  Boot stack:    ffffffff812b3000->ffffffff812b4000
> (XEN)  TOTAL:         ffffffff80000000->ffffffff81400000
> (XEN)  ENTRY ADDRESS: ffffffff80200000
> (XEN) Dom0 has maximum 2 VCPUs
> (XEN) Scrubbing Free RAM: .done.
> (XEN) Xen trace buffers: disabled
> (XEN) Std. Loglevel: Errors and warnings
> (XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
> (XEN) Xen is relinquishing VGA console.
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to
> Xen)
> (XEN) Freed 128kB init memory.
> (XEN) mm.c:740:d2 Non-privileged (2) attempt to map I/O space 00000000


> pciback 0000:03:01.0: Driver tried to write to a read-only configuration
> space f
> ield at offset 0x44, size 2. This may be harmless, but if you have problems
> with
>  your device:
> 1) see permissive attribute in sysfs
> 2) report problems to the xen-devel mailing list along with details of your
> devi
> ce obtained from lspci.
> PCI: Enabling device 0000:03:01.0 (0000 -> 0003)
> ACPI: PCI Interrupt 0000:03:01.0[A] -> GSI 29 (level, low) -> IRQ 18

> Dom0 lspci -v

> 03:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
> interface
>         Subsystem: Unknown device 9100:0001
>         Flags: bus master, medium devsel, latency 64, IRQ 18
>         I/O ports at 3000 [size=256]
>         Memory at fe100000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [40] Power Management version 2

> I've hidden the device as described on xen web site adding this to rc.local
> to bind the device to pciback

> BDF=0000:03:01.0
> # Unbind a PCI function from its driver as necessary
> [ ! -e /sys/bus/pci/devices/$BDF/driver/unbind ] || \
>         echo -n $BDF > /sys/bus/pci/devices/$BDF/driver/unbind
> # Add a new slot to the PCI Backend's list
echo -n $BDF >> /sys/bus/pci/drivers/pciback/new_slot
> # Now that the backend is watching for the slot, bind to it
echo -n $BDF >> /sys/bus/pci/drivers/pciback/bind

> modprobe -v pciback

> and the domain config loks like this:

> [root@xen ~]# cat /etc/xen/asterisk
> kernel = "/boot/vmlinuz-2.6.18-194.17.4.el5xen"
> ramdisk = "/boot/initrd-centos-xen.img"
> extra = "idebus=66 console=xvc0 selinux=0" # swiotlb=force iommu=soft"
> vcpus = 1
> acpi = 1
> apic = 1
> #pae = 1
> memory = 512
> name = "asterisk"
> vif = [ 'mac=00:16:3e:21:f1:00,bridge=br0',
>         'mac=00:16:3e:21:f1:01,bridge=br1' ]
> #dhcp = "dhcp"

> disk = [ 'tap:aio:/xen/asterisk.hdd,sda1,w', ]

> # We don't use pygrub, we boot the kernel directly from dom0
> #bootloader="/usr/bin/pygrub"
> root = "/dev/sda1 ro"

> # PCI passthru of the Openvox A1200P PSTN
> pci = [ '0000:03:01.0@1' ]

> Is this behavior related to what the FAQ and site said about the incapacity
> of reloading or rebinding an already bound device to a domU?.

> This is a card which driver's loaded by dahdi interface drivers from Digium

> I don't know what to do in sysfs, altho I've already added this line to
> xend-pci-prmisive.sxp as

> (unconstrained_dev_ids
>      ('e159:0001')
> )

> Also I added it to xend-pci-quirks.sxp

>          '9100:0003'   # Openvox A1200P

> When I start the DomU again the device _is_ in fact discovered but when I
> try to load oit it won't work,

> Symptoms:

> If I start dom0 fresh and local pciback driver (I dunno how to load it
> before xenddomains start) and then bring domU it starts nice and card is
> loaded right

> Here's domU loks when everything loads aok

> domU lspci -vvv

> [root@sip ~]# lspci -vvv
> 00:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
> interface
>         Subsystem: Unknown device 9100:0001
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 64 (250ns min, 32000ns max)
>         Interrupt: pin A routed to IRQ 18
>         Region 0: I/O ports at 3000 [size=256]
>         Region 1: Memory at fe100000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [40] Power Management version 2
>                 Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=55mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-


> domU dmesg

> [root@sip ~]# dmesg
> Bootdata ok (command line is root=/dev/sda1 ro idebus=66 console=xvc0
> selinux=0)
> Linux version 2.6.18-194.17.4.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc
> version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Mon Oct 25 16:36:31 EDT
> 2010
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000020800000 (usable)
> On node 0 totalpages: 133120
>   DMA zone: 133120 pages, LIFO batch:31
> No mptable found.
> Built 1 zonelists.  Total pages: 133120
> Kernel command line: root=/dev/sda1 ro idebus=66 console=xvc0 selinux=0
> ide_setup: idebus=66
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Xen reported: 1804.091 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
> Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
> Software IO TLB disabled
> Memory: 499324k/532480k available (2513k kernel code, 24336k reserved, 1395k
> data, 184k init)
> Calibrating delay using timer specific routine.. 4511.76 BogoMIPS
> (lpj=9023525)
> Security Framework v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 256
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 1024K (64 bytes/line)
> (SMP-)alternatives turned off
> Brought up 1 CPUs
> sizeof(vma)=168 bytes
> sizeof(page)=56 bytes
> sizeof(inode)=560 bytes
> sizeof(dentry)=216 bytes
> sizeof(ext3inode)=760 bytes
> sizeof(buffer_head)=96 bytes
> sizeof(skbuff)=248 bytes
> checking if image is initramfs... it is
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 CPUs
> PCI: setting up Xen PCI frontend stub
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI: disabled
> xen_mem: Initialising balloon driver.
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> PCI: System does not support PCI
> PCI: System does not support PCI
> NetLabel: Initializing
> NetLabel:  domain hash size = 128
> NetLabel:  protocols = UNLABELED CIPSOv4
> NetLabel:  unlabeled traffic allowed by default
> NET: Registered protocol family 2
> pcifront pci-0: Installing PCI frontend
> pcifront pci-0: Creating PCI Frontend Bus 0000:00
> ACPI Error (tbxfroot-0512): Could not map memory at 0000040E for length 2
> [20060707]
> ACPI Exception (tbxfroot-0400): AE_NO_MEMORY, RSDP structure not found -
> Flags=8 [20060707]
> ACPI: System description tables not found
> IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
> TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
> TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
> TCP: Hash tables configured (established 131072 bind 65536)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> type=2000 audit(1289084479.053:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> Initializing Cryptographic API
> alg: No test for crc32c (crc32c-generic)
> ksign: Installing public key data
> Loading keyring
> - Added public key 5E4A078C196151F
> - User ID: CentOS (Kernel Module GPG key)
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> rtc: IRQ 8 is not free.
> Non-volatile memory driver v1.2
> Linux agpgart interface v0.101 (c) Dave Jones
> brd: module loaded
> Xen virtual console successfully installed as xvc0
> Event-channel device installed.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 66MHz system bus speed for PIO modes
> Probing IDE interface ide0...
> Probing IDE interface ide1...
> Probing IDE interface ide2...
> Probing IDE interface ide3...
> Probing IDE interface ide4...
> Probing IDE interface ide5...
> ide-floppy driver 0.99.newide
> usbcore: registered new driver hiddev
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> PNP: No PS/2 controller found. Probing ports directly.
> i8042.c: No controller found.
> mice: PS/2 mouse device common for all mice
> md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: bitmap version 4.39
> TCP bic registered
> Initializing IPsec netlink socket
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> XENBUS: Device with no driver: device/vbd/2049
> XENBUS: Device with no driver: device/vif/0
> XENBUS: Device with no driver: device/vif/1
> XENBUS: Device with no driver: device/console/0
> Initalizing network drop monitor service
> Write protecting the kernel read-only data: 483k
> Registering block device major 8
> ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> USB Universal Host Controller Interface driver v3.0
> device-mapper: uevent: version 1.0.3
> device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised:
> dm-devel@xxxxxxxxxx
> device-mapper: dm-raid45: initialized v0.2594l
> netfront: Initialising virtual ethernet driver.
> netfront: device eth0 has flipping receive path.
> netfront: device eth1 has flipping receive path.
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> input: PC Speaker as /class/input/input0
>>>> THIS IS THE CARD LOADING <<<
> dahdi: Telephony Interface Registered on major 196
> dahdi: Version: 2.4.0
> PCI: Enabling device 0000:00:00.0 (0000 -> 0003)
> OpenVox A1200P version: 1.2
> OpenVox A1200P passed register test
> Module 0: Not installed
> Module 1: Not installed
> Module 2: Not installed
> Module 3: Not installed
> Module 4: Not installed
> Module 5: Not installed
> Module 6: Not installed
> Module 7: Not installed
> Module 8: Installed -- AUTO FXS/DPO
> Module 9: Installed -- AUTO FXS/DPO
> Module 10: Installed -- AUTO FXS/DPO
> Module 11: Installed -- AUTO FXO (FCC mode)
> Found an OpenVox A1200P: Version 1.2 (4 modules)
> buffer sync misseed!
> buffer re-sync occur from -1 to 0
> Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15
> (usb?)
> Failed to obtain physical IRQ 6
> floppy0: no floppy controllers found
> lp: driver loaded but no devices found
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> SCSI subsystem initialized
> device-mapper: multipath: version 1.0.5 loaded
> EXT3 FS on sda1, internal journal
> dahdi: Registered tone zone 0 (United States / North America)
> dahdi_echocan_mg2: Registered echo canceler 'MG2'
> dahdi: Registered tone zone 20 (Brazil)
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> IPv6 over IPv4 tunneling driver
> eth0: no IPv6 routers present

> As you see card looks good but if I reboot or shutdown domU it won't go up
> rigth again unless I reboot dom0, I

> If youc cna share any thoughts on this it'd be greatly appreciated

> PD: Trying pv_ops kernel is not viable because I've already tried it and my
> DomUs would never start.

> Thanks again for a great job.

> ---
> David Gonzalez H.
> DGHVoIP - OPEN SOURCE TELEPHONY SOLUTIONS
> Phone Bogotá: +(57-1)289-1168
> Phone Medellin: +(57-4)247-0985
> Mobile: +(57)315-838-8326
> MSN: david@xxxxxxxxxxxxxxxx
> Skype: davidgonzalezh
> WEB: http://www.dghvoip.com/
> Proud Linux User #294661



-- 
Best regards,
 Sander                            mailto:linux@xxxxxxxxxxxxxx


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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