From: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
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
Date: Sat, 20 Nov 2010 04:28:33 +0100 [thread overview]
Message-ID: <20101120032828.GA14693@iq> (raw)
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
next reply other threads:[~2010-11-20 3:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-20 3:28 Andries E. Brouwer [this message]
2010-11-20 7:45 ` ide boot failure 2.6.36/2.6.28 - 2.6.27 works Borislav Petkov
2010-11-20 12:11 ` Andries E. Brouwer
2010-11-20 13:04 ` Alan Cox
2010-11-21 1:29 ` Andries E. Brouwer
-- strict thread matches above, loose matches on Subject: below --
2010-11-20 2:15 Andries E. Brouwer
2010-11-20 2:59 ` Justin P. Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101120032828.GA14693@iq \
--to=andries.brouwer@cwi.nl \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox