1 |
On March 17, 2019 5:04:13 PM UTC, Dan Johansson <dan@×××.nu> wrote: |
2 |
>On 12.03.19 12:16, J. Roeleveld wrote: |
3 |
>> On Monday, March 11, 2019 9:31:58 PM CET Dan Johansson wrote: |
4 |
>>> On 11.03.19 20:55, J. Roeleveld wrote: |
5 |
>>>> On March 10, 2019 1:24:14 PM UTC, Dan Johansson |
6 |
><Dan.Johansson@×××.nu> wrote: |
7 |
>>>>> After updating a server from kernel-4.14.83 to 4.19.27-r1 (same |
8 |
>problem |
9 |
>>>>> |
10 |
>>>>> with 4.19.23) the server will not boot. |
11 |
>>>>> |
12 |
>>>>> Grub starts fine and I can select the new kernel. |
13 |
>>>>> The kernel starts booting and after mounting "/" and "/usr" (this |
14 |
>is a |
15 |
>>>>> server with a separate /usr") the boot-process hangs. |
16 |
>>>>> |
17 |
>>>>> Here are the last few lines displayed before it hangs: |
18 |
>>>>>>> Initializing root device... |
19 |
>>>>>>> Detected root: /dev/md127 |
20 |
>>>>>>> Mounting /dev/md127 as root... |
21 |
>>>>>>> Detected fstype: ext4 |
22 |
>>>>>>> Using mount fstype: ext4 |
23 |
>>>>>>> Using mount opts: -o ro |
24 |
>>>>>>> |
25 |
>>>>> 7.6104971 EXT4-fs (md127): mounted filesystem with ordered |
26 |
>data |
27 |
>>>>> |
28 |
>>>>> mode. Opts (null) |
29 |
>>>>> |
30 |
>>>>> 7.6572671 init (5708) used greatest stack depth: 13280 |
31 |
>bytes left |
32 |
>>>>>>> |
33 |
>>>>>>> Mounting /dev/dm-O as /usr: mount -t ext4 -o |
34 |
>noatime,user_xattr,ro |
35 |
>>>>> |
36 |
>>>>> /deu/dm-O /newroot/usr |
37 |
>>>>> |
38 |
>>>>> 7.6909561 EXT4-fs (dm-0): INFO: recouery required on |
39 |
>readonly |
40 |
>>>>> |
41 |
>>>>> filesystem |
42 |
>>>>> |
43 |
>>>>> 7.6925551 EXT4-fs (dm-0): write access will be enabled |
44 |
>diming |
45 |
>>>>> |
46 |
>>>>> recouery |
47 |
>>>>> |
48 |
>>>>> 7.9169781 EXT4-fs (dm-0): recovery complete |
49 |
>>>>> 7.9223701 EXT4-fs (dm-0): mounted filesystem with ordered |
50 |
>data |
51 |
>>>>> |
52 |
>>>>> mode. Opts: user_xattr |
53 |
>>>>> |
54 |
>>>>> 7.9233051 mount (5722) used greatest stack depth, 13000 |
55 |
>bytes left |
56 |
>>>>>>> |
57 |
>>>>>>> /usr already mounted, skipping... |
58 |
>>>>>>> Booting (initramfs) |
59 |
>>>>> |
60 |
>>>>> sep-usr init: running user requested applet |
61 |
>>>>> |
62 |
>>>>> |
63 |
>>>>> As I said, the 4.14.83 kernel boots without problem with the same |
64 |
>>>>> configuration. |
65 |
>>>>> |
66 |
>>>>> Any suggestions? |
67 |
>>>> |
68 |
>>>> I updated my servers last weekend and all moved to 4.19.27, 2 use |
69 |
>ZFS for |
70 |
>>>> the filesystem, several are VMs on top of Xen. None had any issues. |
71 |
>>>> |
72 |
>>>> The messages you show make me think they are from an initrd, not |
73 |
>the |
74 |
>>>> actual kernel. I would investigate that first and make sure your |
75 |
>initrd |
76 |
>>>> is actually updated as well. Did you copy the text? Or did you |
77 |
>manage to |
78 |
>>>> grab the output somehow? |
79 |
>>>> |
80 |
>>>> Also, which init system and initrd are you using? |
81 |
>>>> |
82 |
>>>> -- |
83 |
>>>> Joost |
84 |
>>> |
85 |
>>> The text was copied from a screenshot (IPMI-KVM). |
86 |
>>> I am using sys-apps/openrc with sys-fs/eudev and I use genkernel to |
87 |
>>> build the kernel and the initramfs. |
88 |
>>> |
89 |
>>> Yes, for me it also looks like it has to do with /ginit (busybox) or |
90 |
>>> /sbin/init (sys-apps/sysvinit) and not the kernel. |
91 |
>>> |
92 |
>>> I also have a bunch of other servers which all updated fine to |
93 |
>4.19.?? |
94 |
>>> |
95 |
>>> I tried the suggestion from Hasan to run "make synconfig" but that |
96 |
>did |
97 |
>>> not change any option in .config. |
98 |
>>> |
99 |
>>> I'll try to rebuild kernel/init/busybox/intel-microcode again next |
100 |
>weekend. |
101 |
>> |
102 |
>> Are you booting with the updated initramfs? Or perhaps still with the |
103 |
>initramfs belonging |
104 |
>> to an older kernel? |
105 |
>> |
106 |
>> Does the server respond to SSH after a while? It might simply be that |
107 |
>the login-prompt is |
108 |
>> not showing on the correct console. |
109 |
> |
110 |
>I was able to try a reboot today again, after rebuilding the kernel, |
111 |
>busybox, sysvinit & intel-microcode but it still hanged on "sep-usr |
112 |
>init: running user requested applet". When the server comes to this |
113 |
>point all disk-activities ceases. Even waiting for about 20min did not |
114 |
>change anything and the host did not even answer to ping. |
115 |
> |
116 |
>So, just as a test, I removed "init=/ginit" from the kernel-boot-line |
117 |
>and voila - the server booted again without problem :-) |
118 |
> |
119 |
>So there seems to be some difference on how pre 4.19 kernels and post |
120 |
>4.19 kernels handles separate /usr installs. |
121 |
> |
122 |
>I am just glad it is solved. |
123 |
>Thanks for all suggestions. |
124 |
> |
125 |
>Regards, |
126 |
>Dan |
127 |
> |
128 |
> |
129 |
> |
130 |
> |
131 |
> |
132 |
>-- |
133 |
>Dan Johansson |
134 |
>*************************************************** |
135 |
>This message is printed on 100% recycled electrons! |
136 |
>*************************************************** |
137 |
|
138 |
What is "ginit"? |
139 |
|
140 |
I use 2 types of initramfs. |
141 |
One I created myself which is really simple. |
142 |
The other is created using 'bliss-initramfs'. |
143 |
|
144 |
Neither of these require me to set a special init-boot option. |
145 |
|
146 |
I am guessing the boot fails when it tries to start 'ginit'. |
147 |
|
148 |
-- |
149 |
Joost |
150 |
-- |
151 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |