Web lists-archives.com

How to delay resume after suspend to get disks ready, using kernel command line switch?


I am having a problem with ubuntu 14.04 resume from suspend. I suspect a race condition in boot process. I have a mpt2sas (LSISAS2008: FWVersion( host adapter to which several of my disks are attached. On occasions, there is a delay before these devices become available. However, kernel tries to assemble RAID6 that includes these disks before they become available. As a result the array gets assembled in a degraded mode.

My question:

I like to tell kernel to delay resume until LSI card finishes its card identifying devices. Can I use resumedelay/rootdelay switches in grub.cfg to accomplish this? If so, which one I should use?