Re: Re: How to delay resume after suspend to get disks ready, using kernel command line switch?
> Problem: > > 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(20.00.07.00)) 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? > > Ramesh I also have mpt2sas and it is slow in disk initialization but I never use suspend/resume. I only use shutdown/reboot. I use rootdelay=15. Interesting. I did not have to use rootdelay for reboots. This is because I don't get to grub screen until mpt2sas finishes its thing. So, disks are ready. This is not true in suspend because normal bios sequence is not run for resume, I think. Ramesh
Re: How to delay resume after suspend to get disks ready, using kernel command line switch?
Ram Ramesh wrote: > Problem: > > 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(20.00.07.00)) 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? > > Ramesh I also have mpt2sas and it is slow in disk initialization but I never use suspend/resume. I only use shutdown/reboot. I use rootdelay=15.
How to delay resume after suspend to get disks ready, using kernel command line switch?
Problem: 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(20.00.07.00)) 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? Ramesh