RE: [PATCH] mptsas: scan the logical volume at first

2007-08-27 Thread Moore, Eric
On Monday, August 27, 2007 11:58 AM,  Yinghai Lu wrote:
 
 [PATCH] mptsas: scan the logical volume at first
 
 user like to see the raid show as /dev/sda before left raw disks.
 So scan the volume at first to make their life easier.
 
 Signed-off-by: Yinghai Lu [EMAIL PROTECTED]
 

Although I agree with the patch, there are people on this list that will
reject it due to the fact distro's ship today having udev label and
device id mapping, so device ordering should be an non-issue.  However
there are systems that ship that don't have BIOS BBS support, allowing
you to select the boot device. Without it BBS support, you are forced to
boot to the lowest device id.  There are HP and Dell systems like that.
Are SUN systems like that?   If so, there is an additional patch which I
have yet posted that will sort the raid volumes in acsending order.
Currently they are in descending order (due to Firmware putting them in
that order), which if you did a install to what you think is /dev/sda,
its really the highest target id, and when you reboot, the BIOS will
boot to the lowest id, which is /dev/sdb, and it will not find the boot
partition.

Eric
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] mptsas: scan the logical volume at first

2007-08-27 Thread Yinghai Lu

Moore, Eric wrote:

On Monday, August 27, 2007 11:58 AM,  Yinghai Lu wrote:

[PATCH] mptsas: scan the logical volume at first

user like to see the raid show as /dev/sda before left raw disks.
So scan the volume at first to make their life easier.

Signed-off-by: Yinghai Lu [EMAIL PROTECTED]



Although I agree with the patch, there are people on this list that will
reject it due to the fact distro's ship today having udev label and
device id mapping, so device ordering should be an non-issue.  However


even so, user still can customize it to use /dev/sdaX as root instead of use 
/dev/scsi/by-id/...or LABEL=/ as root.


there are systems that ship that don't have BIOS BBS support, allowing
you to select the boot device. Without it BBS support, you are forced to
boot to the lowest device id.  There are HP and Dell systems like that.
Are SUN systems like that?   If so, there is an additional patch which I
have yet posted that will sort the raid volumes in acsending order.
Currently they are in descending order (due to Firmware putting them in
that order), which if you did a install to what you think is /dev/sda,
its really the highest target id, and when you reboot, the BIOS will
boot to the lowest id, which is /dev/sdb, and it will not find the boot
partition.
Yes, I was wondering why kernel.org mainline will have /dev/sdb for first raid. but it seems RHEL 5 kernel have first raid before second raid...( it 
after all left over raw devices..), maybe they already aplied some patch?


can you send out patch?

Thanks

Yinghai Lu
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PATCH] mptsas: scan the logical volume at first

2007-08-27 Thread Moore, Eric
On Monday, August 27, 2007 4:52 PM,  Yinghai Lu wrote:
 Yes, I was wondering why kernel.org mainline will have 
 /dev/sdb for first raid. but it seems RHEL 5 kernel have 
 first raid before second raid...( it 
 after all left over raw devices..), maybe they already aplied 
 some patch?
 
 can you send out patch?
 

That is not necessary, as we have already implemented the change to sort
volumes in acsending order to Red hat and Suse, and its been accepted.
I will post the change to lsml.

Eric
-
To unsubscribe from this list: send the line unsubscribe linux-scsi in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html