Skip to contentSkip to conversation

2.6.35-rc2,3 -- Problem with PS2 keyboard and mouse driver

DISCUSSION [email protected] 4 participants 4 messages Jul 2, 2010 – Jul 4, 2010 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

2.6.35-rc2,3,3-git1 -- Problem with PS2 keyboard and mouse driver

That problem continues at -git6 .

Since 2.6.35-rc2 the USB keyboard driver don't work longer, on different mainboards and keyboards.

On 2.6.35-rc1 things still were (more or less) normal.

THIS IS AN ERROR WHICH ENTERED BETWEEN 2.6.35 -rc1 and -rc2 !!

werner landgraf

#1 lore raw
Quoted 10 lines · [email protected] wrote:

2.6.35-rc2,3,3-git1 -- Problem with PS2 keyboard and mouse driver

That problem continues at -git6 .

Since 2.6.35-rc2 the USB keyboard driver don't work longer, on different mainboards and keyboards.

On 2.6.35-rc1 things still were (more or less) normal.

THIS IS AN ERROR WHICH ENTERED BETWEEN 2.6.35 -rc1 and -rc2 !!

The address 07200720 looks like a couple of gray spaces in a vga console and I've seen that before not long ago.

After a bit of searching, I've found it: it's in the thread that started with "Linux 2.6.35-rc2", and most importantly in the thread:

BUG kmalloc-4096: Poison overwritten (2.6.35-rc2)

where there is a patch that is supposed to fix this. I thought this was already applied upstream, though...

For your convenience, the patch in that thread is this one (might be white space mangled, as I just copy+pasted it, so you might need to apply it by hand):

---
 drivers/char/vt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/char/vt.c +0 -0
index 1296c42..e123958 100644
@@ -304,8 +304,8 @@ static void scrup(struct vc_data *vc, unsigned int

t, unsigned int b, int nr)
d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t); s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr)); scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row);
- scr_memsetw(d + (b - t - nr) * vc->vc_size_row, vc->vc_video_erase_char,
- vc->vc_size_row * nr);
+ scr_memsetw((void *)d + (b - t - nr) * vc->vc_size_row,
+ vc->vc_video_erase_char, vc->vc_size_row * nr);
}

static void scrdown(struct vc_data *vc, unsigned int t, unsigned int b,
int nr)

#2 lore raw

I compiled 2.6.35-rc3-git7 applying this patch, but the problem continues.

I have an USB keyboard and mouse. For BIOS and lilo the keyboard works normally. However, when the kernel loads, it stops imediately. I can check this by pressing repeatedly the key lock and observing when the light don't blink.

On -rc2 came arbitrarily characters (but only 1 por line) on the text screen. A PS2 keyboard blocks completely as explained above (and also the PS2 mouse t dont work), an USB keyboard worked almost normally in the grafic mode(also the PS2 mouse worked),

But on -rc3 , no kind of keyboard didn't work anymore.

Rebooting with 2.6.35-rc1, everything works normal.

Thus, the error entered between -rc1 and -rc2 , on something what was changed also till -rc3 so that it then become more worse.

Werner Landgraf

===============================================
On 02/Jul/2010 09:05 Paulo Marques wrote ..

Quoted 46 lines
Quoted 10 lines · [email protected] wrote:

2.6.35-rc2,3,3-git1 -- Problem with PS2 keyboard and mouse driver

That problem continues at -git6 .

Since 2.6.35-rc2 the USB keyboard driver don't work longer, on different mainboards and keyboards.

On 2.6.35-rc1 things still were (more or less) normal.

THIS IS AN ERROR WHICH ENTERED BETWEEN 2.6.35 -rc1 and -rc2 !!

The address 07200720 looks like a couple of gray spaces in a vga console and I've seen that before not long ago.

After a bit of searching, I've found it: it's in the thread that started with "Linux 2.6.35-rc2", and most importantly in the thread:

BUG kmalloc-4096: Poison overwritten (2.6.35-rc2)

where there is a patch that is supposed to fix this. I thought this was already applied upstream, though...

For your convenience, the patch in that thread is this one (might be white space mangled, as I just copy+pasted it, so you might need to apply it by hand):

---
 drivers/char/vt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/char/vt.c +2 -2
index 1296c42..e123958 100644
@@ -304,8 +304,8 @@ static void scrup(struct vc_data *vc, unsigned int
 t, unsigned int b, int nr)
 	d = (unsigned short *)(vc->vc_origin + vc->vc_size_row * t);
 	s = (unsigned short *)(vc->vc_origin + vc->vc_size_row * (t + nr));
 	scr_memmovew(d, s, (b - t - nr) * vc->vc_size_row);
-	scr_memsetw(d + (b - t - nr) * vc->vc_size_row, vc->vc_video_erase_char,
-		    vc->vc_size_row * nr);
+	scr_memsetw((void *)d + (b - t - nr) * vc->vc_size_row,
+			vc->vc_video_erase_char, vc->vc_size_row * nr);
 }
 
Quoted 2 lines

static void scrdown(struct vc_data *vc, unsigned int t, unsigned int b,
int nr)

==============================================================================
*** guyane.dyn-o-saur.com / copaya.yi.org / SYS-Linux.yi.org ***
O único servidor comunitário na Guiana-Francesa. Situado no local, rápido, gratuito, imuno contra guerras / desastres na Europa. Serviço não-comercial e gratuito de: http (forum, página web), irc (chat), ftp (download), name (subdomain) .

*** Usa nosso SYS Sistema operacional ! Seguro e gratuito ***
Ulima Versao: SYS 0.23+ do 5/2/09
'current' SYS_Linux.iso do 17/3/09

Referência:
http ://linux.softpedia.com/get/System/Operating-Systems/Linux-Distributions/SYS-34168.shtml http ://www .linuxquestions.org/reviews/showproduct.php?product=834
http ://www. distromania.com/distro_info.php?distro=1185
http ://sys-linux.yi.org/forum/index.php (Fórum de Apoio)

Telecarregar: (favor usa c/preferência os mirros) (Install-DVD: .../SYS_Linux.iso)
Caiena, Guiana-Caiena, America-do-Sul (Servidor Principal): ftp: //copaya.yi.org/sys/ , rsync: //copaya.yi.org/sys/ , http: //copaya.yi.org/sys/ Göttingen, Alemanha, Europa : ftp: //ftp5.gwdg.de/pub/linux/install/sys/ , http: //ftp5.gwdg.de/pub/linux/install/sys/ Siegen, Alemanha, Europa : ftp: //ftp.uni-siegen.de/pub/sys-linux
DistroMania : ftp: //linux-ds.unidu.hr/sys/SYS_Linux.iso , http: //linux-ds.unidu.hr/sys/SYS_Linux.iso
Curitiba, Brasil, America-do-Sul : ftp: //sys.c3sl.ufpr.br/SYS/ , http: //sys.c3sl.ufpr.br

#3 lore raw
In reply to [email protected]
Quoted 4 lines · On piątek, 2 lipca 2010 o 05:34:10 [email protected] wrote:

2.6.35-rc2,3,3-git1 -- Problem with PS2 keyboard and mouse driver

That problem continues at -git6 .

Quoted 8 lines

Since 2.6.35-rc2 the USB keyboard driver don't work longer, on different mainboards and keyboards.

On 2.6.35-rc1 things still were (more or less) normal.

THIS IS AN ERROR WHICH ENTERED BETWEEN 2.6.35 -rc1 and -rc2 !!

werner landgraf

I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=16332
for your bug report, please add your address to the CC list in there, thanks!

Signature · 2 lines
Maciej Rutecki
http://www.maciek.unixy.pl