Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182113

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

From "R. Ramesh" <rramesh@verizon.net>
Newsgroups linux.debian.user
Subject Re: Re: How to delay resume after suspend to get disks ready, using kernel command line switch?
Date 2017-06-13 07:00 +0200
Message-ID <tRM5P-3sH-7@gated-at.bofh.it> (permalink)
References <tObYS-49h-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to delay resume after suspend to get disks ready, using kernel  command line switch? Ram Ramesh <rramesh2400@gmail.com> - 2017-06-03 02:00 +0200
  Re: How to delay resume after suspend to get disks ready, using kernel command line switch? deloptes <deloptes@gmail.com> - 2017-06-03 09:50 +0200
    Re: Re: How to delay resume after suspend to get disks ready, using  kernel command line switch? "R. Ramesh" <rramesh@verizon.net> - 2017-06-13 07:00 +0200

csiph-web