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