Hi, I am using the standard xen and kernel-xen0 packages which come with Fedora Core 5 and am getting to the login screen, but my USB mouse and USB keyboard don''t function. Is there something I need to change to get these to work? TIA. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen C. Tweedie
2006-Apr-04 17:39 UTC
Re: [Xen-users] usb keyboard and mouse not functioning
Hi, On Fri, 2006-03-31 at 11:06 +1200, Julius Spencer wrote:> I am using the standard xen and kernel-xen0 packages which come with > Fedora Core 5 and am getting to the login screen, but my USB mouse and > USB keyboard don''t function. Is there something I need to change to get > these to work?No, it should work, and it does fine for me (except on one box which disables the USB irq once it has received exactly 100000 interrupts --- still debugging that...) Can you open a bugzilla please? Thanks, Stephen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Molle Bestefich
2006-Apr-04 18:42 UTC
[Xen-users] Re: usb keyboard and mouse not functioning
Stephen C. Tweedie wrote:> (except on one box which disables the USB irq once it has > received exactly 100000 interrupts --- still debugging that...)Hey, funny, I have the exact same issue :-). _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2006-Apr-05 15:22 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
> Stephen C. Tweedie wrote: > > (except on one box which disables the USB irq once it has > > received exactly 100000 interrupts --- still debugging that...) > > Hey, funny, I have the exact same issue :-).Wacky! Is that IRQ actually bound to a device driver in dom0? Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen C. Tweedie
2006-Apr-05 15:50 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
Hi, On Wed, 2006-04-05 at 16:22 +0100, Mark Williamson wrote:> > Stephen C. Tweedie wrote: > > > (except on one box which disables the USB irq once it has > > > received exactly 100000 interrupts --- still debugging that...) > > > > Hey, funny, I have the exact same issue :-). > > Wacky! Is that IRQ actually bound to a device driver in dom0?Yes, more than one: 16: 100000 0 0 0 Phys-irq uhci_hcd:usb2, uhci_hcd:usb5 The other IRQs used by [eu]hci: 17: 238308 0 0 0 Phys-irq libata, uhci_hcd:usb4 20: 0 0 0 0 Phys-irq ehci_hcd:usb1 21: 0 0 0 0 Phys-irq uhci_hcd:usb3 have no trouble; and USB on irq16 (usb mouse and keyboard) work fine up until the 100000 irq limit in note_interrupt(). (After irq16 gets disabled, usb kinda-works, updating once a second via polling, so typing is unreliable and slooooow.) I have two identical Dell boxes that show this behaviour with xen0 kernels. --Stephen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2006-Apr-05 15:55 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
> Yes, more than one: > > 16: 100000 0 0 0 Phys-irq > uhci_hcd:usb2, uhci_hcd:usb5 > > The other IRQs used by [eu]hci: > > 17: 238308 0 0 0 Phys-irq libata, > uhci_hcd:usb4 20: 0 0 0 0 Phys-irq > ehci_hcd:usb1 21: 0 0 0 0 Phys-irq > uhci_hcd:usb3 > > have no trouble; and USB on irq16 (usb mouse and keyboard) work fine up > until the 100000 irq limit in note_interrupt(). (After irq16 gets > disabled, usb kinda-works, updating once a second via polling, so typing > is unreliable and slooooow.)I suppose it''s too much to hope that dmesg contains any explanation of *why* the IRQ got disabled? I know, I know, I''m an optimist :-) Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephen C. Tweedie
2006-Apr-05 16:02 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
Hi, On Wed, 2006-04-05 at 16:55 +0100, Mark Williamson wrote:> > 16: 100000 0 0 0 Phys-irq uhci_hcd:usb2, uhci_hcd:usb5> > have no trouble; and USB on irq16 (usb mouse and keyboard) work fine up > > until the 100000 irq limit in note_interrupt(). (After irq16 gets > > disabled, usb kinda-works, updating once a second via polling, so typing > > is unreliable and slooooow.) > > I suppose it''s too much to hope that dmesg contains any explanation of *why* > the IRQ got disabled?Yes, it''s linux/kernel/irq/spurious.c:note_interrupt() hitting the "100000 irqs with 99900 unhandled" limit and killing as a bad IRQ: irq 16: nobody cared (try booting with the "irqpoll" option) Call Trace: <IRQ> <ffffffff801522c8>{__report_bad_irq+48} <ffffffff801524df>{note_interrupt+458} <ffffffff80151d8a>{__do_IRQ+191} <ffffffff8010d4c2>{do_IRQ+65} <ffffffff8025eb29>{evtchn_do_upcall+132} <ffffffff8010b5b5>{do_hypervisor_callback+37} <EOI> <ffffffff801070ca>{hypercall_page+202} <ffffffff801070ca>{hypercall_page+202} <ffffffff80109020>{xen_idle+124} <ffffffff801092fe>{cpu_idle+217} <ffffffff804b1794>{start_kernel+497} <ffffffff804b10fa>{_sinittext+250} handlers: [<ffffffff8029555f>] (usb_hcd_irq+0x0/0x50) [<ffffffff8029555f>] (usb_hcd_irq+0x0/0x50) Disabling IRQ #16 I just don''t know why we''re getting that flood of unhandled interrupts on irq16 with xen0 and not on native. I''ll reboot to native and see if there''s any obvious difference in the irq configuration there. --Stephen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2006-Apr-05 16:14 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
> > *why* the IRQ got disabled? > > Yes, it''s linux/kernel/irq/spurious.c:note_interrupt() hitting the > "100000 irqs with 99900 unhandled" limit and killing as a bad IRQ:OK, that''s what I was hoping for.> I just don''t know why we''re getting that flood of unhandled interrupts > on irq16 with xen0 and not on native.Nope. And I wonder why apparently exactly 100 were handled... Does the rate at which the IRQs happen correspond to USB activity in any obvious way? i.e. are the IRQs actually doing something useful or *might* they be spurious. It would seem weird for the uhci driver to refuse to service them, though... You''re not running any driver domains, are you?> I''ll reboot to native and see if there''s any obvious difference in the > irq configuration there.Seems like a good plan! Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Molle Bestefich
2006-Apr-05 20:02 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
Mark Williamson wrote:> Wacky! Is that IRQ actually bound to a device driver in dom0?/proc/interrupts: 19: 100000 Phys-irq ohci_hcd:usb1, ohci_hcd:usb2 dmesg: ohci_hcd: 2004 Nov 08 USB 1.1 ''Open'' Host Controller (OHCI) Driver (PCI) ACPI: PCI Interrupt 0000:01:00.0[D] -> GSI 19 (level, low) -> IRQ 19 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 19, io mem 0xfe4fd000 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 19 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 19, io mem 0xfe4fe000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected [ snip tigon3 and xenbr related messages ] irq 19: nobody cared! Call Trace:<ffffffff80155f90>{__report_bad_irq+48} <ffffffff80156069>{note_interrupt+89} <ffffffff8015589c>{__do_IRQ+252} <ffffffff80116d14>{do_IRQ+52} <ffffffff8010eb65>{evtchn_do_upcall+197} <ffffffff80113aa9>{do_hypervisor_callback+17} <ffffffff8010d22a>{hypercall_page+554} <ffffffff8010d22a>{hypercall_page+554} <ffffffff8015574c>{handle_IRQ_event+76} <ffffffff8010ea9a>{force_evtchn_callback+10} <ffffffff8013add3>{__do_softirq+115} <ffffffff8013aedb>{do_softirq+75} <ffffffff80116d19>{do_IRQ+57} <ffffffff8010eb65>{evtchn_do_upcall+197} <ffffffff80297fb0>{ata_exec_command+0} <ffffffff80113aa9>{do_hypervisor_callback+17} <ffffffff8010d0ca>{hypercall_page+202} <ffffffff8010d0ca>{hypercall_page+202} <ffffffff80111178>{xen_idle+104} <ffffffff801111ca>{cpu_idle+58} <ffffffff804c671a>{start_kernel+490} <ffffffff804c619a>{_sinittext+410} handlers: [<ffffffff802aac10>] (usb_hcd_irq+0x0/0x70) [<ffffffff802aac10>] (usb_hcd_irq+0x0/0x70) Disabling IRQ #19 Nothing is actually plugged into the USB ports. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ralf Schenk
2006-Apr-06 23:19 UTC
Re: [Xen-users] Re: usb keyboard and mouse not functioning
Molle Bestefich schrieb:> Mark Williamson wrote: >> Wacky! Is that IRQ actually bound to a device driver in dom0? > > /proc/interrupts: > 19: 100000 Phys-irq ohci_hcd:usb1, ohci_hcd:usb2 >Only for information: For me it is the same. I''m running xen-unstable of today with kernel 2.6.16-xen. Standard config of xen. (Its a DualXeon EM64T) /proc/interrupts: CPU0 CPU1 CPU2 CPU3 18: 100000 0 0 0 Phys-irq uhci_hcd:usb3 dmesg: irq 18: nobody cared (try booting with the "irqpoll" option) Call Trace: <IRQ> <ffffffff80151a80>{__report_bad_irq+48} <ffffffff80151cdf>{note_interrupt+511} <ffffffff80151334>{__do_IRQ+212} <ffffffff8010dae4>{do_IRQ+68} <ffffffff8025107d>{evtchn_do_upcall+205} <ffffffff8010ba0a>{do_hypervisor_callback+30} <EOI> <ffffffff801073aa>{hypercall_page+938} <ffffffff801073aa>{hypercall_page+938} <ffffffff80108f02>{xen_idle+130} <ffffffff8010902a>{cpu_idle+234} <ffffffff804b575a>{start_kernel+506} <ffffffff804b51b2>{_sinittext+434} handlers: [<ffffffff802ac4c0>] (usb_hcd_irq+0x0/0x60) Disabling IRQ #18 I''ve no device on the USB port. -- __________________________________________________ Ralf Schenk fon (02 41) 9 91 21-0 fax (02 41) 9 91 21-59 rs@databay.de Databay AG Hüttenstraße 7 D-52068 Aachen www.databay.de Sitz/Amtsgericht Aachen HRB:8437 USt-IdNr.: DE 210844202 Databay - einfach machen. _________________________________________________ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Julius Spencer
2006-Apr-19 05:40 UTC
Re: [Xen-users] usb keyboard and mouse not functioning
Hi, Apologies for the late reply. Thanks for the reply. Can you give me a link to the correct bugzilla? Also can you tell me what output to include (eg. /var/log/messages). Regards, Julius. Stephen C. Tweedie wrote:> Hi, > > On Fri, 2006-03-31 at 11:06 +1200, Julius Spencer wrote: > >> I am using the standard xen and kernel-xen0 packages which come with >> Fedora Core 5 and am getting to the login screen, but my USB mouse and >> USB keyboard don''t function. Is there something I need to change to get >> these to work? > > No, it should work, and it does fine for me (except on one box which > disables the USB irq once it has received exactly 100000 interrupts --- > still debugging that...) > > Can you open a bugzilla please? > > Thanks, > Stephen > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users