linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ide boot failure 2.6.36/2.6.28 - 2.6.27 works
@ 2010-11-20  3:28 Andries E. Brouwer
  2010-11-20  7:45 ` Borislav Petkov
  0 siblings, 1 reply; 7+ messages in thread
From: Andries E. Brouwer @ 2010-11-20  3:28 UTC (permalink / raw)
  To: linux-kernel, linux-ide

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* ide boot failure 2.6.36/2.6.28 - 2.6.27 works
@ 2010-11-20  2:15 Andries E. Brouwer
  2010-11-20  2:59 ` Justin P. Mattock
  0 siblings, 1 reply; 7+ messages in thread
From: Andries E. Brouwer @ 2010-11-20  2:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-ide

In case anybody is still interested in this old IDE stuff:
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.
I see that 2.6.28 had a lot of changes in this area.
Maybe this just needs a new boot option I overlooked.
(Or is oldfashioned IDE considered broken these days?)

Google gives me many people with the same problem
(e.g., http://bugs.gentoo.org/253628) but no remedy.
I have not looked at the code yet.

Andries

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-21  1:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-20  3:28 ide boot failure 2.6.36/2.6.28 - 2.6.27 works Andries E. Brouwer
2010-11-20  7:45 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).