Gentoo Archives: gentoo-server

From: Konstantin <konstantin@××××××××.com>
To: Konstantin <gentoo-server@l.g.o>
Subject: Re: [gentoo-server] DomU freezes in the middle of booting
Date: Thu, 12 Apr 2012 15:08:37
Message-Id: 88025804.20120412164926@astafjev.com
In Reply to: Re: [gentoo-server] DomU freezes in the middle of booting by Konstantin
1 Hello,
2
3 Thursday, April 12, 2012, 15:52:50, Konstantin wrote:
4 > Thursday, April 12, 2012, 15:29:42, Pandu Poluan wrote:
5 >>> Thursday, April 12, 2012, 13:09:15, Pandu Poluan wrote:
6 >>> > Have you tried:
7 >>> > root = '/dev/xvda1'
8 >>> > That is, without 'ro'?
9 >>> > Rgds,
10 >>>
11 >>> Thank you. Already tried without any difference.
12 >>>
13 >> It's a DomU, right? Why do you have Dom0 option enabled?
14
15 > You mean this part of .config file:
16 > CONFIG_XEN_DOM0=y
17 > CONFIG_XEN_PRIVILEGED_GUEST=y
18 > CONFIG_XEN_PVHVM=y
19 > CONFIG_XEN_MAX_DOMAIN_MEMORY=128
20 > CONFIG_XEN_SAVE_RESTORE=y
21
22 > I just could not find how to disable this code in menuconfig. :)
23
24 If I'm trying to turn it off, but then other frontend options
25 disappear.
26
27 Latest update: When I saw
28 ---------------------
29 * Starting local
30 [ ok ]
31 ---------------------
32
33 I've noticed that domU actually working. I've tried to change inittab
34 remotely via ssh to something like
35
36 # TERMINALS
37 x1:12345:respawn:/sbin/agetty 38400 console linux
38 #c1:12345:respawn:/sbin/agetty 38400 tty1 linux
39 #c2:2345:respawn:/sbin/agetty 38400 tty2 linux
40 #c3:2345:respawn:/sbin/agetty 38400 tty3 linux
41 #c4:2345:respawn:/sbin/agetty 38400 tty4 linux
42 #c5:2345:respawn:/sbin/agetty 38400 tty5 linux
43 #c6:2345:respawn:/sbin/agetty 38400 tty6 linux
44
45 Then reinitialized init by
46 localhost ~ # init q
47
48 and console in Dom0 become interactive again. So that freezing after
49 "Starting local" was the console problem anyway.
50
51 Right now only one left with that random start. DomU starts
52 successfully about one time per three unsuccessful.
53
54 I've noticed that it gets stuck when kernel outputs this text:
55
56 -------------------------------------------------------------
57 Switching to clocksource xen
58 pnp: PnP ACPI: disabled
59 CE: xen increased min_delta_ns to 150000 nsec
60 CE: xen increased min_delta_ns to 225000 nsec
61 CE: xen increased min_delta_ns to 337500 nsec
62 CE: xen increased min_delta_ns to 506250 nsec
63 CE: xen increased min_delta_ns to 759375 nsec
64 CE: xen increased min_delta_ns to 1139062 nsec
65 CE: xen increased min_delta_ns to 1708593 nsec
66 CE: xen increased min_delta_ns to 2562889 nsec
67 CE: xen increased min_delta_ns to 3844333 nsec
68 CE: xen increased min_delta_ns to 5766499 nsec
69 CE: xen increased min_delta_ns to 8649748 nsec
70 CE: xen increased min_delta_ns to 10000000 nsec
71 CE: Reprogramming failure. Giving up
72 CE: Reprogramming failure. Giving up
73 hrtimer: interrupt took 5171 ns
74 TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
75 TCP: Hash tables configured (established 131072 bind 65536)
76 TCP reno registered
77 UDP hash table entries: 512 (order: 2, 16384 bytes)
78 UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
79 CE: xen increased min_delta_ns to 150000 nsec
80 CE: xen increased min_delta_ns to 225000 nsec
81 CE: xen increased min_delta_ns to 337500 nsec
82 CE: xen increased min_delta_ns to 506250 nsec
83 CE: xen increased min_delta_ns to 759375 nsec
84 CE: xen increased min_delta_ns to 1139062 nsec
85 CE: xen increased min_delta_ns to 1708593 nsec
86 CE: xen increased min_delta_ns to 2562889 nsec
87 CE: xen increased min_delta_ns to 3844333 nsec
88 CE: xen increased min_delta_ns to 5766499 nsec
89 CE: xen increased min_delta_ns to 8649748 nsec
90 CE: xen increased min_delta_ns to 10000000 nsec
91 CE: Reprogramming failure. Giving up
92 CE: Reprogramming failure. Giving up
93 platform rtc_cmos: registered platform RTC device (no PNP device found)
94 -------------------------------------------------------------
95
96 And when kernel not writing any "CE: " messages domU boots
97 successfully:
98
99 --------------------------------
100 PCI: System does not support PCI
101 PCI: System does not support PCI
102 Switching to clocksource xen
103 pnp: PnP ACPI: disabled
104 --------------------------------
105
106 Trying to figure out what to do next.
107
108 --
109 Konstantin

Replies

Subject Author
Re: [gentoo-server] DomU freezes in the middle of booting Pandu Poluan <pandu@××××××.info>