[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: Fire-wire passthrough with Linux pv-ops (2.6.31.1)
Hi Weidong, I have applied the patch to pv-ops dom0 kernel 2.6.31.5. Please refer to the following link: http://enmingteo.files.wordpress.com/2009/11/screenshot-01.png It does however cause my console terminal in dom0 to be very sluggish/unresponsive after I have started Slackware64 13.0 HVM. Here is my qemu-dm-slackware64.log output: domid: 1 qemu: the number of cpus is 2 config qemu network with xen bridge for tap1.0 eth0 Watching /local/domain/0/device-model/1/logdirty/next-active Watching /local/domain/0/device-model/1/command qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 4d2942cf-1ba2-0ff1-4252-184d1ab31369 Time offset set 0 cirrus_vga_enabled populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. xs_read(/vm/4d2942cf-1ba2-0ff1-4252-184d1ab31369/log-throttling): read error platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error xs_read(): vncpasswd get error. /vm/4d2942cf-1ba2-0ff1-4252-184d1ab31369/vncpasswd. medium change watch on `hdc' (index: 1): /media/hitachi/slackware64-13.0-install-dvd.iso I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 dm-command: hot insert pass-through pci dev register_real_device: Assigning real physical device 02:01.0 ... pt_iomul_init: Error: pt_iomul_init can't open file /dev/xen/pci_iomul: No such file or directory: 0x2:0x1.0x0 pt_register_regions: IO region registered (size=0x00001000 base_addr=0xd3801000) pt_register_regions: IO region registered (size=0x00000100 base_addr=0xd3800000) register_real_device: Real physical device 02:01.0 registered successfuly! IRQ type = INTx cirrus vga map change while on lfb mode pt_iomem_map: e_phys=e3001000 maddr=d3801000 type=0 len=4096 index=0 first_map=1 pt_iomem_map: e_phys=e3002000 maddr=d3800000 type=0 len=4096 index=1 first_map=1 mapping vram to e0000000 - e0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state. pt_pci_write_config: Warning: Guest attempt to set address to unused Base Address Register. [00:05.0][Offset:30h][Length:4] Here is my domU lspci -vvv output: 00:05.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 70) (prog-if 10 [OHCI]) Subsystem: Intel Corporation Device 1003 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 128 (3000ns min, 6000ns max) Interrupt: pin A routed to IRQ 36 Region 0: Memory at e3001000 (32-bit, non-prefetchable) [size=4K] Region 1: Memory at e3002000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: ohci1394 Kernel modules: ohci1394 Here is my domU /proc/interrupts output: CPU0 CPU1 0: 132 0 IO-APIC-edge timer 1: 176 181 IO-APIC-edge i8042 4: 0 1 IO-APIC-edge 6: 1 2 IO-APIC-edge floppy 7: 0 0 IO-APIC-edge parport0 8: 1 0 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 12: 518 632 IO-APIC-edge i8042 14: 2600 2591 IO-APIC-edge ide0 15: 2023 2073 IO-APIC-edge ide1 32: 174 167 IO-APIC-fasteoi eth0 36: 842 815 IO-APIC-fasteoi ohci1394 NMI: 0 0 Non-maskable interrupts LOC: 1362927 1362831 Local timer interrupts RES: 2164 2467 Rescheduling interrupts CAL: 10 38 Function call interrupts TLB: 323 324 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts SPU: 0 0 Spurious interrupts ERR: 0 MIS: 0 I still cannot load the kernel modules for the firewire controller in domU. root@slackware64-13:~# modprobe ieee1394 FATAL: Error inserting ieee1394 (/lib/modules/2.6.29.6/kernel/drivers/ieee1394/ieee1394.ko): Invalid argument root@slackware64-13:~# modprobe ohci1394 FATAL: Error inserting ohci1394 (/lib/modules/2.6.29.6/kernel/drivers/ieee1394/ohci1394.ko): Invalid argument Here is my /proc/interrupts output in dom0 AFTER I have started Slackware64 domU: CPU0 CPU1 1: 2 0 xen-pirq-ioapic-edge i8042 4: 3 0 xen-pirq-ioapic-edge 8: 1 0 xen-pirq-ioapic-edge rtc0 9: 0 0 xen-pirq-ioapic-level acpi 12: 4 0 xen-pirq-ioapic-edge i8042 16: 0 0 xen-pirq-ioapic-level uhci_hcd:usb3 17: 1 0 xen-pirq-ioapic-level 18: 59 0 xen-pirq-ioapic-level ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 19: 60581 0 xen-pirq-ioapic-level ata_piix, ata_piix, uhci_hcd:usb7 21: 0 0 xen-pirq-ioapic-level uhci_hcd:usb4 22: 2500 0 xen-pirq-ioapic-level HDA Intel 23: 35508 0 xen-pirq-ioapic-level ehci_hcd:usb2, uhci_hcd:usb6 24: 121214 0 xen-dyn-virq timer0 25: 290373 0 xen-dyn-ipi resched0 26: 0 0 xen-dyn-ipi callfunc0 27: 0 0 xen-dyn-virq debug0 28: 213 0 xen-dyn-ipi callfuncsingle0 29: 0 3091038 xen-dyn-virq timer1 30: 0 76203 xen-dyn-ipi resched1 31: 0 0 xen-dyn-ipi callfunc1 32: 0 0 xen-dyn-virq debug1 33: 0 644 xen-dyn-ipi callfuncsingle1 34: 87 1002 xen-dyn-event xenbus 36: 0 0 xen-dyn-virq mce 38: 8967 5621 xen-pirq-msi peth0 39: 61 563 xen-dyn-event evtchn:xenstored 40: 0 0 xen-dyn-event evtchn:xenstored 42: 1 0 xen-dyn-event evtchn:xenstored 43: 4098 462204 xen-dyn-event evtchn:qemu-dm 44: 8156 115233 xen-dyn-event evtchn:qemu-dm NMI: 0 0 Non-maskable interrupts LOC: 0 0 Local timer interrupts SPU: 0 0 Spurious interrupts CNT: 0 0 Performance counter interrupts PND: 0 0 Performance pending work RES: 290373 76203 Rescheduling interrupts CAL: 213 644 Function call interrupts TLB: 0 0 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 6 6 Machine check polls ERR: 0 MIS: 0 -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com My Secondary Blog: http://enmingteo.wordpress.com My Youtube videos: http://www.youtube.com/user/enmingteo Email: space.time.universe@xxxxxxxxx Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore 2009/11/3 Han, Weidong <weidong.han@xxxxxxxxx>
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |