[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 Konrad, >It looks as if they are were already loaded during bootup. >If you want to >re-load them, first do 'rmmod' for all of the modules >associated with the card. >But looking at your 'dmesg' output it looks as if it was >loaded correctly? The kernel modules for the firewire controller were not loaded during bootup inside Slackware HVM domU. I believe there was an attempt to load the kernel modules for the firewire controller during bootup but failed with invalid argument. >Wow. IRQ 36? Hmm, well mmaybe that is OK since you >are running >under QEMU as HVM guest. >Can you provide the lspci -vv output of the Dom0 and >DomU, please? lspci -vvv of my firewire controller in Dom0: 02:01.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: 32 (3000ns min, 6000ns max), Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 22 Region 0: Memory at d3801000 (32-bit, non-prefetchable) [size=4K] Region 1: Memory at d3800000 (32-bit, non-prefetchable) [size=256] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME+ Kernel driver in use: firewire_ohci Kernel modules: firewire-ohci >Hmmm.. I think that message is misleading. The code >shows that it >failed to bind the PCI card (02:01:0) to an interrupt and >disabled >the card. Then it prints the 'registered succesfully!' which is >incorrect. >Can you provide the output of: > - lspci -vvv (from Dom0) Provided above. > - lspci -vvv (from DomU) 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 > - cat /proc/interrupts (from Dom0) _before_ you launch >any guests or > call bind any devices to the pcistub/pciback. 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: 58 0 xen-pirq-ioapic-level ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8 19: 242304 0 xen-pirq-ioapic-level ata_piix, ata_piix, uhci_hcd:usb7 21: 0 0 xen-pirq-ioapic-level uhci_hcd:usb4 22: 387742 0 xen-pirq-ioapic-level HDA Intel, firewire_ohci 23: 252475 0 xen-pirq-ioapic-level ehci_hcd:usb2, uhci_hcd:usb6 24: 97835 0 xen-dyn-virq timer0 25: 780164 0 xen-dyn-ipi resched0 26: 0 0 xen-dyn-ipi callfunc0 27: 0 0 xen-dyn-virq debug0 28: 273 0 xen-dyn-ipi callfuncsingle0 29: 0 28539658 xen-dyn-virq timer1 30: 0 829152 xen-dyn-ipi resched1 31: 0 0 xen-dyn-ipi callfunc1 32: 0 0 xen-dyn-virq debug1 33: 0 706 xen-dyn-ipi callfuncsingle1 34: 3415 3219 xen-dyn-event xenbus 36: 0 0 xen-dyn-virq mce 38: 439766 0 xen-pirq-msi peth0 39: 2010 1905 xen-dyn-event evtchn:xenstored 40: 9 0 xen-dyn-event evtchn:xenstored 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: 780164 829152 Rescheduling interrupts CAL: 273 706 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: 32 32 Machine check polls ERR: 0 MIS: 0 > - cat /proc/interrupts (from DomU) after you launch it and >try to > do stuff with the firewire. For example try to pull videos >from > your camera via the firewire port. I haven't tried to control the camera using the firewire port but here's my /proc/interrupts output. CPU0 CPU1 0: 132 0 IO-APIC-edge timer 1: 134 132 IO-APIC-edge i8042 4: 1 0 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: 137 86 IO-APIC-edge i8042 14: 2492 2500 IO-APIC-edge ide0 15: 252 238 IO-APIC-edge ide1 32: 63 71 IO-APIC-fasteoi eth0 36: 0 0 IO-APIC-fasteoi ohci1394 NMI: 0 0 Non-maskable interrupts LOC: 181885 181753 Local timer interrupts RES: 1994 1700 Rescheduling interrupts CAL: 18 26 Function call interrupts TLB: 316 345 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts SPU: 0 0 Spurious interrupts ERR: 0 MIS: 0 The kernel modules for the firewire controller in Slackware HVM DomU are unable to load. root@slackware64-13:~# lsmod | grep 1394 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 I am running pv-ops dom0 kernel 2.6.31.5 now. There appears to be some sluggishness/unresponsiveness with this kernel after I have started a HVM guest. By the way, can you also help me to solve this problem as well? http://lists.xensource.com/archives/html/xen-devel/2009-11/msg00044.html Thank you! -- 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 On Mon, Nov 2, 2009 at 10:13 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |