Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261178AbVARIGO (ORCPT ); Tue, 18 Jan 2005 03:06:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261179AbVARIGO (ORCPT ); Tue, 18 Jan 2005 03:06:14 -0500 Received: from kweetal.tue.nl ([131.155.3.6]:28420 "EHLO kweetal.tue.nl") by vger.kernel.org with ESMTP id S261178AbVARIFz (ORCPT ); Tue, 18 Jan 2005 03:05:55 -0500 Date: Tue, 18 Jan 2005 09:05:52 +0100 From: Andries Brouwer To: "Randy.Dunlap" Cc: Al Viro , Daniel Drake , Andrew Morton , Joseph Fannin , linux-kernel@vger.kernel.org, Neil Brown , William Park Subject: Re: [PATCH] Wait and retry mounting root device (revised) Message-ID: <20050118080552.GC8747@pclin040.win.tue.nl> References: <20050114002352.5a038710.akpm@osdl.org> <20050116005930.GA2273@zion.rivenstone.net> <41EC7A60.9090707@gentoo.org> <20050118003413.GA26051@parcelfarce.linux.theplanet.co.uk> <41EC5207.3030003@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EC5207.3030003@osdl.org> User-Agent: Mutt/1.4.2i X-Spam-DCC: : Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1235 Lines: 34 On Mon, Jan 17, 2005 at 04:02:15PM -0800, Randy.Dunlap wrote: > Al Viro wrote: > >On Tue, Jan 18, 2005 at 02:54:24AM +0000, Daniel Drake wrote: > > > >>Retry up to 20 times if mounting the root device fails. This fixes > >>booting > >>from usb-storage devices, which no longer make their partitions > >>immediately > >>available. > > > > > >Sigh... So we can very well get device coming up in the middle of a loop > >and get the actual attempts to mount the sucker in wrong order. How > >nice... > > > >Folks, that's not a solution. And kludges like that really have no > >business being there - they only hide the problem and make it harder > >to reproduce. > > Is there a solution other than initrd/initramfs ? On the one hand, I entirely agree with Al - this guessing business is a bad kludge, and building complications on top of it makes things worse. On the other hand, we do already have the rootfstype= option, so one can avoid trying things in the "wrong" order. Andries - 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/