On Wed, 27 Jul 2022 17:53:08 -0400, Walter Dnes wrote:

>   One of the last few items on the laptop setup.  I emerged hibernate
> and copied over the /etc/hibernate/ directory from my desktop.  When I
> try to hibernate the laptop, I get...
> 
> [thimk][root][~] hibernate
> /bin/echo: write error: No such device
> 
> ...with a beep, and the machine comes back.  Grepping for the "echo"
> command, I get...
> 
> [thimk][root][~] grep -r echo /etc/hibernate/
> /etc/hibernate/common.conf:# OnSuspend 20 echo "Good night!"
> /etc/hibernate/common.conf:# OnResume 20 echo "Good morning!"

It's not coming from the config file because that isn't using the full
path, and these echo commands are commented out anyway.

I suspect one the modules hibernate calls is the culprit, possible the
last one mentioned in the logs. If the hibernate package is al scripts, I
don't use it myself, you could grep them to see what is calling /bin/echo
and where it is redirecting the output.

A missing device like this could be down to a missing kernel config item,
or a module not loaded.


-- 
Neil Bothwick

I'm not a complete idiot - several parts are missing.

Attachment: pgpRbWj8KkthW.pgp
Description: OpenPGP digital signature

Reply via email to