Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Strange boot problem - any ideas?
Date: Wed, 15 Dec 2010 09:49:09
Message-Id: 1292406368.21144.4@numa-i
In Reply to: Re: [gentoo-user] Strange boot problem - any ideas? by meino.cramer@gmx.de
1 On 12/15/10 10:32:34, meino.cramer@×××.de wrote:
2 > Helmut Jarausch <jarausch@××××××××××××××××.de> [10-12-15 10:00]:
3 > > Hi,
4 > >
5 > > I have to power down one of my machines each day.
6 > > Booting it the other day fails from time to time.
7 > > On this (and all my machines) /usr is on an ext4 file system by
8 > its
9 >
10 > > own. It looks as if mounting /usr fails sometimes (silently).
11 > > The first unusual message is that it cannot find the file
12 > > /usr/sbin/acpid . After that, most other actions fail as well.
13 > >
14 > > Once the machine has failed to boot it will fail every time
15 > afterwards
16 > > unless I do the following:
17 > > I boot by a rescue CD, change root and re-emerge sys-power/acpid
18 > (this
19 > > package contains /usr/sbin/acpid).
20 > > This single action has helped without any problem each time I had
21 > to
22 >
23 > > try it.
24 > >
25 > > Of course, I've done many checks on the drive hosting the /usr
26 > > partition - no errors at all (the drive is only a few months old
27 > and
28 > a
29 > > good one (enterprise edition)).
30 > >
31 > > So, I suspect openrc. Might it be that this is a timing problem and
32 > > openrc doesn't check if the partition is mounted? Booting has
33 > worked
34 >
35 > > just flawlessly on that machine for more than a year. It looks as
36 > if
37 > a
38 > > recent version of openrc (currently 0.6.8) has generated this
39 > problem.
40 > >
41 > > Thanks for any hint,
42 > > Helmut.
43 > >
44 > >
45 >
46 > Hi Helmut,
47 >
48 > it would be interesting to know, whether /usr/sbin/acpid is really
49 > missing, when the boot fails.
50
51 The system allows me to login as root - though / is still mounted read
52 only. And /usr isn't mounted. I can remount the root partition read/
53 write and then mount /usr. Now the file /usr/sbin/acpid is there (of
54 course). Just reboot(ing) after that is not enough. Yes, I should try
55 to write something to the /usr partition instead of emerging something
56 and see if it helps.
57 >
58 > If it is not missing, the boot fails due to a mount problem and not
59 > the re-installing of acpid as such cures the problem, but what this
60 > installation is doing else.
61 > Or in other words: Any installation, which put someting into /usr
62 > cures the problem.
63 >
64 > If the mount of /usr is the problem, which arises from a timing
65 > problem than there is something done in parallel which should be done
66 > in sequence (and was previously done in sequence).
67 >
68 > I dont know openrc, but may be a setting in its configuration file
69 > regarding this aspect will cure the problem?
70
71 I'll search for such a configuration problem, otherwise I'll create a
72 bug report.
73 >
74 > Good luck!
75 Probably, I do need that.
76 Many thanks,
77 Helmut.

Replies

Subject Author
Re: [gentoo-user] Strange boot problem - any ideas? Adam Carter <adamcarter3@×××××.com>