From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753100AbcHNQJo (ORCPT ); Sun, 14 Aug 2016 12:09:44 -0400 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:48890 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752783AbcHNQJm (ORCPT ); Sun, 14 Aug 2016 12:09:42 -0400 Date: Sun, 14 Aug 2016 17:09:05 +0100 From: One Thousand Gnomes To: Tom Yan Cc: Pavel Machek , kernel list , jamespharvey20@gmail.com, regressions@leemhuis.info, hdegoede@redhat.com, Tejun Heo , linux-ide@vger.kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, oliver@neukum.org, stern@rowland.harvard.edu Subject: Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Message-ID: <20160814170905.485fbb24@lxorguk.ukuu.org.uk> In-Reply-To: References: <20160813190340.GA29989@amd> <20160814092044.GA20392@amd> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Aug 2016 17:34:18 +0800 Tom Yan wrote: > Since when it is expected that SATA disks will always be probed before > USB disks? We can't guarantee that even if we make sure all ata > drivers are loaded before usb-storage/uas. That's why we need > consistent namings (e.g. /dev/disk/by-id/*). It hasn't. It isn't even true on older kernels and can depend on all sorts of things. I have boxes that will put the USB first, and a 10 second google search says I'm not alone http://serverfault.com/questions/322946/ensure-usb-disk-is-never-sda-even-when-booting-from-it So your "regression" goes back to at least 2011. Alan