From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 23:00:22 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 0FDDF1065679 for ; Wed, 14 Jan 2009 23:00:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 909558FC1A for ; Wed, 14 Jan 2009 23:00:21 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ey-out-2122.google.com with SMTP id d26so90308eyd.7 for ; Wed, 14 Jan 2009 15:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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; bh=ZsyPEziGOtQZWVGQmJX/q8KqR6/MID5eEJokAG92UJI=; b=itTJSNzmh8FqdftZoA0hj+EpuZPsmzcg9kaWCVWhs1Y/pokAVJq4vspixFyRt5KyVc QTRCTsU+NfFcFoZWMZboZF9X9NG8YWMnGAB3KuhphQxavLT3Lw9DhKnXNWkkGjp2Gxgk VWab8sKmWK4kHeyXKUcDRhUU2Kl+OAZtLocV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Eov6GV3H/6QwPteEWRLqklAUgMcfR9RgbU3HevculNTOQF/RMT+q5g9R+3D/4wvgEj 2oKedz+hZyAWj7ZPBlxlXGJlf8XM4+/7PkER4tB1ugDYcVcb6Ny/C31ncH3oy8hP4MWP Vc8Pc5XvkXwD249c+WwNX+Xs5Zx2VjJotnMIc= Received: by 10.210.141.17 with SMTP id o17mr784829ebd.166.1231974020637; Wed, 14 Jan 2009 15:00:20 -0800 (PST) Received: by 10.210.61.13 with HTTP; Wed, 14 Jan 2009 15:00:20 -0800 (PST) Message-ID: <3a142e750901141500i3445a0c1j1f07c24df547bfab@mail.gmail.com> Date: Thu, 15 Jan 2009 00:00:20 +0100 From: "Paul B. Mahol" To: "Alexey Shuvaev" In-Reply-To: <20090114223714.GA2573@wep4059.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20090114223714.GA2573@wep4059.physik.uni-wuerzburg.de> Cc: pluknet , 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 23:00:22 -0000 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 ... >> 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. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Paul