Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261239AbUKSECv (ORCPT ); Thu, 18 Nov 2004 23:02:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261246AbUKSECv (ORCPT ); Thu, 18 Nov 2004 23:02:51 -0500 Received: from main.gmane.org ([80.91.229.2]:46996 "EHLO main.gmane.org") by vger.kernel.org with ESMTP id S261239AbUKSECu (ORCPT ); Thu, 18 Nov 2004 23:02:50 -0500 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: "Alexander E. Patrakov" Subject: Re: modprobe + request_module() deadlock Date: Fri, 19 Nov 2004 09:04:16 +0500 Message-ID: References: <20041117222949.GA9006@linuxtv.org> <1100749702.5865.39.camel@localhost.localdomain> <20041118135522.GA16910@linuxtv.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: inet.ycc.ru User-Agent: KNode/0.7.7 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 923 Lines: 19 Takashi Iwai wrote: > Can we add a module dependency manually somehow? Yes, recommend the user to add something like this to /etc/modprobe.conf: install a modprobe -i a ; modprobe b ; true But IMHO Rusty should provide a way to specify those "recommended" install lines in the modules themselves (so that they finally go to /lib/modules/`uname -r`/modules.alias or a similar autogenerated file), like that's already done wih aliases and char-majors. Also Greg KH said in the past that module autoloading (i.e. the non-empty request_module() function) should be marked as obsolete (and therefore the use of request_module() should be eliminated). -- Alexander E. Patrakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/