On 3/31/22 17:59, Jianguo Sun wrote:
Originally, we alloc ida index in scsi driver(sd_probe) asynchronously, which may cause disk name out of order and in turn cause rootfs mount issue if we set specific disk mount as the root filesystem by parameters "root=/dev/sda6", for example. Since the scsi device gets added in sequence, so we change to alloc ida index for scsi disk before adding scsi device.
Specifying a /dev/sd* device name as root device is wrong since such a name will change if a disk is added to the system or removed from the system. Please use one of the /dev/disk/by-*/* names as root device.
Thanks, Bart.