2006-03-30 10:55:28

by Voluspa

[permalink] [raw]
Subject: [2.6.16-gitX] PNP: No PS/2 controller found. Probing ports directly.


CC-ing the author Bjorn since I don't know who'll clean this up.

My acpidump is at http://bugzilla.kernel.org/show_bug.cgi?id=5767
And the lspci at http://bugzilla.kernel.org/show_bug.cgi?id=6072

This notebook has no direct PS2 jack, only USB outlets. Internal keyboard
and touchpad work, as well as wireless USB keyboard and different mice,
but the logs changed:

--- dmesg-070c6999831dc4cfd9b07c74c2fea1964d7adfec 2006-03-30 11:55:58.000000000 +0200
+++ dmesg-982c609448b9d724e1c3a0d5aeee388c064479f0 2006-03-30 11:42:33.000000000 +0200
[...]
@@ -120,7 +119,9 @@
io scheduler deadline registered
io scheduler cfq registered (default)
Real Time Clock Driver v1.12ac
-PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
+pnp: Device 00:08 does not supported disabling.
+pnp: Device 00:07 does not supported disabling.
+PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
parport: PnPBIOS parport detected.

Due to the commit:

982c609448b9d724e1c3a0d5aeee388c064479f0 is first bad commit
diff-tree 982c609448b9d724e1c3a0d5aeee388c064479f0 (from 070c6999831dc4cfd9b07c74c2fea1964d7adfec)
Author: Bjorn Helgaas <[email protected]>
Date: Mon Mar 27 01:17:08 2006 -0800

[PATCH] pnp: PNP: adjust pnp_register_driver signature

Remove the assumption that pnp_register_driver() returns the number of devices
claimed. Returning the count is unreliable because devices may be hot-plugged
in the future.

This changes the convention to "zero for success, or a negative error value,"
which matches pci_register_driver(), acpi_bus_register_driver(), and
platform_driver_register().

Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Adam Belay <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

Full bisect from 2.6.16-git18

git-bisect start
# bad: [5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866] ixp2000: fix gcc4 breakage
git-bisect bad 5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866
# good: [414ad0ded83f088608f7c0e774df8cccbba4e229] Linux 2.6.16
git-bisect good 414ad0ded83f088608f7c0e774df8cccbba4e229
# good: [fa4fa40a990f8f4eff65476bef32007c154bbac0] Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
git-bisect good fa4fa40a990f8f4eff65476bef32007c154bbac0
# good: [c912c2db2f5c2467ba34e4e655008a14532a3900] x86_64: free_bootmem_node needs __pa in allocate_aperture
git-bisect good c912c2db2f5c2467ba34e4e655008a14532a3900
# good: [104b8deaa5c0144cccfc7d914413ff80c7176af1] unify pfn_to_page: sh pfn_to_page
git-bisect good 104b8deaa5c0144cccfc7d914413ff80c7176af1
# bad: [d4965b3e2ff94d0c7b7e6e7e9794b54950a2f4b9] Merge master.kernel.org:/home/rmk/linux-2.6-serial
git-bisect bad d4965b3e2ff94d0c7b7e6e7e9794b54950a2f4b9
# bad: [f67055780caac6a99f43834795c43acf99eba6a6] md: Checkpoint and allow restart of raid5 reshape
git-bisect bad f67055780caac6a99f43834795c43acf99eba6a6
# bad: [6736a6587b991477aae927c37176e8cab8689f9e] PNP: adjust pnp_register_card_driver() signature: dt019x
git-bisect bad 6736a6587b991477aae927c37176e8cab8689f9e
# good: [c58411e95d7f5062dedd1a3064af4d359da1e633] RTC Subsystem: library functions
git-bisect good c58411e95d7f5062dedd1a3064af4d359da1e633
# good: [fd507e2ff3a5adaccbefa05f4bc9f58f44e930db] RTC subsystem: EP93XX driver
git-bisect good fd507e2ff3a5adaccbefa05f4bc9f58f44e930db
# good: [803d0abb3dcfc93701c8a8dc7f2968a47271214c] pnp: IRDA: adjust pnp_register_driver signature
git-bisect good 803d0abb3dcfc93701c8a8dc7f2968a47271214c
# bad: [51427ec0f222cb73b21f3849416a95d751bdd742] PNP: adjust pnp_register_card_driver() signature: als100
git-bisect bad 51427ec0f222cb73b21f3849416a95d751bdd742
# bad: [982c609448b9d724e1c3a0d5aeee388c064479f0] pnp: PNP: adjust pnp_register_driver signature
git-bisect bad 982c609448b9d724e1c3a0d5aeee388c064479f0
# good: [070c6999831dc4cfd9b07c74c2fea1964d7adfec] pnp: cs4232: adjust pnp_register_driver signature
git-bisect good 070c6999831dc4cfd9b07c74c2fea1964d7adfec

Mvh
Mats Johannesson
--


2006-03-30 14:13:32

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [2.6.16-gitX] PNP: No PS/2 controller found. Probing ports directly.

On 3/30/06, Voluspa <[email protected]> wrote:
>
> Due to the commit:
>
> 982c609448b9d724e1c3a0d5aeee388c064479f0 is first bad commit
> diff-tree 982c609448b9d724e1c3a0d5aeee388c064479f0 (from 070c6999831dc4cfd9b07c74c2fea1964d7adfec)
> Author: Bjorn Helgaas <[email protected]>
> Date: Mon Mar 27 01:17:08 2006 -0800
>
> [PATCH] pnp: PNP: adjust pnp_register_driver signature
>

Does it help if you apply this patch:

http://www.kernel.org/git/?p=linux/kernel/git/dtor/input.git;a=commitdiff_plain;h=2bfc3c6e9516ece6856ec7904319650a5d4d9871;hp=dd55563f635751327eb06ae569d4761a0220f2e0

I am a bit slow with merging lately...

--
Dmitry

2006-03-30 16:55:15

by Voluspa

[permalink] [raw]
Subject: Re: [2.6.16-gitX] PNP: No PS/2 controller found. Probing ports directly.

On Thu, 30 Mar 2006 09:13:30 -0500 Dmitry Torokhov wrote:
> On 3/30/06, Voluspa wrote:
> >
> > Due to the commit:
> >
> > 982c609448b9d724e1c3a0d5aeee388c064479f0 is first bad commit
> > diff-tree 982c609448b9d724e1c3a0d5aeee388c064479f0 (from 070c6999831dc4cfd9b07c74c2fea1964d7adfec)
> > Author: Bjorn Helgaas <[email protected]>
> > Date: Mon Mar 27 01:17:08 2006 -0800
> >
> > [PATCH] pnp: PNP: adjust pnp_register_driver signature
> >
>
> Does it help if you apply this patch:
>
> http://www.kernel.org/git/?p=linux/kernel/git/dtor/input.git;a=commitdiff_plain;h=2bfc3c6e9516ece6856ec7904319650a5d4d9871;hp=dd55563f635751327eb06ae569d4761a0220f2e0

Perfect. No change in hardware function, no additional log messages and
I'm back at:

dmesg-5d4fe2c1ce83c3e967ccc1ba3d580c1a5603a866
[...]
io scheduler deadline registered
io scheduler cfq registered (default)
Real Time Clock Driver v1.12ac
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
parport: PnPBIOS parport detected.

Mvh
Mats Johannesson
--