From owner-svn-src-head@FreeBSD.ORG Sat Aug 1 05:16:03 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E9E01067109; Sat, 1 Aug 2009 05:15:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 5401D8FC19; Sat, 1 Aug 2009 05:15:37 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=GB8WYDQo1twA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=zXjrzDRwrqCWpMxJqxYA:9 a=TqOkyda1TNUwkoR2dE_4eTAkYDsA:4 a=MSl-tDqOz04A:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 547650436; Sat, 01 Aug 2009 06:15:07 +0200 From: Hans Petter Selasky To: Alfred Perlstein Date: Sat, 1 Aug 2009 06:15:01 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <200907300014.n6U0EZ77086341@svn.freebsd.org> <20090731212140.GK47463@elvis.mu.org> In-Reply-To: <20090731212140.GK47463@elvis.mu.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908010615.02972.hselasky@c2i.net> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Navdeep Parhar Subject: Re: svn commit: r195960 - in head/sys/dev/usb: . controller input X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2009 05:16:04 -0000 On Friday 31 July 2009 23:21:40 Alfred Perlstein wrote: > Hans, can you please look into this issue? > > * Navdeep Parhar [090731 00:45] wrote: > > On Wed, Jul 29, 2009 at 5:14 PM, Alfred Perlstein wrote: > > > Author: alfred > > > Date: Thu Jul 30 00:14:34 2009 > > > New Revision: 195960 > > > URL: http://svn.freebsd.org/changeset/base/195960 > > > > > > Log: > > > ?USB CORE: > > > ?- Add minimum polling support to drive UMASS > > > ? ?and UKBD in case of panic. > > > ?- Add extra check to ukbd probe to fix problem about > > > ? ?mouse devices attaching like keyboards. > > > ?- P4 ID: 166148 > > > > > > ?Submitted by: hps > > > ?Approved by: ?re > > > > This has slowed down core dumps very significantly. What used to take > > 10-15s on my system now takes around 3 minutes. A simple test is to > > break into ddb and "call doadump" with or without this rev. I have a > > serial console on this machine > > and so I can use ddb whether the attached USB keyboard works or not. > > > > Here is the usbconfig from the machine: > > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > > pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST > > spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 > > md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at > > usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON > > ugen1.2: at usbus1, cfg=0 md=HOST > > spd=FULL (12Mbps) pwr=SAVE > > ugen1.3: at usbus1, cfg=0 md=HOST > > spd=LOW (1.5Mbps) pwr=ON > > ugen1.4: at usbus1, cfg=0 md=HOST > > spd=LOW (1.5Mbps) pwr=ON It's because there is a DELAY(1000) in the UKBD's polling routine so that key- repeating will work, no magic. --HPS