Re: Lenovo 3000 N100 i8042 problems



On Wed, 3 Sep 2008, Daniel Barkalow wrote:

On Wed, 3 Sep 2008, Dmitry Torokhov wrote:

On Tue, Sep 02, 2008 at 12:16:15PM -0400, Daniel Barkalow wrote:
legacy mode only has a bug that doesn't matter to Windows, and active mux
may have some of the usual problems but nothing I particularly noticed.

I noticed that, when my i8042 would stop working, it would generally have
just delivered one mouse interrupt to CPU1 after never previously doing
so. Perhaps there's some sort of deadlock in the Linux i8042 driver when
both cores are unexpectedly getting interrupts from the two devices at
once? I could understand there being a Linux bug only triggered by quirky
hardware that only applies to legacy mode, which was just uncovered by
this patch.


I am not sure, internally we the kernel still deals with 2 interrupt
sources (KBD and AUX) regardless whether it is in legacy or active
multiplexing mode...

Does it take long to trigger the bug? You coudl try doing "echo 1 >
/sys/modules/i8042/parameters/debug" and thend me dmesg or
/var/log/messages after the bug was triggered - I might see something
there. But please be aware that if you send me such a log I can decode
everything that you have been typing...

It's usually within an hour of the right usage pattern. I'll try to
trigger it with debugging on while not typing anything secret Thursday
evening.

Attached. This has me typing some unimportant stuff, and then it sticks,
then I plug in a USB keyboard, then I tried unbinding the i8042 and
binding it again; the audio stuttered briefly, and recovered, and I did it
again, and then saved this log.

-Daniel
*This .sig left intentionally blank*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Lenovo 3000 N100 i8042 problems
    ... I could understand there being a Linux bug only triggered by quirky ... hardware that only applies to legacy mode, ... internally we the kernel still deals with 2 interrupt ... Does it take long to trigger the bug? ...
    (Linux-Kernel)
  • Re: kernel panic with pccard insert on recent 7.0 CURRENT
    ... We know if an interrupt source is edge or level ... It falls back to a level trigger emulation if it can't. ... Run A's handler, it claims the interrupt, so schedule A's ithread if ...
    (freebsd-current)
  • Re: [KVM PATCH v4 2/2] kvm: add support for irqfd via eventfd-notification interface
    ... The non-default mode is to trigger a ... I would really like to keep using eventfd. ... But we'd still need to know when to lower the interrupt. ... IIUC, isn't that usually device/subsystem specific, and out of scope of ...
    (Linux-Kernel)
  • Re: TL16C550CIFN
    ... verify this UART's DMA function,but the /RXRDY goes true when there is ... IIRC most cacheing UARTs will allow you to adjust the trigger point ... Thus once an interrupt occurs the service can ... or more characters in the FIFO and more than three character ...
    (comp.arch.embedded)
  • Re: PIC processor interrupt for delayed output
    ... input to a PIC microcontroller? ... If you can run it in a tight loop I think you can test 8 input pins ... whether you'll set up a timer to trigger an interrupt when the output ...
    (sci.electronics.basics)

Loading