Gentoo Archives: gentoo-server

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

Replies

Subject Author
Re: [gentoo-server] DomU freezes in the middle of booting [SOLVED] Konstantin <konstantin@××××××××.com>