From owner-freebsd-current@FreeBSD.ORG Thu Jan 15 06:36:29 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 5B7D71065672 for ; Thu, 15 Jan 2009 06:36:29 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id DD7488FC12 for ; Thu, 15 Jan 2009 06:36:28 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so568287fkk.11 for ; Wed, 14 Jan 2009 22:36:28 -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 :content-transfer-encoding; bh=+s4KYMLE/XzoxXSp2wctt5EFQFUHowzKHMsqiv0woiI=; b=bLjLwJAQUcYQoTpyU2NUe9MTSqBjrIe6oYpPP4JrHbvoUGud9KWyuyzix4i980t3z2 WuvBOvapbmIoIMLEf6X/QIWj7DrZmEo4I8iP1eOaK729QzXpTgM0fJScn3sRIDDHQ6T3 30ySeMDD4czb/7CKuZEb3ZadqhaDGgYISBB4Q= 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:content-transfer-encoding; b=tSBl6bENeqE6cvRoor6WYcuA0wwWCU9syfriFgCSyGRxmPg3P/Py0ILKN09t1cdW4A UG6JVyPgUBwyRWwAPK+03EJ3CFvkBgQbbP/YOydPy4sY43hJNZQdXRTwb3OZ2ly9GSJg PD9nXAi/gyzmLyZgP0CppWzk/XJ1o+dXa1cFA= MIME-Version: 1.0 Received: by 10.181.13.19 with SMTP id q19mr322082bki.53.1232001387904; Wed, 14 Jan 2009 22:36:27 -0800 (PST) In-Reply-To: <3a142e750901141500i3445a0c1j1f07c24df547bfab@mail.gmail.com> References: <20090114223714.GA2573@wep4059.physik.uni-wuerzburg.de> <3a142e750901141500i3445a0c1j1f07c24df547bfab@mail.gmail.com> Date: Thu, 15 Jan 2009 09:36:27 +0300 Message-ID: From: pluknet To: "Paul B. Mahol" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexey Shuvaev , 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: Thu, 15 Jan 2009 06:36:29 -0000 2009/1/15 Paul B. Mahol : > On 1/14/09, Alexey Shuvaev wrote: >> 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. > > +1. Loader cant detect this, but kernel can (at same rate) and in such > cases it will survive boot. > Old incompatible modules can cause other problems ... > Ok, guys. I'll try this next time :) Just wanted to mention that this is first time when I encounter this minor issue (i.e. problem with boot when driver is built in kernel and loaded as a module). -- wbr, pluknet