Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932302Ab0KTD2s (ORCPT ); Fri, 19 Nov 2010 22:28:48 -0500 Received: from hera.cwi.nl ([192.16.191.8]:52742 "EHLO hera.cwi.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932127Ab0KTD2r (ORCPT ); Fri, 19 Nov 2010 22:28:47 -0500 Date: Sat, 20 Nov 2010 04:28:33 +0100 From: "Andries E. Brouwer" To: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: ide boot failure 2.6.36/2.6.28 - 2.6.27 works Message-ID: <20101120032828.GA14693@iq> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 24 Answering myself (and providing info that can be Googled): > I wanted to boot a recent kernel on an old machine and failed. > The last kernel that worked was 2.6.27. > What goes wrong is that the disks are no longer detected on 2.6.28. A typical error would be Cannot open root device 342 or unknown block (3,66) Reading the code shows that the default probing is no longer done. Editing ./drivers/ide/ide-generic.c and changing -static int probe_mask; +static int probe_mask = 3; returns my disks to life, and this old machine boots again. 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/