From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753358AbcHOPFa (ORCPT ); Mon, 15 Aug 2016 11:05:30 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:36875 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752590AbcHOPF2 (ORCPT ); Mon, 15 Aug 2016 11:05:28 -0400 Subject: Re: Who reordered my disks (probably v4.8-rc1 problem) To: Pavel Machek , kernel list References: <20160813190340.GA29989@amd> From: "Austin S. Hemmelgarn" Message-ID: <8cf483f5-8679-7180-c0ef-271da940f2e4@gmail.com> Date: Mon, 15 Aug 2016 11:05:05 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160813190340.GA29989@amd> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016-08-13 15:30, Pavel Machek wrote: > Hi! > > It seems that in v4.8-rc0, /dev/sdX got reordered, and now USB devices > are probed before SATA drivers. That is pretty anti-social. It > broke my boot on my primary machine, and unfortunately due to BIOS > problems (keyboard does not work when connected through a hub) it is > less fun than it should be. > The simple solution (which I'm surprised nobody else has suggested yet) is to build everything but the driver for your root device as a module. This will prevent anything else from getting enumerated first, and works regardless of whether or not your using an initrd and independently of what root= format you use.