2010-07-02 03:34:17

by werner

[permalink] [raw]
Subject: 2.6.35-rc2,3 -- Problem with PS2 keyboard and mouse driver

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


Attachments:
DSC-0000073.jpg (218.70 kB)

2010-07-02 12:33:06

by Paulo Marques

[permalink] [raw]
Subject: Re: 2.6.35-rc2,3 -- Problem with PS2 keyboard and mouse driver

[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(-)

diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 1296c42..e123958 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -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)

2010-07-03 18:20:48

by Maciej Rutecki

[permalink] [raw]
Subject: Re: 2.6.35-rc2,3 -- Problem with PS2 keyboard and mouse driver

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 .
>
> 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!

--
Maciej Rutecki
http://www.maciek.unixy.pl

2010-07-04 02:06:14

by werner

[permalink] [raw]
Subject: Re: 2.6.35-rc2,3 -- Problem with PS2 keyboard and mouse driver

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 ..
> [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(-)
>
> diff --git a/drivers/char/vt.c b/drivers/char/vt.c
> index 1296c42..e123958 100644
> --- a/drivers/char/vt.c
> +++ b/drivers/char/vt.c
> @@ -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)
==============================================================================
*** 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