Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hibernate... /bin/echo: write error: No such device
Date: Wed, 27 Jul 2022 23:42:44
Message-Id: 20220728004231.551b7195@digimed.co.uk
In Reply to: [gentoo-user] hibernate... /bin/echo: write error: No such device by Walter Dnes
1 On Wed, 27 Jul 2022 17:53:08 -0400, Walter Dnes wrote:
2
3 > One of the last few items on the laptop setup. I emerged hibernate
4 > and copied over the /etc/hibernate/ directory from my desktop. When I
5 > try to hibernate the laptop, I get...
6 >
7 > [thimk][root][~] hibernate
8 > /bin/echo: write error: No such device
9 >
10 > ...with a beep, and the machine comes back. Grepping for the "echo"
11 > command, I get...
12 >
13 > [thimk][root][~] grep -r echo /etc/hibernate/
14 > /etc/hibernate/common.conf:# OnSuspend 20 echo "Good night!"
15 > /etc/hibernate/common.conf:# OnResume 20 echo "Good morning!"
16
17 It's not coming from the config file because that isn't using the full
18 path, and these echo commands are commented out anyway.
19
20 I suspect one the modules hibernate calls is the culprit, possible the
21 last one mentioned in the logs. If the hibernate package is al scripts, I
22 don't use it myself, you could grep them to see what is calling /bin/echo
23 and where it is redirecting the output.
24
25 A missing device like this could be down to a missing kernel config item,
26 or a module not loaded.
27
28
29 --
30 Neil Bothwick
31
32 I'm not a complete idiot - several parts are missing.