Bug 6105

Summary: psmouse.c: bad data from KBC - timeout bad parity
Product: Drivers Reporter: Felix Schuster (felix.schuster)
Component: Input DevicesAssignee: drivers_input-devices
Status: RESOLVED CODE_FIX    
Severity: normal CC: avm-xandry, damjan.jov, dmitry.torokhov, edward, kai.kasurinen, mikhassiak, nbi, paul.roy.b, pavel, protasnb, sysadmin, true.bugman, vojtech, win360+bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.27.6 Subsystem:
Regression: No Bisected commit-id:
Attachments: Relevant Excerpts from `dmesg`
patch to resync when we get bad parity from the mouse
i8042.debug dmesg output
patch to discard the entire packet on bad parity

Description Felix Schuster 2006-02-19 10:01:38 UTC
Most recent kernel where this bug did not occur: There's no one

Distribution: Gentoo 2005.1

Hardware Environment: Gericom Overdose Laptop

Software Environment: Linux laptop2 2.6.15.1 #3 PREEMPT Mon Feb 13 16:15:57 UTC
2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux with Gentoo, X,...

Problem Description: Now and then the touchpad stops working correctly. You can
move around, but clicking has no effect.
The error message is: psmouse.c: bad data from KBC - timeout bad parity
This message appears about 100x times in the error log.

Steps to reproduce:
I haven't recognized important facts which have to occure.
It happens often, when mozilla web browser is started (but not sure, if it's
related to this)

I searched the web a lot. And I found some other people having the same problem.
But no one posted a solution for that. I think there is a big connection to the
"psmouse.c: TouchPad at isa0060/serio2/input0 lost sync at byte 1" problem.
Probably the synaptics drivers are also related to.
Comment 1 Yauhen Kharuzhy 2006-03-04 01:32:05 UTC
Software: Linux jekcomp.localdomain 2.6.15.4 #1 Fri Mar 3 21:46:59 EET 2006 i686
GNU/Linux, Debian GNU/Linux unstable.

Hardware: amd64 desktop (VIA chipset).

My PS/2 mouse sometimes begin moving randomly with next messages:

------------------------------------------------------
psmouse.c: bad data from KBC - timeout
psmouse.c: <NULL> at isa0060/serio1/input0 lost synchronization, throwing 3
bytes away.
psmouse.c: bad data from KBC - timeout
psmouse.c: <NULL> at isa0060/serio1/input0 lost synchronization, throwing 2
bytes away.
psmouse.c: bad data from KBC - bad parity
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - bad parity
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: <NULL> at isa0060/serio1/input0 lost synchronization, throwing 3
bytes away.
psmouse.c: bad data from KBC - timeout
psmouse.c: <NULL> at isa0060/serio1/input0 lost synchronization, throwing 2
bytes away.
psmouse.c: bad data from KBC - bad parity
psmouse.c: <NULL> at isa0060/serio1/input0 lost synchronization, throwing 2
bytes away.
-----------------------------------------

It's repodused on various hardware with various 2.6 kernels.
Comment 2 Vojtech Pavlik 2006-03-04 01:39:07 UTC
This is most likely a hardware bug (bad mouse cable for example). What hardware
and kernel combinations did you test?
Comment 3 Felix Schuster 2006-03-05 08:48:52 UTC
I can not imagine that this is a hardware related problem. I am guessing it is a
driver bug.
I am using a touchpad and I get this error. It happens with every kernel I had
(>= 2.6.12). I had windows before. There was the same problem.
I can not understand why the mouse begins to jump around and clicks anywhere.
When a message like "throwing x bytes away" appears, the mouse should stay there
(in my opinion) and should wait for the next input.
Comment 4 Vojtech Pavlik 2006-03-05 14:29:29 UTC
Using 'psmouse.rate=40' on the kernel command line might help. Can you try that?
Comment 5 Felix Schuster 2006-03-05 14:54:11 UTC
I'll give it a try. Because it is not a reproducable bug (it happens randomly) I
can tell you in a few weeks, if this works.
For my information: What's the default for psmouse.rate?
Comment 6 Dmitry Torokhov 2006-03-05 15:20:58 UTC
I don't think psmouse.rate=40 will help - Felix does not have Synaptics 
touchpad but a Logitech one (there was a but in psmouse - it was not setting 
the "name" and so <NULL> was printing in the logs). 
 
Just to confirm - you said you were having the similar problem with mouse in 
windows, right? How often does this happen?   
Comment 7 Felix Schuster 2006-03-05 15:48:36 UTC
I have a touchpad (think noname touchpad, laptop is a Gericom one), can't
imagine that it is from Logitech. Did you mean Yauhens comment (with <NULL>)?
The problem occurs in windows as often as it does in Linux. It happens
uncommonly, there are weeks without any problems. And then it occurs a few days
again and again.
Comment 8 Vojtech Pavlik 2006-03-06 00:18:40 UTC
Don't be surprised if the touchpad is Logitech: There are only Logitech, Synaptics
and ALPS touchpads, so it's got to be one of them.

Regarding the psmouse.rate=40, the default is 100, and I also don't expect it'll
help, but the messages from the i8042 KBC mean that it's getting garbage (not
even valid bytes) on input.

This can result from
            a) Bad cable or loose connector. 
            b) Overloaded firmware in the KBC

The psmouse.rate should solve b). For a), which I believe is the most likely
option, especially because it's unlikely to be a driver problem if it happens
under Windows as well - Windows has completely different drivers and are tested
by the manufacturer to work with the pad - I'd suggest disassembling the
machine and reseating the touchpad connector to the mainboard. I've seen loose
connectors cause similar  intermittent trouble in the past.
Comment 9 Felix Schuster 2006-03-19 12:57:39 UTC
So here I am back again:
I tried to fix this bug with the psmouse.rate=40 kernel parameter.
Till yesterday it worked ;) So this means Vojtech appears to be right (never
doubt him). Perhaps the parameter scaled down the cases - but I can't imagine.
Comment 10 Dmitry Torokhov 2006-04-04 13:39:46 UTC
You are right, I should never doubt Vojtech ;)

So could you tell me what model you touchpad is? Is it identified as Synaptics 
by the kernel? If so please send me output of "dmidecode" utility.

Thanks!
Comment 11 mike 2006-04-21 12:45:33 UTC
Hi guys, I have had this same error psmouse.c: bad data from KBC - bad parity.
I have tracked this down to an ESD problem. I know it sounds far fetched but I'm
using a HP dv1133 laptop. It is dual boot and I experiance lockups in windows
and this error in Debian with kernel 2.6. I started noticing that the problem
would start after I set the laptop down and came back to it and zapping it with
an ESD.
Just to confirm my hunch I installed a wrist strap and grouneded it securly. 
Now I'm able to reproduce without fail... no wrist strap intemitant lock-ups,
with strap never failed.
Also I have noticed that if I am running on BAT power and not AC the lock-ups
were  less of a problem. I suspect that when I'm on AC the laptop is grounded
and I got a better strike on it. 

Hope this helps.

Win XP/ debian testing dual boot
HP DV1133
synaptics touchpad
Comment 12 Adam 2007-01-05 02:26:38 UTC
I'm getting a ton of:

psmouse.c: bad data from KBC - bad parity
psmouse.c: bad data from KBC - bad parity
psmouse.c: bad data from KBC - bad parity
psmouse.c: bad data from KBC - bad parity
psmouse.c: bad data from KBC - bad parity

Immediately after booting my HP dv8000 laptop. FC5 with 2.6.18 kernel. Just
started happening after updating to 2.6.18smp. I don't think I saw it before that.
Comment 13 Felix Schuster 2007-01-05 03:15:23 UTC
> So could you tell me what model you touchpad is?

No, how can I find this out?

> Is it identified as Synaptics by the kernel?
> If so please send me output of "dmidecode" utility.

I don't think so, but maybe I am wrong. Is there someone who can tell me, how to
find this out?
Comment 14 Dmitry Torokhov 2007-01-05 06:05:15 UTC
Re #12: Do this errors go away if you revert to the older kernel?
Re #13: What does your /roc/bus/input/devices show?
Comment 15 Felix Schuster 2007-01-05 16:31:48 UTC
> Re #13: What does your /roc/bus/input/devices show?

[...]
I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="PS/2 Mouse"
P: Phys=isa0060/serio1/input1
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003
Comment 16 Natalie Protasevich 2007-06-22 23:55:30 UTC
Felix, have you tried new kernel lately? Is the problem still there?
Thanks.
Comment 17 Felix Schuster 2007-06-23 03:04:42 UTC
I still had this problem with 2.6.18.6, currently I am running 2.6.20.7. I recently did the update, so Iifear it will happen again.
Do you want me to try 2.6.21.5 as it is the newest stable kernel (kernel.org)?
Comment 18 Natalie Protasevich 2007-06-23 03:30:32 UTC
I'd say try the latest pre-released, 2.6.22-rc5 as of now. New fixes usually go to -mm, so if there was a fix submitted to your problem, you'd have to test latest -mm. Reason to test anyway is because sometimes problems get fixed indirectly.
If the new kernel fails, please go carefully through #14.
Comment 19 Paul Roy 2007-06-27 16:23:08 UTC
hey .. Ive got an LG T1 laptop with the same problem. Odd thing is, from looking at /var/log/kernel.log, I can see that it was in fact loading the proper Synaptics modules/driver on the 1st few boots, but then it switched to "PS/2 mouse" and I had psmouse.c bad data problems from there.

Whats stranger still however, is that now since this morning I cant even get ps/2 mouse ! .. it loads NOTHINGS, and /proc/bus/input/devices lists no mouse anymore. I HAVE to connect an external mouse.. 

Now, its something I do anyway cause I dont really enjoy touchpads, but it really bugs me to think maybe this 1500$ machine I bought last week has a hardware problem .. ..
Comment 20 Paul Roy 2007-06-27 16:26:36 UTC
to follow up on that last comment of mine (#19) - I have to say I think I remember the mouse acting up in the moments following the loss ... I didnt pay too much attention to it as I was "crouched down, hodling my laptop with one hand trying to type in commands with the other", cause my friend's ethernet cable didnt reach far enough for me to leave it on his desktop... so i just assumed I was somehow touching the mousepad by accident while typing in such a precarious position .. Then I loaded entrance, the e17 login manager, and all that is e17 related is very  alpha as everyone knows, so the non responding touchpad didnt concern me too much as I thought it was an entrance related bug. Its when it didnt work in either kde, icewm, or just plain X with nothing loaded but xterm, that I got worried ...
Comment 21 Dmitry Torokhov 2007-06-27 20:26:29 UTC
Paul,

I think in your case the touchpad connector got loose and disconnected. It is usually easily fixable.
Comment 22 Paul Roy 2007-08-15 08:42:57 UTC
hello. I would have another question since you seem to know a bit more
than I do regarding such matters. First of all, what is the kbc bios
and what does it have to do with my touchpad ?

I mention this because I have been having an intermitent display
problem which seems related to my video bios or some firmware issue.
(this is just a hunch). Basically its as though my laptop does not
recognize it's LCD display and sends it the wrong "signal" - and
evertyhing on the screen looks distorted and interlaced, in any video
mode. Further more, when I boot up all the way, I find the display's
native resolution of 1440x900 is not available. I use 915resolution,
could that have consequences on my video bios ? Then again I thought
maybe the fact the touchpad mouse wasnt responding was confusing the
laptop in a way and screwing my display. Like I said, its intermitent,
and impossible to reproduce.. I have no clue whatsoever as to what
might trigger the problem. Hitting ctrl-alt-del a few times usually
does it, as it ends up usually getting the right display. I have
noticed differences in xorg.0.log as well as outputs from lshwd, lsdev
and lsmod between the two "states"...

so i guess my question is what is kbc bios and does it have anything
to do with it ?

On 6/27/07, bugme-daemon@bugzilla.kernel.org
<bugme-daemon@bugzilla.kernel.org> wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=6105
>
>
>
>
>
> ------- Comment #21 from dtor@insightbb.com  2007-06-27 20:26 -------
> Paul,
>
> I think in your case the touchpad connector got loose and disconnected. It
> is
> usually easily fixable.
>
>
> --
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
Comment 23 Edward Macfarlane Smith 2007-08-19 06:12:53 UTC
I've been having problems with this error too (On a Sony Vaio VGN-SZ3VWP which I believe has an alps touchpad), running SUSE 10.2. I've upgraded through various kernels, currently on 2.6.22.1. I just tried adding the psmouse.rate=40, it hasn't got rid of the problem completely (I still sometimes see the message in dmesg), but does seem to have significantly improved things (though maybe I'm just being lucky for now!).
Comment 24 Felix Schuster 2007-08-28 10:31:40 UTC
I tried kernel-2.6.22-rc4-mm2 over the last two month. The problem seems to be
solved, it never happened again. Currently I am running 2.6.22.1, i haven't recognized this problem yet.
Comment 25 Felix Schuster 2007-09-17 15:36:45 UTC
2.6.22.1 is vulnerable too.
going to test an mm version further
Comment 26 Felix Schuster 2007-09-17 15:37:45 UTC
btw: updated kernel version in the bug details
Comment 27 Natalie Protasevich 2007-09-17 21:33:54 UTC
Thanks, please keep us posted.
Comment 28 Yurij Mikhassiak 2008-07-21 02:44:45 UTC
Hi. The same problem!
 - bad parity

It's happen in Linux Mint based on Ubuntu 8.04 (life CD too)
Synaptic touchpad on Compaq Evo n410c stop responding after 1-9 minutes of using it..
Kernel loads modules for touchpap and PC/2 mouse (using just touchpad)
In doal boot windows Xp everything works Ok 
the other problem I see is that in time of system start loading stops for 20 sec. when loading drivers and go again.
What can I do?
Comment 29 Andres Mujica Ubuntu BugSquad 2008-08-10 18:30:27 UTC
Hi all, i've linked the LP #119194 with this bug as it seems these are the same
one,

https://bugs.launchpad.net/linux/+bug/119194
Comment 30 Matt Lapaglia 2008-10-07 21:29:31 UTC
I am also still having this issue on Ubuntu Intrepid with 2.6.27-6-generic kernel on a Compal hel80 laptop. I've had this issue since Gutsy as well. It always happens directly after login, i receive the same error messages as the original poster.
Comment 31 Harlan Lieberman-Berg 2009-04-19 09:24:18 UTC
This issue is still happening (or a similar form of it) in 2.6.27.21.

I will attach the relevant portions of dmesg.  Please note, I have tried the psmouse.resetafter=1 option, and although it appears to provide some relief, it is always temporary.  Once the behavior starts, it will rapidly occur more and more often until finally the mouse stops moving and responding to clicks altogether.

I am happy to provide more information as you request it.
Comment 32 Harlan Lieberman-Berg 2009-04-19 09:24:55 UTC
Created attachment 21042 [details]
Relevant Excerpts from `dmesg`
Comment 33 Harlan Lieberman-Berg 2009-04-22 00:28:16 UTC
On the most recent boot, I had a new error message.

alps.c: Failed to enable hardware tapping.

Is the consensus that this is a hardware problem still the same one? Would that error be indicative of a hardware failure, or does this indicate the problem might be a driver?
Comment 34 dk 2009-06-07 18:13:39 UTC
I have encounter the same problem when 'pre FC11' was installed. It makes xwindows almost unusable as the mouse cursor seems to either hang or gone crazy and randomly clicking things.

I have been using Linux for a long time (since kernel 1.2.8 - good old day of slackware) and this is the first time ever happens

A fix seems to be included when I tried to update all packages, however this still happen (rarely) Here is the log (/var/log/messages)

Jun  7 14:02:40 FC11 kernel: psmouse.c: bad data from KBC - bad parity
Jun  7 14:02:40 FC11 kernel: psmouse.c: bad data from KBC - bad parity
Jun  7 14:02:40 FC11 kernel: psmouse.c: bad data from KBC - bad parity
Jun  7 14:02:49 FC11 kernel: psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Jun  7 14:02:49 FC11 kernel: psmouse.c: resync failed, issuing reconnect request

uname -a
Linux FC11.xxx.xxx 2.6.29.4-167.fc11.x86_64 #1 SMP Wed May 27 17:27:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Comment 35 pavel 2009-08-17 17:00:23 UTC
Linux golubeff-laptop 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux

Aug 15 10:18:47 golubeff-laptop kernel: [45946.331481] psmouse.c: bad data from KBC - bad parity
Aug 15 10:19:48 golubeff-laptop exiting on signal 15

This is what I get before the keyboard on my hp pavilion dv3000 stops responding. CTRL-ALT-F1 does not help, Caps lock also does not change state.
I've got wireless bluetooth mouse.

golubeff@golubeff-laptop:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00005000-00005fff
	Memory behind bridge: 90000000-92ffffff
	Prefetchable memory behind bridge: 0000000080000000-000000008fffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 60e0 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 22
	I/O ports at 60c0 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 19
	Memory at 99304c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, fast devsel, latency 0, IRQ 2296
	Memory at 99300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00003000-00004fff
	Memory behind bridge: 98200000-992fffff
	Prefetchable memory behind bridge: 0000000093000000-00000000940fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: 97100000-981fffff
	Prefetchable memory behind bridge: 0000000094100000-00000000950fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=07, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: 96100000-970fffff
	Prefetchable memory behind bridge: 0000000095100000-00000000960fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport-driver
	Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 60a0 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at 6080 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 6060 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 6040 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0, IRQ 20
	Memory at 99304800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) (prog-if 01)
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: iTCO_wdt

00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 2299
	I/O ports at 6108 [size=8]
	I/O ports at 6114 [size=4]
	I/O ports at 6100 [size=8]
	I/O ports at 6110 [size=4]
	I/O ports at 6020 [size=32]
	Memory at 99304000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: medium devsel, IRQ 11
	Memory at 99305000 (64-bit, non-prefetchable) [size=256]
	I/O ports at 6000 [size=32]
	Kernel modules: i2c-i801

01:00.0 VGA compatible controller: nVidia Corporation GeForce 9300M GS (rev a1)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 92000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	Memory at 90000000 (64-bit, non-prefetchable) [size=32M]
	I/O ports at 5000 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nvidia, nvidiafb

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 1505
	Flags: bus master, fast devsel, latency 0, IRQ 2298
	I/O ports at 3000 [size=256]
	Memory at 98200000 (64-bit, non-prefetchable) [size=4K]
	Memory at 93000000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at 93020000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
	Subsystem: Intel Corporation Device 1206
	Flags: bus master, fast devsel, latency 0, IRQ 2297
	Memory at 97100000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlagn
	Kernel modules: iwlagn









golubeff@golubeff-laptop:~$ dmesg 
[    0.000000] BIOS EBDA/lowmem at: 0009e000/0009e000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.28-14-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 (Ubuntu 2.6.28-14.47-generic)
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   NSC Geode by NSC
[    0.000000]   Cyrix CyrixInstead
[    0.000000]   Centaur CentaurHauls
[    0.000000]   Transmeta GenuineTMx86
[    0.000000]   Transmeta TransmetaCPU
[    0.000000]   UMC UMC UMC UMC
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009e000 (usable)
[    0.000000]  BIOS-e820: 000000000009e000 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000007e9ba000 (usable)
[    0.000000]  BIOS-e820: 000000007e9ba000 - 000000007e9bd000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000007e9bd000 - 000000007fc6b000 (usable)
[    0.000000]  BIOS-e820: 000000007fc6b000 - 000000007fcbf000 (reserved)
[    0.000000]  BIOS-e820: 000000007fcbf000 - 000000007fd86000 (usable)
[    0.000000]  BIOS-e820: 000000007fd86000 - 000000007fdbf000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000007fdbf000 - 000000007fde2000 (usable)
[    0.000000]  BIOS-e820: 000000007fde2000 - 000000007fdf6000 (ACPI data)
[    0.000000]  BIOS-e820: 000000007fdf6000 - 000000007fdfe000 (usable)
[    0.000000]  BIOS-e820: 000000007fdfe000 - 000000007fdff000 (ACPI data)
[    0.000000]  BIOS-e820: 000000007fdff000 - 000000007fe00000 (usable)
[    0.000000]  BIOS-e820: 000000007fe00000 - 0000000080000000 (reserved)
[    0.000000]  BIOS-e820: 00000000f8000000 - 00000000fc000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed10000 - 00000000fed14000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed18000 - 00000000fed1a000 (reserved)
[    0.000000]  BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] DMI 2.4 present.
[    0.000000] last_pfn = 0x7fe00 max_arch_pfn = 0x100000
[    0.000000] Scanning 2 areas for low memory corruption
[    0.000000] modified physical RAM map:
[    0.000000]  modified: 0000000000000000 - 0000000000002000 (usable)
[    0.000000]  modified: 0000000000002000 - 0000000000006000 (reserved)
[    0.000000]  modified: 0000000000006000 - 0000000000007000 (usable)
[    0.000000]  modified: 0000000000007000 - 0000000000010000 (reserved)
[    0.000000]  modified: 0000000000010000 - 0000000000091000 (usable)
[    0.000000]  modified: 000000000009e000 - 00000000000a0000 (reserved)
[    0.000000]  modified: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  modified: 0000000000100000 - 000000007e9ba000 (usable)
[    0.000000]  modified: 000000007e9ba000 - 000000007e9bd000 (ACPI NVS)
[    0.000000]  modified: 000000007e9bd000 - 000000007fc6b000 (usable)
[    0.000000]  modified: 000000007fc6b000 - 000000007fcbf000 (reserved)
[    0.000000]  modified: 000000007fcbf000 - 000000007fd86000 (usable)
[    0.000000]  modified: 000000007fd86000 - 000000007fdbf000 (ACPI NVS)
[    0.000000]  modified: 000000007fdbf000 - 000000007fde2000 (usable)
[    0.000000]  modified: 000000007fde2000 - 000000007fdf6000 (ACPI data)
[    0.000000]  modified: 000000007fdf6000 - 000000007fdfe000 (usable)
[    0.000000]  modified: 000000007fdfe000 - 000000007fdff000 (ACPI data)
[    0.000000]  modified: 000000007fdff000 - 000000007fe00000 (usable)
[    0.000000]  modified: 000000007fe00000 - 0000000080000000 (reserved)
[    0.000000]  modified: 00000000f8000000 - 00000000fc000000 (reserved)
[    0.000000]  modified: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  modified: 00000000fed10000 - 00000000fed14000 (reserved)
[    0.000000]  modified: 00000000fed18000 - 00000000fed1a000 (reserved)
[    0.000000]  modified: 00000000fed1c000 - 00000000fed20000 (reserved)
[    0.000000]  modified: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  modified: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] kernel direct mapping tables up to 373fe000 @ 10000-16000
[    0.000000] RAMDISK: 378ba000 - 37fefa82
[    0.000000] Allocated new RAMDISK: 0087b000 - 00fb0a82
[    0.000000] Move RAMDISK from 00000000378ba000 - 0000000037fefa81 to 0087b000 - 00fb0a81
[    0.000000] ACPI: RSDP 000FE020, 0024 (r2 HP    )
[    0.000000] ACPI: XSDT 7FDFE120, 0064 (r1 HPQOEM SLIC-MPC        1       1000013)
[    0.000000] ACPI: FACP 7FDE3000, 00F4 (r4 HP     DIABLO          1 MSFT  1000013)
[    0.000000] ACPI: DSDT 7FDE6000, A409 (r1 HP     DIABLO          1 MSFT  1000013)
[    0.000000] ACPI: FACS 7FD92000, 0040
[    0.000000] ACPI: HPET 7FDF4000, 0038 (r1 HPQOEM SLIC-MPC        1 MSFT  1000013)
[    0.000000] ACPI: APIC 7FDF3000, 006C (r2 HPQOEM SLIC-MPC        1 MSFT  1000013)
[    0.000000] ACPI: MCFG 7FDF2000, 003C (r1 HPQOEM SLIC-MPC        1 MSFT  1000013)
[    0.000000] ACPI: ASF! 7FDF1000, 00A5 (r32 HPQOEM SLIC-MPC        1 MSFT  1000013)
[    0.000000] ACPI: SLIC 7FDE5000, 0176 (r1 HPQOEM SLIC-MPC        1 LOHR        0)
[    0.000000] ACPI: BOOT 7FDE4000, 0028 (r1 HPQOEM SLIC-MPC        1 MSFT  1000013)
[    0.000000] ACPI: SSDT 7FDE2000, 0655 (r1  PmRef    CpuPm     3000 INTL 20051117)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] 1162MB HIGHMEM available.
[    0.000000] 883MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 373fe000
[    0.000000]   low ram: 00000000 - 373fe000
[    0.000000]   bootmap 00012000 - 00018e80
[    0.000000] (9 early reservations) ==> bootmem [0000000000 - 00373fe000]
[    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]   #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
[    0.000000]   #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
[    0.000000]   #3 [0000100000 - 00008760ac]    TEXT DATA BSS ==> [0000100000 - 00008760ac]
[    0.000000]   #4 [0000877000 - 000087b000]    INIT_PG_TABLE ==> [0000877000 - 000087b000]
[    0.000000]   #5 [000009e000 - 0000100000]    BIOS reserved ==> [000009e000 - 0000100000]
[    0.000000]   #6 [0000010000 - 0000012000]          PGTABLE ==> [0000010000 - 0000012000]
[    0.000000]   #7 [000087b000 - 0000fb0a82]      NEW RAMDISK ==> [000087b000 - 0000fb0a82]
[    0.000000]   #8 [0000012000 - 0000019000]          BOOTMAP ==> [0000012000 - 0000019000]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x000373fe
[    0.000000]   HighMem  0x000373fe -> 0x0007fe00
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[9] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00000002
[    0.000000]     0: 0x00000006 -> 0x00000007
[    0.000000]     0: 0x00000010 -> 0x00000091
[    0.000000]     0: 0x00000100 -> 0x0007e9ba
[    0.000000]     0: 0x0007e9bd -> 0x0007fc6b
[    0.000000]     0: 0x0007fcbf -> 0x0007fd86
[    0.000000]     0: 0x0007fdbf -> 0x0007fde2
[    0.000000]     0: 0x0007fdf6 -> 0x0007fdfe
[    0.000000]     0: 0x0007fdff -> 0x0007fe00
[    0.000000] On node 0 totalpages: 523487
[    0.000000] free_area_init_node: node 0, pgdat c06ca500, node_mem_map c1000000
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3940 pages, LIFO batch:0
[    0.000000]   Normal zone: 1736 pages used for memmap
[    0.000000]   Normal zone: 220470 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2325 pages used for memmap
[    0.000000]   HighMem zone: 294984 pages, LIFO batch:31
[    0.000000]   Movable zone: 0 pages used for memmap
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x00] disabled)
[    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[    0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000006000
[    0.000000] PM: Registered nosave memory: 0000000000007000 - 0000000000010000
[    0.000000] PM: Registered nosave memory: 0000000000091000 - 000000000009e000
[    0.000000] PM: Registered nosave memory: 000000000009e000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 88000000 (gap: 80000000:78000000)
[    0.000000] PERCPU: Allocating 45056 bytes of per cpu data
[    0.000000] NR_CPUS: 64, nr_cpu_ids: 4, nr_node_ids 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519394
[    0.000000] Kernel command line: root=UUID=4f56782e-57e3-4c70-b5f0-e3484b1e01a6 ro quiet splash 
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 1995.384 MHz processor.
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty0] enabled
[    0.004000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.004000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.004000] allocated 10475520 bytes of page_cgroup
[    0.004000] please try cgroup_disable=memory option if you don't want
[    0.004000] Scanning for low memory corruption every 60 seconds
[    0.004000] Memory: 2050400k/2095104k available (4115k kernel code, 42708k reserved, 2196k data, 532k init, 1189236k highmem)
[    0.004000] virtual kernel memory layout:
[    0.004000]     fixmap  : 0xffc77000 - 0xfffff000   (3616 kB)
[    0.004000]     pkmap   : 0xff400000 - 0xff800000   (4096 kB)
[    0.004000]     vmalloc : 0xf7bfe000 - 0xff3fe000   ( 120 MB)
[    0.004000]     lowmem  : 0xc0000000 - 0xf73fe000   ( 883 MB)
[    0.004000]       .init : 0xc0731000 - 0xc07b6000   ( 532 kB)
[    0.004000]       .data : 0xc0504def - 0xc0729e60   (2196 kB)
[    0.004000]       .text : 0xc0100000 - 0xc0504def   (4115 kB)
[    0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.004000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.004000] hpet clockevent registered
[    0.004000] HPET: 4 timers in total, 0 timers will be used for per-cpu timer
[    0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 3990.76 BogoMIPS (lpj=7981536)
[    0.004000] Security Framework initialized
[    0.004000] SELinux:  Disabled at boot.
[    0.004000] AppArmor: AppArmor initialized
[    0.004000] Mount-cache hash table entries: 512
[    0.004000] Initializing cgroup subsys ns
[    0.004000] Initializing cgroup subsys cpuacct
[    0.004000] Initializing cgroup subsys memory
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.004000] CPU: L2 cache: 2048K
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] using mwait in idle threads.
[    0.004000] Checking 'hlt' instruction... OK.
[    0.018304] ACPI: Core revision 20080926
[    0.021906] ACPI: Checking initramfs for custom DSDT
[    0.324452] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.365651] CPU0: Intel(R) Core(TM)2 Duo CPU     T5800  @ 2.00GHz stepping 0d
[    0.368001] Booting processor 1 APIC 0x1 ip 0x6000
[    0.004000] Initializing CPU#1
[    0.004000] Calibrating delay using timer specific routine.. 3990.44 BogoMIPS (lpj=7980889)
[    0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.004000] CPU: L2 cache: 2048K
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 1
[    0.452460] CPU1: Intel(R) Core(TM)2 Duo CPU     T5800  @ 2.00GHz stepping 0d
[    0.452476] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
[    0.456037] Brought up 2 CPUs
[    0.456039] Total of 2 processors activated (7981.21 BogoMIPS).
[    0.456093] CPU0 attaching sched-domain:
[    0.456096]  domain 0: span 0-1 level MC
[    0.456098]   groups: 0 1
[    0.456105] CPU1 attaching sched-domain:
[    0.456106]  domain 0: span 0-1 level MC
[    0.456109]   groups: 1 0
[    0.456176] net_namespace: 776 bytes
[    0.456176] Booting paravirtualized kernel on bare hardware
[    0.456320] Time: 16:15:20  Date: 08/17/09
[    0.456320] regulator: core version 0.5
[    0.456320] NET: Registered protocol family 16
[    0.456320] EISA bus registered
[    0.456320] ACPI: bus type pci registered
[    0.456320] PCI: MCFG configuration 0: base f8000000 segment 0 buses 0 - 63
[    0.456320] PCI: MCFG area at f8000000 reserved in E820
[    0.456320] PCI: Using MMCONFIG for extended config space
[    0.456320] PCI: Using configuration type 1 for base access
[    0.457366] ACPI: EC: Look up EC in DSDT
[    0.463713] ACPI: BIOS _OSI(Linux) query ignored
[    0.724017] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    0.725386] ACPI: Interpreter enabled
[    0.725386] ACPI: (supports S0 S3 S4 S5)
[    0.725386] ACPI: Using IOAPIC for interrupt routing
[    0.732814] ACPI: EC: GPE = 0x16, I/O: command/status = 0x66, data = 0x62
[    0.732816] ACPI: EC: driver started in interrupt mode
[    0.732979] ACPI: No dock devices found.
[    0.732990] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.733087] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.733091] pci 0000:00:01.0: PME# disabled
[    0.733210] pci 0000:00:1a.0: reg 20 io port: [0x60e0-0x60ff]
[    0.733318] pci 0000:00:1a.1: reg 20 io port: [0x60c0-0x60df]
[    0.733419] pci 0000:00:1a.7: reg 10 32bit mmio: [0x99304c00-0x99304fff]
[    0.733470] pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
[    0.733475] pci 0000:00:1a.7: PME# disabled
[    0.733535] pci 0000:00:1b.0: reg 10 64bit mmio: [0x99300000-0x99303fff]
[    0.733575] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[    0.733580] pci 0000:00:1b.0: PME# disabled
[    0.733644] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.733649] pci 0000:00:1c.0: PME# disabled
[    0.733718] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[    0.733722] pci 0000:00:1c.1: PME# disabled
[    0.733795] pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
[    0.733800] pci 0000:00:1c.5: PME# disabled
[    0.733894] pci 0000:00:1d.0: reg 20 io port: [0x60a0-0x60bf]
[    0.734010] pci 0000:00:1d.1: reg 20 io port: [0x6080-0x609f]
[    0.734126] pci 0000:00:1d.2: reg 20 io port: [0x6060-0x607f]
[    0.734240] pci 0000:00:1d.3: reg 20 io port: [0x6040-0x605f]
[    0.734335] pci 0000:00:1d.7: reg 10 32bit mmio: [0x99304800-0x99304bff]
[    0.734385] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[    0.734391] pci 0000:00:1d.7: PME# disabled
[    0.734608] pci 0000:00:1f.2: reg 10 io port: [0x6108-0x610f]
[    0.734617] pci 0000:00:1f.2: reg 14 io port: [0x6114-0x6117]
[    0.734624] pci 0000:00:1f.2: reg 18 io port: [0x6100-0x6107]
[    0.734632] pci 0000:00:1f.2: reg 1c io port: [0x6110-0x6113]
[    0.734640] pci 0000:00:1f.2: reg 20 io port: [0x6020-0x603f]
[    0.734649] pci 0000:00:1f.2: reg 24 32bit mmio: [0x99304000-0x993047ff]
[    0.734668] pci 0000:00:1f.2: PME# supported from D3hot
[    0.734673] pci 0000:00:1f.2: PME# disabled
[    0.734713] pci 0000:00:1f.3: reg 10 64bit mmio: [0x99305000-0x993050ff]
[    0.734733] pci 0000:00:1f.3: reg 20 io port: [0x6000-0x601f]
[    0.734819] pci 0000:01:00.0: reg 10 32bit mmio: [0x92000000-0x92ffffff]
[    0.734836] pci 0000:01:00.0: reg 14 64bit mmio: [0x80000000-0x8fffffff]
[    0.734853] pci 0000:01:00.0: reg 1c 64bit mmio: [0x90000000-0x91ffffff]
[    0.734862] pci 0000:01:00.0: reg 24 io port: [0x5000-0x507f]
[    0.734872] pci 0000:01:00.0: reg 30 32bit mmio: [0xfffe0000-0xffffffff]
[    0.734957] pci 0000:00:01.0: bridge io port: [0x5000-0x5fff]
[    0.734960] pci 0000:00:01.0: bridge 32bit mmio: [0x90000000-0x92ffffff]
[    0.734966] pci 0000:00:01.0: bridge 64bit mmio pref: [0x80000000-0x8fffffff]
[    0.735028] pci 0000:02:00.0: reg 10 io port: [0x3000-0x30ff]
[    0.735055] pci 0000:02:00.0: reg 18 64bit mmio: [0x98200000-0x98200fff]
[    0.735073] pci 0000:02:00.0: reg 20 64bit mmio: [0x93000000-0x9300ffff]
[    0.735084] pci 0000:02:00.0: reg 30 32bit mmio: [0xfffe0000-0xffffffff]
[    0.735098] pci 0000:02:00.0: supports D1 D2
[    0.735100] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.735106] pci 0000:02:00.0: PME# disabled
[    0.735183] pci 0000:00:1c.0: bridge io port: [0x3000-0x4fff]
[    0.735188] pci 0000:00:1c.0: bridge 32bit mmio: [0x98200000-0x992fffff]
[    0.735197] pci 0000:00:1c.0: bridge 64bit mmio pref: [0x93000000-0x940fffff]
[    0.735302] pci 0000:03:00.0: reg 10 64bit mmio: [0x97100000-0x97101fff]
[    0.735375] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    0.735386] pci 0000:03:00.0: PME# disabled
[    0.735467] pci 0000:00:1c.1: bridge io port: [0x2000-0x2fff]
[    0.735471] pci 0000:00:1c.1: bridge 32bit mmio: [0x97100000-0x981fffff]
[    0.735479] pci 0000:00:1c.1: bridge 64bit mmio pref: [0x94100000-0x950fffff]
[    0.735540] pci 0000:00:1c.5: bridge io port: [0x1000-0x1fff]
[    0.735545] pci 0000:00:1c.5: bridge 32bit mmio: [0x96100000-0x970fffff]
[    0.735553] pci 0000:00:1c.5: bridge 64bit mmio pref: [0x95100000-0x960fffff]
[    0.735614] pci 0000:00:1e.0: transparent bridge
[    0.735657] bus 00 -> node 0
[    0.735669] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.736199] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PEGP._PRT]
[    0.736340] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P32_._PRT]
[    0.736560] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
[    0.736746] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP2._PRT]
[    0.736928] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP6._PRT]
[    0.752502] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12)
[    0.752656] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11 12)
[    0.752807] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12)
[    0.752958] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12)
[    0.753107] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 *11 12)
[    0.753257] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 11 12) *0, disabled.
[    0.753408] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 *10 11 12)
[    0.753557] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 11 12) *0, disabled.
[    0.753708] ACPI: Power Resource [FN00] (on)
[    0.753902] ACPI: WMI: Mapper loaded
[    0.753933] SCSI subsystem initialized
[    0.753933] libata version 3.00 loaded.
[    0.753933] usbcore: registered new interface driver usbfs
[    0.753933] usbcore: registered new interface driver hub
[    0.753933] usbcore: registered new device driver usb
[    0.753933] PCI: Using ACPI for IRQ routing
[    0.756013] Bluetooth: Core ver 2.13
[    0.756018] NET: Registered protocol family 31
[    0.756018] Bluetooth: HCI device and connection manager initialized
[    0.756018] Bluetooth: HCI socket layer initialized
[    0.756018] NET: Registered protocol family 8
[    0.756019] NET: Registered protocol family 20
[    0.756030] NetLabel: Initializing
[    0.756031] NetLabel:  domain hash size = 128
[    0.756033] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.756046] NetLabel:  unlabeled traffic allowed by default
[    0.756060] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0
[    0.756065] hpet0: 4 comparators, 64-bit 14.318180 MHz counter
[    0.760067] AppArmor: AppArmor Filesystem Enabled
[    0.764011] Switched to high resolution mode on CPU 0
[    0.764513] Switched to high resolution mode on CPU 1
[    0.764521] pnp: PnP ACPI init
[    0.764530] ACPI: bus type pnp registered
[    0.766502] pnp 00:01: io resource (0x164e-0x164f) overlaps 0000:00:1c.5 BAR 7 (0x1000-0x1fff), disabling
[    0.767572] pnp: PnP ACPI: found 11 devices
[    0.767574] ACPI: ACPI bus type pnp unregistered
[    0.767577] PnPBIOS: Disabled by ACPI PNP
[    0.767586] system 00:01: ioport range 0x600-0x60f has been reserved
[    0.767589] system 00:01: ioport range 0x610-0x610 has been reserved
[    0.767591] system 00:01: ioport range 0x800-0x80f has been reserved
[    0.767594] system 00:01: ioport range 0x810-0x817 has been reserved
[    0.767597] system 00:01: ioport range 0x820-0x823 has been reserved
[    0.767599] system 00:01: ioport range 0x400-0x47f has been reserved
[    0.767602] system 00:01: ioport range 0x700-0x73f has been reserved
[    0.767604] system 00:01: ioport range 0x500-0x501 has been reserved
[    0.767607] system 00:01: iomem range 0xf8000000-0xfbffffff has been reserved
[    0.767610] system 00:01: iomem range 0xfed1c000-0xfed1ffff has been reserved
[    0.767612] system 00:01: iomem range 0xfed10000-0xfed13fff has been reserved
[    0.767615] system 00:01: iomem range 0xfed18000-0xfed18fff has been reserved
[    0.767618] system 00:01: iomem range 0xfed19000-0xfed19fff has been reserved
[    0.767621] system 00:01: iomem range 0xfec00000-0xfec00fff has been reserved
[    0.767624] system 00:01: iomem range 0xfed20000-0xfed3ffff has been reserved
[    0.767626] system 00:01: iomem range 0xfed40000-0xfed44fff has been reserved
[    0.767629] system 00:01: iomem range 0xfed45000-0xfed8ffff has been reserved
[    0.767632] system 00:01: iomem range 0xfee00000-0xfee00fff has been reserved
[    0.802332] pci 0000:01:00.0: BAR 6: can't allocate mem resource [0x90000000-0x8fffffff]
[    0.802335] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
[    0.802338] pci 0000:00:01.0:   IO window: 0x5000-0x5fff
[    0.802342] pci 0000:00:01.0:   MEM window: 0x90000000-0x92ffffff
[    0.802346] pci 0000:00:01.0:   PREFETCH window: 0x00000080000000-0x0000008fffffff
[    0.802351] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
[    0.802354] pci 0000:00:1c.0:   IO window: 0x3000-0x4fff
[    0.802361] pci 0000:00:1c.0:   MEM window: 0x98200000-0x992fffff
[    0.802366] pci 0000:00:1c.0:   PREFETCH window: 0x00000093000000-0x000000940fffff
[    0.802375] pci 0000:00:1c.1: PCI bridge, secondary bus 0000:03
[    0.802378] pci 0000:00:1c.1:   IO window: 0x2000-0x2fff
[    0.802385] pci 0000:00:1c.1:   MEM window: 0x97100000-0x981fffff
[    0.802390] pci 0000:00:1c.1:   PREFETCH window: 0x00000094100000-0x000000950fffff
[    0.802397] pci 0000:00:1c.5: PCI bridge, secondary bus 0000:05
[    0.802401] pci 0000:00:1c.5:   IO window: 0x1000-0x1fff
[    0.802407] pci 0000:00:1c.5:   MEM window: 0x96100000-0x970fffff
[    0.802412] pci 0000:00:1c.5:   PREFETCH window: 0x00000095100000-0x000000960fffff
[    0.802420] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:04
[    0.802421] pci 0000:00:1e.0:   IO window: disabled
[    0.802427] pci 0000:00:1e.0:   MEM window: disabled
[    0.802432] pci 0000:00:1e.0:   PREFETCH window: disabled
[    0.802447] pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.802451] pci 0000:00:01.0: setting latency timer to 64
[    0.802461] pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.802465] pci 0000:00:1c.0: setting latency timer to 64
[    0.802474] pci 0000:00:1c.1: PCI INT B -> GSI 16 (level, low) -> IRQ 16
[    0.802478] pci 0000:00:1c.1: setting latency timer to 64
[    0.802487] pci 0000:00:1c.5: enabling device (0000 -> 0003)
[    0.802491] pci 0000:00:1c.5: PCI INT B -> GSI 16 (level, low) -> IRQ 16
[    0.802497] pci 0000:00:1c.5: setting latency timer to 64
[    0.802505] pci 0000:00:1e.0: setting latency timer to 64
[    0.802509] bus: 00 index 0 io port: [0x00-0xffff]
[    0.802512] bus: 00 index 1 mmio: [0x000000-0xffffffff]
[    0.802514] bus: 01 index 0 io port: [0x5000-0x5fff]
[    0.802516] bus: 01 index 1 mmio: [0x90000000-0x92ffffff]
[    0.802518] bus: 01 index 2 mmio: [0x80000000-0x8fffffff]
[    0.802520] bus: 01 index 3 mmio: [0x0-0x0]
[    0.802522] bus: 02 index 0 io port: [0x3000-0x4fff]
[    0.802524] bus: 02 index 1 mmio: [0x98200000-0x992fffff]
[    0.802527] bus: 02 index 2 mmio: [0x93000000-0x940fffff]
[    0.802529] bus: 02 index 3 mmio: [0x0-0x0]
[    0.802531] bus: 03 index 0 io port: [0x2000-0x2fff]
[    0.802532] bus: 03 index 1 mmio: [0x97100000-0x981fffff]
[    0.802534] bus: 03 index 2 mmio: [0x94100000-0x950fffff]
[    0.802536] bus: 03 index 3 mmio: [0x0-0x0]
[    0.802538] bus: 05 index 0 io port: [0x1000-0x1fff]
[    0.802540] bus: 05 index 1 mmio: [0x96100000-0x970fffff]
[    0.802543] bus: 05 index 2 mmio: [0x95100000-0x960fffff]
[    0.802544] bus: 05 index 3 mmio: [0x0-0x0]
[    0.802546] bus: 04 index 0 mmio: [0x0-0x0]
[    0.802548] bus: 04 index 1 mmio: [0x0-0x0]
[    0.802550] bus: 04 index 2 mmio: [0x0-0x0]
[    0.802552] bus: 04 index 3 io port: [0x00-0xffff]
[    0.802554] bus: 04 index 4 mmio: [0x000000-0xffffffff]
[    0.802561] NET: Registered protocol family 2
[    0.816059] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.816286] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.816652] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.816837] TCP: Hash tables configured (established 131072 bind 65536)
[    0.816839] TCP reno registered
[    0.824073] NET: Registered protocol family 1
[    0.824186] checking if image is initramfs... it is
[    1.427427] Freeing initrd memory: 7382k freed
[    1.427467] Simple Boot Flag value 0x5 read from CMOS RAM was invalid
[    1.427469] Simple Boot Flag at 0x44 set to 0x1
[    1.427623] cpufreq: No nForce2 chipset.
[    1.427759] audit: initializing netlink socket (disabled)
[    1.427775] type=2000 audit(1250525720.424:1): initialized
[    1.434823] highmem bounce pool size: 64 pages
[    1.434828] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[    1.436091] VFS: Disk quotas dquot_6.5.1
[    1.436147] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.436733] fuse init (API version 7.10)
[    1.436812] msgmni has been set to 1698
[    1.436977] alg: No test for stdrng (krng)
[    1.436988] io scheduler noop registered
[    1.436990] io scheduler anticipatory registered
[    1.436992] io scheduler deadline registered
[    1.437005] io scheduler cfq registered (default)
[    1.468046] pci 0000:01:00.0: Boot video device
[    1.470859] pcieport-driver 0000:00:01.0: setting latency timer to 64
[    1.470898] pcieport-driver 0000:00:01.0: found MSI capability
[    1.470923] pcieport-driver 0000:00:01.0: irq 2303 for MSI/MSI-X
[    1.470933] pci_express 0000:00:01.0:pcie00: allocate port service
[    1.470947] pci_express 0000:00:01.0:pcie02: allocate port service
[    1.470958] pci_express 0000:00:01.0:pcie03: allocate port service
[    1.471011] pcieport-driver 0000:00:1c.0: setting latency timer to 64
[    1.471062] pcieport-driver 0000:00:1c.0: found MSI capability
[    1.471097] pcieport-driver 0000:00:1c.0: irq 2302 for MSI/MSI-X
[    1.471113] pci_express 0000:00:1c.0:pcie00: allocate port service
[    1.471125] pci_express 0000:00:1c.0:pcie02: allocate port service
[    1.471137] pci_express 0000:00:1c.0:pcie03: allocate port service
[    1.471215] pcieport-driver 0000:00:1c.1: setting latency timer to 64
[    1.471266] pcieport-driver 0000:00:1c.1: found MSI capability
[    1.471300] pcieport-driver 0000:00:1c.1: irq 2301 for MSI/MSI-X
[    1.471317] pci_express 0000:00:1c.1:pcie00: allocate port service
[    1.471335] pci_express 0000:00:1c.1:pcie02: allocate port service
[    1.471346] pci_express 0000:00:1c.1:pcie03: allocate port service
[    1.471422] pcieport-driver 0000:00:1c.5: setting latency timer to 64
[    1.471473] pcieport-driver 0000:00:1c.5: found MSI capability
[    1.471507] pcieport-driver 0000:00:1c.5: irq 2300 for MSI/MSI-X
[    1.471524] pci_express 0000:00:1c.5:pcie00: allocate port service
[    1.471541] pci_express 0000:00:1c.5:pcie02: allocate port service
[    1.471553] pci_express 0000:00:1c.5:pcie03: allocate port service
[    1.471635] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    1.471782] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    1.472672] ACPI: AC Adapter [AC] (on-line)
[    1.486173] ACPI: Battery Slot [BAT0] (battery present)
[    1.486248] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.486251] ACPI: Power Button (FF) [PWRF]
[    1.486291] input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1
[    1.486300] ACPI: Sleep Button (CM) [SLPB]
[    1.486340] input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
[    1.486350] ACPI: Power Button (CM) [PWRB]
[    1.486390] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
[    1.487458] ACPI: Lid Switch [LID0]
[    1.487747] fan PNP0C0B:00: registered as cooling_device0
[    1.487753] ACPI: Fan [FAN] (on)
[    1.487971] ACPI: Invalid PBLK length [8]
[    1.488528] ACPI: SSDT 7FC76C18, 0265 (r1  PmRef  Cpu0Ist     3000 INTL 20051117)
[    1.489037] ACPI: SSDT 7FC74618, 05B3 (r1  PmRef  Cpu0Cst     3001 INTL 20051117)
[    1.489565] Monitor-Mwait will be used to enter C-1 state
[    1.489568] Monitor-Mwait will be used to enter C-2 state
[    1.489571] Monitor-Mwait will be used to enter C-3 state
[    1.489584] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[    1.489602] processor ACPI_CPU:00: registered as cooling_device1
[    1.489616] ACPI: Invalid PBLK length [8]
[    1.490141] ACPI: SSDT 7FC75E18, 01CF (r1  PmRef    ApIst     3000 INTL 20051117)
[    1.490660] ACPI: SSDT 7FC76F18, 008D (r1  PmRef    ApCst     3000 INTL 20051117)
[    1.491286] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    1.491305] processor ACPI_CPU:01: registered as cooling_device2
[    1.495355] thermal LNXTHERM:01: registered as thermal_zone0
[    1.496599] ACPI: Thermal Zone [TZ0] (68 C)
[    1.497667] thermal LNXTHERM:02: registered as thermal_zone1
[    1.498766] ACPI: Thermal Zone [TZ1] (73 C)
[    1.498818] isapnp: Scanning for PnP cards...
[    1.854536] isapnp: No Plug & Play device found
[    1.864732] Serial: 8250/16550 driver4 ports, IRQ sharing enabled
[    1.865722] brd: module loaded
[    1.866022] loop: module loaded
[    1.866083] Fixed MDIO Bus: probed
[    1.866088] PPP generic driver version 2.4.2
[    1.866140] input: Macintosh mouse button emulation as /devices/virtual/input/input4
[    1.866167] Driver 'sd' needs updating - please use bus_type methods
[    1.866175] Driver 'sr' needs updating - please use bus_type methods
[    1.866214] ahci 0000:00:1f.2: version 3.0
[    1.866229] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    1.866268] ahci 0000:00:1f.2: irq 2299 for MSI/MSI-X
[    1.866356] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 3 Gbps 0x33 impl SATA mode
[    1.866360] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pmp pio slum part ems 
[    1.866365] ahci 0000:00:1f.2: setting latency timer to 64
[    1.866633] scsi0 : ahci
[    1.866717] scsi1 : ahci
[    1.866769] scsi2 : ahci
[    1.866820] scsi3 : ahci
[    1.866875] scsi4 : ahci
[    1.866926] scsi5 : ahci
[    1.867035] ata1: SATA max UDMA/133 abar m2048@0x99304000 port 0x99304100 irq 2299
[    1.867038] ata2: SATA max UDMA/133 abar m2048@0x99304000 port 0x99304180 irq 2299
[    1.867041] ata3: DUMMY
[    1.867042] ata4: DUMMY
[    1.867045] ata5: SATA max UDMA/133 abar m2048@0x99304000 port 0x99304300 irq 2299
[    1.867048] ata6: SATA max UDMA/133 abar m2048@0x99304000 port 0x99304380 irq 2299
[    2.348016] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.349303] ata1.00: ATA-8: Hitachi HTS543225L9A300, FBEOC44C, max UDMA/100
[    2.349306] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    2.350219] ata1.00: configured for UDMA/100
[    3.252014] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    3.253788] ata2.00: ATAPI: MATSHITADVD RAM UJ862A, 1.00, max UDMA/100
[    3.255947] ata2.00: configured for UDMA/100
[    3.592019] ata5: SATA link down (SStatus 0 SControl 300)
[    3.928018] ata6: SATA link down (SStatus 0 SControl 300)
[    3.944099] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54322 FBEO PQ: 0 ANSI: 5
[    3.944186] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
[    3.944202] sd 0:0:0:0: [sda] Write Protect is off
[    3.944204] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.944229] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.944287] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors: (250 GB/232 GiB)
[    3.944301] sd 0:0:0:0: [sda] Write Protect is off
[    3.944303] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.944327] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.944330]  sda: sda1 sda2 < sda5 >
[    3.990218] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.990261] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    3.992077] scsi 1:0:0:0: CD-ROM            MATSHITA DVD RAM UJ862A   1.00 PQ: 0 ANSI: 5
[    3.995731] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    3.995734] Uniform CD-ROM driver Revision: 3.20
[    3.995815] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    3.995848] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    3.996505] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.996524] ehci_hcd 0000:00:1a.7: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[    3.996539] ehci_hcd 0000:00:1a.7: setting latency timer to 64
[    3.996542] ehci_hcd 0000:00:1a.7: EHCI Host Controller
[    3.996593] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
[    4.000504] ehci_hcd 0000:00:1a.7: debug port 1
[    4.000511] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
[    4.000526] ehci_hcd 0000:00:1a.7: irq 19, io mem 0x99304c00
[    4.016008] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
[    4.016065] usb usb1: configuration #1 chosen from 1 choice
[    4.016091] hub 1-0:1.0: USB hub found
[    4.016098] hub 1-0:1.0: 4 ports detected
[    4.016202] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[    4.016213] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[    4.016216] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[    4.016256] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
[    4.020156] ehci_hcd 0000:00:1d.7: debug port 1
[    4.020163] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[    4.020176] ehci_hcd 0000:00:1d.7: irq 20, io mem 0x99304800
[    4.036010] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[    4.036075] usb usb2: configuration #1 chosen from 1 choice
[    4.036099] hub 2-0:1.0: USB hub found
[    4.036106] hub 2-0:1.0: 8 ports detected
[    4.036201] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.036218] uhci_hcd: USB Universal Host Controller Interface driver
[    4.036237] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    4.036243] uhci_hcd 0000:00:1a.0: setting latency timer to 64
[    4.036247] uhci_hcd 0000:00:1a.0: UHCI Host Controller
[    4.036285] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
[    4.036320] uhci_hcd 0000:00:1a.0: irq 16, io base 0x000060e0
[    4.036389] usb usb3: configuration #1 chosen from 1 choice
[    4.036412] hub 3-0:1.0: USB hub found
[    4.036418] hub 3-0:1.0: 2 ports detected
[    4.036502] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
[    4.036509] uhci_hcd 0000:00:1a.1: setting latency timer to 64
[    4.036512] uhci_hcd 0000:00:1a.1: UHCI Host Controller
[    4.036554] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
[    4.036587] uhci_hcd 0000:00:1a.1: irq 22, io base 0x000060c0
[    4.036657] usb usb4: configuration #1 chosen from 1 choice
[    4.036680] hub 4-0:1.0: USB hub found
[    4.036686] hub 4-0:1.0: 2 ports detected
[    4.036766] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[    4.036772] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[    4.036776] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    4.036814] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
[    4.036841] uhci_hcd 0000:00:1d.0: irq 20, io base 0x000060a0
[    4.036917] usb usb5: configuration #1 chosen from 1 choice
[    4.036941] hub 5-0:1.0: USB hub found
[    4.036946] hub 5-0:1.0: 2 ports detected
[    4.037025] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    4.037031] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[    4.037035] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    4.037078] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
[    4.037104] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00006080
[    4.037172] usb usb6: configuration #1 chosen from 1 choice
[    4.037195] hub 6-0:1.0: USB hub found
[    4.037201] hub 6-0:1.0: 2 ports detected
[    4.037281] uhci_hcd 0000:00:1d.2: PCI INT D -> GSI 16 (level, low) -> IRQ 16
[    4.037287] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[    4.037291] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    4.037329] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
[    4.037355] uhci_hcd 0000:00:1d.2: irq 16, io base 0x00006060
[    4.037426] usb usb7: configuration #1 chosen from 1 choice
[    4.037449] hub 7-0:1.0: USB hub found
[    4.037455] hub 7-0:1.0: 2 ports detected
[    4.037535] uhci_hcd 0000:00:1d.3: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    4.037541] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[    4.037545] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[    4.037586] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 8
[    4.037621] uhci_hcd 0000:00:1d.3: irq 18, io base 0x00006040
[    4.037688] usb usb8: configuration #1 chosen from 1 choice
[    4.037711] hub 8-0:1.0: USB hub found
[    4.037717] hub 8-0:1.0: 2 ports detected
[    4.037847] PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOUE] at 0x60,0x64 irq 1,12
[    4.042008] i8042.c: Detected active multiplexing controller, rev 1.1.
[    4.044557] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.044562] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    4.044564] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    4.044567] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    4.044569] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    4.048535] mice: PS/2 mouse device common for all mice
[    4.068569] rtc_cmos 00:03: RTC can wake from S4
[    4.068599] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    4.068631] rtc0: alarms up to one month, 242 bytes nvram, hpet irqs
[    4.068686] device-mapper: uevent: version 1.0.3
[    4.068768] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
[    4.068835] device-mapper: multipath: version 1.0.5 loaded
[    4.068838] device-mapper: multipath round-robin: version 1.0.0 loaded
[    4.068908] EISA: Probing bus 0 at eisa.0
[    4.068915] Cannot allocate resource for EISA slot 1
[    4.068917] Cannot allocate resource for EISA slot 2
[    4.068919] Cannot allocate resource for EISA slot 3
[    4.068921] Cannot allocate resource for EISA slot 4
[    4.068923] Cannot allocate resource for EISA slot 5
[    4.068925] Cannot allocate resource for EISA slot 6
[    4.068935] EISA: Detected 0 cards.
[    4.069043] cpuidle: using governor ladder
[    4.069155] cpuidle: using governor menu
[    4.069640] TCP cubic registered
[    4.069735] NET: Registered protocol family 10
[    4.070148] lo: Disabled Privacy Extensions
[    4.070468] NET: Registered protocol family 17
[    4.070486] Bluetooth: L2CAP ver 2.11
[    4.070488] Bluetooth: L2CAP socket layer initialized
[    4.070491] Bluetooth: SCO (Voice Link) ver 0.6
[    4.070492] Bluetooth: SCO socket layer initialized
[    4.070522] Marking TSC unstable due to TSC halts in idle
[    4.070530] Bluetooth: RFCOMM socket layer initialized
[    4.070536] Bluetooth: RFCOMM TTY layer initialized
[    4.070537] Bluetooth: RFCOMM ver 1.10
[    4.071087] Using IPI No-Shortcut mode
[    4.071151] registered taskstats version 1
[    4.071265]   Magic number: 5:705:287
[    4.071287] tty tty20: hash matches
[    4.071354] rtc_cmos 00:03: setting system clock to 2009-08-17 16:15:23 UTC (1250525723)
[    4.071357] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    4.071359] EDD information not available.
[    4.071637] Freeing unused kernel memory: 532k freed
[    4.071786] Write protecting the kernel text: 4116k
[    4.071843] Write protecting the kernel read-only data: 1524k
[    4.100596] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    4.309376] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.309400] r8169 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    4.309431] r8169 0000:02:00.0: setting latency timer to 64
[    4.309602] r8169 0000:02:00.0: irq 2298 for MSI/MSI-X
[    4.310238] eth0: RTL8168c/8111c at 0xf7c6a000, 00:22:64:58:d4:d8, XID 3c4000c0 IRQ 2298
[    4.612021] usb 2-4: new high speed USB device using ehci_hcd and address 3
[    4.651977] PM: Starting manual resume from disk
[    4.651981] PM: Resume from partition 8:5
[    4.651982] PM: Checking hibernation image.
[    4.652168] PM: Resume from disk failed.
[    4.695706] kjournald starting.  Commit interval 5 seconds
[    4.695719] EXT3-fs: mounted filesystem with ordered data mode.
[    4.867057] usb 2-4: configuration #1 chosen from 1 choice
[    5.108554] usb 3-1: new full speed USB device using uhci_hcd and address 2
[    5.355456] usb 3-1: configuration #1 chosen from 1 choice
[    5.596123] usb 3-2: new full speed USB device using uhci_hcd and address 3
[    5.768496] usb 3-2: configuration #1 chosen from 1 choice
[    6.000114] Clocksource tsc unstable (delta = -322385351 ns)
[    6.008133] usb 5-1: new low speed USB device using uhci_hcd and address 2
[    6.186009] usb 5-1: configuration #1 chosen from 1 choice
[   10.515589] udev: starting version 141
[   10.901271] cfg80211: Calling CRDA to update world regulatory domain
[   10.933227] Bluetooth: Generic Bluetooth USB driver ver 0.3
[   10.933345] usbcore: registered new interface driver btusb
[   11.006893] usbcore: registered new interface driver hiddev
[   11.022307] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/input/input6
[   11.026125] generic-usb 0003:046D:C51B.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1/input0
[   11.040155] generic-usb 0003:046D:C51B.0002: hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1/input1
[   11.040176] usbcore: registered new interface driver usbhid
[   11.040198] usbhid: v2.6:USB HID core driver
[   11.102274] cfg80211: World regulatory domain updated:
[   11.102278] 	(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   11.102281] 	(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.102283] 	(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.102286] 	(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   11.102288] 	(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.102291] 	(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.105496] Linux agpgart interface v0.103
[   11.187767] lis3lv02d: laptop model unknown, using default axes configuration
[   11.201388] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input7
[   11.203717] iTCO_vendor_support: vendor-support=0
[   11.204938] lis3lv02d driver loaded.
[   11.218371] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
[   11.218620] iTCO_wdt: Found a ICH9M TCO device (Version=2, TCOBASE=0x0460)
[   11.218705] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   11.286554] input: PC Speaker as /devices/platform/pcspkr/input/input8
[   12.610677] nvidia: module license 'NVIDIA' taints kernel.
[   12.864047] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   12.864062] nvidia 0000:01:00.0: setting latency timer to 64
[   12.864973] NVRM: loading NVIDIA UNIX x86 Kernel Module  185.18.31  Tue Jul 28 15:43:22 PDT 2009
[   12.953139] Linux video capture interface: v2.00
[   12.977845] acpi device:03: registered as cooling_device3
[   12.978119] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/device:02/input/input9
[   12.985699] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[   13.132559] leds-hp-disk driver loaded.
[   13.165813] uvcvideo: Found UVC 1.00 device HP Webcam (05c8:011c)
[   13.167377] input: HP Webcam as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/input/input10
[   13.168694] usbcore: registered new interface driver uvcvideo
[   13.168732] USB Video Class driver (v0.1.0)
[   13.193448] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[   13.193451] iwlagn: Copyright(c) 2003-2008 Intel Corporation
[   13.193628] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   13.193659] iwlagn 0000:03:00.0: setting latency timer to 64
[   13.193741] iwlagn: Detected Intel Wireless WiFi Link 5100ABG REV=0x54
[   13.216664] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
[   13.216736] iwlagn 0000:03:00.0: irq 2297 for MSI/MSI-X
[   13.217779] phy0: Selected rate control algorithm 'iwl-agn-rs'
[   13.240198] synaptics was reset on resume, see synaptics_resume_reset if you have trouble on resume
[   13.355392] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[   13.355473] HDA Intel 0000:00:1b.0: irq 2296 for MSI/MSI-X
[   13.355514] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   13.398326] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11
[   13.480303] input: HDA Intel at 0x99300000 irq 2296 Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input12
[   13.480737] input: HDA Intel at 0x99300000 irq 2296 Line Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input13
[   13.484235] input: HDA Intel at 0x99300000 irq 2296 HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/input/input14
[   13.643872] lp: driver loaded but no devices found
[   13.715398] Adding 6032368k swap on /dev/sda5.  Priority:-1 extents:1 across:6032368k
[   13.845288] input: PS/2 Mouse as /devices/platform/i8042/serio4/input/input15
[   13.865530] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio4/input/input16
[   14.251999] EXT3 FS on sda1, internal journal
[   15.395506] type=1505 audit(1250525734.820:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=2223
[   15.440137] type=1505 audit(1250525734.868:3): operation="profile_load" name="/sbin/dhclient-script" name2="default" pid=2227
[   15.440234] type=1505 audit(1250525734.868:4): operation="profile_load" name="/sbin/dhclient3" name2="default" pid=2227
[   15.440271] type=1505 audit(1250525734.868:5): operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" name2="default" pid=2227
[   15.440306] type=1505 audit(1250525734.868:6): operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" name2="default" pid=2227
[   15.563848] type=1505 audit(1250525734.988:7): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=2232
[   15.564020] type=1505 audit(1250525734.988:8): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=2232
[   15.665006] type=1505 audit(1250525735.092:9): operation="profile_load" name="/usr/sbin/named" name2="default" pid=2236
[   15.690239] type=1505 audit(1250525735.116:10): operation="profile_load" name="/usr/sbin/tcpdump" name2="default" pid=2240
[   23.392557] /dev/vmmon[2650]: Module vmmon: registered with major=10 minor=165
[   23.392566] /dev/vmmon[2650]: Initial HV check: anyNotCapable=1 anyUnlocked=0 anyEnabled=0 anyDisabled=0
[   23.392569] /dev/vmmon[2650]: Module vmmon: initialized
[   23.445520] /dev/vmci[2660]: VMCI: Driver initialized.
[   23.445575] /dev/vmci[2660]: Module vmci: registered with major=10 minor=57
[   23.445577] /dev/vmci[2660]: Module vmci: initialized
[   23.564025] ppdev: user-space parallel port driver
[   24.705682] /dev/vmnet: open called by PID 3232 (vmnet-dhcpd)
[   24.705702] /dev/vmnet: hub 1 does not exist, allocating memory.
[   24.705712] /dev/vmnet: port on hub 1 successfully opened
[   24.735376] /dev/vmnet: open called by PID 3236 (vmnet-netifup)
[   24.735387] /dev/vmnet: port on hub 1 successfully opened
[   24.775704] /dev/vmnet: open called by PID 3242 (vmnet-dhcpd)
[   24.775716] /dev/vmnet: hub 8 does not exist, allocating memory.
[   24.775732] /dev/vmnet: port on hub 8 successfully opened
[   24.804358] /dev/vmnet: open called by PID 3244 (vmnet-natd)
[   24.804368] /dev/vmnet: port on hub 8 successfully opened
[   24.849004] /dev/vmnet: open called by PID 3248 (vmnet-netifup)
[   24.849015] /dev/vmnet: port on hub 8 successfully opened
[   27.726128] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   27.726131] Bluetooth: BNEP filters: protocol multicast
[   27.743838] Bridge firewalling registered
[   33.573000] r8169: eth0: link up
[   33.573011] r8169: eth0: link up
[   33.573932] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
[   33.574350] /dev/vmnet: open called by PID 2715 (vmnet-bridge)
[   33.574358] /dev/vmnet: hub 0 does not exist, allocating memory.
[   33.574367] /dev/vmnet: port on hub 0 successfully opened
[   33.574381] bridge-eth0: up
[   33.837839] Registered led device: iwl-phy0:radio
[   33.837866] Registered led device: iwl-phy0:assoc
[   33.837881] Registered led device: iwl-phy0:RX
[   33.837896] Registered led device: iwl-phy0:TX
[   34.222394] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   34.226449] bridge-eth0: attached
[   35.284532] vmnet8: no IPv6 routers present
[   35.312009] vmnet1: no IPv6 routers present
[   44.452065] eth0: no IPv6 routers present
[  910.557345] warning: `pulseaudio' uses 32-bit capabilities (legacy support in use)
[  924.393776] CPU0 attaching NULL sched-domain.
[  924.393787] CPU1 attaching NULL sched-domain.
[  924.400203] CPU0 attaching sched-domain:
[  924.400210]  domain 0: span 0-1 level MC
[  924.400216]   groups: 0 1
[  924.400229] CPU1 attaching sched-domain:
[  924.400234]  domain 0: span 0-1 level MC
[  924.400239]   groups: 1 0
[  958.490014] process `skype' is using obsolete setsockopt SO_BSDCOMPAT

Hope, this helps. My friends laugh at me, when I say, I have to reboot linux every 2-3 hours.
Comment 36 Damjan Jovanovic 2009-11-08 13:50:58 UTC
This bug is an ancient regression; I think 2.6.4 or 2.6.5 was the last good version. Back then the kernel still complained, but the mouse didn't go crazy like afterwards. Please regression test and fix.
Comment 37 Damjan Jovanovic 2009-11-11 06:12:28 UTC
Hi all

I've found the problem. This bug really is a regression. The last good kernel version was 2.6.1, the following patch in 2.6.2 that added parity checking introduced the regression:

--- linux-2.6.1/drivers/input/mouse/psmouse-base.c	2009-11-11 06:31:51.936793840 +0200
+++ linux-2.6.2/drivers/input/mouse/psmouse-base.c	2009-11-10 21:47:00.366570440 +0200
@@ -125,6 +121,19 @@
 	if (psmouse->state == PSMOUSE_IGNORE)
 		goto out;
 
+	if (flags & (SERIO_PARITY|SERIO_TIMEOUT)) {
+		if (psmouse->state == PSMOUSE_ACTIVATED)
+			printk(KERN_WARNING "psmouse.c: bad data from KBC -%s%s\n",
+				flags & SERIO_TIMEOUT ? " timeout" : "",
+				flags & SERIO_PARITY ? " bad parity" : "");
+		if (psmouse->acking) {
+			psmouse->ack = -1;
+			psmouse->acking = 0;
+		}
+		psmouse->pktcnt = 0;
+		goto out;
+	}
+
 	if (psmouse->acking) {
 		switch (data) {
 			case PSMOUSE_RET_ACK:


Commenting out that entire parity check if block fixes the problem in 2.6.2.

I've also noticed that there is a lot of time - 4 seconds - between the kernel printing "psmouse.c: bad data from KBC - bad parity" and the subsequent "psmouse.c: Wheel Mouse at ... lost synchronization, throwing 3 bytes away".

Maybe the mouse jumps around and clicks like crazy during those 4 seconds because the kernel wrongly believes it is still synchronized when it actually isn't, so the protocol is parsing rubbish data?

Maybe when we have a parity error, we should resynchronize immediately?
Comment 38 Damjan Jovanovic 2009-11-11 17:39:59 UTC
Created attachment 23750 [details]
patch to resync when we get bad parity from the mouse

Hi

So I made a patch to resync the mouse on bad parity like I suggested, and it seems to work well - the mouse no longer jumps around and clicks. It does however freeze up momentarily (for about 200 milliseconds) instead. The new output is:

[ 2630.187651] psmouse.c: bad data from KBC - bad parity
[ 2630.196228] psmouse.c: resync failed, issuing reconnect request
[ 2630.340598] psmouse serio1: ID: 14 00 64

I'd appreciate some comments from those who know the PS/2 mouse code?

Thank you
Damjan
Comment 39 Yurij Mikhassiak 2009-11-11 18:22:00 UTC
Hey! Can you do something to output error datails to user? 99% of them even
don't know were to find system logs and how to do this without mouse or
aspacially touchpad..I understand it's not a kernel level problem but we
have do do something for ordinary users..

On Nov 11, 2009 7:40 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=6105
--- Comment #38 from Damjan Jovanovic <damjan.jov@gmail.com>  2009-11-11
17:39:59 ---
Created an attachment (id=23750)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=23750)
patch to resync when we get bad parity from the mouse

Hi

So I made a patch to resync the mouse on bad parity like I suggested, and it
seems to work well - the mouse no longer jumps around and clicks. It does
however freeze up momentarily (for about 200 milliseconds) instead. The new
output is:

[ 2630.187651] psmouse.c: bad data from KBC - bad parity
[ 2630.196228] psmouse.c: resync failed, issuing reconnect request
[ 2630.340598] psmouse serio1: ID: 14 00 64

I'd appreciate some comments from those who know the PS/2 mouse code?

Thank you
Damjan

-- Configure bugmail:
http://bugzilla.kernel.org/userprefs.cgi?tab=email------- You are
receiving...
Comment 40 Yurij Mikhassiak 2009-11-11 18:26:47 UTC
Possible message could be: "kernel reported the pointing device error. Bad
paryty. Try to reconnect or change pointing device due to the possible
hardware failture" and give possibility to open system log from dialog.
Thank you.

On Nov 11, 2009 7:40 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=6105
--- Comment #38 from Damjan Jovanovic <damjan.jov@gmail.com>  2009-11-11
17:39:59 ---
Created an attachment (id=23750)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=23750)
patch to resync when we get bad parity from the mouse

Hi

So I made a patch to resync the mouse on bad parity like I suggested, and it
seems to work well - the mouse no longer jumps around and clicks. It does
however freeze up momentarily (for about 200 milliseconds) instead. The new
output is:

[ 2630.187651] psmouse.c: bad data from KBC - bad parity
[ 2630.196228] psmouse.c: resync failed, issuing reconnect request
[ 2630.340598] psmouse serio1: ID: 14 00 64

I'd appreciate some comments from those who know the PS/2 mouse code?

Thank you
Damjan

-- Configure bugmail:
http://bugzilla.kernel.org/userprefs.cgi?tab=email------- You are
receiving...
Comment 41 Dmitry Torokhov 2009-11-11 18:37:05 UTC
(In reply to comment #40)
> Possible message could be: "kernel reported the pointing device error. Bad
> paryty. Try to reconnect or change pointing device due to the possible
> hardware failture" and give possibility to open system log from dialog.

This is not kernel's task. There are programs that monitor kernel logs (kerneloops comes to mind) and alert user.
Comment 42 Dmitry Torokhov 2009-11-11 18:38:45 UTC
(In reply to comment #37)
> 
> Commenting out that entire parity check if block fixes the problem in 2.6.2.
> 

We can't simply ignore parity errors. ON reasonable hardware parity error means that the transmitted byte is damaged and should not be trusted.
Comment 43 Dmitry Torokhov 2009-11-11 18:41:03 UTC
(In reply to comment #38)
> So I made a patch to resync the mouse on bad parity like I suggested, and it
> seems to work well - the mouse no longer jumps around and clicks. It does
> however freeze up momentarily (for about 200 milliseconds) instead. The new
> output is:
> 
> [ 2630.187651] psmouse.c: bad data from KBC - bad parity
> [ 2630.196228] psmouse.c: resync failed, issuing reconnect request
> [ 2630.340598] psmouse serio1: ID: 14 00 64
>

I wonder why the resync fails and you need full reconect. Could youplease try reproducing the condition with i8042.debug and posting the dmesg? Also, what kind of box and mouse is that?

Thanks.
Comment 44 Damjan Jovanovic 2009-11-11 19:05:26 UTC
(In reply to comment #43)
> (In reply to comment #38)
> > So I made a patch to resync the mouse on bad parity like I suggested, and
> it
> > seems to work well - the mouse no longer jumps around and clicks. It does
> > however freeze up momentarily (for about 200 milliseconds) instead. The new
> > output is:
> > 
> > [ 2630.187651] psmouse.c: bad data from KBC - bad parity
> > [ 2630.196228] psmouse.c: resync failed, issuing reconnect request
> > [ 2630.340598] psmouse serio1: ID: 14 00 64
> >
> 
> I wonder why the resync fails and you need full reconect. Could youplease try
> reproducing the condition with i8042.debug and posting the dmesg? Also, what
> kind of box and mouse is that?

Box is a PC, which works fine with another PS/2 mouse.

Mouse is an unbranded $5 2 button ImPS/2 optical wheelmouse that also breaks on other boxes running Linux >= 2.6.2, and works perfectly fine on every version of Windows.

> Thanks.

Thank you
Comment 45 Damjan Jovanovic 2009-11-11 19:07:24 UTC
Created attachment 23751 [details]
i8042.debug dmesg output

Here's the i8042.debug dmesg output, the /var/log/messages bits that seem relevant are:

Nov 11 20:54:01 dacha kernel: [   55.253831] psmouse.c: bad data from KBC - bad parity
Nov 11 20:54:01 dacha kernel: [   55.262478] psmouse.c: resync failed, issuing reconnect request
Nov 11 20:54:02 dacha kernel: [   56.590687] psmouse.c: bad data from KBC - bad parity
Nov 11 20:54:02 dacha kernel: [   56.599341] psmouse.c: resync failed, issuing reconnect request
Nov 11 20:54:05 dacha kernel: [   59.041050] psmouse.c: bad data from KBC - bad parity
Nov 11 20:54:05 dacha kernel: [   59.049688] psmouse.c: resync failed, issuing reconnect request
Nov 11 20:56:38 dacha kernel: [  211.961414] psmouse.c: bad data from KBC - bad parity
Nov 11 20:56:38 dacha kernel: [  212.184704] psmouse.c: resync failed, issuing reconnect request
Comment 46 Dmitry Torokhov 2009-11-11 19:50:23 UTC
I don't see anything from i8042, probably your syslog redirects kernel.debug somewhere else?
Comment 47 Damjan Jovanovic 2009-11-12 03:27:00 UTC
Look in the attachment to that comment, I just pasted the /var/log/messages summary so you know at what times to look (eg. 211.961414).
Comment 48 Damjan Jovanovic 2009-11-24 13:40:32 UTC
Dmitry, please look at the dmesg (http://bugzilla.kernel.org/attachment.cgi?id=23751), search for "bad parity" and follow from there.

It seems we get a bad parity, my patch issues a resync, several interrupts later there's another bad parity, then eventually psmouse-base.c issues a reconnect request.

Any suggestions?
Comment 49 Dmitry Torokhov 2010-02-17 06:44:43 UTC
*** Bug 15336 has been marked as a duplicate of this bug. ***
Comment 50 Vojtech Pavlik 2010-02-23 10:43:12 UTC
When we receive a bad parity byte, it may still make sense to notify the psmouse driver that a byte has been received, to allow it to discard the whole packet without getting out of sync. It would require some more logic in the psmouse driver, but might be worth it, the result would be a more or less smoothly working mouse.

Btw, we could try sending '0xfe' to the mouse, to force it to resend the last byte and/or packet, too, although that could get fairly complicated.
Comment 51 Damjan Jovanovic 2010-02-28 21:03:54 UTC
Created attachment 25282 [details]
patch to discard the entire packet on bad parity

Thank you Vojtech.

The attached patch does what you describe ("notify the psmouse driver that a byte has been received, to allow it to discard the whole packet without getting out of sync.").

I still get bad parity messages in the log, but the mouse now works perfectly :-).

Should I patch all 8 protocol_handler functions similarly or is the psmouse_process_byte function enough? Any other comments?

Thank you
Damjan
Comment 52 Vojtech Pavlik 2010-03-02 10:02:26 UTC
The patch looks good to me, but please work with Dmitry to get that included in the mainline psmouse driver. He'll be able to tell you how to best integrate it in the driver so that it works with all the different protocols.
Comment 53 Damjan Jovanovic 2010-05-07 10:53:33 UTC
This bug is fixed by the following commit, please close it:

commit 6b9d363c49d22395d0cf8729c5963f83cfbb6d69
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date:   Mon Apr 19 00:42:16 2010 -0700

    Input: psmouse - ignore parity error for basic protocols
    
    Observing behavior of the other OS it appears that parity errors reported
    by the keyboard controller are being ignored and the data is processed
    as usual. Let's do the same for standard PS/2 protocols (bare, Intellimouse
    and Intellimouse Explorer) to provide better compatibility. Thsi should fix
    teh following bug:
    
        https://bugzilla.kernel.org/show_bug.cgi?id=6105
    
    Thanks for Damjan Jovanovic for locating the source of issue and ideas
    for the patch.
    
    Tested-by: Damjan Jovanovic <damjan.jov@gmail.com>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Comment 54 Alexander Mityunin 2010-05-07 23:36:52 UTC
I have this error on 2.6.33.2

Distribution: Arch (with all updates)

$ uname -a
Linux xandry-desktop 2.6.33-ARCH #1 SMP PREEMPT Mon Apr 26 20:00:20 CEST 2010 i686 AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux

Mouse: Dialog MF-O3SP

I could not superimpose a patch from Damjan.

$ patch -Np0 -i psmouse-base-parity-drop-packet.patch 
patching file drivers/input/mouse/psmouse.h
patching file drivers/input/mouse/psmouse-base.c
Hunk #1 succeeded at 133 (offset 1 line).
Hunk #2 FAILED at 219.
Hunk #3 succeeded at 260 with fuzz 2 (offset 1 line).
Hunk #4 succeeded at 275 (offset 1 line).
Hunk #5 succeeded at 299 (offset 1 line).
1 out of 5 hunks FAILED -- saving rejects to file drivers/input/mouse/psmouse-base.c.rej

$ cat drivers/input/mouse/psmouse-base.c.rej 
--- drivers/input/mouse/psmouse-base.c.old      2010-02-28 22:33:20.299641616 +0200
+++ drivers/input/mouse/psmouse-base.c  2010-02-28 22:38:26.351640678 +0200
@@ -219,6 +222,7 @@
 static inline void __psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state)
 {
        psmouse->state = new_state;
+       psmouse->badchecksum = 0;
        psmouse->pktcnt = psmouse->out_of_sync = 0;
        psmouse->ps2dev.flags = 0;
        psmouse->last = jiffies;
Comment 55 Edward d'Auvergne 2011-07-12 12:33:16 UTC
This problem seems to still be alive (or at least a similar, related issue is still there).  Some info about my system is:

Distribution:  Mageia 1.

Hardware Environment:  HP Compaq nx6320 with docking station (EN488AA).

Mouse:  Logitech M-CAA43 (PS/2 attached to docking station)

Software Environment:  Linux localhost.localdomain 2.6.38.7-desktop-1.mga #1 SMP Sun May 22 11:37:00 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


Steps to reproduce:

This is 100% reproducible, and there are three ways of triggering this:
1)  Boot laptop docked to the EN488AA, but with the mouse not plugged in.  Then once booted, plug in the mouse.  psmouse.c then fails 100%.
2)  Boot laptop docked to the EN488AA with the mouse plugged in (it will be functional).  Suspend and then come back up.  psmouse.c then fails 100%.
3)  Boot laptop docked to the EN488AA with the mouse plugged in (it will be functional).  Remove laptop from dock and then put it back.  psmouse.c then fails 100%.

Some of the error messages from dmesg are:

input: PS/2 Logitech Mouse as /devices/platform/i8042/serio2/input/input1434
psmouse.c: Failed to enable mouse on isa0060/serio2
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
input: PS/2 Logitech Mouse as /devices/platform/i8042/serio2/input/input1435
psmouse.c: Failed to enable mouse on isa0060/serio2
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
input: PS/2 Logitech Mouse as /devices/platform/i8042/serio2/input/input1436
psmouse.c: Failed to enable mouse on isa0060/serio2

This keeps going indefinitely, incrementing the input number.

Should this be submitted as a different bug?  Or is there other information I could provide?
Comment 56 Damjan Jovanovic 2011-07-12 12:39:24 UTC
(In reply to comment #55)
> input: PS/2 Logitech Mouse as /devices/platform/i8042/serio2/input/input1435
> psmouse.c: Failed to enable mouse on isa0060/serio2
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> psmouse.c: bad data from KBC - timeout
> input: PS/2 Logitech Mouse as /devices/platform/i8042/serio2/input/input1436
> psmouse.c: Failed to enable mouse on isa0060/serio2
> 
> This keeps going indefinitely, incrementing the input number.
> 
> Should this be submitted as a different bug?  Or is there other information I
> could provide?

The original problem was about bad parity, and its fix solved that. Yours is a timeout, preceded by "Failed to enable mouse". Please open a different bug.