From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 22:37:17 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80D88106585E for ; Wed, 14 Jan 2009 22:37:17 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 09D8D8FC23 for ; Wed, 14 Jan 2009 22:37:16 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id BA5E2198DBC; Wed, 14 Jan 2009 23:37:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id AD8F8198DBB; Wed, 14 Jan 2009 23:37:15 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 9A41A198DBA; Wed, 14 Jan 2009 23:37:15 +0100 (CET) Received: from wep4059 ([132.187.37.59]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009011423371496-70918 ; Wed, 14 Jan 2009 23:37:14 +0100 Received: by wep4059 (sSMTP sendmail emulation); Wed, 14 Jan 2009 23:37:14 +0100 From: "Alexey Shuvaev" Date: Wed, 14 Jan 2009 23:37:14 +0100 To: pluknet Message-ID: <20090114223714.GA2573@wep4059.physik.uni-wuerzburg.de> References: MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 01/14/2009 11:37:15 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 01/14/2009 11:37:15 PM, Serialize complete at 01/14/2009 11:37:15 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current Subject: Re: kernel doesn't boot when is built with ukbd/ums 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: Wed, 14 Jan 2009 22:37:19 -0000 On Sat, Jan 10, 2009 at 01:28:19AM +0300, pluknet wrote: > Hi. > > Today I noticed that when kernel has build-in ums and ukbd support, > it stops booting with the last seen messages (transcribed): > ... > uart0: [FILTER] > atkbdc0: port 0x60,0x64 irq1 on acpi0 > [stops here] > ... > > It boots fine if kernel is built without ums and ukbd devices (and > they loaded as modules). And I see in this case. > ... > atrtc0: port 0x70-0x71 irq 8 on acpi0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: [FILTER] > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > cpu0: on acpi0 > ... > > In both cases I have in loader.conf: > > ums_load="YES" > ukbd_load="YES" > Maybe this is the problem? I have some feeling that it is illegal to load modules already compiled in the kernel with the loader. On the running system kldload (or what is responsible for it) detects that the module is already in the kernel, but loader can't detect this. Try commenting out these lines while booting kernel with ums/ukbd modules. > I would jump in ddb to see what's going on, but my USB keyboard begin to work > only if I replug it close to the multiuser. Hence I can't. > Just my 0.02$, Alexey.