Re: wrong /dev/sd... order with multiple adapters in kernel 2.4.4

Richard B. Johnson (root@chaos.analogic.com)
Wed, 16 May 2001 14:25:45 -0400 (EDT)


On Wed, 16 May 2001, Massimo Dal Zotto wrote:

> Hi,
>
> I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered
> that it assigns the /dev/sd... devices in the wrong order with respect both
> to the behavior of kernel 2.2.19 and to the `scsihosts' boot option which I
> specified at the boot prompt.
[SNIPPED]

As a work-around, you can use modules and boot through 'initrd' where
you load the modules in the order you want.

When you have two SCSI disk controllers, the order at which the drives
are seen will "always be wrong" --Murphys Law. You can control the
order in which the controllers are detected and installed by using
modules.

Basically you cannot ever expect that multiple controllers will
be detected in any particular order. They usually end up being detected
in the device-order for which they exist on the PCI bus. This changes!

If both of your controllers are "pluggable", you can swap them
on the physical bus to change the order in which they are detected.

If only one is pluggable, you might try another PCI slot. It may
have a number above/below the one embedded on the board.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

-
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/