Re: [patch] voluntary-preempt-2.6.9-rc1-bk4-Q4

K.R. Foley
2004-08-30T03:43:08Z

K.R. Foley wrote:
> Ingo Molnar wrote:
>
>> * Lee Revell <rlrevell@joe-job.com> wrote:
>>
>>
>>>> -Q4 reverts this change. (this doesnt solve the problems Scott noticed
>>>> though.)
>>>>
>>>> another solution would be to boot Q3 with preempt_hardirqs=0 and then
>>>> turn on threading for all IRQs but the keyboard.
>>>>
>>>
>>> Nope, neither of these fixes the problem.
>>
>>
>>
>> i can reproduce a PS2 keyboard problem on a testsystem. It's not clear
>> yet what the issue is, something in the atkbd.c code changed between
>> 2.6.8.1 and 2.6.9-rc1-bk4 that broke IRQ redirection - even using the P9
>> hardirq.c code doesnt fix the problem. Investigating it.
>>
>> Ingo
>>

Actually after doing a diff on atkbd, there don't seem to be any
differences between 2.6.9-rc1 and 2.6.8.1. :( Also after looking back
through my logs some things worth noting here:

>
> Something of interest on this, maybe:
>
> Here is the (pertinent) log of the system booting:
>
> Aug 29 09:32:50 daffy kernel: requesting new irq thread for IRQ1...
> Aug 29 09:32:50 daffy kernel: atkbd.c: Spurious ACK on isa0060/serio1.
> Some program, like XFree86, might be trying access hardware directly.

These have been here for a while.

> Aug 29 09:32:50 daffy kernel: md: md driver 0.90.0 MAX_MD_DEVS=256,
> MD_SB_DISKS=27
> Aug 29 09:32:50 daffy kernel: IRQ#1 thread started up.
>
> And some further entries:
>
> Aug 29 16:48:50 daffy kernel: atkbd.c: Spurious NAK on isa0060/serio1.
> Some program, like XFree86, might be trying access hardware directly.
> Aug 29 16:48:50 daffy kernel: atkbd.c: Unknown key pressed (raw set 2,
> code 0x0 on isa0060/serio1).
> Aug 29 16:48:50 daffy kernel: atkbd.c: Use 'setkeycodes 00 <keycode>' to
> make it known.
> Aug 29 16:48:50 daffy kernel: atkbd.c: Unknown key pressed (raw set 2,
> code 0x18 on isa0060/serio1).
> Aug 29 16:48:50 daffy kernel: atkbd.c: Use 'setkeycodes 18 <keycode>' to
> make it known.

Looking at the messages above, it appears to me that this is being
detected as an AT keyboard (or default) instead of a PS/2. Could this be
a problem?

>
> I get the "Unknown key pressed" and "Use 'setkeycodes" messages whenever
> I press a key on the keyboard. I don't see very many of the "Spurious
> NAK" messages though.
>
> kr