linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [SOLVED ??] Kernel 2.6.12 + IO-APIC + uhci_hcd = Trouble
@ 2005-07-11 19:52 Protasevich, Natalie
  2005-07-11 20:13 ` Michel Bouissou
  2005-07-12  7:24 ` Alexander Fieroch
  0 siblings, 2 replies; 12+ messages in thread
From: Protasevich, Natalie @ 2005-07-11 19:52 UTC (permalink / raw)
  To: Michel Bouissou, Alan Stern, fieroch; +Cc: linux-kernel, mingo

> Le Lundi 11 Juillet 2005 20:36, Alan Stern a écrit :
> > It's also possible that the UHCI controllers are generating the 
> > unwanted interrupt requests.  You should make sure that Legacy USB 
> > Support is turned off in your BIOS settings.
> 
> My motherboard both holds USB 1.1 and USB 2.0 controllers. I 
> don't have a "Legacy USB Support" option in my BIOS, all my 
> USB options are the following:
> 
> Enable USB 1.1 controller: YES	(Surely relates to my 
> true USB 1.1 controller)
> 
> Enable USB 2.0 controller: YES	(Same for the high 
> speed controller ?)
> 
> Enable USB keyboard: NO
> 
> Enable USB mouse support: YES	(Well, I have one ;-)
> 
> I didn't change anything regarding these so far.
> 
> > You can also try adding the "usb-handoff" kernel parameter to your 
> > boot command line.
> 
> Hey !! This one looks like the MIRACLE-OPTION !!

Alexander, should you try this option? (Just in case if you haven't noticed this thread)...

> I just booted using my 2.6.12 kernel patched with Nathalie's 
> patches (don't know if they help in there...) and the problem 
> seems to be gone !

Michel, it would be interesting to see if you have problems with the kernel that doesn't have the fix posted in that bugzilla yet, but only has my first patch.
 
> Nothing complains anymore about the interrupt. I have:
> 
> [root@totor etc]# cat /proc/interrupts
>            CPU0
>   0:     934501    IO-APIC-edge  timer
>   1:       4611    IO-APIC-edge  i8042
>   2:          0          XT-PIC  cascade
>   4:       2779    IO-APIC-edge  serial
>   7:          3    IO-APIC-edge  parport0
>  14:       7909    IO-APIC-edge  ide4
>  15:       7918    IO-APIC-edge  ide5
>  16:      38447   IO-APIC-level  nvidia
>  18:       2982   IO-APIC-level  eth0, eth1
>  19:      37041   IO-APIC-level  ide0, ide1, ide2, ide3, ehci_hcd:usb4
>  21:      52036   IO-APIC-level  uhci_hcd:usb1, 
> uhci_hcd:usb2, uhci_hcd:usb3
>  22:       2850   IO-APIC-level  VIA8233
> NMI:          0
> LOC:     934453
> ERR:          0
> MIS:          0
> 
> 
> ...now let's see with time if this is stable...
> 
> A thousand thanks for your suggestion Alan !
>
 
Thank you Alan! You helped me too, since my patch has broken a couple VIA chips lately. Now I know that at least the fix works...

 

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Kernel 2.6.12 + IO-APIC + uhci_hcd = Trouble
@ 2005-07-11 18:36 Alan Stern
  2005-07-11 19:33 ` [SOLVED ??] " Michel Bouissou
  0 siblings, 1 reply; 12+ messages in thread
From: Alan Stern @ 2005-07-11 18:36 UTC (permalink / raw)
  To: Michel Bouissou; +Cc: Protasevich, Natalie, linux-kernel, mingo

On Mon, 11 Jul 2005, Michel Bouissou wrote:

> Hi Nathalie,
> 
> Thanks for your answer and pointer. Unfortunately it doesn't help.
> 
> The patch you mention won't apply on my kernel alone, I need first to apply 
> the patch from 
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c434b7a6aedfe428ad17cd61b21b125a7b7a29ce , 
> then your patch applies OK.
> 
> Unfortunately, it doesn't solve my issue. Booting this kernel still results in 
> an interrupt issue with uhci_hcd.
> 
> After boot, "cat /proc/interrupts" shows:
>            CPU0
>   0:     188066    IO-APIC-edge  timer
>   1:        308    IO-APIC-edge  i8042
>   2:          0          XT-PIC  cascade
>   4:        413    IO-APIC-edge  serial
>   7:          3    IO-APIC-edge  parport0
>  14:       1177    IO-APIC-edge  ide4
>  15:       1186    IO-APIC-edge  ide5
>  18:       1028   IO-APIC-level  eth0, eth1
>  19:       8513   IO-APIC-level  ide0, ide1, ide2, ide3, ehci_hcd:usb4
>  21:     100000   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3
>  22:          0   IO-APIC-level  VIA8233
> NMI:          0
> LOC:     187967
> ERR:          0
> MIS:          0
> 
> (The problem is with IRQ 21 for uhci_hcd)
> 
> (It is to note that without those patches, I didn't see any IRQ managed by 
> "XT-PIC", all were managed by the IO-APIC...)

It's possible that the errors you're getting are caused by some other
device erroneously generating interrupt requests on IRQ 21.  Then when
uhci-hcd enables that IRQ, there's no driver available to handle the 
interrupts...

It's also possible that the UHCI controllers are generating the unwanted 
interrupt requests.  You should make sure that Legacy USB Support is 
turned off in your BIOS settings.  You can also try adding the 
"usb-handoff" kernel parameter to your boot command line.

Alan Stern


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-07-12  7:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 19:52 [SOLVED ??] Kernel 2.6.12 + IO-APIC + uhci_hcd = Trouble Protasevich, Natalie
2005-07-11 20:13 ` Michel Bouissou
2005-07-12  7:24 ` Alexander Fieroch
  -- strict thread matches above, loose matches on Subject: below --
2005-07-11 18:36 Alan Stern
2005-07-11 19:33 ` [SOLVED ??] " Michel Bouissou
2005-07-11 19:43   ` Alan Stern
2005-07-11 20:02     ` Michel Bouissou
2005-07-11 20:16       ` Alan Stern
2005-07-11 20:46         ` Michel Bouissou
2005-07-11 20:58           ` Michel Bouissou
2005-07-11 21:21           ` Alan Stern
2005-07-11 21:34             ` Michel Bouissou
2005-07-12  1:54               ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).