lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090704012403.GA31026@gallifrey>
Date:	Sat, 4 Jul 2009 02:24:03 +0100
From:	"Dr. David Alan Gilbert" <linux@...blig.org>
To:	Jiri Kosina <jkosina@...e.cz>
Cc:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
	linux-input@...r.kernel.org
Subject: Re: 2.6.{28,30} Keyboard not working on oldish machine

* Jiri Kosina (jkosina@...e.cz) wrote:
> On Sun, 28 Jun 2009, Dr. David Alan Gilbert wrote:
> 
> > Apologies for the delay; attached is the dmesg from the Debian 2.6.18
> > in which keyboard works as previously described.
> 
> So the main difference is here:
> 
> 	drivers/input/serio/i8042.c: 20 -> i8042 (command) [3]
> 	drivers/input/serio/i8042.c: 65 <- i8042 (return) [3]
> 	drivers/input/serio/i8042.c: 60 -> i8042 (command) [3]
> 	drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [3]
> 	drivers/input/serio/i8042.c: Interrupt 1, without any data [3]
> 
> compared to
> 
> 	drivers/input/serio/i8042.c: 20 -> i8042 (command) [1]
> 	drivers/input/serio/i8042.c: 65 <- i8042 (return) [1]
> 	drivers/input/serio/i8042.c: 60 -> i8042 (command) [2]
> 	drivers/input/serio/i8042.c: 74 -> i8042 (parameter) [2]
> 	drivers/input/serio/i8042.c: d3 -> i8042 (command) [2]
> 
> So it looks like it is really affected by the polling timer removal/early 
> IRQ registration.

While that is different it does carry on; and, if I'm reading it
right, the last thing it does in my 2.6.30 logs is enable the keyboard
and then prod the mouse:

[    2.814817] drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [13]
[    2.817615] drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [14]
[    2.823470] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    2.827716] evbug.c: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[    2.828278] drivers/input/serio/i8042.c: d4 -> i8042 (command) [17]
[    2.828427] drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [17]

The 'ack' to the f4 presumably means the keyboard is reasonably happy?

That 'd4, f2' write-to-mouse times out on the 2.6.18 version, but no other 8042 debug
comes out on the 2.6.30. Here's the matching 2.6.18:

drivers/input/serio/i8042.c: d4 -> i8042 (command) [7]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [7]
EISA: Probing bus 0 at eisa.0
EISA: Detected 0 cards.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
Freeing unused kernel memory: 256k freed
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 0, timeout) [19]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [19]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [19]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 0, timeout) [31]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [31]
drivers/input/serio/i8042.c: 44 -> i8042 (parameter) [31]

(Although it's a bit difficult to compare since it seems 2.6.18 tends to do
mouse first and only keyboard after the mouse times out).

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ