From: maximilian attems Date: Thu, 01 Jun 2006 13:21:43 +0000 Subject: Re: Asynchronous scsi scanning, version 9 Message-Id: <20060601132143.GH28353@baikonur.stro.at> List-Id: References: <20060511143352.GI12272@parisc-linux.org> <20060518172258.GL1604@parisc-linux.org> <20060529031915.GB23405@parisc-linux.org> <447AB2F5.2000700@s5r6.in-berlin.de> <20060529130515.GE23405@parisc-linux.org> <20060531232139.GA3202@us.ibm.com> <447EE81D.2050906@ums.usu.ru> In-Reply-To: <447EE81D.2050906@ums.usu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Alexander E. Patrakov" Cc: Patrick Mansfield , Matthew Wilcox , linux-hotplug-devel@lists.sourceforge.net, Stefan Richter , linux-scsi@vger.kernel.org On Thu, Jun 01, 2006 at 07:14:05PM +0600, Alexander E. Patrakov wrote: > Patrick Mansfield wrote: > >>That's what scsi_complete_async_scans() is for. If you have a built-in > >>module, it will wait for the async scans to finish before we get as far > >>as trying to mount root. It does change observable behaviour in that > >>sys_module_init() will return before scans are complete. > > What are the expected interactions of this code with early userspace aka > "kinit" that comes with (soon to be merged) klibc? Does this > scsi_complete_async_scans() function get called at all if such "default" > initramfs with kinit is used? > > The problem is that if it doesn't, kinit will not wait. unless you build an hardcoded initramfs for an specific box, you want anyway an coldplugging utility on board. udev can be compiled with klibc, put both inside your initramfs. -- maks ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel