From: Adam Bennett <abennett72@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@vger.kernel.org>,
SCSI development list <linux-scsi@vger.kernel.org>
Subject: [Solved] Re: SSD being put to sleep during boot-up when laptop on battery
Date: Sun, 4 Feb 2018 21:33:05 -0500 [thread overview]
Message-ID: <cf496ae3-391e-cb9c-7e71-387c51be9a72@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1712251124400.9922-100000@netrider.rowland.org>
The problem was resolved upon upgrading laptop-mode-tools to 1.72.2.
Adam
On 12/25/2017 11:29 AM, Alan Stern wrote:
> On Sun, 24 Dec 2017, Adam Bennett wrote:
>
>> Alan,
>>
>> I have a Dell Precision 7520 with an Samsung SSD in addition to an NVMe
>> drive. I'm currently running 4.14.8 but have seen the below problem
>> since I moved from 4.9 to 4.13.
>>
>> When I boot without AC plugged in, the SSD is stopped almost immediately
>> in the boot process, not allowing the boot to continue.
>>
>> I can boot on fine on AC. When I unplug the cord, I see the "Stopping
>> disk" message, and the system is unresponsive until I plug the AC back in.
>>
>> I initially thought the problem was in user-space, but I set up
>> laptop-mode-tools to keep "control" as "on", and the problem still
>> persists. Also, I don't see the issue in 4.9.
> It's entirely possible that the problem does lie in userspace, during
> boot-up. Don't forget that your initramfs image could be causing this;
> have you tried to rebuild it with the new laptop settings?
>
>> I have temporarily worked around the problem by returning from
>> sd_suspend_runtime without calling sd_suspend_common in sd.c (obviously
>> not the true fix).
>>
>> I have tried a number of searches, and couldn't find any bug reports of
>> this nature, but I'm not that in-tune with the linux development process
>> to have searched all the correct places.
> This should be sent to the linux-pm and linux-scsi mailing lists
> (CC'ed).
>
>> I'd like to help track this problem down, do you have any suggestions or
>> is there some additional details I could provide?
> You can try bisecting between the 4.9 and 4.13 kernels to find the
> commit which first caused the problem.
>
> Alan Stern
>
prev parent reply other threads:[~2018-02-05 2:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <c880260b-ef6e-e9ec-aca9-830abec5f866@gmail.com>
2017-12-25 16:29 ` SSD being put to sleep during boot-up when laptop on battery Alan Stern
2018-02-05 2:33 ` Adam Bennett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cf496ae3-391e-cb9c-7e71-387c51be9a72@gmail.com \
--to=abennett72@gmail.com \
--cc=linux-pm@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).