NetBSD Problem Report #46736

From doug@phantom.localdomain  Tue Jul 24 05:00:59 2012
Return-Path: <doug@phantom.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 03A2563B85F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Jul 2012 05:00:58 +0000 (UTC)
Message-Id: <20120724050054.85927F93EF@phantom.localdomain>
Date: Tue, 24 Jul 2012 01:00:54 -0400 (EDT)
From: doug@mechalogic.net
Reply-To: doug@mechalogic.net
To: gnats-bugs@gnats.NetBSD.org
Subject: Kernel Error with USB possibly OHCI related
X-Send-Pr-Version: 3.95

>Number:         46736
>Category:       kern
>Synopsis:       Keyboard and/or mouse do not work with UHCI and OHCI enabled, mouse still does not work with OHCI
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 24 05:05:00 +0000 2012
>Last-Modified:  Fri Jul 27 04:20:04 +0000 2012
>Originator:     dougztr
>Release:        NetBSD 6.99.10
>Organization:
	No affiliations
>Environment:
System: NetBSD phantom 6.99.10 NetBSD 6.99.10 (DOUGZTR) #0: Tue Jul 24 00:22:20 EDT 2012 doug@phantom:/usr/src/src/sys/arch/amd64/compile/DOUGZTR amd64
Architecture: x86_64
Machine: amd64
>Description:
	On running the install cd, and after booting neither the keyboard or mouse work. A workaround is to unplug and replug them which
	will make them active, however then messages will keep respawning on the console about device disconnected/reattached. I have tried
	compiling a kernel with UHCI disabled but the behavior is still the same, so it would seem to be an issue with the OHCI kernel driver.
	A further workaround is to connect the mouse and keyboard to a passive hub which for some reason enables them by default, and finally
	the hub can be connected to a switch to manually reset the mouse and keyboard. This is a very serious problem and will cause many to
	quit a NetBSD installation from frustration, like I did many times until I found the little trick.
>How-To-Repeat:
	Boot up a computer with an AMD chipset that uses the OHCI USB driver.
>Fix:
	See above, workaround involves using a hub, switch, or replugging the devices. No known kernel patch yet.

>Audit-Trail:
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46736: Kernel Error with USB possibly OHCI related
Date: Tue, 24 Jul 2012 07:40:32 +0100

 On Tue, Jul 24, 2012 at 05:05:00AM +0000, doug@mechalogic.net wrote:
 > >Number:         46736
 > >Category:       kern
 > >Synopsis:       Keyboard and/or mouse do not work with UHCI and OHCI enabled, mouse still does not work with OHCI
 ...
 > >Description:
 > 	On running the install cd, and after booting neither the keyboard
 >	or mouse work. A workaround is to unplug and replug them which
 > 	will make them active, however then messages will keep respawning
 >	on the console about device disconnected/reattached.

 I've seen a similar issue on an intel i7 system - the mouse isn't
 always detected, replugging it (into the other front socket) will
 usually make it appear.

 I'm not seeing repeated usb disconnect messages, the only time I've
 seen that was with a very cheap mouse under Linux - changed the mouse.

 I've not tried to investigate though.


 	David

 -- 
 David Laight: david@l8s.co.uk

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46736: Kernel Error with USB possibly OHCI related
Date: Tue, 24 Jul 2012 11:40:14 +0200

 I see the same on a sparc64 SunBlade 2500 with ALI usb root hub.

 Martin

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, doug@mechalogic.net
Subject: re: kern/46736: Kernel Error with USB possibly OHCI related
Date: Wed, 25 Jul 2012 04:09:59 +1000

 > Subject: Re: kern/46736: Kernel Error with USB possibly OHCI related
 > Date: Tue, 24 Jul 2012 11:40:14 +0200
 > 
 >  I see the same on a sparc64 SunBlade 2500 with ALI usb root hub.

 this is the problem you've had for a while?  that is pre usbmp?

 thanks.

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, doug@mechalogic.net
Subject: Re: kern/46736: Kernel Error with USB possibly OHCI related
Date: Tue, 24 Jul 2012 22:53:02 +0200

 On Wed, Jul 25, 2012 at 04:09:59AM +1000, matthew green wrote:
 > this is the problem you've had for a while?  that is pre usbmp?

 Yes, it is not new.

 Martin

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46736: Kernel Error with USB possibly OHCI related
Date: Fri, 27 Jul 2012 00:18:50 -0400

 On Tue, 24 Jul 2012 06:50:05 +0000 (UTC)
 David Laight <david@l8s.co.uk> wrote:

 >  I've seen a similar issue on an intel i7 system - the mouse isn't
 >  always detected, replugging it (into the other front socket) will
 >  usually make it appear.

 Interestingly I've also occasionally seen this on an i5. I suspected
 the issue was my mouse, since it only happens occasionally.  But this
 appears unrelated to Doug's OHCI related issue, as in his case it
 happens 100% of the time, with both mouse and keyboard affected?

 If I remember, when he used userconf to disable ohci, the keyboard
 wouldn't work, and if disabling uhci, the mouse wouldn't work, or some
 such... Doug, if you can append those details to this report using a
 follow-up (simply replying to this message should work), it could be
 helpful.

 Also, unless I'm mistaken, his dmesg can be found here:
 http://mail-index.netbsd.org/tech-kern/2011/09/20/msg011515.html
 -- 
 Matt

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.