From owner-freebsd-stable@FreeBSD.ORG Wed Feb 10 07:10:45 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F54D1065670 for ; Wed, 10 Feb 2010 07:10:45 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 2DC168FC13 for ; Wed, 10 Feb 2010 07:10:44 +0000 (UTC) Received: by fxm24 with SMTP id 24so73767fxm.3 for ; Tue, 09 Feb 2010 23:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jlf2Z1ocGXoIA+hacP9zEn6dFnU2cub8E/X51beMDfA=; b=DuN97JCZpGZauofUuiwTnC6qKzmDkTC8qKtPwubJ327eJCNe5teX43/Kw6OunC6Tx7 E1S7fpmPTL/iUQHTiAPJuxy4YMP4O7jfe1Glo6SbwBCdjz7/hxEX3XYJmu6aM1wqxiQx ilwfZOYG3aj9lAgVX8TLHwMmwf3H5c8XqGygE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GTnuhuxzbwKx2SxOPYRzURYAt3TZmP3qK+QHcjUuP/DW/hMcdI34XfEjANm9gSibA2 tbj9mmIhua2mbyCqcybqy+yqB+kl/kunHBJhpcUgWii3oq05YllxGxu4hw297L+0lDT1 6MQYwT+L4SxEQvs+GD/GqKp8EX3L+THBsaamE= MIME-Version: 1.0 Received: by 10.239.188.84 with SMTP id o20mr1005424hbh.81.1265785843957; Tue, 09 Feb 2010 23:10:43 -0800 (PST) In-Reply-To: <426bed111002091752g1cf96cd0qf7be5098ab5c9742@mail.gmail.com> References: <426bed111002080049u16354c87pd4fb8830e0542972@mail.gmail.com> <20100208114734.GA99245@icarus.home.lan> <426bed111002091752g1cf96cd0qf7be5098ab5c9742@mail.gmail.com> Date: Wed, 10 Feb 2010 02:10:43 -0500 Message-ID: From: Mehmet Erol Sanliturk To: Rohit Grover Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Jeremy Chadwick , utisoft@gmail.com Subject: Re: Unresponsive keyboard after a few boots X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 07:10:45 -0000 On Tue, Feb 9, 2010 at 8:52 PM, Rohit Grover wrote: > Yes, this is a USB keyboard. If I plug in an external USB keyboard I > get the same behaviour. > > In the mean time, I have discovered that if I boot the machine with > MacOSX and then reboot into FreeBSD, it is very likely that FreeBSD > will have no problems with using the keyboard. > > I am sure that this behaviour is new in 8.0/stable. > Now that I have this method, I am willing to dig deeper into this > problem and collect more information for debugging. Any ideas on how > to proceed? > > regards, > My opinion is that MacOSX is initializing some circuit areas but FreeBSD 8.0 is NOT touching in those areas . Therefore , initialization values from MacOSX are remaining in place and FreeBSD 8.0 is using those values without changing them . This idea is a pure guess , but when FreeBSD 8.0 starts initially and USB key board does not work , there seems that this is most likely possibility . If it is possible the following steps may be useful : Initially start MacOSX , dump all of the related circuit register values . Start FreeBSD 8.0 , repeat the dumping of the related circuit register values . This will give differences between two boots . Initially start FreeBSD and dump all of the related circuit register values . This may require a key board . Problem is to override this requirement . If in the system there is also a PS/2 key board slot , a PS/2 keyboard may be utilized . Another way may be a shell script or program starting on boot automatically to dump the required values . In that case , a key board may not be required . This will show uninitialized values . Related sources may also be studied to understand which areas are left without initializations . Successive boots may clear properly stored circuit register values and they do not initialize them properly . Thank you very much . Mehmet Erol Sanliturk