From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Fri, 04 Nov 2005 15:14:40 +0000 Subject: Re: Kernel Firmware Loading Message-Id: <436B7AE0.9070809@ums.usu.ru> List-Id: References: <4365DBD9.2040407@ukonline.co.uk> In-Reply-To: <4365DBD9.2040407@ukonline.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Duncan Sands wrote: >On Friday 4 November 2005 15:46, Alexander E. Patrakov wrote: > > >>Duncan Sands wrote: >> >> >> >>>>... I don't see why the kernel can't wait until userspace has been mounted before it tries to load the firmware. >>>> >>>> >>>> >>>> >>>Me neither. I mean, why do coldplugging of all devices (rather than just an >>>essential few) before the root filesystem is mounted? >>> >>> >>> >>> >>Please propose how are you going to tell the kernel the list of >>"essential" devices. >> >> > >Hopefully the list of essential devices needing coldplugging is empty. I had in mind: >just what's needed to mount the root filesystem. What's the problem with that? > > E.g., you want to specify that only /dev/sda is needed because you have your root filesystem on your SCSI disk. But your SCSI controller is a PCI device. So we need to walk over all PCI devices and bind drivers to them. One of them will register itself as a SCSI controller driver. But all PCI devices before that one will also be initialized then, and may (or may not) want firmware or other initialization! And now suppose that after hardware upgrade your PCI cards were shuffled, how would you handle that? -- Alexander E. Patrakov ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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