Gentoo Archives: gentoo-user

From: "João Matos" <jaoneto@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Systemd reaches "target Emergency Mode" every boot
Date: Sun, 27 Jan 2013 21:23:52
Message-Id: CAP4tJZLatPinPwh3phUpD6FkKiVnYzs3kdAHgZZveYPJTMNEag@mail.gmail.com
In Reply to: Re: [gentoo-user] Systemd reaches "target Emergency Mode" every boot by "Canek Peláez Valdés"
1 2013/1/27 Canek Peláez Valdés <caneko@×××××.com>
2
3 > On Sun, Jan 27, 2013 at 12:31 PM, João Matos <jaoneto@×××××.com> wrote:
4 > >
5 > >
6 > >
7 > > 2013/1/26 Canek Peláez Valdés <caneko@×××××.com>
8 > >>
9 > >> On Sat, Jan 26, 2013 at 7:08 PM, João Matos <jaoneto@×××××.com> wrote:
10 > >> > Hi list,
11 > >> >
12 > >> > I'm having this problem for a while, but I've decided to solve it
13 > know.
14 > >> > Every time I boot my system (couple times a day), I have to hid Ctrl
15 > + D
16 > >> > when the boot process is interrupted by the "emergency mode".
17 > >> >
18 > >> > I think it started when I was compiling the kernel myself, and
19 > removing
20 > >> > lot
21 > >> > of stuff. Although, I checked and the mandatory options for systemd
22 > are
23 > >> > ok.
24 > >> >
25 > >> > When I run "journalctl -b -p err" the only information I get is:
26 > >> >
27 > >> > Jan 26 20:29:20 KONOHA NetworkManager[1497]: claim_connection:
28 > assertion
29 > >> > `nm_connection_get_path (NM_CONNECTION (connection)) == NULL' failed
30 > >> > Jan 26 20:29:24 localhost dhcpcd[1557]: wlan0: sendmsg: Cannot assign
31 > >> > requested address
32 > >> > Jan 26 20:30:42 localhost pulseaudio[2073]: [pulseaudio] pid.c: Daemon
33 > >> > already running.
34 > >> > Jan 26 20:30:42 localhost pulseaudio[2080]: [pulseaudio] pid.c: Daemon
35 > >> > already running.
36 > >> >
37 > >> > It give me no clue.
38 > >> >
39 > >> > Attached the .conf from my gentoo-3.7.1
40 > >> >
41 > >> > After I hit Ctrl + D, the system works normally.
42 > >> >
43 > >> > Any help will be appreciated :)
44 > >>
45 > >> Are you using udev-197 with systemd-197? mgorny masked it, and said
46 > >> this in package.mask:
47 > >
48 > >
49 > > I'm using them. Last time I updated my system there weren't any warning.
50 > > Anyway, this problem is happening since the previous version.
51 > >
52 > >>
53 > >> # Does not boot. Something with udev is probably broken. Feel free
54 > >> # to unmask, debug and provide me with a patch.
55 > >>
56 > >> You need to be using the same version for udev and systemd (they are
57 > >> the same package). If you are using the same version for udev and
58 > >> systemd, are you using an initramfs? When was the last time you built
59 > >> it, if you do?
60 > >
61 > >
62 > > I don't have initramfs. Just the kernel. But it used to work normaly.
63 > >>
64 > >>
65 > >> Could you boot with "systemd.log_target=kmsg" and
66 > >> "systemd.log_level=debug", and post the whole output of "journalctl
67 > >> -b"? It prints only the logs from the last boot.
68 > >>
69 > >
70 > > journalctl -b attached.
71 >
72 > From your logs:
73 >
74 > Jan 27 15:16:27 KONOHA systemd[1]: Activating default unit:
75 > emergency.target
76 >
77 > You have emergency.target as default unit. The default.target can be
78 > set in different ways:
79 >
80 > - Check /usr/lib64/systemd/system/default.target
81 >
82
83 Nothing found here. The file is:
84
85 [Unit]
86 Description=Graphical Interface
87 Documentation=man:systemd.special(7)
88 Requires=multi-user.target
89 After=multi-user.target
90 Conflicts=rescue.target
91 Wants=display-manager.service
92 AllowIsolate=yes
93
94 [Install]
95 Alias=default.target
96
97
98 - Check /etc/systemd/system/default.target
99 >
100
101 doesn't exist.
102
103
104 > - Check if you use --unit=emergency.target in your grub config
105 > - Check if you pass the "emergency" kernel parametr in your grub config
106 >
107
108 Nothing wrong with grub.
109
110
111 > udev-197 in the tree installs everything to /; systemd-197 installs to
112 > /usr. I'm pretty sure that is not going to end well; I haven't
113 > upgraded to 197 in neither package.
114 >
115 > Check your default.target; for some reason is set to emergency.
116 >
117 > Regards.
118 > --
119 > Canek Peláez Valdés
120 > Posgrado en Ciencia e Ingeniería de la Computación
121 > Universidad Nacional Autónoma de México
122 >
123 >
124 I've also tryed "systemctl disable emergency.service" and "systemctl
125 disable emergency.target" before but got nothing.
126
127 Anyway, thank you for your help :). I'll try to downgrade. But I still
128 think it is about kernel config.
129
130 --
131 João de Matos
132 Linux User #461527
133 Graduando em Engenharia de Computação 2005.1
134 UEFS - Universidade Estadual de Feira de Santana

Replies

Subject Author
Re: [gentoo-user] Systemd reaches "target Emergency Mode" every boot "João Matos" <jaoneto@×××××.com>