From owner-freebsd-current@FreeBSD.ORG Mon Jul 30 22:18:31 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6F4C16A419 for ; Mon, 30 Jul 2007 22:18:31 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 3C43A13C45D for ; Mon, 30 Jul 2007 22:18:31 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1806164mue for ; Mon, 30 Jul 2007 15:18:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CoabH7FPTJOY5It6urtmReVkhiZstPJchYiCf644h6taTuJFq8pA3n+NO/vYXYH2HfkEJ59kHZzbQqVLTfroKbgpmu2+pXyyfyy/apMEwRZgnX4yuPP598m5/Nsa3bYInqj1J4Ao9Ljw1+J9OPxVYSZBgGU2ea9t1Ysg3nmtSl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mizba+WwRlUBrDeO7eyHWoDqO0jzY2GXFCxyzgpZo0QxGZnUppKgl4YtcJ6XJOBYlOUVIFNKhqhPXLFvoWmBYR0/bPzNSXwD6am5QjptCWvqjPxt9fG5RAlrVWI5+9nASytfDldKX0Z9PhNrJ0bml4QNIFpFMBsB82QbEpYIbcc= Received: by 10.86.77.5 with SMTP id z5mr4246939fga.1185833910051; Mon, 30 Jul 2007 15:18:30 -0700 (PDT) Received: by 10.86.63.16 with HTTP; Mon, 30 Jul 2007 15:18:30 -0700 (PDT) Message-ID: Date: Mon, 30 Jul 2007 15:18:30 -0700 From: "Maksim Yevmenkin" To: "Dmitry Morozovsky" In-Reply-To: <20070728173355.O42349@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070727141421.H42349@woozle.rinet.ru> <20070728173355.O42349@woozle.rinet.ru> Cc: current@freebsd.org Subject: Re: possible showstopper: kbdmux hangs -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 22:18:31 -0000 On 7/28/07, Dmitry Morozovsky wrote: > On Fri, 27 Jul 2007, Maksim Yevmenkin wrote: > > MY> On 7/27/07, Dmitry Morozovsky wrote: > MY> > Hi there, > MY> > > MY> > on some of my mobos -current hangs early (when starning init) if kbdmux is > MY> > included in kernel (both on i386 and amd64); this seems to be some race, as > MY> > hangs are not 100% reproducible. What info should I provide to debug? > MY> > MY> the usual suspects are > MY> > MY> 1) while (KBDMUX_CHECK_CHAR(kbd)) { ... } loop in kbdmux_kbd_event(). > MY> could you please try to put some debug printf's into it and make sure > MY> it does not stuck there. > > errrm. Added two printfs with ppsratecheck - and, as usual, 'specialist > presense effect' is in place: no single hang since, both on stock GENERIC and > my own stripped down kernel so far (approx 20 reboots). > > Will try further. if you remove your debug code and recompile kbdmux(4), does your problem re-appear? thanks, max