From owner-freebsd-current@FreeBSD.ORG Sat Apr 25 02:26:04 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 AB45E106566C for ; Sat, 25 Apr 2009 02:26:04 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6748D8FC15 for ; Sat, 25 Apr 2009 02:26:04 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LxXae-0003Z4-D7 for freebsd-current@FreeBSD.org; Sat, 25 Apr 2009 06:26:04 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 46E526C2A for ; Sat, 25 Apr 2009 06:26:37 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 28CE5108841; Sat, 25 Apr 2009 06:25:23 +0400 (MSD) Date: Sat, 25 Apr 2009 06:25:23 +0400 From: Dmitry Marakasov To: freebsd-current@FreeBSD.org Message-ID: <20090425022523.GB1361@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Subject: usb modules may be loaded even though already compiled into kernel 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: Sat, 25 Apr 2009 02:26:04 -0000 Hi! I've just ran into kernel hang on device probing after changing my kernel config a bit. The cause is that uhid, ukbd and ums were both compiled into the kernel and loaded by loader(8) as modules. I'm not sure, but shouldn't kernel ignore modules for devices that are already compiled into it (or does it only happen on kldload as EEXIST)? If it should, it's broken for at least usb. That's -CURRENT from around April, 8th. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru