[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen 4 only seeing one keyboard and mouse



On Thu, 26 Aug 2010, M A Young wrote:

On Thu, 26 Aug 2010, M A Young wrote:

Okay, here is my first attempt at dirty debugging. I have made a patch to try to track where vector_irq is being changed (attached) and have also attached. I have looked at it quickly, and I don't think some low IRQs are getting set on the second CPU.

My next thoughts on this are that almost all IRQs allocated on the first cpu before the second is started aren't initialized on the second CPU. I presume that __setup_vector_irq from xen/arch/x86/irq.c is where it is supposed to happen
or perhaps it should happen in io_apic_set_pci_routing from xen/arch/x86/io_apic.c where the higher IRQs are set (it doesn't because __assign_irq_vector sees the IRQ is already in use
     old_vector = irq_to_vector(irq);
    if (old_vector) {
        cpus_and(tmp_mask, mask, cpu_online_map);
        cpus_and(tmp_mask, cfg->domain, tmp_mask);
        if (!cpus_empty(tmp_mask)) {
            cfg->vector = old_vector;
            return 0;
        }
    }
but seems to miss the fact that it is only actually configured for one cpu.

        Michael Young

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.