Re: ide boot failure 2.6.36/2.6.28 - 2.6.27 works

From: Borislav Petkov
Date: Sat Nov 20 2010 - 02:45:30 EST


On Sat, Nov 20, 2010 at 04:28:33AM +0100, Andries E. Brouwer wrote:
> 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.

Well, this got changed in 20df429dd6671804999493baf2952f82582869fa since
we had other problems when having ide-generic and a specific PCI IDE
controller driver enabled at the same time, AFAIR.

There are two fixes I can think of - you either enable the specific IDE
controller driver for your chipset or you enforce probing with

ide_generic.probe_mask=0x3f

on the kernel command line.

HTH.

--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/