Re: Oops in evdev_disconnect for kernel 2.6.23.12

Berthold Cogel
2008-01-06T21:16:18Z

Al Viro schrieb:
> On Sun, Jan 06, 2008 at 08:39:07PM +0100, Berthold Cogel wrote:
>>>> If I'm able to reproduce the oops with my patched kernel, I will gladly
>>>> follow your advice.
>>> AFAICS, lkml.org/lkml/2007/7/24/20 is the same patch...
>> Ok! It happened again....
>>
>> I was able to reproduce the Oops twice. Once with my patched kernel
>> (2.6.23.12 patched with tuxonice-3.0-rc3-for-2.6.23.9 on Debian
>> stable/testing/unstable) and the second time with a vanilla 2.6.23.12
>> kernel. So this isn't related to Tuxonice.
>
> Apply the patch in aforementioned posting and see if it fixes the things?

I did that and got this in 'make modules':

CC [M] drivers/input/joydev.o
CC [M] drivers/input/evdev.o
drivers/input/evdev.c: In function 'evdev_do_ioctl':
drivers/input/evdev.c:749: error: 'struct input_dev' has no member named
'event_lock'
drivers/input/evdev.c:757: error: 'struct input_dev' has no member named
'event_lock'
make[2]: *** [drivers/input/evdev.o] Fehler 1
make[1]: *** [drivers/input] Fehler 2
make: *** [drivers] Fehler 2

The next piece of the puzzle:

No oops with 2.6.24-rc6 vanilla and the same kernel patched with
TuxOnIce 3.0-rc3 for kernel 2.6.24-rc3. A minor nit was that I had to
rebuild the xorg driver for the tablet to get it working.

Berthold