NetBSD Problem Report #34100

From reed@reedmedia.net  Thu Jul 27 20:46:20 2006
Return-Path: <reed@reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 02F4863B960
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 27 Jul 2006 20:46:20 +0000 (UTC)
Message-Id: <20060727192023.276C44E92D@glacier.reedmedia.net>
Date: Thu, 27 Jul 2006 14:20:23 -0500 (CDT)
From: reed@reedmedia.net
Reply-To: reed@reedmedia.net
To: gnats-bugs@NetBSD.org
Subject: keyboard not working on my Compaq Presario V2658US notebook
X-Send-Pr-Version: 3.95

>Number:         34100
>Category:       kern
>Synopsis:       keyboard not working on my Compaq Presario V2658US notebook
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 27 20:50:00 +0000 2006
>Closed-Date:    
>Last-Modified:  Tue Aug 02 03:00:36 +0000 2011
>Originator:     Jeremy C. Reed
>Release:        NetBSD 3.99.21
>Organization:

>Environment:


>Description:
I bought a new a Compaq Presario V2658US notebook. It has a AMD
Turion 64 Mobile Processor ML-37 with PowerNow.

It runs some Linux Live CDs fine.

I want to install NetBSD. I tried various stable and current
installation ISOs.

A recent boot-laptop.iso for i386 did:

pckbc0 at isa0 port 0x60-0x64
kbc: cmd word write error
...
pcic0: controller 0 (Intel 82365SL-DF) has sockets A and B
...
pcic0: controller 0 detecting irqs with mask 0xde18:uvm_fault(0xc09d8fc0, 
0, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (swapper) at 0xc02d2fa1:     movl    0x18(%edx),%eax
db>

And I can't type.

This happened with three different i386 -current annd 3.0 kernels.

I also booted the amd64 3.0 install and also the latest from HEAD
(3.99.23) from netBSD-daily.  They booted and got me to the first
menu (to choose language). But my keyboard did not work.

I can't see the boot messages for the amd64 (as it is in sysinst even when I
boot with -s). The keyboard does work fine with the boot loader prompt.

>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: reed@netbsd.org
State-Changed-When: Sat, 07 Oct 2006 02:44:27 +0000
State-Changed-Why:
This is same bug as in #34203. I am closing this ticket.
The workaround "disable ohci" worked for me. I will post my feedback
and details to other ticket.


State-Changed-From-To: closed->open
State-Changed-By: reed@NetBSD.org
State-Changed-When: Fri, 27 Jun 2008 22:30:56 +0000
State-Changed-Why:
Re-opened. I closed it because it was a duplicate.
Other ticket (34203) was closed but never verified.
(It sure would be nice to have multiple recipients to a ticket.)
Problem continues today with amd64 latest snapshot 4.99.67.

disable ohci works so my keyboard works.


From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/34100 (keyboard not working on my Compaq Presario V2658US
 notebook)
Date: Fri, 27 Jun 2008 18:09:33 -0500 (CDT)

 On Fri, 27 Jun 2008, reed@NetBSD.org wrote:

 > Re-opened. I closed it because it was a duplicate.
 > Other ticket (34203) was closed but never verified.
 > (It sure would be nice to have multiple recipients to a ticket.)
 > Problem continues today with amd64 latest snapshot 4.99.67.
 > 
 > disable ohci works so my keyboard works.

 Note I don't get that kernel error any more.

 But just that the keyboard doesn't work (with ohci enabled).

From: David Holland <dholland-bugs@netbsd.org>
To: reed@NetBSD.org, gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, netbsd-bugs@netbsd.org,
	gnats-admin@netbsd.org, reed@reedmedia.net
Subject: Re: kern/34100 (keyboard not working on my Compaq Presario V2658US
	notebook)
Date: Sat, 28 Jun 2008 19:12:37 +0000

 On Fri, Jun 27, 2008 at 10:30:57PM +0000, reed@NetBSD.org wrote:
  > State-Changed-Why:
  > Re-opened. I closed it because it was a duplicate.
  > Other ticket (34203) was closed but never verified.
  > (It sure would be nice to have multiple recipients to a ticket.)
  > Problem continues today with amd64 latest snapshot 4.99.67.
  > 
  > disable ohci works so my keyboard works.

 Do you see the same acpi/no-acpi behavior described in 34203?

 -- 
 David A. Holland
 dholland@netbsd.org

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/34100 (keyboard not working on my Compaq Presario V2658US
 notebook)
Date: Sat, 28 Jun 2008 14:30:33 -0500 (CDT)

 On Sat, 28 Jun 2008, David Holland wrote:

 > Do you see the same acpi/no-acpi behavior described in 34203?

 I read about that, but don't think that applies to me as acpi is in 
 GENERIC.

 My dmesg with ohci disabled and enabled is at
 http://mail-index.netbsd.org/port-amd64/2008/06/28/msg000339.html

From: David Holland <dholland-bugs@netbsd.org>
To: "Jeremy C. Reed" <reed@reedmedia.net>, gnats-bugs@netbsd.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: kern/34100 (keyboard not working on my Compaq Presario V2658US
	notebook)
Date: Sat, 28 Jun 2008 20:05:36 +0000

 On Sat, Jun 28, 2008 at 07:35:01PM +0000, Jeremy C. Reed wrote:
  >> Do you see the same acpi/no-acpi behavior described in 34203?
  >  
  >  I read about that, but don't think that applies to me as acpi is in 
  >  GENERIC.

 Well, yes and no - if it fails with acpi and not without, or vice
 versa, it generally means the problem has to do with interrupt routing
 or the like. It's probably worth testing it with acpi disabled.

 -- 
 David A. Holland
 dholland@netbsd.org

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/34100 (keyboard not working on my Compaq Presario V2658US
 notebook)
Date: Sat, 28 Jun 2008 16:40:07 -0500 (CDT)

 > Well, yes and no - if it fails with acpi and not without, or vice
 > versa, it generally means the problem has to do with interrupt routing
 > or the like. It's probably worth testing it with acpi disabled.

 boot -c
 disable acpi
 made no difference
 can't type

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: kern/34100
Date: Sat, 20 Dec 2008 21:46:59 -0600 (CST)

 NetBSD/amd64 4.99.73 on same hardware had same problem.

 Now 5.0_BETA kernel from today (Dec. 20, 2008) has same problem -- 
 keyboard and mouse doesn't work unless I boot with "disable ohci".

 My logs show with ohci enabled (default):

 ...
 attimer1: io 0x40-0x43 irq 0
 pckbc1 at acpi0 (KBC0, PNP0303): kbd port
 pckbc1: io 0x60,0x64 irq 1
 pckbc2 at acpi0 (MSE0, SYN011C): aux port
 pckbc2: irq 12
 acpiec0 at acpi0 (EC0, PNP0C09-1): ACPI Embedded Controller
 acpiec0: io 0x62,0x66
 acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
 acpibat0 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery (Control Method)
 acpibat0: battery info: Hewlett-Packard, LION, JM-6 0247413411
 WMID (PNP0C14) at acpi0 not configured
 acpitz0 at acpi0 (THRM): critical 105.0C passive 71.0C, passive cooling
 attimer1: attached to pcppi1
 pckbd0 at pckbc1 (kbd slot)
 pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc1 (aux slot)
 pms0: Synaptics touchpad version 5.10
 pms0: Palm detect, Multi-finger
 pckbc1: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pci0 at mainbus0 bus 0: configuration mode 1
 drm at vga0 not configured
 ...
 ohci0 at pci0 dev 19 function 0: vendor 0x1002 product 0x4374 (rev. 0x00)
 ohci0: interrupting at ioapic0 pin 19
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 ohci1 at pci0 dev 19 function 1: vendor 0x1002 product 0x4375 (rev. 0x00)
 ohci1: interrupting at ioapic0 pin 19
 ohci1: OHCI version 1.0, legacy support
 usb1 at ohci1: USB revision 1.0
 ehci0 at pci0 dev 19 function 2: vendor 0x1002 product 0x4373 (rev. 0x00)
 ehci0: interrupting at ioapic0 pin 19
 ehci0: dropped intr workaround enabled
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 4 ports each: ohci0 ohci1
 usb2 at ehci0: USB revision 2.0
 ...
 wsdisplay0: screen 4 added (80x25, vt100 emulation)
 Dec 20 21:21:28 hrr savecore: no core dump
 pckbport_cmd: send error
 Dec 20 21:21:37 hrr last message repeated 3 times
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms0: synaptics_enable: Error enabling device.
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms_enable: command error 35
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms_disable: command error
 pckbc: pckbc_slot_enable(0) failed
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pckbc: pckbc_slot_enable(1) failed
 pckbport_cmd: send error
 Dec 20 21:21:50 hrr last message repeated 3 times
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms0: synaptics_enable: Error enabling device.
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms_enable: command error 35
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error

 And booting with "disable ohci":

 ...
 attimer1: io 0x40-0x43 irq 0
 pckbc1 at acpi0 (KBC0, PNP0303): kbd port
 pckbc1: io 0x60,0x64 irq 1
 pckbc2 at acpi0 (MSE0, SYN011C): aux port
 pckbc2: irq 12
 acpiec0 at acpi0 (EC0, PNP0C09-1): ACPI Embedded Controller
 acpiec0: io 0x62,0x66
 acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
 acpibat0 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery (Control Method)
 acpibat0: battery info: Hewlett-Packard, LION, JM-6 0247413411
 WMID (PNP0C14) at acpi0 not configured
 acpitz0 at acpi0 (THRM): critical 105.0C passive 71.0C, passive cooling
 attimer1: attached to pcppi1
 pckbd0 at pckbc1 (kbd slot)
 pckbc1: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard
 pms0 at pckbc1 (aux slot)
 pms0: Synaptics touchpad version 5.10
 pms0: Palm detect, Multi-finger
 pckbc1: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 ...
 vendor 0x1002 product 0x4374 (USB serial bus, interface 0x10) at pci0 dev 19 function 0 not configured
 vendor 0x1002 product 0x4375 (USB serial bus, interface 0x10) at pci0 dev 19 function 1 not configured
 ehci0 at pci0 dev 19 function 2: vendor 0x1002 product 0x4373 (rev. 0x00)
 ehci0: interrupting at ioapic0 pin 19
 ehci0: dropped intr workaround enabled
 ehci0: EHCI version 1.0
 ehci0: wrong number of companions (2 != 0)
 usb0 at ehci0: USB revision 2.0

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/34100
Date: Tue, 17 Feb 2009 09:59:46 -0600 (CST)

 Problem also exists on NetBSD 5.0_RC2 from today's src/sys.

 Even the mouse is not working. And the keyboard doesn't work.

 My kernel output ends with:

 pckbport_cmd: send error
 pckbport_cmd: send error
 pckbport_cmd: send error
 pckbport_cmd: send error
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms0: synaptics_enable: Error enabling device.
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms_enable: command error 35
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms_disable: command error
 pckbc: pckbc_slot_enable(0) failed
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pckbc: pckbc_slot_enable(1) failed
 pckbport_cmd: send error
 pckbport_cmd: send error
 pckbport_cmd: send error
 pckbport_cmd: send error
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms0: synaptics_enable: Error enabling device.
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error
 pms_enable: command error 35
 pckbport_start: send error
 pckbport: command timeout
 pckbport_cmd: send error

 The keyboard and mouse work when booting with:
 disable ohci

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 02 Aug 2011 03:00:36 +0000
State-Changed-Why:
I don't suppose jmcneill's ohci fix this past weekend helps this?


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.